本文整理汇总了PHP中admin::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP admin::__construct方法的具体用法?PHP admin::__construct怎么用?PHP admin::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类admin
的用法示例。
在下文中一共展示了admin::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
function __construct()
{
parent::__construct();
$this->db = pc_base::load_model('extend_setting_model');
$this->sites = pc_base::load_app_class('sites');
pc_base::load_sys_class('form', '', 0);
}
示例2:
function __construct()
{
parent::__construct();
$setting = new_html_special_chars(getcache('poster', 'commons'));
$this->M = $setting[$this->get_siteid()];
$this->db = pc_base::load_model('poster_space_model');
}
示例3:
function __construct()
{
parent::__construct();
$this->db = pc_base::load_model('admin_model');
$this->role_db = pc_base::load_model('admin_role_model');
$this->op = pc_base::load_app_class('admin_op');
}
示例4:
function __construct()
{
parent::__construct();
$this->M = new_html_special_chars(getcache('link', 'commons'));
$this->db = pc_base::load_model('link_model');
$this->db2 = pc_base::load_model('type_model');
}
示例5:
function __construct() {
parent::__construct();
$this->siteid = $this->get_siteid();
$this->db = pc_base::load_model('search_model');
$this->module_db = pc_base::load_model('module_model');
$this->type_db = pc_base::load_model('type_model');
}
示例6: __construct
public function __construct()
{
parent::__construct();
System::load_app_fun('global', G_ADMIN_DIR);
$this->db = $this->DB('category_model', ROUTE_M);
$this->ment = array(array("lists", "栏目管理", ROUTE_M . '/' . ROUTE_C . "/lists"), array("addcate", "添加栏目", ROUTE_M . '/' . ROUTE_C . "/addcate/def"), array("addcate", "添加单网页", ROUTE_M . '/' . ROUTE_C . "/addcate/danweb"), array("addcate", "添加外部链接", ROUTE_M . '/' . ROUTE_C . "/addcate/link"));
}
示例7: __construct
public function __construct() {
parent::__construct();
$this->db = pc_base::load_model('release_point_model');
if (function_exists('ftp_ssl_connect')) {
$this->ssl = 1;
}
}
示例8:
function __construct()
{
parent::__construct();
$this->db = pc_base::load_model('plugin_model');
$this->db_var = pc_base::load_model('plugin_var_model');
pc_base::load_app_func('global');
}
示例9: __construct
public function __construct()
{
parent::__construct();
$this->db = $this->DB();
echo ROUTE_M . '/' . ROUTE_C . "/lists";
$this->ment = array(array("lists", "商品管理", ROUTE_M . '/' . ROUTE_C . "/lists"), array("insert", "添加商品", ROUTE_M . '/' . ROUTE_C . "/insert"));
}
示例10:
function __construct() {
parent::__construct();
$this->comment_setting_db = pc_base::load_model('comment_setting_model');
$this->comment_data_db = pc_base::load_model('comment_data_model');
$this->comment_db = pc_base::load_model('comment_model');
$this->siteid = $this->get_siteid();
}
示例11:
function __construct()
{
parent::__construct();
$this->load->model('admin/users_model');
$this->load->model('admin/invoices_model');
$this->load->model('site/site_model');
}
示例12:
function __construct()
{
parent::__construct();
$this->api = pc_base::load_app_class('guestbook_api');
$this->db = pc_base::load_model('guestbook_model');
$this->user_db = pc_base::load_model('member_detail_model');
}
示例13:
function __construct() {
parent::__construct();
$this->userid = $_SESSION['userid'];
pc_base::load_sys_class('db_factory');
pc_base::load_sys_class('form');
pc_base::load_sys_func('dir');
}
示例14:
function __construct()
{
$this->db = pc_base::load_model('copyfrom_model');
pc_base::load_sys_class('form', '', 0);
parent::__construct();
$this->siteid = $this->get_siteid();
}
示例15: array
function __construct() {
parent::__construct();
$this->db = pc_base::load_model('linkage_model');
$this->sites = pc_base::load_app_class('sites');
pc_base::load_sys_class('form', '', 0);
$this->childnode = array();
}