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