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/admin/design/LC_Page_Admin_Design_Bloc.php

    r21693 r21743  
    7171     */ 
    7272    function action() { 
    73         // フックポイント. 
    74         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    75         $objPlugin->doAction('LC_Page_Admin_Design_Bloc_before', array($this)); 
    7673 
    7774        $objFormParam = new SC_FormParam_Ex(); 
     
    10097                                'msg' => 'on', 
    10198                            ); 
    102                             // フックポイント. 
    103                             $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    104                             $objPlugin->doAction('LC_Page_Admin_Design_Bloc_confirm', array($this)); 
    10599 
    106100                            SC_Response_Ex::reload($arrPram, true); 
    107                             exit; 
     101                            SC_Response_Ex::actionExit(); 
    108102                        } 
    109103                    } 
     
    119113                            'msg' => 'on', 
    120114                        ); 
    121                         // フックポイント. 
    122                         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    123                         $objPlugin->doAction('LC_Page_Admin_Design_Bloc_delete', array($this)); 
    124115 
    125116                        SC_Response_Ex::reload($arrPram, true); 
    126                         exit; 
     117                        SC_Response_Ex::actionExit(); 
    127118                    } 
    128119                } 
     
    152143        $this->arrForm = $objFormParam->getFormParamList(); 
    153144 
    154         // フックポイント. 
    155         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    156         $objPlugin->doAction('LC_Page_Admin_Design_Bloc_after', array($this)); 
    157145    } 
    158146 
Note: See TracChangeset for help on using the changeset viewer.