<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace ModStart\Grid\Filter; class Like extends AbstractFilter { public function condition($xVdRy) { if (isset($xVdRy['like']) && $xVdRy['like'] !== '') { return $this->buildCondition($this->column, 'like', "%{$xVdRy['like']}%"); } return null; } }