lib/Skeleton/Core/Hook.php
public static function call_if_exists($name, $arguments = []) {
		if (self::exists($name)) {
			$application = Application::get();
			$classname = 'Hook_' . ucfirst($application->name);
			call_user_func_array([$classname, $name], $arguments);
		}
	}
public static function call_if_exists($name, $arguments = []) {
		if (self::exists($name)) {
			$application = Application::get();
			$classname = 'Hook_' . ucfirst($application->name);
			call_user_func_array([$classname, $name], $arguments);
		}
	}
public static function call_if_exists ( $ name , $ arguments = [ ] ) { if ( self :: exists ( $ name ) ) { $ application = Application :: get ( ) ; $ classname = 'Hook_' . ucfirst ( $ application -> name ) ; call_user_func_array ( [ $ classname , $ name ] , $ arguments ) ; } }
Call a hook if it exists, fail silently if not

@access public
@param string $name
@param array $arguments
@return bool
Call a hook if it exists fail silently if not