Changeset 23426


Ignore:
Timestamp:
2014/05/16 15:44:48 (10 years ago)
Author:
pineray
Message:

#2435 SC_Helper_Payment.php 関数getIDValueListについて

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/helper/SC_Helper_Payment.php

    r23124 r23426  
    194194     * 支払方法IDをキー, 名前を値とする配列を取得. 
    195195     * 
     196     * @param  string $type 値のタイプ 
    196197     * @return array 
    197198     */ 
    198     public static function getIDValueList() 
    199     { 
    200         return SC_Helper_DB_Ex::sfGetIDValueList('dtb_payment', 'payment_id', 'payment_method'); 
     199    public static function getIDValueList($type = 'payment_method') 
     200    { 
     201        return SC_Helper_DB_Ex::sfGetIDValueList('dtb_payment', 'payment_id', $type); 
    201202    } 
    202203} 
Note: See TracChangeset for help on using the changeset viewer.