Changeset 21837


Ignore:
Timestamp:
2012/05/17 17:45:06 (9 years ago)
Author:
h_yoshimoto
Message:

#1807 SC_FormParamのコンストラクタにフックポイントを追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/SC_FormParam.php

    r21829 r21837  
    6464    function __construct() { 
    6565        $this->check_dir = IMAGE_SAVE_REALDIR; 
     66         
     67        // SC_FormParamのフックポイント 
     68        // TODO: debug_backtrace以外にいい方法があれば良いが、一旦これで 
     69        $backtraces = debug_backtrace(); 
     70        // 呼び出し元のクラスを取得 
     71        $class = $backtraces[1]['class']; 
     72        $objPage = $backtraces[1]['object']; 
     73        $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($objPage->plugin_activate_flg); 
     74        $objPlugin->doAction('SC_FormParam_construct', array($class, $this)); 
    6675    } 
    6776 
Note: See TracChangeset for help on using the changeset viewer.