- Timestamp:
- 2011/08/03 05:10:38 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/class/pages/mypage/LC_Page_Mypage_Delivery.php
r21072 r21103 91 91 //別のお届け先情報 92 92 $arrOtherDeliv = $this->getOtherDeliv($customer_id, (($arrData['pageno'] - 1) * SEARCH_PMAX)); 93 //県名をセット 94 $arrOtherDeliv = $this->setPref($arrOtherDeliv, $this->arrPref); 93 95 $arrOtherDeliv['delivCount'] = count($arrOtherDeliv); 94 96 $this->arrOtherDeliv = $arrOtherDeliv; … … 159 161 $objQuery->delete("dtb_other_deliv", $where, array($customer_id, $deliv_id)); 160 162 } 163 164 /** 165 * 県名をセット 166 * 167 * @param array $arrOtherDeliv 168 * @param array $arrPref 169 * return array 170 */ 171 function setPref($arrOtherDeliv, $arrPref) { 172 if (is_array($arrOtherDeliv)) { 173 foreach($arrOtherDeliv as $key => $arrDeliv) { 174 $arrOtherDeliv[$key]['prefname'] = $arrPref[$arrDeliv['pref']]; 175 } 176 } 177 return $arrOtherDeliv; 178 } 161 179 }
Note: See TracChangeset
for help on using the changeset viewer.