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