<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Grid\Filter; class Likes extends AbstractFilter { public function condition($ZYqjI) { if (isset($ZYqjI['likes']) && is_array($ZYqjI['likes'])) { goto pDNEV; rTVux: if (!empty($yglGn)) { return $yglGn; } goto U5cRj; pDNEV: $yglGn = array(); goto i7nKZ; i7nKZ: foreach ($ZYqjI['likes'] as $zgpqW) { if (empty($zgpqW)) { continue; } $yglGn[] = $this->buildCondition($this->column, 'like', "%{$zgpqW}%"); } goto rTVux; U5cRj: } return null; } public function groupTags($ed1Ls, $UzTVN = null) { goto pukxZ; ESj8z: return $this; goto XNPqp; jmBrt: $this->field->options($ed1Ls); goto AGT4P; pukxZ: $this->field = new Field\GroupTags($this); goto jmBrt; AGT4P: $this->field->serializeType($UzTVN); goto ESj8z; XNPqp: } }