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/products/LC_Page_Products_Review.php

    r21693 r21743  
    7979     */ 
    8080    function action() { 
    81         // フックポイント. 
    82         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    83         $objPlugin->doAction('LC_Page_Products_Review_action_before', array($this)); 
    8481 
    8582        $objFormParam = new SC_FormParam_Ex(); 
     
    109106                    $this->lfRegistRecommendData($objFormParam); 
    110107 
    111                     // フックポイント. 
    112                     $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    113                     $objPlugin->doAction('LC_Page_Products_Review_action_complete', array($this)); 
    114108 
    115109                    //レビュー書き込み完了ページへ 
    116110                    SC_Response_Ex::sendRedirect('review_complete.php'); 
    117                     exit; 
     111                    SC_Response_Ex::actionExit(); 
    118112                } 
    119113                break; 
     
    135129        $this->setTemplate($this->tpl_mainpage); 
    136130 
    137         // フックポイント. 
    138         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    139         $objPlugin->doAction('LC_Page_Products_Review_action_after', array($this)); 
     131 
    140132    } 
    141133 
Note: See TracChangeset for help on using the changeset viewer.