本文整理汇总了PHP中AdministratorAction::_initialize方法的典型用法代码示例。如果您正苦于以下问题:PHP AdministratorAction::_initialize方法的具体用法?PHP AdministratorAction::_initialize怎么用?PHP AdministratorAction::_initialize使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AdministratorAction
的用法示例。
在下文中一共展示了AdministratorAction::_initialize方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _initialize
public function _initialize()
{
parent::_initialize();
$this->GroupSetting = D('GroupSetting');
//$this->config = D( 'BlogConfig' );
$this->Category = D('Category');
}
示例2: D
/**
* 构造函数
*
* 获取礼品模型,礼品类型模型
* 获取礼品配置信息并赋值给模板
*/
function _initialize()
{
//管理权限判定
parent::_initialize();
$this->category = D('GiftCategory');
$this->gift = D('Gift');
}
示例3: _initialize
/**
* 初始化,页面标题,用于双语
*/
public function _initialize()
{
parent::_initialize();
$this->pageTitle['site'] = L('PUBLIC_WEBSITE_SETTING');
$this->pageTitle['register'] = L('PUBLIC_REGISTER_SETTING');
$this->pageTitle['invite'] = L('PUBLIC_INVITE_CONFIG');
$this->pageTitle['guest'] = '游客配置';
$this->pageTitle['announcement'] = L('PUBLIC_ANNOUNCEMENT_SETTING');
$this->pageTitle['email'] = L('PUBLIC_EMAIL_SETTING');
$this->pageTitle['sms'] = '短信配置';
// $this->pageTitle ['audit'] = L ( 'PUBLIC_FILTER_SETTING' );
$this->pageTitle['sensitive'] = L('PUBLIC_FILTER_SETTING');
$this->pageTitle['sensitiveCategory'] = '敏感词分类';
$this->pageTitle['access'] = '访问配置';
$this->pageTitle['footer'] = L('PUBLIC_FOOTER_CONFIG');
$this->pageTitle['feed'] = L('PUBLIC_WEIBO_SETTING');
$this->pageTitle['nav'] = L('PUBLIC_NAVIGATION_SETTING');
$this->pageTitle['footNav'] = L('PUBLIC_NAVIGATION_SETTING');
$this->pageTitle['guestNav'] = '游客导航';
$this->pageTitle['navAdd'] = $_GET['id'] && !$_GET['type'] ? '编辑导航' : '增加导航';
$this->pageTitle['lang'] = L('PUBLIC_LANGUAGE');
$this->pageTitle['diylist'] = L('PUBLIC_DIYWIDGET');
$this->pageTitle['notify'] = L('PUBLIC_MAILTITLE_ADMIN');
$this->pageTitle['invite'] = '邀请配置';
$this->pageTitle['inviteEmail'] = '邮件邀请';
$this->pageTitle['inviteLink'] = '链接邀请';
$this->pageTitle['getInviteAdminList'] = '已邀请用户列表';
$this->pageTitle['setSeo'] = 'SEO配置';
$this->pageTitle['editSeo'] = '编辑SEO';
$this->pageTitle['setUcenter'] = 'Ucenter配置';
$this->pageTitle['charge'] = '充值配置';
parent::_initialize();
}
示例4: _initialize
/**
* 初始化,初始化页面表头信息,用于双语
*/
public function _initialize()
{
$this->pageTitle['index'] = L('PUBLIC_USER_MANAGEMENT');
$this->pageTitle['pending'] = L('PUBLIC_PENDING_LIST');
$this->pageTitle['profile'] = L('PUBLIC_PROFILE_SETTING');
$this->pageTitle['profileCategory'] = L('PUBLIC_PROFILE_SETTING');
$this->pageTitle['dellist'] = L('PUBLIC_DISABLE_LIST');
$this->pageTitle['online'] = '在线用户列表';
$this->pageTitle['addUser'] = L('PUBLIC_ADD_USER_INFO');
$this->pageTitle['editUser'] = L('PUBLIC_EDIT_USER');
$this->pageTitle['addProfileField'] = L('PUBLIC_ADD_FIELD');
$this->pageTitle['editProfileField'] = L('PUBLIC_EDIT_FIELD');
$this->pageTitle['addProfileCategory'] = L('PUBLIC_ADD_FIELD_CLASSIFICATION');
$this->pageTitle['editProfileCategory'] = L('PUBLIC_EDITCATEOGRY');
$this->pageTitle['verify'] = '待认证用户';
$this->pageTitle['verifyGroup'] = '待认证企业';
$this->pageTitle['verified'] = '已认证用户';
$this->pageTitle['verifiedGroup'] = '已认证企业';
$this->pageTitle['addVerify'] = '添加认证';
$this->pageTitle['category'] = '推荐标签';
$this->pageTitle['verifyCategory'] = '认证分类';
$this->pageTitle['verifyConfig'] = '认证配置';
$this->pageTitle['official'] = '官方用户配置';
$this->pageTitle['officialCategory'] = '官方用户分类';
$this->pageTitle['officialList'] = '官方用户列表';
$this->pageTitle['officialAddUser'] = '添加官方用户';
$this->pageTitle['findPeopleConfig'] = '全局配置';
parent::_initialize();
}
示例5: _initialize
/**
* 初始化,初始化页面表头信息,用于双语
*/
public function _initialize()
{
$this->pageTitle['index'] = '商品列表';
$this->pageTitle['addshop'] = '添加商品';
$this->pageTitle['convert'] = '兑换记录';
$this->pageTitle['update'] = '升级软件';
parent::_initialize();
}
示例6: D
function _initialize()
{
parent::_initialize();
$this->config = D('AppConfig');
$this->video = D('V');
$this->category = D('VideoType');
$this->attach = M('Attach');
}
示例7: _initialize
public function _initialize()
{
if (!in_array(ACTION_NAME, array('login', 'doLogin', 'logout', 'selectDepartment'))) {
parent::_initialize();
}
$this->assign('isAdmin', 1);
//是否后台
}
示例8: D
function _initialize()
{
parent::_initialize();
$this->config = D('AppConfig');
$this->attach = M('Attach');
$this->album = D('Album');
$this->album_child = D('AlbumChild');
}
示例9: _initialize
/**
* 初始化,初始化页面表头信息,用于双语
*/
public function _initialize()
{
$this->pageTitle['index'] = '微吧列表';
$this->pageTitle['addWeiba'] = '添加微吧';
$this->pageTitle['postList'] = '帖子列表';
$this->pageTitle['postRecycle'] = '帖子回收站';
$this->pageTitle['weibaAdminAudit'] = '吧主审核';
parent::_initialize();
}
示例10:
function _initialize()
{
$this->pageTitle['index'] = '页面管理';
$this->pageTitle['addPage'] = '添加页面';
$this->pageTitle['editPage'] = '编辑页面';
$this->pageTitle['canvas'] = '画布管理';
$this->pageTitle['addCanvas'] = '添加画布';
$this->pageTitle['editCanvas'] = '编辑画布';
parent::_initialize();
}
示例11: _initialize
/**
* 初始化,配置内容标题
* @return void
*/
public function _initialize(){
// 管理标题项目
$this->pageTitle['index'] = '分类管理';
$this->pageTitle['helpList'] = '详细信息编辑';
$this->_initHelpListAdminMenu();
$this->_model_category = model('CategoryTree')->setTable('help_category');
parent::_initialize();
}
示例12: _initialize
/**
* 初始化,配置内容标题
* @return void
*/
public function _initialize()
{
// 管理标题项目
$this->pageTitle['index'] = '布告列表';
$this->pageTitle['addtopic'] = '发布黑板报';
$this->pageTitle['config'] = '展示设置';
// 管理分页项目
$this->pageTab[] = array('title' => $this->pageTitle['index'], 'tabHash' => 'index', 'url' => U('bboard/Admin/index'));
$this->pageTab[] = array('title' => $this->pageTitle['addtopic'], 'tabHash' => 'addtopic', 'url' => U('bboard/Admin/addtopic'));
$this->pageTab[] = array('title' => $this->pageTitle['config'], 'tabHash' => 'config', 'url' => U('bboard/Admin/config'));
parent::_initialize();
}
示例13: array
function _initialize()
{
$this->pageTitle['index'] = '应用配置';
$this->pageTitle['newslist'] = '资讯管理';
$this->pageTitle['newsCategory'] = '分类配置';
$this->pageTitle['setinfo'] = '创建/修改信息';
// tab选项
$this->pageTab[] = array('title' => '应用配置', 'tabHash' => 'index', 'url' => U('news/Admin/index'));
$this->pageTab[] = array('title' => '资讯管理', 'tabHash' => 'newslist', 'url' => U('news/Admin/newslist'));
$this->pageTab[] = array('title' => '分类配置', 'tabHash' => 'newsCategory', 'url' => U('news/Admin/newsCategory'));
$this->pageTab[] = array('title' => '创建/修改信息', 'tabHash' => 'setinfo', 'url' => U('news/Admin/setinfo'));
parent::_initialize();
}
示例14: _initialize
public function _initialize()
{
$this->pageTitle['index'] = L('PUBLIC_INSTALLED_APPLIST');
$this->pageTitle['install'] = L('PUBLIC_UNINSTALLED_APPLIST');
$this->pageTitle['setCreditNode'] = L('PUBLIC_POINTS_SETTING');
$this->pageTitle['setPermNode'] = L('PUBLIC_AUTHORITY_SETTING');
$this->pageTitle['setFeedNode'] = L('PUBLIC_WEIBO_TEMPLATE_SETTING');
$this->appStatus[0] = L('PUBLIC_CLOSE');
$this->appStatus[1] = L('PUBLIC_OPEN');
$this->host_type_alias[0] = L('PUBLIC_LOCAL_APP');
$this->host_type_alias[1] = L('PUBLIC_REMOTE_APP');
parent::_initialize();
}
示例15:
function _initialize()
{
$this->pageTitle['index'] = '任务列表';
$this->pageTitle['mainIndex'] = '任务列表';
$this->pageTitle['customIndex'] = '任务列表';
$this->pageTitle['editCustomTask'] = '编辑副本任务';
$this->pageTitle['editTask'] = '编辑任务';
$this->pageTitle['addTask'] = '添加任务';
$this->pageTitle['reward'] = '任务奖励';
$this->pageTitle['editReward'] = '编辑奖励';
$this->pageTitle['taskConfig'] = '任务配置';
parent::_initialize();
}