Ignore:
Timestamp:
2013/05/02 18:11:36 (11 years ago)
Author:
h_yoshimoto
Message:

#2236 2.12.3リリース以降の2.12-devへのコミット差し戻し

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/shopping/LC_Page_Shopping_Multiple.php

    r22567 r22796  
    3232 * @version $Id$ 
    3333 */ 
    34 class LC_Page_Shopping_Multiple extends LC_Page_Ex  
    35 { 
     34class LC_Page_Shopping_Multiple extends LC_Page_Ex { 
    3635 
    3736    // }}} 
     
    4342     * @return void 
    4443     */ 
    45     function init() 
    46     { 
     44    function init() { 
    4745        parent::init(); 
    4846        $this->tpl_title = 'お届け先の複数指定'; 
     
    5553     * @return void 
    5654     */ 
    57     function process() 
    58     { 
     55    function process() { 
    5956        parent::process(); 
    6057        $this->action(); 
     
    6764     * @return void 
    6865     */ 
    69     function action() 
    70     { 
     66    function action() { 
     67 
    7168        $objSiteSess = new SC_SiteSession_Ex(); 
    7269        $objCartSess = new SC_CartSession_Ex(); 
     
    118115        } 
    119116        $this->arrForm = $objFormParam->getFormParamList(); 
     117 
     118 
    120119    } 
    121120 
     
    125124     * @return void 
    126125     */ 
    127     function destroy() 
    128     { 
     126    function destroy() { 
    129127        parent::destroy(); 
    130128    } 
     
    136134     * @return void 
    137135     */ 
    138     function lfInitParam(&$objFormParam) 
    139     { 
     136    function lfInitParam(&$objFormParam) { 
    140137        $objFormParam->addParam('商品規格ID', 'product_class_id', INT_LEN, 'n', array('EXIST_CHECK', 'MAX_LENGTH_CHECK', 'NUM_CHECK')); 
    141138        $objFormParam->addParam('商品名', 'name'); 
     
    146143        $objFormParam->addParam('メイン画像', 'main_image'); 
    147144        $objFormParam->addParam('メイン一覧画像', 'main_list_image'); 
    148         $objFormParam->addParam(SALE_PRICE_TITLE, 'price'); 
     145        $objFormParam->addParam('販売価格', 'price'); 
    149146        $objFormParam->addParam('数量', 'quantity', INT_LEN, 'n', array('EXIST_CHECK', 'MAX_LENGTH_CHECK', 'NUM_CHECK'), 1); 
    150147        $objFormParam->addParam('お届け先', 'shipping', INT_LEN, 'n', array('MAX_LENGTH_CHECK', 'NUM_CHECK')); 
     
    160157     * @return void 
    161158     */ 
    162     function setParamToSplitItems(&$objFormParam, &$objCartSess) 
    163     { 
     159    function setParamToSplitItems(&$objFormParam, &$objCartSess) { 
    164160        $cartLists =& $objCartSess->getCartList($objCartSess->getKey()); 
    165161        $arrItems = array(); 
     
    192188     * @return array 配送住所のプルダウン用連想配列 
    193189     */ 
    194     function getDelivAddrs(&$objCustomer, &$objPurchase, &$objAddress, $uniqid) 
    195     { 
     190    function getDelivAddrs(&$objCustomer, &$objPurchase, &$objAddress, $uniqid) { 
    196191        $masterData = new SC_DB_MasterData_Ex(); 
    197192        $arrPref = $masterData->getMasterData('mtb_pref'); 
     
    234229            } 
    235230        } 
    236  
    237231        return $arrResults; 
    238232    } 
     
    244238     * @return array エラー情報の配列 
    245239     */ 
    246     function lfCheckError(&$objFormParam) 
    247     { 
     240    function lfCheckError(&$objFormParam) { 
    248241        $objCartSess = new SC_CartSession_Ex(); 
    249242 
     
    291284            } 
    292285        } 
    293  
    294286        return $arrErr; 
    295287    } 
     
    307299     * @return void 
    308300     */ 
    309     function saveMultipleShippings($uniqid, &$objFormParam, &$objCustomer, &$objPurchase, &$objCartSess, &$objAddress) 
    310     { 
     301    function saveMultipleShippings($uniqid, &$objFormParam, &$objCustomer, &$objPurchase, &$objCartSess, &$objAddress) { 
    311302        $arrParams = $objFormParam->getSwapArray(); 
    312303 
     
    316307            if ($objCustomer->isLoginSuccess(true)) { 
    317308                if ($other_deliv_id != 0) { 
    318                     $otherDeliv = $objAddress->getAddress($other_deliv_id); 
     309                    $otherDeliv = $objAddress->get($other_deliv_id); 
    319310                    foreach ($otherDeliv as $key => $val) { 
    320311                        $arrValues[$other_deliv_id]['shipping_' . $key] = $val; 
Note: See TracChangeset for help on using the changeset viewer.