/**
  * @author [冯李博] <[645074190@qq.com]>
  * @param [public] $[string] [构造函数]
  */
 public function _initialize()
 {
     parent::_initialize();
     //重构父类的构造方法
     $this->compose_model = D('Compose');
     $this->terms_model = D('terms');
     $this->tags_model = D('tags');
     $this->demo_model = D('demo');
     $this->assign('xmmusic', $this->xmmusic);
 }
Esempio n. 2
0
 function _initialize()
 {
     parent::_initialize();
     $this->users_model = D("Common/Users");
     $this->resume_model = M("Resume");
     $this->category_model = M("Category");
     $this->recruit_model = M("Recruit");
     $this->deliver_model = M("Deliver");
     $this->certificate_model = M("Certificate");
     $this->lookcertificate_model = M("Lookcertificate");
     $this->compete_model = M("Compete");
     $this->time = new Date();
 }
 public function _initialize()
 {
     parent::_initialize();
     $this->tags_model = D('tags');
 }
 public function _initialize()
 {
     parent::_initialize();
     $this->company_model = D('company');
 }
 function _initialize()
 {
     parent::_initialize();
     $this->check_login();
     $this->check_user();
 }
 public function _initialize()
 {
     parent::_initialize();
     $this->terms_model = D("Portal/Terms");
     // $this->assign("taxonomys",$this->taxonomys);
 }