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/contents/LC_Page_Admin_Contents_FileManager.php

    r21693 r21743  
    6868     */ 
    6969    function action() { 
    70         // フックポイント. 
    71         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    72         $objPlugin->doAction('LC_Page_Admin_Contents_FileManager_action_before', array($this)); 
    7370 
    7471        // フォーム操作クラス 
     
    132129                        $this->setDispError('select_file', $disp_error); 
    133130                    } else { 
    134                         // フックポイント. 
    135                         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    136                         $objPlugin->doAction('LC_Page_Admin_Contents_FileManager_action_download', array($this)); 
    137131 
    138132                        // ファイルダウンロード 
    139133                        $objFileManager->sfDownloadFile($objFormParam->getValue('select_file')); 
    140                         exit; 
     134                        SC_Response_Ex::actionExit(); 
    141135                    } 
    142136                } 
     
    203197        $this->setDispTree($objFileManager, $objFormParam); 
    204198 
    205         // フックポイント. 
    206         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    207         $objPlugin->doAction('LC_Page_Admin_Contents_FileManager_action_after', array($this)); 
    208199    } 
    209200 
     
    308299    /** 
    309300     * テンプレートに値を渡す 
    310      *  
     301     * 
    311302     * @param string $key キー名 
    312303     * @param string $val 値 
     
    392383    /** 
    393384     * javascriptをテンプレートに渡す 
    394      *  
     385     * 
    395386     * @param string $tpl_onload javascript 
    396387     * @return void 
     
    428419    /** 
    429420     * 親ディレクトリ取得 
    430      *  
     421     * 
    431422     * @param string $dir 現在いるディレクトリ 
    432423     * @return string $parent_dir 親ディレクトリ 
Note: See TracChangeset for help on using the changeset viewer.