<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Grid\Filter; class Likes extends AbstractFilter { public function condition($AgbcE) { if (isset($AgbcE['likes']) && is_array($AgbcE['likes'])) { goto cyVgP; LpTia: foreach ($AgbcE['likes'] as $q0DuD) { if (empty($q0DuD)) { continue; } $Ep7JA[] = $this->buildCondition($this->column, 'like', "%{$q0DuD}%"); } goto K9L_C; cyVgP: $Ep7JA = array(); goto LpTia; K9L_C: if (!empty($Ep7JA)) { return $Ep7JA; } goto fLoin; fLoin: } return null; } public function groupTags($Dces3, $earrS = null) { goto P57rx; P57rx: $this->field = new Field\GroupTags($this); goto vmVuA; dFx04: return $this; goto uMjwH; vmVuA: $this->field->options($Dces3); goto Ii3Uv; Ii3Uv: $this->field->serializeType($earrS); goto dFx04; uMjwH: } }