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/mypage/LC_Page_Mypage_DeliveryAddr.php

    r21693 r21743  
    7070     */ 
    7171    function action() { 
    72         // フックポイント. 
    73         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    74         $objPlugin->doAction('LC_Page_Mypage_DeliveryAddr_action_before', array($this)); 
    7572 
    7673        $objCustomer = new SC_Customer_Ex(); 
     
    125122 
    126123                    if (SC_Display_Ex::detectDevice() === DEVICE_TYPE_MOBILE) { 
    127                         // フックポイント. 
    128                         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    129                         $objPlugin->doAction('LC_Page_Mypage_DeliveryAddr_action_edit', array($this)); 
    130124 
    131125                        // モバイルの場合、元のページに遷移 
    132126                        SC_Response_Ex::sendRedirect($this->getLocation($_POST['ParentPage'])); 
    133                         exit; 
     127                        SC_Response_Ex::actionExit(); 
    134128                    } 
    135129                } 
     
    159153            $this->setTemplate('mypage/delivery_addr.tpl'); 
    160154        } 
    161         // フックポイント. 
    162         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    163         $objPlugin->doAction('LC_Page_Mypage_DeliveryAddr_action_after', array($this)); 
     155 
    164156    } 
    165157 
Note: See TracChangeset for help on using the changeset viewer.