CONTROLLER_NAMESPACE
CONTROLLER_NAMESPACE
Pretty self-explanatory, isn't it?
Handles routing to the correct controller and method
init() : \Alo\Controller\Router
Initialises the router
initNoCall() : \Alo\Controller\Router
Same as init(), but without attempting to call the controller
forceError(string $msg = null) : \Alo\Controller\Router
Forces the error controller
string | $msg | Optionally, the error message thrown by ReflectionClass or ReflectionMethod |
If the controller is already the error controller
tryCall() : \Alo\Controller\Router
Tries to call the appropriate class' method
When the class/method is unavailable and the error controller is invalid
resolvePath() : \Alo\Controller\Router
Resolves the controller/method path
init_routes() : \Alo\Controller\Router
Initialises the routing variables
When the config file is not found
When $error_controller_class is not present in the config file
When $routes[':default'] is not present
When $routes is not a valid array
When a route value is not a string
init_path() : \Alo\Controller\Router
Initialises the raw path variable
init_server_vars() : \Alo\Controller\Router
Initialises most server variables