Ignore:
Timestamp:
2007/09/04 12:06:54 (17 years ago)
Author:
nanasess
Message:

リファクタリング

  • DB インスタンスを生成する関数の移動
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/helper/SC_Helper_DB.php

    r15567 r15578  
    248248        $arrRet = $objQuery->select($col, $table, $where, array($product_id, $classcategory_id1, $classcategory_id2)); 
    249249        return $arrRet[0]; 
     250    } 
     251 
     252    /** 
     253     * 支払い方法を取得する. 
     254     * 
     255     * @return void 
     256     */ 
     257    function sfGetPayment() { 
     258        $objQuery = new SC_Query(); 
     259        // 購入金額が条件額以下の項目を取得 
     260        $where = "del_flg = 0"; 
     261        $objQuery->setorder("fix, rank DESC"); 
     262        $arrRet = $objQuery->select("payment_id, payment_method, rule", "dtb_payment", $where); 
     263        return $arrRet; 
    250264    } 
    251265 
Note: See TracChangeset for help on using the changeset viewer.