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


PHP Controller\AdminController类代码示例

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


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

示例1: _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

示例2: _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

示例3: 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

示例4: D

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

示例5: _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

示例6: display

 public function display($templateFile = '', $charset = '', $contentType = '', $content = '', $prefix = '')
 {
     //获取模版的名称
     $template = dirname(__FILE__) . '/../View/default/Builder/' . $templateFile . '.html';
     //显示页面
     parent::display($template);
 }
开发者ID:fishling,项目名称:chatPro,代码行数:7,代码来源:AdminBuilder.class.php

示例7: 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

示例8: __construct

 public function __construct()
 {
     parent::__construct();
     $orderModel = new \Loan\Model\OrderModel();
     $this->_type = $orderModel->getType();
     $this->_status = $orderModel->getStatus();
 }
开发者ID:torry999,项目名称:lingshi,代码行数:7,代码来源:OrderController.class.php

示例9: I

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

示例10: disable

 /**
  * 禁用
  */
 public function disable()
 {
     if (is_administrator(I('uid', 0))) {
         $this->error("禁止对超级管理员进行禁用操作!");
     }
     parent::disable("uid");
 }
开发者ID:h136799711,项目名称:201507banma,代码行数:10,代码来源:MemberController.class.php

示例11: __construct

 public function __construct()
 {
     parent::__construct();
     $this->assign('menu', 'weixin');
     $this->assign('mLeft', 'weixin_' . strtolower(ACTION_NAME));
     $this->weixin = C('WEIXIN');
 }
开发者ID:000LongMarch000,项目名称:wx,代码行数:7,代码来源:WeixinController.class.php

示例12: _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

示例13: __construct

 public function __construct()
 {
     parent::__construct();
     $this->assign('module', 4);
     $this->appeal = D('Appeal');
     $this->appeal_reply = D('Appeal_reply');
 }
开发者ID:qinzhi,项目名称:taoj,代码行数:7,代码来源:AppealController.class.php

示例14: __construct

 public function __construct()
 {
     parent::__construct();
     $orderModel = new \Loan\Model\OrderModel();
     $this->_field_text_map['order_type'] = $this->_order_type = $orderModel->getType();
     $this->_field_text_map['status'] = $this->_status = $orderModel->getStatus();
 }
开发者ID:torry999,项目名称:lingshi,代码行数:7,代码来源:OrderFinanceController.class.php

示例15: _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


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