本文整理汇总了PHP中BaseMemberControl::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP BaseMemberControl::__construct方法的具体用法?PHP BaseMemberControl::__construct怎么用?PHP BaseMemberControl::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BaseMemberControl
的用法示例。
在下文中一共展示了BaseMemberControl::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct(){
parent::__construct();
Language::read('member_member_index,refund');
$model_vr_refund = Model('vr_refund');
$model_vr_refund->getRefundStateArray();
$this->_getCommonOperationsAndNavLink('member_refund');
}
示例2: __construct
public function __construct() {
parent::__construct();
/**
* 读取语言包
*/
Language::read('member_layout,member_store_goods_index,member_flea,home_flea_index');
}
示例3: __construct
public function __construct()
{
parent::__construct();
Language::read('member_member_index');
$model_refund = Model('refund_return');
$model_refund->getRefundStateArray();
}
示例4: __construct
public function __construct(){
parent::__construct();
Tpl::output('relation','3');//为了跟home页面保持一致所以输出此变量
Language::read('member_sns');
//允许插入新记录的最大条数
Tpl::output('max_recordnum',self::MAX_RECORDNUM);
}
示例5: __construct
/**
* 验证是否开启闲置功能
*/
public function __construct() {
parent::__construct();
/**
* 读取语言包
*/
Language::read('member_store_album');
}
示例6: __construct
public function __construct()
{
parent::__construct();
Uk86Language::uk86_read('member_member_index');
$model_refund = Model('refund_return');
$model_refund->getRefundStateArray();
$this->_getCommonOperationsAndNavLink('member_refund');
}
示例7: __construct
public function __construct(){
parent::__construct();
Language::read('member_sharemanage');
//判断系统是否开启站外分享功能
if (C('share_isuse') != 1){
showMessage(Language::get('sharebind_unused'),'index.php?act=member_information&op=member','html','error');
}
}
示例8: __construct
public function __construct() {
parent::__construct();
Language::read('member_layout,member_voucher');
//判断系统是否开启代金券功能
if (intval(C('voucher_allow')) !== 1){
showMessage(Language::get('member_voucher_unavailable'),urlShop('member', 'home'),'html','error');
}
}
示例9: __construct
public function __construct()
{
parent::__construct();
Language::read('member_return');
Language::read('member_member_index');
$state_array = array('1' => Language::get('return_state_confirm'), '2' => Language::get('return_state_yes'), '3' => Language::get('return_state_no'));
//状态:1为待审核,2为同意,3为不同意
Tpl::output('state_array', $state_array);
}
示例10: __construct
public function __construct()
{
parent::__construct();
Uk86Language::uk86_read('member_layout,member_voucher,home_pointprod');
//判断系统是否开启代金券功能
if (intval(C('voucher_allow')) !== 1) {
uk86_showMessage(Uk86Language::uk86_get('member_voucher_unavailable'), uk86_urlShop('member', 'home'), 'html', 'error');
}
}
示例11: __construct
public function __construct()
{
parent::__construct();
/**
* 读取语言包
*/
Language::read('member_layout,member_inform');
//定义状态常量
}
示例12: __construct
public function __construct() {
parent::__construct();
//读取语言包
Language::read('member_member_points,member_pointorder');
//判断系统是否开启积分和积分兑换功能
if (C('points_isuse') != 1 || C('pointprod_isuse') != 1){
showDialog(L('member_pointorder_unavailable'),urlShop('member', 'home'),'error');
}
$this->_getCommonOperationsAndNavLink('member_points');
}
示例13: __construct
public function __construct()
{
parent::__construct();
Language::read('member_layout,member_voucher');
//判断系统是否开启代金券功能
if (intval(C('voucher_allow')) !== 1) {
showMessage(Language::get('member_voucher_unavailable'), 'index.php?act=member_snsindex', 'html', 'error');
}
//领取的代金券状态
$this->voucherstate_arr = array('unused' => array(1, Language::get('voucher_voucher_state_unused')), 'used' => array(2, Language::get('voucher_voucher_state_used')), 'expire' => array(3, Language::get('voucher_voucher_state_expire')));
Tpl::output('voucherstate_arr', $this->voucherstate_arr);
}
示例14: __construct
/**
* 卖家店铺是否审核的判断
*
* @param
* @return
*/
public function __construct()
{
parent::__construct();
/**
* 读取语言包
*/
Language::read('member_member_sconnect');
if ($GLOBALS['setting_config']['sina_isuse'] != 1) {
showMessage(Language::get('member_sconnect_unavailable'), 'index.php?act=member_snsindex', 'html', 'error');
}
Tpl::setLayout('member_pub_layout');
}
示例15: __construct
public function __construct() {
parent::__construct();
/**
* 读取语言包
*/
Language::read('member_member_points,member_pointorder');
/**
* 判断系统是否开启积分功能
*/
if (C('points_isuse') != 1){
showMessage(Language::get('points_unavailable'),urlShop('member', 'home'),'html','error');
}
}