PHP » GoLang |
login |
register |
about
|
GoLang Yaf_Application::getDispatcher
request it (515)
GoLang replacement for PHP's Yaf_Application::getDispatcher
[edit | history]
PHP Yaf_Application::getDispatcherPHP original manual for Yaf_Application::getDispatcher [ show | php.net ]Yaf_Application::getDispatcher(Yaf >=1.0.0) Yaf_Application::getDispatcher — Get Yaf_Dispatcher instance ParametersThis function has no parameters. Return Values
ExamplesExample #1 Yaf_Application::getDispatcher()example
<?phpThe above example will output something similar to:
Yaf_Dispatcher Object
(
[_router:protected] => Yaf_Router Object
(
[_routes:protected] => Array
(
[_default] => Yaf_Route_Static Object
(
)
)
[_current:protected] =>
)
[_view:protected] =>
[_request:protected] => Yaf_Request_Http Object
(
[module] =>
[controller] =>
[action] =>
[method] => Cli
[params:protected] => Array
(
)
[language:protected] =>
[_exception:protected] =>
[_base_uri:protected] =>
[uri:protected] =>
[dispatched:protected] =>
[routed:protected] =>
)
[_plugins:protected] => Array
(
)
[_auto_render:protected] => 1
[_return_response:protected] =>
[_instantly_flush:protected] =>
[_default_module:protected] => Index
[_default_controller:protected] => Index
[_default_action:protected] => index
[_response] => Yaf_Response_Cli Object
(
[_header:protected] => Array
(
)
[_body:protected] =>
[_sendheader:protected] =>
)
)
|
more
Most requested
more
Last requests
|