Changeset 20193


Ignore:
Timestamp:
2011/02/18 14:55:14 (11 years ago)
Author:
Yammy
Message:

objQuery の初期化処理を修正
refs #970

Location:
branches/version-2_5-dev/data/class/pages/admin/products
Files:
2 edited

Legend:

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

    r20192 r20193  
    6767     */ 
    6868    function action() { 
    69         $objQuery = new SC_Query(); 
     69        $objQuery =& SC_Query::getSingletonInstance(); 
    7070        $objSess = new SC_Session(); 
    7171        $objDb = new SC_Helper_DB_Ex(); 
     
    122122    function lfGetProduct($category_id) { 
    123123        // FIXME SC_Product クラスを使用した実装 
    124         $objQuery = new SC_Query(); 
     124        $objQuery =& SC_Query::getSingletonInstance(); 
    125125        $col = "product_id, name, main_list_image, product_code_min, product_code_max, status"; 
    126126        $table = "vw_products_allclass AS allcls"; 
     
    152152     */ 
    153153    function lfRenumber($parent_category_id) { 
    154         $objQuery = new SC_Query(); 
     154        $objQuery =& SC_Query::getSingletonInstance(); 
    155155 
    156156        $sql = <<< __EOS__ 
  • branches/version-2_5-dev/data/class/pages/admin/products/LC_Page_Admin_Products_ProductSelect.php

    r20191 r20193  
    154154        $order = "update_date DESC, product_id DESC "; 
    155155 
    156         $objQuery = new SC_Query(); 
     156        $objQuery =& SC_Query::getSingletonInstance(); 
    157157        // 行数の取得 
    158158        if (empty($arrval)) { 
Note: See TracChangeset for help on using the changeset viewer.