public function __construct() { parent::__construct(); $this->menuModel = D("menu"); // classes("menu"); // $this->menuClass= new Menu(); }
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(); // 实例化一个模型对象 }
public function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); $this->userModel = D("user"); $this->rolesModel = D("roles"); }
public function __construct() { parent::__construct(); $this->domainModel = D("domain"); }
public function __construct() { parent::__construct(); $this->Model = D("privilege"); }
public function __construct() { parent::__construct(); $this->topicModel = D("topic"); }
public function __construct() { parent::__construct(); $this->model = D("question"); $this->classifiMod = D("classifi"); }
public function __construct() { parent::__construct(); $this->imageModel = D("image"); }
public function __construct() { parent::__construct(); $this->rolesModel = D("roles"); $this->menuModel = D("menu"); }
public function __construct() { parent::__construct(); $this->Model = D("bannel"); }
public function __construct() { parent::__construct(); $this->Model = M("flow"); $this->visitModel = M("visitrecord"); }
public function __construct() { parent::__construct(); $this->logModel = D("log"); }
public function __construct() { parent::__construct(); $this->noticeModel = D("notice"); }