Controller_RoutingHandles 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 __construct (line 25)
Constructor
add_configured_routes (line 199)
Loads configured routing information.
add_legacy_configured_routes (line 256)
Add any route information specified through legacy configuration
properties
add_legacy_default_routes (line 271)
Add the default routes that were previously assumed
add_route (line 101)
Add a route
controller_class (line 237)
Convert a controller parameter value to a class name
controller_for (line 40)
Return the controller for a given URL
controller_name (line 224)
Convert a class name to a controller parameter value
error_route (line 117)
Returns the controller to be used for a given error status code. If no controller can be found for the request, it forcibly exits.
logger (line 246)
Return this class's logger
normalize (line 156)
Normalize a URL to a request path
url_for (line 81)
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