Retrive an Application instance

Yaf_Application::app

(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().

Parameters

This function has no parameters.

Return Values

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

See Also


Customers Area | Contact us | Affiliates