/** * @return array|CDbDataReader|mixed */ protected function getExaminationEvent() { if (!$this->examinationEvent) { $this->examinationEvent = $this->command->select('id')->from('event_type')->where('`name` = "Examination"')->queryRow(); $this->command->reset(); } return $this->examinationEvent; }
public function reset() { $this->_statement_explain = null; $this->toExplain = false; return parent::reset(); }