Ignore:
Timestamp:
2008/01/18 00:06:34 (19 years ago)
Author:
satou
Message:

[ペイジェント決済モジュール]2.0対応のため。

Location:
branches/feature-module-update/data/class/pages/admin/order
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/pages/admin/order/LC_Page_Admin_Order.php

    r16752 r16987  
    2424// {{{ requires 
    2525require_once(CLASS_PATH . "pages/LC_Page.php"); 
     26 
     27/* ペイジェント決済モジュール連携用 */ 
     28if (file_exists(MODULE_PATH . 'mdl_paygent/include.php') === TRUE) { 
     29    require_once(MODULE_PATH . 'mdl_paygent/include.php'); 
     30} 
    2631 
    2732/** 
     
    5661        $this->arrSex = $masterData->getMasterData("mtb_sex"); 
    5762        $this->arrPageMax = $masterData->getMasterData("mtb_page_max"); 
     63         
     64        /* ペイジェント決済モジュール連携用 */ 
     65        if(function_exists("sfPaygentOrderPage")) { 
     66            $this->arrDispKind = sfPaygentOrderPage(); 
     67        } 
    5868    } 
    5969 
  • branches/feature-module-update/data/class/pages/admin/order/LC_Page_Admin_Order_Edit.php

    r16741 r16987  
    2424// {{{ requires 
    2525require_once(CLASS_PATH . "pages/LC_Page.php"); 
     26 
     27/* ペイジェント決済モジュール連携用 */ 
     28if (file_exists(MODULE_PATH . 'mdl_paygent/include.php') === TRUE) { 
     29    require_once(MODULE_PATH . 'mdl_paygent/include.php'); 
     30} 
    2631 
    2732/** 
     
    5964                                 array("pref_id", "pref_name", "rank")); 
    6065        $this->arrORDERSTATUS = $masterData->getMasterData("mtb_order_status"); 
     66         
     67        /* ペイジェント決済モジュール連携用 */ 
     68        if(function_exists("sfPaygentOrderPage")) { 
     69            $this->arrDispKind = sfPaygentOrderPage(); 
     70        } 
    6171    } 
    6272 
     
    133143                $this->arrErr = $this->lfCheek($arrInfo); 
    134144            } 
     145            break; 
     146        /* ペイジェント決済モジュール連携用 */ 
     147        case 'paygent_order': 
     148            $this->paygent_return = sfPaygentOrder($_POST['paygent_type'], $order_id); 
    135149            break; 
    136150        default: 
Note: See TracChangeset for help on using the changeset viewer.