当前位置: 首页>>代码示例>>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;未经允许,请勿转载。