当前位置: 首页>>代码示例>>PHP>>正文


PHP admin::__construct方法代码示例

本文整理汇总了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);
 }
开发者ID:zhouzhouxs,项目名称:Progect,代码行数:7,代码来源:info.php

示例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');
 }
开发者ID:klj123wan,项目名称:czsz,代码行数:7,代码来源:space.php

示例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');
 }
开发者ID:panhongsheng,项目名称:zl_cms,代码行数:7,代码来源:admin_manage.php

示例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');
 }
开发者ID:baowzh,项目名称:fulianweb,代码行数:7,代码来源:link.php

示例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');
	}
开发者ID:hxzyzz,项目名称:ddc,代码行数:7,代码来源:search_admin.php

示例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"));
 }
开发者ID:ping199143,项目名称:1ydb,代码行数:7,代码来源:category.action.php

示例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;
		}
	}
开发者ID:panhongsheng,项目名称:zl_cms,代码行数:7,代码来源:release_point.php

示例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');
 }
开发者ID:klj123wan,项目名称:czsz,代码行数:7,代码来源:plugin.php

示例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"));
 }
开发者ID:ping199143,项目名称:1ydb,代码行数:7,代码来源:shop.action.php

示例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();
	}
开发者ID:hxzyzz,项目名称:ddc,代码行数:7,代码来源:comment_admin.php

示例11:

 function __construct()
 {
     parent::__construct();
     $this->load->model('admin/users_model');
     $this->load->model('admin/invoices_model');
     $this->load->model('site/site_model');
 }
开发者ID:masitsa,项目名称:installify2,代码行数:7,代码来源:invoices.php

示例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');
 }
开发者ID:zhouzhouxs,项目名称:Progect,代码行数:7,代码来源:guestbook.php

示例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');	
	}
开发者ID:panhongsheng,项目名称:zl_cms,代码行数:7,代码来源:database.php

示例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();
 }
开发者ID:klj123wan,项目名称:czsz,代码行数:7,代码来源:copyfrom.php

示例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();
	}
开发者ID:panhongsheng,项目名称:zl_cms,代码行数:7,代码来源:linkage.php


注:本文中的admin::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。