Changeset 21256 for branches/version-2_11-dev/data/class/pages/rss
- Timestamp:
- 2011/09/25 13:15:51 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/class/pages/rss/LC_Page_Rss_Products.php
r20976 r21256 244 244 */ 245 245 function lfGetProductsDetail(&$objQuery, $product_id = 'all'){ 246 $objProduct = new SC_Product_Ex(); 247 246 248 // --- 商品詳細の取得 247 if ($product_id != 'all') {248 $ where = 'product_id = ' . $product_id;249 $ objQuery->setWhere($where);250 } 251 $objQuery->setOrder('product_id');252 $objProduct = new SC_Product_Ex();253 $arrProductLsit = $objProduct->lists($objQuery); 249 if ($product_id == 'all') { 250 $objQuery->setOrder('product_id'); 251 $arrProductLsit = $objProduct->lists($objQuery); 252 } else { 253 $arrProductLsit = $objProduct->getListByProductIds($objQuery, $product_id); 254 } 255 254 256 // 各商品のカテゴリIDとランクの取得 255 257 $arrProduct = array();
Note: See TracChangeset
for help on using the changeset viewer.