Yaf_Application::app

(PECL yaf >=1.0.0)

Yaf_Application::appRetrive an Application instance

Description

public static void Yaf_Application::app ( void )

Retrive the Yaf_Application instance, alternatively, we also could use Yaf_Dispatcher::getApplication().

Warning

This function is currently not documented; only its argument list is available.

Parameters

This function has no parameters.

Return Values

an Yaf_Application instance, if no Yaf_Application initialized before, NULL will be returned.

See Also