Ignore:
Timestamp:
2011/03/04 23:24:33 (13 years ago)
Author:
shutta
Message:

SC_Queryクラスのclass_extends対応

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_Detail.php

    r20503 r20507  
    401401    function lfPreGetRecommendProducts($product_id) { 
    402402        $arrRecommend = array(); 
    403         $objQuery =& SC_Query::getSingletonInstance(); 
     403        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    404404        $objQuery->setOrder("rank DESC"); 
    405405        $arrRecommendData = $objQuery->select("recommend_product_id, comment", "dtb_recommend_products", "product_id = ?", array($product_id)); 
     
    419419            return $arrRecommend; 
    420420        } 
    421         $objQuery =& SC_Query::getSingletonInstance(); 
     421        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    422422        $objQuery->setWhere($where); 
    423423        $arrProducts = $objProduct->lists($objQuery, $arrRecommendProductId); 
     
    471471    //商品ごとのレビュー情報を取得する 
    472472    function lfGetReviewData($id) { 
    473         $objQuery =& SC_Query::getSingletonInstance(); 
     473        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    474474        //商品ごとのレビュー情報を取得する 
    475475        $col = "create_date, reviewer_url, reviewer_name, recommend_level, title, comment"; 
     
    511511            return false; 
    512512        } else { 
    513             $objQuery =& SC_Query::getSingletonInstance(); 
     513            $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    514514            $count = $objQuery->count("dtb_customer_favorite_products", "customer_id = ? AND product_id = ?", array($customer_id, $favorite_product_id)); 
    515515     
Note: See TracChangeset for help on using the changeset viewer.