Пример #1
0
 public function __construct()
 {
     parent::__construct();
     $this->menuModel = D("menu");
     // classes("menu");
     // $this->menuClass= new Menu();
 }
Пример #2
0
 public function __construct()
 {
     parent::__construct();
     header("Content-type: text/html;charset=utf-8");
     set_time_limit(0);
     // 不超时
     ini_set('memory_limit', '500M');
     $this->config = array('path' => './Public/Backup', 'isCompress' => 0, 'isDownload' => 0);
     $this->dbName = C('DB_NAME');
     // 当前数据库名称
     $this->model = M();
     // 实例化一个模型对象
 }
Пример #3
0
 public function __construct()
 {
     parent::__construct();
 }
Пример #4
0
 public function __construct()
 {
     parent::__construct();
     $this->userModel = D("user");
     $this->rolesModel = D("roles");
 }
Пример #5
0
 public function __construct()
 {
     parent::__construct();
     $this->domainModel = D("domain");
 }
Пример #6
0
 public function __construct()
 {
     parent::__construct();
     $this->Model = D("privilege");
 }
Пример #7
0
 public function __construct()
 {
     parent::__construct();
     $this->topicModel = D("topic");
 }
Пример #8
0
 public function __construct()
 {
     parent::__construct();
     $this->model = D("question");
     $this->classifiMod = D("classifi");
 }
Пример #9
0
 public function __construct()
 {
     parent::__construct();
     $this->imageModel = D("image");
 }
Пример #10
0
 public function __construct()
 {
     parent::__construct();
     $this->rolesModel = D("roles");
     $this->menuModel = D("menu");
 }
Пример #11
0
 public function __construct()
 {
     parent::__construct();
     $this->Model = D("bannel");
 }
Пример #12
0
 public function __construct()
 {
     parent::__construct();
     $this->Model = M("flow");
     $this->visitModel = M("visitrecord");
 }
Пример #13
0
 public function __construct()
 {
     parent::__construct();
     $this->logModel = D("log");
 }
Пример #14
0
 public function __construct()
 {
     parent::__construct();
     $this->noticeModel = D("notice");
 }