Docs For Class Zend_Controller_RewriteRouter

## Class Zend_Controller_RewriteRouter

Description

Implements interfaces:

- Zend_Controller_Router_Interface

Ruby routing based Router.

- see: http://manuals.rubyonrails.com/read/chapter/65
- license: Zend Framework License version 1.0
- copyright: Copyright (c) 2005-2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Controller/RewriteRouter.php (line 45)

Variable Summary
mixed $_currentRoute
array $_invokeParams
mixed $_routes
Method Summary
void __construct ()
void addConfig ( $config, $section)
void addDefaultRoutes ()
void addParam (mixed $param)
void addRoute ( $name, Zend_Controller_Router_Route_Interface $route)
void addRoutes ( $routes)
void getCurrentRoute ()
array getParams ()
void getRoute ( $name)
void getRoutes ()
void route (Zend_Controller_Request_Abstract $request)
void setParams ( $params)
Variables
mixed $_currentRoute = null (line 55)

- access: protected

array $_invokeParams = array() (line 53)

Array of invocation parameters to use when instantiating action

controllers

- access: protected

mixed $_routes = array() (line 54)

- access: protected

Methods
Constructor __construct (line 62)

Constructor

- access: public

void __construct ()
addConfig (line 125)

- access: public

void addConfig ( $config, $section)

- Zend_Config $config
- $section

addDefaultRoutes (line 104)

- access: public

void addDefaultRoutes ()
addParam (line 77)

Add a parameter to use when instantiating an action controller

- access: public

void addParam (mixed $param)

- mixed $param

Implementation of:

Zend_Controller_Router_Interface::addParam()
  Add a parameter with which to instantiate any helper objects

addRoute (line 115)

- access: public

void addRoute ( $name, Zend_Controller_Router_Route_Interface $route)

- $name
- Zend_Controller_Router_Route_Interface $route

addRoutes (line 119)

- access: public

void addRoutes ( $routes)

- $routes

getCurrentRoute (line 145)

- access: public

void getCurrentRoute ()
getParams (line 98)

Retrieve action controller instantiation parameters

- access: public

array getParams ()

Implementation of:

Zend_Controller_Router_Interface::getParams()
  Retrieve the parameters to pass to helper object constructors

getRoute (line 137)

- access: public

void getRoute ( $name)

- $name

getRoutes (line 153)

- access: public

void getRoutes ()
route (line 158)

- access: public

void route (Zend_Controller_Request_Abstract $request)

- Zend_Controller_Request_Abstract $request

Implementation of:

Zend_Controller_Router_Interface::route()
  Processes a request and sets its controller and action. If no route was possible, an exception is thrown.

setParams (line 88)

Set parameters to pass to action controller constructors

- access: public

void setParams ( $params)

- array $params

Implementation of:

Zend_Controller_Router_Interface::setParams()
  Set an array of a parameters to pass to helper object constructors

Documentation generated on Sun, 29 Oct 2006 21:28:02 -0600 by phpDocumentor 1.3.0RC6