Changeset 22796 for branches/version-2_12-dev/data/class/pages/shopping/LC_Page_Shopping_Multiple.php
- Timestamp:
- 2013/05/02 18:11:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/shopping/LC_Page_Shopping_Multiple.php
r22567 r22796 32 32 * @version $Id$ 33 33 */ 34 class LC_Page_Shopping_Multiple extends LC_Page_Ex 35 { 34 class LC_Page_Shopping_Multiple extends LC_Page_Ex { 36 35 37 36 // }}} … … 43 42 * @return void 44 43 */ 45 function init() 46 { 44 function init() { 47 45 parent::init(); 48 46 $this->tpl_title = 'お届け先の複数指定'; … … 55 53 * @return void 56 54 */ 57 function process() 58 { 55 function process() { 59 56 parent::process(); 60 57 $this->action(); … … 67 64 * @return void 68 65 */ 69 function action() 70 { 66 function action() { 67 71 68 $objSiteSess = new SC_SiteSession_Ex(); 72 69 $objCartSess = new SC_CartSession_Ex(); … … 118 115 } 119 116 $this->arrForm = $objFormParam->getFormParamList(); 117 118 120 119 } 121 120 … … 125 124 * @return void 126 125 */ 127 function destroy() 128 { 126 function destroy() { 129 127 parent::destroy(); 130 128 } … … 136 134 * @return void 137 135 */ 138 function lfInitParam(&$objFormParam) 139 { 136 function lfInitParam(&$objFormParam) { 140 137 $objFormParam->addParam('商品規格ID', 'product_class_id', INT_LEN, 'n', array('EXIST_CHECK', 'MAX_LENGTH_CHECK', 'NUM_CHECK')); 141 138 $objFormParam->addParam('商品名', 'name'); … … 146 143 $objFormParam->addParam('メイン画像', 'main_image'); 147 144 $objFormParam->addParam('メイン一覧画像', 'main_list_image'); 148 $objFormParam->addParam( SALE_PRICE_TITLE, 'price');145 $objFormParam->addParam('販売価格', 'price'); 149 146 $objFormParam->addParam('数量', 'quantity', INT_LEN, 'n', array('EXIST_CHECK', 'MAX_LENGTH_CHECK', 'NUM_CHECK'), 1); 150 147 $objFormParam->addParam('お届け先', 'shipping', INT_LEN, 'n', array('MAX_LENGTH_CHECK', 'NUM_CHECK')); … … 160 157 * @return void 161 158 */ 162 function setParamToSplitItems(&$objFormParam, &$objCartSess) 163 { 159 function setParamToSplitItems(&$objFormParam, &$objCartSess) { 164 160 $cartLists =& $objCartSess->getCartList($objCartSess->getKey()); 165 161 $arrItems = array(); … … 192 188 * @return array 配送住所のプルダウン用連想配列 193 189 */ 194 function getDelivAddrs(&$objCustomer, &$objPurchase, &$objAddress, $uniqid) 195 { 190 function getDelivAddrs(&$objCustomer, &$objPurchase, &$objAddress, $uniqid) { 196 191 $masterData = new SC_DB_MasterData_Ex(); 197 192 $arrPref = $masterData->getMasterData('mtb_pref'); … … 234 229 } 235 230 } 236 237 231 return $arrResults; 238 232 } … … 244 238 * @return array エラー情報の配列 245 239 */ 246 function lfCheckError(&$objFormParam) 247 { 240 function lfCheckError(&$objFormParam) { 248 241 $objCartSess = new SC_CartSession_Ex(); 249 242 … … 291 284 } 292 285 } 293 294 286 return $arrErr; 295 287 } … … 307 299 * @return void 308 300 */ 309 function saveMultipleShippings($uniqid, &$objFormParam, &$objCustomer, &$objPurchase, &$objCartSess, &$objAddress) 310 { 301 function saveMultipleShippings($uniqid, &$objFormParam, &$objCustomer, &$objPurchase, &$objCartSess, &$objAddress) { 311 302 $arrParams = $objFormParam->getSwapArray(); 312 303 … … 316 307 if ($objCustomer->isLoginSuccess(true)) { 317 308 if ($other_deliv_id != 0) { 318 $otherDeliv = $objAddress->get Address($other_deliv_id);309 $otherDeliv = $objAddress->get($other_deliv_id); 319 310 foreach ($otherDeliv as $key => $val) { 320 311 $arrValues[$other_deliv_id]['shipping_' . $key] = $val;
Note: See TracChangeset
for help on using the changeset viewer.