- 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/mypage/LC_Page_Mypage_Favorite.php
r20491 r20507 105 105 */ 106 106 function lfGetFavoriteProduct($customer_id, &$objPage) { 107 $objQuery = SC_Query ::getSingletonInstance();107 $objQuery = SC_Query_Ex::getSingletonInstance(); 108 108 $objProduct = new SC_Product_Ex(); 109 109 … … 111 111 $arrProduct_id = $objQuery->getCol('product_id', 'dtb_customer_favorite_products', 'customer_id = ?', array($customer_id)); 112 112 113 $objQuery =& SC_Query ::getSingletonInstance();113 $objQuery =& SC_Query_Ex::getSingletonInstance(); 114 114 $objQuery->setWhere($this->lfMakeWhere('alldtl.', $arrProduct_id)); 115 115 $linemax = $objProduct->findProductCount($objQuery); … … 122 122 $startno = $objNavi->start_row; 123 123 124 $objQuery =& SC_Query ::getSingletonInstance();124 $objQuery =& SC_Query_Ex::getSingletonInstance(); 125 125 //$objQuery->setLimitOffset(SEARCH_PMAX, $startno); 126 126 // 取得範囲の指定(開始行番号、行数のセット) … … 166 166 // お気に入り商品削除 167 167 function lfDeleteFavoriteProduct($customer_id, $product_id) { 168 $objQuery = new SC_Query ();168 $objQuery = new SC_Query_Ex(); 169 169 $count = $objQuery->count("dtb_customer_favorite_products", "customer_id = ? AND product_id = ?", array($customer_id, $product_id)); 170 170
Note: See TracChangeset
for help on using the changeset viewer.