public function init() { parent::init(); $this->department = new Department(); $this->symptom = new Symptom(); $this->image = new Image(); }
public function init() { parent::init(); }
public function init() { parent::init(); $this->query = new Query(); }
public function beforeSave($insert) { $time = time(); if ($this->isNewRecord) { $this->createtime = $time; $this->child = 0; } $this->updatetime = $time; return parent::beforeSave($insert); }
public function init() { parent::init(); $this->department = new Department(); $this->part = new Part(); }