- Timestamp:
- 2013/07/07 16:48:59 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/pages/products/LC_Page_Products_List.php
r22926 r22946 94 94 $objProduct = new SC_Product_Ex(); 95 95 // パラメーター管理クラス 96 $objFormParam = new SC_FormParam_Ex(); 96 $objFormParam = new SC_FormParam_Ex(); 97 97 98 98 // パラメーター情報の初期化 … … 139 139 } 140 140 $this->objNavi = new SC_PageNavi_Ex($this->tpl_pageno, $this->tpl_linemax, $this->disp_number, 'fnNaviPage', NAVI_PMAX, $urlParam, SC_Display_Ex::detectDevice() !== DEVICE_TYPE_MOBILE); 141 $this->arrProducts = $this->lfGetProductsList($arrSearchCondition, $this->disp_number, $this->objNavi->start_row, $ this->tpl_linemax, $objProduct);141 $this->arrProducts = $this->lfGetProductsList($arrSearchCondition, $this->disp_number, $this->objNavi->start_row, $objProduct); 142 142 143 143 switch ($this->getMode()) { … … 156 156 /** 157 157 * パラメーター情報の初期化 158 * 158 * 159 159 * @param array $objFormParam フォームパラメータークラス 160 160 * @return void … … 207 207 208 208 /* 商品一覧の表示 */ 209 function lfGetProductsList($searchCondition, $disp_number, $startno, $linemax,&$objProduct)209 function lfGetProductsList($searchCondition, $disp_number, $startno, &$objProduct) 210 210 { 211 211 $arrOrderVal = array(); … … 427 427 { 428 428 $js_fnOnLoad = ''; 429 foreach ( $arrProducts as $key => $value) {429 foreach (array_keys($arrProducts) as $key) { 430 430 if ($arrProducts[$key]['product_id'] == $product_id) { 431 431 $arrProducts[$key]['product_class_id'] = $arrForm['product_class_id']; … … 447 447 * @return void 448 448 */ 449 function lfAddCart($arrForm , $referer)449 function lfAddCart($arrForm) 450 450 { 451 451 $objCartSess = new SC_CartSession_Ex(); … … 555 555 $arrErr = $this->lfCheckError($objFormParam); 556 556 if (empty($arrErr)) { 557 $this->lfAddCart($this->arrForm , $_SERVER['HTTP_REFERER']);557 $this->lfAddCart($this->arrForm); 558 558 559 559 // 開いているカテゴリーツリーを維持するためのパラメーター
Note: See TracChangeset
for help on using the changeset viewer.