示例#1
0
文件: List.php 项目: kandy/system
 /**
  * @see library/System/Controller/Action/Helper/GridFilter/System_Controller_Action_Helper_GridFilter_Abstract#_getValue()
  */
 protected function _getValue()
 {
     $values = array();
     foreach (explode(',', parent::_getValue()) as $value) {
         $values[] = trim($value);
     }
     return $values;
 }
示例#2
0
文件: String.php 项目: kandy/system
 /**
  * @see library/System/Controller/Action/Helper/GridFilter/System_Controller_Action_Helper_GridFilter_Abstract#_getValue()
  */
 protected function _getValue()
 {
     return '%' . parent::_getValue() . '%';
 }