public function init() { parent::init(); $this->category = new CategoryDisease(); $this->disease = new Disease(); $this->department = new Department(); }
public function __construct($id, Module $module, array $config = []) { parent::__construct($id, $module, $config); $this->disease = new Disease(); $this->symptom = new Symptom(); $this->department = new Department(); $this->part = new Part(); }
function init() { parent::init(); // $this->setLayout('main'); // $this->disableLayout(); $this->path = \Yii::$app->params['uploadPath']['symptom']; $this->request = \Yii::$app->request; $this->symptom = new Symptom(); $this->symptomContent = new SymptomContent(); $this->relate = new Relate(); $this->depart = new Department(); $this->disease = new Disease(); }
function init() { parent::init(); $this->path = \Yii::$app->params['uploadPath']['article']; $this->article = new Article(); }
public function init() { parent::init(); $this->setLayout('//bootstrapmaster'); }
public function init() { parent::init(); $this->part = new Part(); }
public function init() { parent::init(); }