Class NApplication
Front Controller.
- NObject
- NApplication
public
|
#
__construct(
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
public static
integer
|
$maxLoop | 20 |
|
public
boolean
|
$catchExceptions |
|
#
enable fault barrier? |
public
string
|
$errorPresenter |
|
|
public
array
|
$onStartup |
|
#
of function(Application $sender); Occurs before the application loads presenter |
public
array
|
$onShutdown |
|
#
of function(Application $sender, Exception $e = NULL); Occurs before the application shuts down |
public
array
|
$onRequest |
|
#
of function(Application $sender, Request $request); Occurs when a new request is received |
public
array
|
$onResponse |
|
#
of function(Application $sender, IResponse $response); Occurs when a new response is ready for dispatch |
public
array
|
$onError |
|
#
of function(Application $sender, Exception $e); Occurs when an unhandled exception occurs in the application |
public
|
$allowedMethods |
|
public read-only
array
|
$requests | |
public read-only
|
$presenter | |
public read-only
|
$router | |
public read-only
|
$presenterFactory |
$reflection
|