Implements interfaces:
Ruby routing based Router.
Located in /Zend/Controller/RewriteRouter.php (line 43)
Constructor
Create routes out of Zend_Config configuration
Example INI: routes.archive.route = "archive/:year/*" routes.archive.defaults.controller = archive routes.archive.defaults.action = show routes.archive.defaults.year = 2000 routes.archive.reqs.year = "\d+"
routes.news.type = "Zend_Controller_Router_StaticRoute" routes.news.route = "news" routes.news.defaults.controller = "news" routes.news.defaults.action = "list"
And finally after you have created a Zend_Config with above ini: $router = new Zend_Controller_RewriteRouter(); $router->addConfig($config, 'routes');
Add default routes which are used to mimic basic router behaviour
Add route to the route chain
Add routes to the route chain
Clear the controller parameter stack
By default, clears all parameters. If a parameter name is given, clears only that parameter; if an array of parameter names is provided, clears each.
Retrieve a currently matched route
Retrieve a name of currently matched route
Retrieve a single parameter from the controller parameter stack
Retrieve action controller instantiation parameters
Retrieve a named route
Retrieve an array of routes added to the route chain
Check if named route exists
Remove all standard default routes
Remove a route from the route chain
Find a matching route to the current PATH_INFO and inject returning values to the Request object.
Add or modify a parameter to use when instantiating an action controller
Set parameters to pass to action controller constructors
Documentation generated on Thu, 18 Jan 2007 09:58:41 -0800 by phpDocumentor 1.3.1