- Timestamp:
- 2011/03/09 15:21:44 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_List.php
r20540 r20567 124 124 $this->tpl_linemax = $this->lfGetProductAllNum($arrSearchCondition); 125 125 $urlParam = "category_id={$this->arrSearchData['category_id']}&pageno=#page#"; 126 $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);127 $this->arrProducts = $this->lfGetProductsList($arrSearchCondition, $this->disp_number,$this->objNavi->start_row,$this->tpl_linemax,$objProduct);126 $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); 127 $this->arrProducts = $this->lfGetProductsList($arrSearchCondition, $this->disp_number, $this->objNavi->start_row, $this->tpl_linemax, $objProduct); 128 128 //商品一覧の表示処理 129 129 $strnavi = $this->objNavi->strnavi; … … 314 314 // 規格を設定 315 315 $objProduct->setProductsClassByProductIds($arrProduct_id); 316 $arrProducts += array('productStatus'=>$objProduct->getProductStatus($arrProduct_id)); 316 $arrProducts += array('productStatus'=>$objProduct->getProductStatus($arrProduct_id)); 317 317 return $arrProducts; 318 318 } … … 358 358 * 359 359 * @return str 360 */ 360 */ 361 361 function lfGetPageTitle($mode,$category_id = 0){ 362 362 if ($mode == 'search') { … … 368 368 return $arrCat['name']; 369 369 } 370 return ""; 370 return ""; 371 371 } 372 372 … … 375 375 * 376 376 * @return array 377 */ 377 */ 378 378 function lfGetSearchConditionDisp($arrSearchData){ 379 379 $objQuery =& SC_Query_Ex::getSingletonInstance(); … … 400 400 * 401 401 * @return int 402 */ 402 */ 403 403 function lfGetProductAllNum($searchCondition){ 404 404 // 検索結果対象となる商品の数を取得 … … 413 413 * 414 414 * @return array 415 */ 415 */ 416 416 function lfGetSearchCondition($arrSearchData){ 417 417 $searchCondition = array( … … 468 468 * 469 469 * @return str 470 */ 470 */ 471 471 function lfSetSelectedData(&$arrProducts,$arrForm,$arrErr,$product_id){ 472 472 $js_fnOnLoad = ""; … … 488 488 * 489 489 * @return void 490 */ 490 */ 491 491 function lfAddCart($arrForm, $referer){ 492 492 $product_class_id = $arrForm['product_class_id'];
Note: See TracChangeset
for help on using the changeset viewer.