Ignore:
Timestamp:
2012/04/15 03:05:06 (12 years ago)
Author:
AMUAMU
Message:

#1754 (exit;を個別の処理でしない) #1692 (プラグイン機能) 各ファイルでフックポイントの呼出を書かないで、自動的にフックポイントを呼び出すように修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/shopping/LC_Page_Shopping_Payment.php

    r21693 r21743  
    7575     */ 
    7676    function action() { 
    77         // フックポイント. 
    78         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    79         $objPlugin->doAction('LC_Page_Shopping_Payment_action_before', array($this)); 
    8077 
    8178        $objSiteSess = new SC_SiteSession_Ex(); 
     
    115112        if (SC_Utils_Ex::isBlank($arrOrderTemp)) { 
    116113            SC_Response_Ex::sendRedirect(CART_URLPATH); 
    117             exit; 
     114            SC_Response_Ex::actionExit(); 
    118115        } 
    119116 
     
    122119        if (strlen($this->tpl_message) >= 1) { 
    123120            SC_Response_Ex::sendRedirect(CART_URLPATH); 
    124             exit; 
     121            SC_Response_Ex::actionExit(); 
    125122        } 
    126123 
     
    153150 
    154151                if (SC_Display_Ex::detectDevice() != DEVICE_TYPE_MOBILE) { 
    155                     // フックポイント. 
    156                     $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    157                     $objPlugin->doAction('LC_Page_Shopping_Payment_action_select_deliv', array($this)); 
    158152 
    159153                    echo SC_Utils_Ex::jsonEncode($arrSelectedDeliv); 
    160                     exit; 
     154                    SC_Response_Ex::actionExit(); 
    161155                } else { 
    162156                    $this->arrPayment = $arrSelectedDeliv['arrPayment']; 
     
    185179                    $objSiteSess->setRegistFlag(); 
    186180 
    187                     // フックポイント. 
    188                     $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    189                     $objPlugin->doAction('LC_Page_Shopping_Payment_action_confirm', array($this)); 
    190181 
    191182                    // 確認ページへ移動 
    192183                    SC_Response_Ex::sendRedirect(SHOPPING_CONFIRM_URLPATH); 
    193                     exit; 
     184                    SC_Response_Ex::actionExit(); 
    194185                } 
    195186 
     
    202193                $objSiteSess->setRegistFlag(); 
    203194 
    204                 // フックポイント. 
    205                 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    206                 $objPlugin->doAction('LC_Page_Shopping_Payment_action_return', array($this)); 
    207195 
    208196                $url = null; 
     
    220208 
    221209                SC_Response_Ex::sendRedirect($url); 
    222                 exit; 
     210                SC_Response_Ex::actionExit(); 
    223211                break; 
    224212 
     
    251239        $this->arrForm = $objFormParam->getFormParamList(); 
    252240 
    253         // フックポイント. 
    254         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    255         $objPlugin->doAction('LC_Page_Shopping_Payment_after', array($this)); 
     241 
    256242    } 
    257243 
Note: See TracChangeset for help on using the changeset viewer.