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_Confirm.php

    r21693 r21743  
    7171     */ 
    7272    function action() { 
    73         // フックポイント. 
    74         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    75         $objPlugin->doAction('LC_Page_Shopping_Confirm_action_before', array($this)); 
    7673 
    7774        $objCartSess = new SC_CartSession_Ex(); 
     
    9794        $this->tpl_message = $objCartSess->checkProducts($this->cartKey); 
    9895        if (!SC_Utils_Ex::isBlank($this->tpl_message)) { 
    99             // フックポイント. 
    100             $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    101             $objPlugin->doAction('LC_Page_Shopping_Confirm_action_isblank', array($this)); 
    10296 
    10397            SC_Response_Ex::sendRedirect(CART_URLPATH); 
    104             exit; 
     98            SC_Response_Ex::actionExit(); 
    10599        } 
    106100 
     
    142136                $objSiteSess->setRegistFlag(); 
    143137 
    144                 // フックポイント. 
    145                 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    146                 $objPlugin->doAction('LC_Page_Shopping_Confirm_action_return', array($this)); 
    147138 
    148139                SC_Response_Ex::sendRedirect(SHOPPING_PAYMENT_URLPATH); 
    149                 exit; 
     140                SC_Response_Ex::actionExit(); 
    150141                break; 
    151142            case 'confirm': 
     
    167158                    $objPurchase->completeOrder(ORDER_PENDING); 
    168159 
    169                     // フックポイント. 
    170                     $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    171                     $objPlugin->doAction('LC_Page_Shopping_Confirm_action_confirm_module', array($this)); 
    172160 
    173161                    SC_Response_Ex::sendRedirect(SHOPPING_MODULE_URLPATH); 
     
    178166                    $objPurchase->sendOrderMail($this->arrForm['order_id']); 
    179167 
    180                     // フックポイント. 
    181                     $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    182                     $objPlugin->doAction('LC_Page_Shopping_Confirm_action_confirm', array($this)); 
    183168 
    184169                    SC_Response_Ex::sendRedirect(SHOPPING_COMPLETE_URLPATH); 
    185170                } 
    186                 exit; 
     171                SC_Response_Ex::actionExit(); 
    187172                break; 
    188173            default: 
    189174                break; 
    190175        } 
    191         // フックポイント. 
    192         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    193         $objPlugin->doAction('LC_Page_Shopping_Confirm_action_after', array($this)); 
     176 
    194177    } 
    195178 
Note: See TracChangeset for help on using the changeset viewer.