public function invokePluginHook($hookName)
	{
		$args = func_get_args();
		array_shift($args);

		foreach($this->plugins as $plugin) {
			if(method_exists($plugin, $hookName) === false)
				continue;

			call_user_func_array(array($plugin, $hookName), $args);
		}
	}
public function invokePluginHook($hookName)
	{
		$args = func_get_args();
		array_shift($args);

		foreach($this->plugins as $plugin) {
			if(method_exists($plugin, $hookName) === false)
				continue;

			call_user_func_array(array($plugin, $hookName), $args);
		}
	}
public function invokePluginHook ( $ hookName ) { $ args = func_get_args ( ) ; array_shift ( $ args ) ; foreach ( $ this -> plugins as $ plugin ) { if ( method_exists ( $ plugin , $ hookName ) === false ) continue ; call_user_func_array ( array ( $ plugin , $ hookName ) , $ args ) ; } }
Invokes a specific plugin hook

@param string $hookName The name of the hook to invoke
@param mixed $parameter,... Parameters for the hook
Invokes a specific plugin hook