<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Grid\Filter; class Likes extends AbstractFilter { public function condition($u0mCd) { if (isset($u0mCd['likes']) && is_array($u0mCd['likes'])) { goto tn2ph; t7hIK: foreach ($u0mCd['likes'] as $xjIzl) { if (empty($xjIzl)) { continue; } $kSBZ4[] = $this->buildCondition($this->column, 'like', "%{$xjIzl}%"); } goto j0PKR; tn2ph: $kSBZ4 = array(); goto t7hIK; j0PKR: if (!empty($kSBZ4)) { return $kSBZ4; } goto SLXHa; SLXHa: } return null; } public function groupTags($t0i8a, $KQb10 = null) { goto Q8Tbi; ZzBA9: $this->field->options($t0i8a); goto KcYeN; agQvL: return $this; goto Cip3w; KcYeN: $this->field->serializeType($KQb10); goto agQvL; Q8Tbi: $this->field = new Field\GroupTags($this); goto ZzBA9; Cip3w: } }