當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。