public function _initialize() { parent::_initialize(); $this->mInviteModel = D('Ucenter/Invite'); $this->mInviteTypeModel = D('Ucenter/InviteType'); $this->mInviteBuyLogModel = D('Ucenter/InviteBuyLog'); $this->mInviteUserInfoModel = D('Ucenter/InviteUserInfo'); }
public function _initialize() { parent::_initialize(); $uid = isset($_GET['uid']) ? op_t($_GET['uid']) : is_login(); //调用API获取基本信息 $this->userInfo($uid); $this->_fans_and_following($uid); $this->_tab_menu(); }
public function _initialize() { parent::_initialize(); if (!is_login()) { $this->error('请登陆后再访问本页面。'); } $this->setTitle('编辑资料'); $this->_assignSelf(); $this->_haveOtherRole(); }
public function _initialize() { parent::_initialize(); if (!is_login()) { $this->error(L('_ERROR_FIRST_LOGIN_')); } $this->setTitle(L('_DATA_EDIT_')); $this->_assignSelf(); $this->_haveOtherRole(); }
public function _initialize() { parent::_initialize(); $this->mTalkModel = D('Talk'); }
public function _initialize() { parent::_initialize(); $this->mTalkModel = M('Talk'); $this->setTitle(L('')); }
public function _initialize() { parent::_initialize(); }