- Timestamp:
- 2013/06/08 16:35:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/helper/SC_Helper_Plugin.php
r22810 r22856 28 28 * @version $Id$ 29 29 */ 30 class SC_Helper_Plugin 30 class SC_Helper_Plugin 31 31 { 32 32 // プラグインのインスタンスの配列. … … 47 47 function load($plugin_activate_flg = true) 48 48 { 49 50 49 if (!defined('CONFIG_REALFILE') || !file_exists(CONFIG_REALFILE)) return; // インストール前 51 50 if (GC_Utils_Ex::isInstallFunction()) return; // インストール中 … … 103 102 $GLOBALS['_SC_Helper_Plugin_instance']->load($plugin_activate_flg); 104 103 } 104 105 105 return $GLOBALS['_SC_Helper_Plugin_instance']; 106 106 } … … 127 127 if (array_key_exists($hook_point, $this->arrRegistedPluginActions) 128 128 && is_array($this->arrRegistedPluginActions[$hook_point])) { 129 130 129 krsort($this->arrRegistedPluginActions[$hook_point]); 131 130 foreach ($this->arrRegistedPluginActions[$hook_point] as $arrFuncs) { 132 133 131 foreach ($arrFuncs as $func) { 134 132 if (!is_null($func['function'])) { … … 162 160 /** 163 161 * スーパーフックポイントを登録します. 164 * 162 * 165 163 * @param Object $objPlugin プラグインのインスタンス 166 164 * @param string $hook_point スーパーフックポイント … … 208 206 $idx = $this->makeActionUniqueId($hook_point, $function, $priority); 209 207 $this->arrRegistedPluginActions[$hook_point][$priority][$idx] = array('function' => $function); 208 210 209 return true; 211 210 } … … 271 270 } 272 271 } 272 273 273 return $arrBlocs; 274 274 } … … 306 306 * @param string $hook_point hook point 307 307 * @param array $arrArgs argument passing to callback function 308 * @param boolean $plugin_activate_flg 308 * @param boolean $plugin_activate_flg 309 309 * @return void 310 310 */
Note: See TracChangeset
for help on using the changeset viewer.