コード例 #1
0
ファイル: Report.php プロジェクト: openeyes/openeyes
 /**
  * @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;
 }
コード例 #2
0
 public function reset()
 {
     $this->_statement_explain = null;
     $this->toExplain = false;
     return parent::reset();
 }