Summary
- File
- Package hierarchy MVC\Dispatcher
- Class hierarchy \DispatchManager
dispatch(array<mixed,\UrlControllerMapper> $url_controller_mappers)
Redirect the request to the right controller using the url controller mappes list
| array<mixed,\UrlControllerMapper> | $url_controller_mappers | the url controllers mapper list |
| None found |
redirect(\Controller $controller)
Cleans the output buffer and execute the given controller before exiting
| \Controller | $controller | the controller to execute |
| None found |
get_url(string $path, string $url, boolean $not_rewriting_url_forced = false) : \Url
Returns an url object from the dispatcher path with the $url param dispatcher must be in the index.php file
| string | $path | the url to apply the rewrite form on |
| string | $url | the url to apply the rewrite form on |
| boolean | $not_rewriting_url_forced | forced to have a non-rewritten url |
an url object relative to the current script path
| None found |
get_dispatcher_path( $dispatcher_name)
| $dispatcher_name |
| None found |
handle_dispatch_exception( $exception)
| $exception |
| None found |
show_error( $exception)
| $exception |
| None found |