Пример #1
0
 public function process()
 {
     $n = $this->getNavigator();
     if ($this->getCallable()) {
         parent::process();
     } else {
         if ($val = $this->getCleanValue()) {
             $n->conditions()->like($this->getField(), sprintf($this->getLikeTemplate(), $this->cleanValue($val)));
         }
     }
 }
Пример #2
0
 public function process()
 {
     if ($this->getCallable()) {
         parent::process();
     } else {
         $n = $this->getNavigator();
         $c = $n->conditions();
         $this->prepareFromCondition($c);
         $this->prepareToCondition($c);
     }
 }