Changeset 22941


Ignore:
Timestamp:
2013/07/07 12:32:53 (11 years ago)
Author:
kimoto
Message:

#2043 typo修正・ソース整形・ソースコメントの改善 for 2.13.0
不要な引数の削除

File:
1 edited

Legend:

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

    r22926 r22941  
    7979        $this->tpl_uniqid = $objSiteSess->getUniqId(); 
    8080 
    81         $this->addrs = $this->getDelivAddrs($objCustomer, $objPurchase, 
    82                                             $objAddress, $this->tpl_uniqid); 
     81        $this->addrs = $this->getDelivAddrs($objCustomer, $objPurchase, $objAddress); 
    8382        $this->tpl_addrmax = count($this->addrs) - 2; // 「選択してください」と会員の住所をカウントしない 
    8483        $this->lfInitParam($objFormParam); 
     
    9594                    $this->saveMultipleShippings($this->tpl_uniqid, $objFormParam, 
    9695                                                 $objCustomer, $objPurchase, 
    97                                                  $objCartSess, $objAddress); 
     96                                                 $objAddress); 
    9897                    $objSiteSess->setRegistFlag(); 
    9998 
     
    149148        $arrItems = array(); 
    150149        $index = 0; 
    151         foreach ($cartLists as $key => $value) { 
     150        foreach (array_keys($cartLists) as $key) { 
    152151            $arrProductsClass = $cartLists[$key]['productsClass']; 
    153152            $quantity = (int) $cartLists[$key]['quantity']; 
     
    173172     * @param SC_Customer $objCustomer SC_Customer インスタンス 
    174173     * @param SC_Helper_Purchase $objPurchase SC_Helper_Purchase インスタンス 
    175      * @param integer $uniqid 受注一時テーブルのユニークID 
    176174     * @return array 配送住所のプルダウン用連想配列 
    177175     */ 
    178     function getDelivAddrs(&$objCustomer, &$objPurchase, &$objAddress, $uniqid) 
     176    function getDelivAddrs(&$objCustomer, &$objPurchase, &$objAddress) 
    179177    { 
    180178        $masterData = new SC_DB_MasterData_Ex(); 
     
    288286     * @param SC_Customer $objCustomer SC_Customer インスタンス 
    289287     * @param SC_Helper_Purchase $objPurchase SC_Helper_Purchase インスタンス 
    290      * @param SC_CartSession $objCartSess SC_CartSession インスタンス 
    291      * @return void 
    292      */ 
    293     function saveMultipleShippings($uniqid, &$objFormParam, &$objCustomer, &$objPurchase, &$objCartSess, &$objAddress) 
     288     * @return void 
     289     */ 
     290    function saveMultipleShippings($uniqid, &$objFormParam, &$objCustomer, &$objPurchase, &$objAddress) 
    294291    { 
    295292        $arrParams = $objFormParam->getSwapArray(); 
Note: See TracChangeset for help on using the changeset viewer.