• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP BaseMemberControl类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中BaseMemberControl的典型用法代码示例。如果您正苦于以下问题:PHP BaseMemberControl类的具体用法?PHP BaseMemberControl怎么用?PHP BaseMemberControl使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了BaseMemberControl类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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');
	}
开发者ID:noikiy,项目名称:ejia,代码行数:7,代码来源:member_vr_refund.php


示例2: __construct

	public function __construct() {
		parent::__construct();
		/**
		 * 读取语言包
		 */
		Language::read('member_layout,member_store_goods_index,member_flea,home_flea_index');
	}
开发者ID:noikiy,项目名称:ejia,代码行数:7,代码来源:member_flea.php


示例3: __construct

 public function __construct()
 {
     parent::__construct();
     Language::read('member_member_index');
     $model_refund = Model('refund_return');
     $model_refund->getRefundStateArray();
 }
开发者ID:noikiy,项目名称:cunkou,代码行数:7,代码来源:member_refund.php


示例4: __construct

	public function __construct(){
		parent::__construct();
		Tpl::output('relation','3');//为了跟home页面保持一致所以输出此变量
		Language::read('member_sns');
		//允许插入新记录的最大条数
		Tpl::output('max_recordnum',self::MAX_RECORDNUM);
	}
开发者ID:noikiy,项目名称:ejia,代码行数:7,代码来源:member_snsindex.php


示例5: __construct

	/**
	 *	验证是否开启闲置功能
	 */
	public function __construct() {
		parent::__construct();
		/**
		 * 读取语言包
		 */
		Language::read('member_store_album');
	}
开发者ID:noikiy,项目名称:ejia,代码行数:10,代码来源:flea_album.php


示例6: voucher_listOp

 public function voucher_listOp()
 {
     $model = Model('voucher');
     $list = $model->getMemberVoucherList($_SESSION['member_id'], $_GET['select_detail_state'], 10);
     // add by wangjiang查询会员及其附属信息
     $result = parent::pointshopMInfo(true);
     $member_info = $result['member_info'];
     unset($result);
     //end wangjiang
     //取已经使用过并且未有voucher_order_id的代金券的订单ID
     $used_voucher_code = array();
     $voucher_order = array();
     if (!empty($list)) {
         foreach ($list as $v) {
             if ($v['voucher_state'] == 2 && empty($v['voucher_order_id'])) {
                 $used_voucher_code[] = $v['voucher_code'];
             }
         }
     }
     if (!empty($used_voucher_code)) {
         $order_list = Model('order')->getOrderCommonList(array('voucher_code' => array('in', $used_voucher_code)), 'order_id,voucher_code');
         if (!empty($order_list)) {
             foreach ($order_list as $v) {
                 $voucher_order[$v['voucher_code']] = $v['order_id'];
                 $model->editVoucher(array('voucher_order_id' => $v['order_id']), array('voucher_code' => $v['voucher_code']));
             }
         }
     }
     Tpl::output('list', $list);
     Tpl::output('voucherstate_arr', $model->getVoucherStateArray());
     Tpl::output('show_page', $model->showpage(2));
     $this->profile_menu('voucher_list');
     Tpl::showpage('member_voucher.list');
 }
开发者ID:wangjiang988,项目名称:ukshop,代码行数:34,代码来源:member_voucher.php


示例7: __construct

 public function __construct()
 {
     parent::__construct();
     Uk86Language::uk86_read('member_member_index');
     $model_refund = Model('refund_return');
     $model_refund->getRefundStateArray();
     $this->_getCommonOperationsAndNavLink('member_refund');
 }
开发者ID:wangjiang988,项目名称:ukshop,代码行数:8,代码来源:member_return.php


示例8: __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');
		}
	}
开发者ID:noikiy,项目名称:ejia,代码行数:8,代码来源:member_sharemanage.php


示例9: __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');
		}
	}
开发者ID:noikiy,项目名称:ejia,代码行数:8,代码来源:member_voucher.php


示例10: __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);
 }
开发者ID:dw250100785,项目名称:shopnc,代码行数:9,代码来源:member_return.php


示例11: __construct

 public function __construct()
 {
     parent::__construct();
     /**
      * 读取语言包
      */
     Language::read('member_layout,member_inform');
     //定义状态常量
 }
开发者ID:mengtaolin,项目名称:shopping,代码行数:9,代码来源:member_inform.php


示例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');
	}
开发者ID:noikiy,项目名称:ejia,代码行数:10,代码来源:member_pointorder.php


示例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);
 }
开发者ID:noikiy,项目名称:haifenbao,代码行数:12,代码来源:member_voucher.php


示例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');
 }
开发者ID:noikiy,项目名称:ecmall,代码行数:18,代码来源:member_sconnect.php


示例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');
		}
	}
开发者ID:noikiy,项目名称:ejia,代码行数:13,代码来源:member_points.php


示例16: __construct

 public function __construct()
 {
     parent::__construct();
     /**
      * 读取语言包
      */
     Language::read('member_member_points');
     /**
      * 判断系统是否开启积分功能
      */
     if ($GLOBALS['setting_config']['points_isuse'] != 1) {
         showMessage(Language::get('points_unavailable'), 'index.php?act=member_snsindex', 'html', 'error');
     }
 }
开发者ID:dw250100785,项目名称:shopnc,代码行数:14,代码来源:member_points.php


示例17: __construct

 public function __construct()
 {
     parent::__construct();
     Language::read('member_member_predeposit');
     if ($GLOBALS['setting_config']['predeposit_isuse'] != '1') {
         showMessage(Language::get('predeposit_unavailable'), 'index.php?act=member_snsindex', 'html', 'error');
     }
     //充值记录状态数组
     $rechargestate = array(0 => Language::get('predeposit_rechargestate_auditing'), 1 => Language::get('predeposit_rechargestate_completed'), 2 => Language::get('predeposit_rechargestate_closed'));
     //充值记录支付状态数组
     $rechargepaystate = array(0 => Language::get('predeposit_rechargewaitpaying'), 1 => Language::get('predeposit_rechargepaysuccess'));
     Tpl::output('rechargestate', $rechargestate);
     Tpl::output('rechargepaystate', $rechargepaystate);
     //提现记录状态数组
     $cashstate = array(0 => Language::get('predeposit_cashstate_auditing'), 1 => Language::get('predeposit_cashstate_completed'), 2 => Language::get('predeposit_cashstate_closed'));
     //提现记录支付状态数组
     $cashpaystate = array(0 => Language::get('predeposit_cashwaitpaying'), 1 => Language::get('predeposit_cashpaysuccess'));
     Tpl::output('cashstate', $cashstate);
     Tpl::output('cashpaystate', $cashpaystate);
     Tpl::setLayout('member_pub_layout');
 }
开发者ID:noikiy,项目名称:ecmall,代码行数:21,代码来源:predeposit.php


示例18: __construct

 public function __construct()
 {
     parent::__construct();
     Language::read('member_layout,member_member_favorites');
 }
开发者ID:noikiy,项目名称:cunkou,代码行数:5,代码来源:member_favorites.php


示例19: __construct

 public function __construct()
 {
     parent::__construct();
     /**
      * 判断闲置开关(关闭时,跳转首页)
      */
     if (intval(C('flea_isuse')) !== 1) {
         header('location: ' . SHOP_SITE_URL);
         die;
     }
 }
开发者ID:dotku,项目名称:shopnc_cnnewyork,代码行数:11,代码来源:control.php


示例20: __construct

 public function __construct()
 {
     parent::__construct();
     Language::read('member_member_predeposit');
     Tpl::setLayout('member_pub_layout');
 }
开发者ID:noikiy,项目名称:haifenbao,代码行数:6,代码来源:predeposit.php



注:本文中的BaseMemberControl类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP BaseModel类代码示例发布时间:2022-05-23
下一篇:
PHP BaseHomeControl类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap