當前位置: 首頁>>代碼示例>>PHP>>正文


PHP AdminbaseController::_initialize方法代碼示例

本文整理匯總了PHP中Common\Controller\AdminbaseController::_initialize方法的典型用法代碼示例。如果您正苦於以下問題:PHP AdminbaseController::_initialize方法的具體用法?PHP AdminbaseController::_initialize怎麽用?PHP AdminbaseController::_initialize使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Common\Controller\AdminbaseController的用法示例。


在下文中一共展示了AdminbaseController::_initialize方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: D

 function _initialize()
 {
     parent::_initialize();
     $this->users_model = D("Common/Users");
     $this->resume_model = M("Resume");
     $this->category_model = M('Category');
 }
開發者ID:wjazz3911,項目名稱:jcjy,代碼行數:7,代碼來源:ResumeadminController.class.php

示例2: D

 function _initialize()
 {
     parent::_initialize();
     $this->imgFolder = "Article";
     $this->model_cate = D("ArticleCat");
     $this->model_obj = D("Article");
 }
開發者ID:noikiy,項目名稱:luokeke2,代碼行數:7,代碼來源:ArticleController.class.php

示例3: D

 function _initialize()
 {
     parent::_initialize();
     $this->imgFolder = "Single";
     $this->model_obj = D("Single");
     $this->category = $this->model_obj->category;
 }
開發者ID:noikiy,項目名稱:luokeke2,代碼行數:7,代碼來源:SingleController.class.php

示例4: D

 function _initialize()
 {
     parent::_initialize();
     $this->ad1_obj = D("Common/Ad1");
     $this->ad1cat_obj = D("Common/Ad1Cat");
     $this->site_obj = D("Common/Site");
 }
開發者ID:noikiy,項目名稱:luokeke2,代碼行數:7,代碼來源:Ad1Controller.class.php

示例5: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $_SESSION['dingyue'] = '';
     $_SESSION['jiao'] = '';
     $_SESSION['xitong'] = '';
 }
開發者ID:xiaoxianlink,項目名稱:ziniu,代碼行數:7,代碼來源:BizapiController.class.php

示例6: D

 function _initialize()
 {
     parent::_initialize();
     $this->posts_model = D("Portal/Posts");
     $this->terms_model = D("Portal/Terms");
     $this->term_relationships_model = D("Portal/TermRelationships");
 }
開發者ID:feng8605765,項目名稱:xmmusic,代碼行數:7,代碼來源:AdminPostController.class.php

示例7: D

 function _initialize()
 {
     parent::_initialize();
     $this->posts_obj = D("Common/Posts");
     $this->terms_obj = D("Common/Terms");
     $this->terms_relationship = D("Common/TermRelationships");
 }
開發者ID:kmlzh1983,項目名稱:diamond,代碼行數:7,代碼來源:AdminPostController.class.php

示例8: D

 function _initialize()
 {
     parent::_initialize();
     $this->imgFolder = "Enroll";
     $this->cococat_obj = D("CocoCat");
     $this->model_obj = D("Enroll");
 }
開發者ID:noikiy,項目名稱:luokeke2,代碼行數:7,代碼來源:EnrollController.class.php

示例9: empty

 function _initialize()
 {
     empty($_GET['upw']) ? "" : session("__SP_UPW__", $_GET['upw']);
     //設置後台登錄加密碼
     parent::_initialize();
     $this->initMenu();
 }
開發者ID:wjazz3911,項目名稱:jcjy,代碼行數:7,代碼來源:IndexController.class.php

示例10: D

 function _initialize()
 {
     parent::_initialize();
     $this->users_model = D("Common/Users");
     $this->lookcertificate_model = M("Lookcertificate");
     $this->category_model = M('Category');
 }
開發者ID:wjazz3911,項目名稱:jcjy,代碼行數:7,代碼來源:LookcertificateadminController.class.php

示例11: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $_SESSION['dingyue'] = '';
     $_SESSION['fuwu'] = '';
     $_SESSION['xitong'] = '';
     $this->jiaoyi_model = D("Common/coupon");
 }
開發者ID:xiaoxianlink,項目名稱:ziniu,代碼行數:8,代碼來源:JiaoyiController.class.php

示例12: D

 function _initialize()
 {
     parent::_initialize();
     $this->taxonomys = D("Common/Model")->lists(array('extend' => 1));
     // 僅選擇內容模型
     $this->terms_model = D("Common/Terms");
     $this->assign("taxonomys", $this->taxonomys);
 }
開發者ID:slpi1,項目名稱:thinkcmfAddModel,代碼行數:8,代碼來源:AdminTermController.class.php

示例13: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $_SESSION['dingyue'] = '';
     $_SESSION['fuwu'] = '';
     $_SESSION['jiao'] = '';
     $this->xitong_model = D("Common/users");
 }
開發者ID:xiaoxianlink,項目名稱:ziniu,代碼行數:8,代碼來源:XitongController.class.php

示例14: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $_SESSION['fuwu'] = '';
     $_SESSION['jiao'] = '';
     $_SESSION['xitong'] = '';
     $this->Dingyue_model = D("Common/car");
 }
開發者ID:xiaoxianlink,項目名稱:ziniu,代碼行數:8,代碼來源:DingyueController.class.php

示例15: D

 function _initialize()
 {
     parent::_initialize();
     $this->Role = D("Common/Role");
 }
開發者ID:bxq2013,項目名稱:thinkcmf_wechat,代碼行數:5,代碼來源:RbacController.class.php


注:本文中的Common\Controller\AdminbaseController::_initialize方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。