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

    r21693 r21743  
    7070     */ 
    7171    function action() { 
    72         // フックポイント. 
    73         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    74         $objPlugin->doAction('LC_Page_Admin_Products_Category_action_before', array($this)); 
    7572 
    7673        $objDb      = new SC_Helper_DB_Ex(); 
     
    165162                $objCSV = new SC_Helper_CSV_Ex(); 
    166163 
    167                 // フックポイント. 
    168                 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    169                 $objPlugin->doAction('LC_Page_Admin_Products_Category_action_csv', array($this)); 
    170  
    171164                $objCSV->sfDownloadCsv('5', '', array(), '', true); 
    172                 exit; 
     165                SC_Response_Ex::actionExit(); 
    173166                break; 
    174167            default: 
     
    192185        $this->tpl_bread_crumbs = SC_Utils_Ex::jsonEncode($arrBread); 
    193186 
    194         // フックポイント. 
    195         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    196         $objPlugin->doAction('LC_Page_Admin_Products_Category_action_after', array($this)); 
    197187    } 
    198188 
Note: See TracChangeset for help on using the changeset viewer.