コード例 #1
0
ファイル: checkbox.php プロジェクト: rawork/colors-life
 public function getSearchSQL()
 {
     $value = parent::getSearchValue();
     if (!empty($value) && $value == 'off') {
         return $this->getName() . "=''";
     } else {
         return parent::getSearchSQL();
     }
 }
コード例 #2
0
ファイル: enum.php プロジェクト: rawork/colors-life
 public function getSearchInput()
 {
     return $this->enum_getInput(parent::getSearchValue(), parent::getSearchName());
 }