<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Grid\Filter; class Likes extends AbstractFilter { public function condition($d7NKF) { if (isset($d7NKF['likes']) && is_array($d7NKF['likes'])) { goto nmZQQ; fMChq: if (!empty($KVlWj)) { return $KVlWj; } goto HC02m; nmZQQ: $KVlWj = array(); goto jOO94; jOO94: foreach ($d7NKF['likes'] as $KIuYw) { if (empty($KIuYw)) { continue; } $KVlWj[] = $this->buildCondition($this->column, 'like', "%{$KIuYw}%"); } goto fMChq; HC02m: } return null; } public function groupTags($RQHRD, $FLdDg = null) { goto QjTAn; A2ClX: $this->field->options($RQHRD); goto vrUZW; zUc_H: return $this; goto MGxql; vrUZW: $this->field->serializeType($FLdDg); goto zUc_H; QjTAn: $this->field = new Field\GroupTags($this); goto A2ClX; MGxql: } }