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/contact/LC_Page_Contact.php

    r21693 r21743  
    7878     */ 
    7979    function action() { 
    80         // フックポイント. 
    81         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    82         $objPlugin->doAction('LC_Page_Contact_action_before', array($this)); 
    8380 
    8481        $objDb = new SC_Helper_DB_Ex(); 
     
    122119                    $this->lfSendMail($this); 
    123120 
    124                     // フックポイント. 
    125                     $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    126                     $objPlugin->doAction('LC_Page_Contact_action_complete', array($this)); 
    127121 
    128122                    // 完了ページへ移動する 
    129123                    SC_Response_Ex::sendRedirect('complete.php'); 
    130                     exit; 
     124                    SC_Response_Ex::actionExit(); 
    131125                } else { 
    132126                    SC_Utils_Ex::sfDispSiteError(CUSTOMER_ERROR); 
    133                     exit; 
     127                    SC_Response_Ex::actionExit(); 
    134128                } 
    135129                break; 
     
    138132                break; 
    139133        } 
    140         // フックポイント. 
    141         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    142         $objPlugin->doAction('LC_Page_Contact_action_after', array($this)); 
     134 
    143135    } 
    144136 
Note: See TracChangeset for help on using the changeset viewer.