Ticket #2435 (closed 改善提案: 修正済)

Opened 11 years ago

Last modified 10 years ago

v2.13.0 SC_Helper_Payment.php 関数getIDValueListについて

Reported by: kimoto Owned by: pineray
Priority: Milestone: EC-CUBE2.13.3
Component: その他 Version: 2.12.5
Keywords: Cc:
修正済み: yes

Description

 http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=13452&forum=3&post_id=61188#forumpost61188

現在、dtb_paymentには、フィールドが少ないため、SC_Helper_Payment.php 関数 getIDValueList は、
    public static function getIDValueList()
    {
        return SC_Helper_DB_Ex::sfGetIDValueList('dtb_payment', 'payment_id', 'payment_method');
    }
のように、引数がない状態です。将来、どうなるかわかりませんが、SC_Helper_Delivery.php 関数 getIDValueList のように、
    public static function getIDValueList($type = 'name')
    {
        return SC_Helper_DB_Ex::sfGetIDValueList('dtb_deliv', 'deliv_id', $type);
    }
省略可能な引数を付加してほしいと思います。

Change History

comment:1 Changed 10 years ago by m_uehara

  • Milestone changed from EC-CUBE 2.13.1 to EC-CUBE 2.13.2

comment:2 Changed 10 years ago by h_yoshimoto

  • Milestone changed from EC-CUBE2.13.2 to EC-CUBE2.13.3

comment:3 Changed 10 years ago by pineray

  • Owner changed from somebody to pineray
  • 修正済み set
  • Status changed from new to assigned

r23426 にて対応しました。

comment:4 Changed 10 years ago by kim

  • Status changed from assigned to closed
  • Resolution set to 修正済

pineray様

ご対応ありがとうございます。 こちら、2.13.3で採用させていただきます。

Note: See TracTickets for help on using tickets.