Changeset 20043


Ignore:
Timestamp:
2011/01/28 17:17:27 (13 years ago)
Author:
eccuore
Message:

#642(共通ロジックの機能向上) mode 取得用の関数を利用するように修正ミス(switchリファクタリングは未対応)

File:
1 edited

Legend:

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

    r20041 r20043  
    137137 
    138138            if(count($this->arrErr) == 0) { 
     139                //TODO 要リファクタリング(MODE if利用) 
    139140                if ($this->getMode() == 'add') { 
    140141                    $order_id = $this->lfRegistNewData($objPurchase); 
     
    655656            $arrErr['payment_total'] = 'お支払い合計額がマイナス表示にならないように調整して下さい。<br />'; 
    656657        } 
    657         //新規追加受注のみ 
     658        //新規追加受注のみ TODO 要リファクタリング(MODE if利用) 
    658659        if ($this->getMode() == "add") { 
    659660            if ($arrVal['total_point'] < 0) { 
     
    829830     * @return integer 注文番号 
    830831     */ 
    831     function $this->getMode()(&$objPurchase) { 
     832    function lfRegistNewData(&$objPurchase) { 
    832833        $objQuery = new SC_Query(); 
    833834 
Note: See TracChangeset for help on using the changeset viewer.