public static function fire($name)
	{
		$args = func_get_args();
		unset($args[0]);

		if (isset(self::$events[$name]))
		{
			foreach (self::$events[$name] as $event)
			{
				if (is_callable($event))
				{
					call_user_func_array($event, $args);
				}
			}
		}
	}
public static function fire($name)
	{
		$args = func_get_args();
		unset($args[0]);

		if (isset(self::$events[$name]))
		{
			foreach (self::$events[$name] as $event)
			{
				if (is_callable($event))
				{
					call_user_func_array($event, $args);
				}
			}
		}
	}
public static function fire ( $ name ) { $ args = func_get_args ( ) ; unset ( $ args [ 0 ] ) ; if ( isset ( self :: $ events [ $ name ] ) ) { foreach ( self :: $ events [ $ name ] as $ event ) { if ( is_callable ( $ event ) ) { call_user_func_array ( $ event , $ args ) ; } } } }
Fires registered event callbacks for a given event name

@param   string  $name  The event hook to fire
@return  void
Fires registered event callbacks for a given event name