本文整理汇总了PHP中Cscms_Controller::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Cscms_Controller::__construct方法的具体用法?PHP Cscms_Controller::__construct怎么用?PHP Cscms_Controller::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Cscms_Controller
的用法示例。
在下文中一共展示了Cscms_Controller::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
function __construct()
{
parent::__construct();
$this->load->helper('string');
$this->load->library('user_agent');
$this->lang->load('user');
}
示例2:
function __construct()
{
parent::__construct();
$this->load->library('user_agent');
//关闭数据库缓存
$this->db->cache_off();
}
示例3:
function __construct()
{
parent::__construct();
$this->load->helper('dance');
$this->load->model('CsdjTpl');
$this->load->model('CsdjUser');
}
示例4:
function __construct()
{
parent::__construct();
$this->load->model('CsdjAdmin');
$this->lang->load('admin_pl');
$this->CsdjAdmin->Admin_Login();
}
示例5:
function __construct()
{
parent::__construct();
$this->load->helper('vod');
$this->load->model('CsdjTpl');
//装载视图模型
}
示例6: exit
function __construct()
{
parent::__construct();
if (empty($_SERVER['HTTP_REFERER'])) {
exit('error 404');
}
}
示例7:
function __construct()
{
parent::__construct();
$this->load->library('user_agent');
$this->load->library('card');
$this->load->model('CsdjAdmin');
}
示例8:
function __construct()
{
parent::__construct();
$this->load->helper('dance');
$this->load->model('CsdjAdmin');
$this->CsdjAdmin->Admin_Login();
}
示例9:
function __construct()
{
parent::__construct();
//关闭数据库缓存
$this->db->cache_off();
$this->load->model('CsdjTpl');
$this->load->model('CsdjUser');
}
示例10:
function __construct()
{
parent::__construct();
$this->load->library('user_agent');
$this->load->library('pinyin');
$this->load->model('CsdjAdmin');
$this->CsdjAdmin->Admin_Login();
}
示例11:
function __construct()
{
parent::__construct();
$this->load->helper('vod');
$this->load->model('CsdjTpl');
$this->load->model('CsdjUser');
$this->CsdjUser->User_Login();
}
示例12:
function __construct()
{
parent::__construct();
$this->load->model('CsdjAdmin');
$this->lang->load('admin_collect');
$this->CsdjAdmin->Admin_Login();
$this->load->library('caiji');
}
示例13:
function __construct()
{
parent::__construct();
$this->load->model('CsdjTpl');
$this->load->model('CsdjUser');
$this->lang->load('user');
$this->CsdjUser->User_Login();
}
示例14:
function __construct()
{
parent::__construct();
$this->load->model('CsdjAdmin');
$this->CsdjAdmin->Admin_Login();
$this->load->helper('directory');
$this->load->library('csapp');
$this->lang->load('admin_skin');
}
示例15:
function __construct()
{
parent::__construct();
$this->load->model('CsdjAdmin');
$this->CsdjAdmin->Admin_Login();
$this->load->helper('file');
$this->lang->load('admin_plugins');
$this->load->library('csapp');
}