本文整理汇总了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();
}
示例2: _initialize
public function _initialize()
{
parent::_initialize();
$this->MajorModel = D('Major');
// 财经专业表模型
$this->nowtime = date('Y-m-d H:i:s', NOW_TIME);
}
示例3: _initialize
public function _initialize()
{
parent::_initialize();
$this->CertificateModel = D('Certificate');
// 初始化证书表模型
$this->nowtime = date('Y-m-d H:i:s', NOW_TIME);
}
示例4: D
function _initialize()
{
parent::_initialize();
$this->newsModel = D('News/News');
$this->newsDetailModel = D('News/NewsDetail');
$this->newsCategoryModel = D('News/NewsCategory');
}
示例5: _initialize
public function _initialize()
{
parent::_initialize();
$this->SchoolJobModel = D('SchoolJob');
// 初始化证书表模型
$this->nowtime = date('Y-m-d H:i:s', NOW_TIME);
}
示例6: _initialize
public function _initialize()
{
parent::_initialize();
$this->AdminUserModel = D('AdminUser');
// 初始化管理员账户模型
$this->nowtime = date('Y-m-d H:i:s', NOW_TIME);
}
示例7: D
function _initialize()
{
//将模型放入属性中
$this->issueModel = D('Issue/Issue');
//继承父类的构造函数
parent::_initialize();
}
示例8: _initialize
public function _initialize()
{
parent::_initialize();
$this->IndustryModel = D('Industry');
// 初始化证书表模型
$this->nowtime = date('Y-m-d H:i:s', NOW_TIME);
}
示例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();
}
示例10: I
function _initialize()
{
$this->type = I('get.type');
if (empty($this->type)) {
}
parent::_initialize();
}
示例11: D
function _initialize()
{
parent::_initialize();
$this->bookModel = D('Book/Book');
$this->bookCategoryModel = D('Book/BookCategory');
$this->bookSectionModel = D('Book/BookSection');
import_lang('Book');
}
示例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/';
}
示例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');
}
示例14: _initialize
public function _initialize()
{
parent::_initialize();
$this->roleModel = D("Admin/Role");
$this->userRoleModel = D('UserRole');
$this->roleConfigModel = D('RoleConfig');
$this->roleGroupModel = D('RoleGroup');
}
示例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');
}