Ignore:
Timestamp:
2012/11/04 07:02:38 (10 years ago)
Author:
pineray
Message:

#1958 (別お届け先関連の処理をページクラスから分離)

関数名が冗長なので変更.
other_deliv_id だけで対象を特定できるので引数を整理.

File:
1 edited

Legend:

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

    r22065 r22069  
    110110            // 削除 
    111111            case 'delete': 
    112                 $objAddress->deleteAddress($objCustomer->getValue('customer_id'), $arrForm['other_deliv_id']); 
     112                $objAddress->delete($arrForm['other_deliv_id']); 
    113113                break; 
    114114 
     
    228228        // 別のお届け先がチェックされている場合 
    229229        else { 
    230             $arrOtherDeliv = $objAddress->getAddress($objCustomer->getValue('customer_id'), $other_deliv_id); 
     230            $arrOtherDeliv = $objAddress->get($other_deliv_id); 
    231231            if (!$arrOtherDeliv) { 
    232232                return false; 
Note: See TracChangeset for help on using the changeset viewer.