Ignore:
Timestamp:
2013/02/13 18:15:46 (8 years ago)
Author:
pineray
Message:

pageクラスからdtb_paymentテーブルを直接指定している箇所をなくす

以下のファイルが残っている.
LC_Page_Shopping_LoadPaymentModule.php
LC_Page_Admin_Home.php

Location:
branches/version-2_12-dev/data/class/pages
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/admin/basis/LC_Page_Admin_Basis_DeliveryInput.php

    r22206 r22537  
    4949        $this->arrPref = $masterData->getMasterData('mtb_pref'); 
    5050        $this->arrProductType = $masterData->getMasterData('mtb_product_type'); 
    51         $this->arrPayments = SC_Helper_DB_Ex::sfGetIDValueList('dtb_payment', 'payment_id', 'payment_method'); 
     51        $this->arrPayments = SC_Helper_Payment_Ex::getIDValueList(); 
    5252        $this->tpl_maintitle = '基本情報管理'; 
    5353        $this->tpl_subtitle = '配送方法設定'; 
  • branches/version-2_12-dev/data/class/pages/admin/customer/LC_Page_Admin_Customer_Edit.php

    r22206 r22537  
    6666 
    6767        // 支払い方法種別 
    68         $objDb = new SC_Helper_DB_Ex(); 
    69         $this->arrPayment = $objDb->sfGetIDValueList('dtb_payment', 'payment_id', 'payment_method'); 
     68        $this->arrPayment = SC_Helper_Payment_Ex::getIDValueList(); 
    7069    } 
    7170 
  • branches/version-2_12-dev/data/class/pages/admin/order/LC_Page_Admin_Order.php

    r22522 r22537  
    7171 
    7272        // 支払い方法の取得 
    73         $this->arrPayments = SC_Helper_DB_Ex::sfGetIDValueList('dtb_payment', 'payment_id', 'payment_method'); 
     73        $this->arrPayments = SC_Helper_Payment_Ex::getIDValueList(); 
    7474 
    7575        $this->httpCacheControl('nocache'); 
  • branches/version-2_12-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Disp.php

    r22218 r22537  
    8989 
    9090        // 支払い方法の取得 
    91         $this->arrPayment = SC_Helper_DB_Ex::sfGetIDValueList('dtb_payment', 'payment_id', 'payment_method'); 
     91        $this->arrPayment = SC_Helper_Payment_Ex::getIDValueList(); 
    9292 
    9393        // 配送業者の取得 
  • branches/version-2_12-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php

    r22493 r22537  
    108108 
    109109        // 支払い方法の取得 
    110         $this->arrPayment = SC_Helper_DB_Ex::sfGetIDValueList('dtb_payment', 'payment_id', 'payment_method'); 
     110        $this->arrPayment = SC_Helper_Payment_Ex::getIDValueList(); 
    111111 
    112112        // 配送業者の取得 
  • branches/version-2_12-dev/data/class/pages/admin/order/LC_Page_Admin_Order_Status.php

    r22306 r22537  
    8585 
    8686        //支払方法の取得 
    87         $this->arrPayment = $objDb->sfGetIDValueList('dtb_payment', 'payment_id', 'payment_method'); 
     87        $this->arrPayment = SC_Helper_Payment_Ex::getIDValueList(); 
    8888 
    8989        switch ($this->getMode()) { 
  • branches/version-2_12-dev/data/class/pages/admin/products/LC_Page_Admin_Products_UploadCSV.php

    r22447 r22537  
    7575        $this->arrProductType = $masterData->getMasterData('mtb_product_type'); 
    7676        $this->arrMaker = SC_Helper_DB_Ex::sfGetIDValueList('dtb_maker', 'maker_id', 'name'); 
    77         $this->arrPayments = SC_Helper_DB_Ex::sfGetIDValueList('dtb_payment', 'payment_id', 'payment_method'); 
     77        $this->arrPayments = SC_Helper_Payment_Ex::getIDValueList(); 
    7878        $this->arrInfo = SC_Helper_DB_Ex::sfGetBasisData(); 
    7979        $this->arrAllowedTag = $masterData->getMasterData('mtb_allowed_tag'); 
  • branches/version-2_12-dev/data/class/pages/mypage/LC_Page_Mypage.php

    r22206 r22537  
    100100        } 
    101101        // 支払い方法の取得 
    102         $this->arrPayment = SC_Helper_DB_Ex::sfGetIDValueList('dtb_payment', 'payment_id', 'payment_method'); 
     102        $this->arrPayment = SC_Helper_Payment_Ex::getIDValueList(); 
    103103        // 1ページあたりの件数 
    104104        $this->dispNumber = SEARCH_PMAX; 
  • branches/version-2_12-dev/data/class/pages/mypage/LC_Page_Mypage_History.php

    r22271 r22537  
    9494        $this->isMultiple       = count($this->arrShipping) > 1; 
    9595        // 支払い方法の取得 
    96         $this->arrPayment       = $objDb->sfGetIDValueList('dtb_payment', 'payment_id', 'payment_method'); 
     96        $this->arrPayment       = SC_Helper_Payment_Ex::getIDValueList(); 
    9797        // 受注商品明細の取得 
    9898        $this->tpl_arrOrderDetail = $objPurchase->getOrderDetail($order_id); 
  • branches/version-2_12-dev/data/class/pages/shopping/LC_Page_Shopping_Payment.php

    r22206 r22537  
    327327            } 
    328328            // ポイント差し引き後の決済方法チェック 
    329             $arrPayments = $objPurchase->getPaymentsByPaymentsId($arrForm['payment_id']); 
     329            $objPayment = new SC_Helper_Payment_Ex(); 
     330            $arrPayments = $objPayment->get($arrForm['payment_id']); 
    330331            if ($arrPayments['rule_max'] > $subtotal - $arrForm['use_point'] * POINT_VALUE) { 
    331332                $objErr->arrErr['use_point'] = '※ 選択した支払方法では、ポイントは'.($subtotal - $arrPayments['rule_max']).'ポイントまでご利用いただけます。<br>'; 
Note: See TracChangeset for help on using the changeset viewer.