本文整理汇总了PHP中Admin\Controller\AdminController类的典型用法代码示例。如果您正苦于以下问题:PHP AdminController类的具体用法?PHP AdminController怎么用?PHP AdminController使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了AdminController类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
示例16: 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
示例17: _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
示例18: _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
示例19: _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
示例20: __construct
public function __construct()
{
parent::__construct();
$this->orderForm = D('OrderForm');
$this->orderGoods = D('OrderGoods');
$this->customer = D('Customer');
$this->relation = new OrderRelationModel();
}
开发者ID:yunzhiclub,项目名称:wemall,代码行数:8,代码来源:OrderManagerController.class.php
注:本文中的Admin\Controller\AdminController类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论