- Timestamp:
- 2011/03/04 23:24:33 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_Detail.php
r20503 r20507 401 401 function lfPreGetRecommendProducts($product_id) { 402 402 $arrRecommend = array(); 403 $objQuery =& SC_Query ::getSingletonInstance();403 $objQuery =& SC_Query_Ex::getSingletonInstance(); 404 404 $objQuery->setOrder("rank DESC"); 405 405 $arrRecommendData = $objQuery->select("recommend_product_id, comment", "dtb_recommend_products", "product_id = ?", array($product_id)); … … 419 419 return $arrRecommend; 420 420 } 421 $objQuery =& SC_Query ::getSingletonInstance();421 $objQuery =& SC_Query_Ex::getSingletonInstance(); 422 422 $objQuery->setWhere($where); 423 423 $arrProducts = $objProduct->lists($objQuery, $arrRecommendProductId); … … 471 471 //商品ごとのレビュー情報を取得する 472 472 function lfGetReviewData($id) { 473 $objQuery =& SC_Query ::getSingletonInstance();473 $objQuery =& SC_Query_Ex::getSingletonInstance(); 474 474 //商品ごとのレビュー情報を取得する 475 475 $col = "create_date, reviewer_url, reviewer_name, recommend_level, title, comment"; … … 511 511 return false; 512 512 } else { 513 $objQuery =& SC_Query ::getSingletonInstance();513 $objQuery =& SC_Query_Ex::getSingletonInstance(); 514 514 $count = $objQuery->count("dtb_customer_favorite_products", "customer_id = ? AND product_id = ?", array($customer_id, $favorite_product_id)); 515 515
Note: See TracChangeset
for help on using the changeset viewer.