コード例 #1
0
ファイル: Disease.php プロジェクト: VampireMe/admin-9939-com
 public function init()
 {
     parent::init();
     $this->department = new Department();
     $this->symptom = new Symptom();
     $this->image = new Image();
 }
コード例 #2
0
 public function init()
 {
     parent::init();
 }
コード例 #3
0
ファイル: News.php プロジェクト: VampireMe/admin-9939-com
 public function init()
 {
     parent::init();
     $this->query = new Query();
 }
コード例 #4
0
 public function beforeSave($insert)
 {
     $time = time();
     if ($this->isNewRecord) {
         $this->createtime = $time;
         $this->child = 0;
     }
     $this->updatetime = $time;
     return parent::beforeSave($insert);
 }
コード例 #5
0
ファイル: Seek.php プロジェクト: VampireMe/admin-9939-com
 public function init()
 {
     parent::init();
     $this->department = new Department();
     $this->part = new Part();
 }