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


PHP AdminController::_initialize方法代码示例

本文整理汇总了PHP中Admin\Controller\AdminController::_initialize方法的典型用法代码示例。如果您正苦于以下问题:PHP AdminController::_initialize方法的具体用法?PHP AdminController::_initialize怎么用?PHP AdminController::_initialize使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Admin\Controller\AdminController的用法示例。


在下文中一共展示了AdminController::_initialize方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: D

 function _initialize()
 {
     $this->shopModel = D('Shop/Shop');
     $this->shop_configModel = D('Shop/ShopConfig');
     $this->shop_categoryModel = D('Shop/ShopCategory');
     parent::_initialize();
 }
开发者ID:chenyongze,项目名称:bighaha,代码行数:7,代码来源:ShopController.class.php

示例2: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->MajorModel = D('Major');
     // 财经专业表模型
     $this->nowtime = date('Y-m-d H:i:s', NOW_TIME);
 }
开发者ID:cy520win,项目名称:yunchao,代码行数:7,代码来源:MajorController.class.php

示例3: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->CertificateModel = D('Certificate');
     // 初始化证书表模型
     $this->nowtime = date('Y-m-d H:i:s', NOW_TIME);
 }
开发者ID:cy520win,项目名称:yunchao,代码行数:7,代码来源:CertificateController.class.php

示例4: D

 function _initialize()
 {
     parent::_initialize();
     $this->newsModel = D('News/News');
     $this->newsDetailModel = D('News/NewsDetail');
     $this->newsCategoryModel = D('News/NewsCategory');
 }
开发者ID:chenyongze,项目名称:bighaha,代码行数:7,代码来源:NewsController.class.php

示例5: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->SchoolJobModel = D('SchoolJob');
     // 初始化证书表模型
     $this->nowtime = date('Y-m-d H:i:s', NOW_TIME);
 }
开发者ID:cy520win,项目名称:yunchao,代码行数:7,代码来源:SchoolJobController.class.php

示例6: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->AdminUserModel = D('AdminUser');
     // 初始化管理员账户模型
     $this->nowtime = date('Y-m-d H:i:s', NOW_TIME);
 }
开发者ID:cy520win,项目名称:yunchao,代码行数:7,代码来源:AdminUserController.class.php

示例7: D

 function _initialize()
 {
     //将模型放入属性中
     $this->issueModel = D('Issue/Issue');
     //继承父类的构造函数
     parent::_initialize();
 }
开发者ID:smartymoon,项目名称:e-anjia,代码行数:7,代码来源:IssueController.class.php

示例8: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->IndustryModel = D('Industry');
     // 初始化证书表模型
     $this->nowtime = date('Y-m-d H:i:s', NOW_TIME);
 }
开发者ID:cy520win,项目名称:yunchao,代码行数:7,代码来源:IndustryController.class.php

示例9: _initialize

 public function _initialize()
 {
     //$this->addCss('/theme/default/ckeditor/sample.css');
     $this->addJs('/theme/default/ckeditor/sample.js');
     $this->addJs('/theme/default/ckeditor/ckeditor.js');
     parent::_initialize();
 }
开发者ID:yunzhiclub,项目名称:wemall,代码行数:7,代码来源:IndexController.class.php

示例10: I

 function _initialize()
 {
     $this->type = I('get.type');
     if (empty($this->type)) {
     }
     parent::_initialize();
 }
开发者ID:Emon0526,项目名称:zhuoying-wx,代码行数:7,代码来源:BasicController.class.php

示例11: D

 function _initialize()
 {
     parent::_initialize();
     $this->bookModel = D('Book/Book');
     $this->bookCategoryModel = D('Book/BookCategory');
     $this->bookSectionModel = D('Book/BookSection');
     import_lang('Book');
 }
开发者ID:sunjie20081001,项目名称:sns,代码行数:8,代码来源:BookController.class.php

示例12: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->controller_path = MODULE_PATH . 'Controller/';
     $this->view_path = MODULE_PATH . 'View/';
     $this->module_path = MODULE_PATH . 'Model/';
     $this->addon_path = ONETHINK_ADDON_PATH . 'CurdForAdmin/';
 }
开发者ID:xiaolw,项目名称:wacms,代码行数:8,代码来源:CreateController.class.php

示例13: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->questionModel = D('Question/Question');
     $this->questionAnswerModel = D('Question/QuestionAnswer');
     $this->questionCategoryModel = D('Question/QuestionCategory');
     $this->questionSupportModel = D('Question/QuestionSupport');
 }
开发者ID:chenyongze,项目名称:bighaha,代码行数:8,代码来源:QuestionController.class.php

示例14: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->roleModel = D("Admin/Role");
     $this->userRoleModel = D('UserRole');
     $this->roleConfigModel = D('RoleConfig');
     $this->roleGroupModel = D('RoleGroup');
 }
开发者ID:naliduo,项目名称:Lightweight-social-platform,代码行数:8,代码来源:RoleController.class.php

示例15: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $this->inviteModel = D('Ucenter/Invite');
     $this->inviteTypeModel = D('Ucenter/InviteType');
     $this->inviteBuyLogModel = D('Ucenter/InviteBuyLog');
     $this->inviteLogModel = D('Ucenter/InviteLog');
     $this->inviteUserInfoModel = D('Ucenter/InviteUserInfo');
 }
开发者ID:naliduo,项目名称:Lightweight-social-platform,代码行数:9,代码来源:InviteController.class.php


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