Handles simple routing rules for dispatching requests to controllers.
This class looks for a file named routes.php in the config folder and will load it to generate the list of configured routes. Within the context of routes.php, the variable $route contains an instance of Controller_Routing_Builder, which can be used to generate routes.
See the documentation for Controller_Routing_Builder for more information.
Located in /controller/lib/Controller/Routing.php (line 17)
Constructor
Loads configured routing information.
Add any route information specified through legacy configuration
properties
Add the default routes that were previously assumed
Add a route
Convert a controller parameter value to a class name
Return the controller for a given URL
Convert a class name to a controller parameter value
Returns the controller to be used for a given error status code. If no controller can be found for the request, it forcibly exits.
Return this class's logger
Normalize a URL to a request path
The opposite of controller_for, determines the URL for a given set of parameters. If no URL can be constructed from the parameters, this method throws an exception.
Documentation generated on Wed, 25 Apr 2012 09:46:45 -0700 by phpDocumentor 1.4.3