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/mypage/LC_Page_Mypage_Favorite.php

    r20491 r20507  
    105105     */ 
    106106    function lfGetFavoriteProduct($customer_id, &$objPage) { 
    107         $objQuery       = SC_Query::getSingletonInstance(); 
     107        $objQuery       = SC_Query_Ex::getSingletonInstance(); 
    108108        $objProduct     = new SC_Product_Ex(); 
    109109 
     
    111111        $arrProduct_id  = $objQuery->getCol('product_id', 'dtb_customer_favorite_products', 'customer_id = ?', array($customer_id)); 
    112112 
    113         $objQuery       =& SC_Query::getSingletonInstance(); 
     113        $objQuery       =& SC_Query_Ex::getSingletonInstance(); 
    114114        $objQuery->setWhere($this->lfMakeWhere('alldtl.', $arrProduct_id)); 
    115115        $linemax        = $objProduct->findProductCount($objQuery); 
     
    122122        $startno        = $objNavi->start_row; 
    123123 
    124         $objQuery       =& SC_Query::getSingletonInstance(); 
     124        $objQuery       =& SC_Query_Ex::getSingletonInstance(); 
    125125        //$objQuery->setLimitOffset(SEARCH_PMAX, $startno); 
    126126        // 取得範囲の指定(開始行番号、行数のセット) 
     
    166166    // お気に入り商品削除 
    167167    function lfDeleteFavoriteProduct($customer_id, $product_id) { 
    168         $objQuery   = new SC_Query(); 
     168        $objQuery   = new SC_Query_Ex(); 
    169169        $count      = $objQuery->count("dtb_customer_favorite_products", "customer_id = ? AND product_id = ?", array($customer_id, $product_id)); 
    170170 
Note: See TracChangeset for help on using the changeset viewer.