Ignore:
Timestamp:
2012/03/06 20:11:36 (12 years ago)
Author:
h_yoshimoto
Message:

#1687 プラグイン機能(フックポイント:フロント画面)を実装

Location:
branches/version-2_12-dev/data/class/pages/error
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/error/LC_Page_Error.php

    r21527 r21594  
    8585     */ 
    8686    function action() { 
     87        // フックポイント. 
     88        $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
     89        $objPlugin->doAction('lc_page_error_action_start', array($this)); 
     90         
    8791        switch ($this->type) { 
    8892            case PRODUCT_NOT_FOUND: 
     
    161165                break; 
    162166        } 
     167        // フックポイント. 
     168        $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
     169        $objPlugin->doAction('lc_page_error_action_end', array($this)); 
    163170    } 
    164171 
  • branches/version-2_12-dev/data/class/pages/error/LC_Page_Error_DispError.php

    r21514 r21594  
    6969     */ 
    7070    function action() { 
     71        // フックポイント. 
     72        $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
     73        $objPlugin->doAction('lc_page_error_disperror_start', array($this)); 
     74         
    7175        switch ($this->type) { 
    7276            case LOGIN_ERROR: 
     
    8791                break; 
    8892        } 
     93        // フックポイント. 
     94        $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
     95        $objPlugin->doAction('lc_page_error_disperror_end', array($this)); 
    8996    } 
    9097 
  • branches/version-2_12-dev/data/class/pages/error/LC_Page_Error_SystemError.php

    r21592 r21594  
    7373     */ 
    7474    function action() { 
     75        // フックポイント. 
     76        $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
     77        $objPlugin->doAction('lc_page_error_systemerror_start', array($this)); 
     78         
    7579        $this->tpl_error = 'システムエラーが発生しました。<br />大変お手数ですが、サイト管理者までご連絡ください。'; 
    7680 
     
    8488            echo '</div>'; 
    8589        } 
     90         
     91        // フックポイント. 
     92        $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
     93        $objPlugin->doAction('lc_page_error_systemerror_end', array($this)); 
    8694    } 
    8795 
Note: See TracChangeset for help on using the changeset viewer.