コード例 #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;
 }