Example #1
0
 function addCondition($field, $value = null)
 {
     if (!$this->getController()) {
         return parent::addCondition($field, $value);
     }
     $this->getController()->getModel()->setCondition('edit_dsql', $field, $value);
     // TODO: make it work with arrays of values
     $this->conditions[$field] = $value;
     return $this;
 }