當前位置: 首頁>>代碼示例>>PHP>>正文


PHP BaseMemberControl類代碼示例

本文整理匯總了PHP中BaseMemberControl的典型用法代碼示例。如果您正苦於以下問題:PHP BaseMemberControl類的具體用法?PHP BaseMemberControl怎麽用?PHP BaseMemberControl使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


在下文中一共展示了BaseMemberControl類的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');
	}
開發者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


注:本文中的BaseMemberControl類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。