Example #1
0
 public function getSearchSQL()
 {
     $value = parent::getSearchValue();
     if (!empty($value) && $value == 'off') {
         return $this->getName() . "=''";
     } else {
         return parent::getSearchSQL();
     }
 }
Example #2
0
 public function getSearchInput()
 {
     return $this->enum_getInput(parent::getSearchValue(), parent::getSearchName());
 }