<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Grid\Filter; class Likes extends AbstractFilter { public function condition($GWC6A) { if (isset($GWC6A['likes']) && is_array($GWC6A['likes'])) { goto ITa76; C7cCf: if (!empty($dVSAj)) { return $dVSAj; } goto MEy0V; JEDrQ: foreach ($GWC6A['likes'] as $w27im) { if (empty($w27im)) { continue; } $dVSAj[] = $this->buildCondition($this->column, 'like', "%{$w27im}%"); } goto C7cCf; ITa76: $dVSAj = array(); goto JEDrQ; MEy0V: } return null; } public function groupTags($INaoo, $e7uEj = null) { goto x1PJU; GkhRH: $this->field->options($INaoo); goto DBaTu; DBaTu: $this->field->serializeType($e7uEj); goto eckL4; x1PJU: $this->field = new Field\GroupTags($this); goto GkhRH; eckL4: return $this; goto cetrO; cetrO: } }