Example #1
0
 public function getCondition()
 {
     if (!empty($this->queryRequirements) && false === $this->conditionComputed) {
         $this->setCondition(implode(' and ', $this->queryRequirements));
         $this->conditionComputed = true;
     }
     return parent::getCondition();
 }