public function init() { $this->article = new Article(); $this->diseaseService = new DiseaseService(); parent::init(); $this->setLayout('article'); }
public function init() { parent::init(); $this->setLayout('seek'); $this->seek = new Seek(); $this->department = new Department(); $this->part = new Part(); }
public function init() { parent::init(); $this->setLayout('checkbody'); $this->setMeta(); $this->symptom = new Symptom(); $this->symptomContent = new SymptomContent(); $this->relate = new Relate(); }
public function init() { parent::init(); $this->setLayout('symptom'); $this->symptom = new Symptom(); $this->symptomContent = new SymptomContent(); $this->relate = new Relate(); $this->disease = new Disease(); $this->department = new Department(); $this->answer = new Answer(); $this->article = new Article(); $this->doctor = new Doctor(); $this->cacheHelper = new CacheHelper(); }
public function init() { parent::init(); $this->setLayout('zhuanti'); $URL = []; $domainname = 'jb'; $URL['domainname'] = $domainname; $URL['domainurl'] = 'http://' . $domainname . '.9939.com/so/'; $URL['base_include_path'] = 'http://www.9939.com/9939/res/hot/' . $domainname; $URL['searchurl'] = 'http://' . $domainname . '.9939.com/so/'; $URL['letterurl'] = 'http://' . $domainname . '.9939.com/so/'; $URL['souurl'] = 'http://' . $domainname . '.9939.com/so/kw'; $URL = (object) $URL; $this->URL = $URL; }
public function init() { parent::init(); $this->setLayout('jbindex'); $this->symptom = new Symptom(); $this->symptomContent = new SymptomContent(); $this->relate = new Relate(); $this->disease = new Disease(); $this->department = new Department(); $this->answer = new Answer(); $this->ask = new Ask(); $this->article = new Article(); $this->doctor = new Doctor(); $this->category = new CategoryDisease(); $this->news = new News(); $this->search = new Search(); $this->cacheHelper = new CacheHelper(); $this->searchHelper = new SearchHelper(); }
public function init() { parent::init(); $this->setLayout('feedback'); $this->feedback = new Feedback(); }
public function init() { parent::init(); $this->setLayout('disease'); }