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_Template.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_Template_action_before', array($this)); 
    7673 
    7774        $objFormParam = new SC_FormParam_Ex(); 
     
    114111                $this->arrErr = $objFormParam->checkError(); 
    115112                if (SC_Utils_Ex::isBlank($this->arrErr)) { 
    116                     // フックポイント. 
    117                     $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    118                     $objPlugin->doAction('LC_Page_Admin_Design_Template_action_download', array($this)); 
    119113 
    120114                    if ($this->doDownload($template_code) !== false) { 
    121115                        // ブラウザに出力し, 終了する 
    122                         exit; 
     116                        SC_Response_Ex::actionExit(); 
    123117                    } 
    124118                } 
     
    137131        $this->tpl_subtitle = $this->arrDeviceType[$this->device_type_id] . '>' . $this->tpl_subtitle; 
    138132 
    139         // フックポイント. 
    140         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    141         $objPlugin->doAction('LC_Page_Admin_Design_Template_action_after', array($this)); 
    142133    } 
    143134 
Note: See TracChangeset for help on using the changeset viewer.