## Zend_Controller_Router_Route_Module

Description

Implements interfaces:

- Zend_Controller_Router_Route_Interface

Module Route

Default route for module functionality

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

Located in /Zend/Controller/Router/Route/Module.php (line 39)

Class Constant Summary
URI_DELIMITER = '/'
Variable Summary
string $_actionKey
string $_controllerKey
array $_defaults
Zend_Controller_Dispatcher_Interface $_dispatcher
mixed $_keysSet
string $_moduleKey
mixed $_moduleValid
Zend_Controller_Request_Abstract $_request
mixed $_values
Method Summary
string assemble ([array $data = array()], [ $reset = false])
array match (string $path)
Zend_Controller_Router_Route_Module __construct ([ $defaults = array()], [Zend_Controller_Dispatcher_Interface $dispatcher = null], [Zend_Controller_Request_Abstract $request = null])
void _setRequestKeys ()
Variables
string $_actionKey = 'action' (line 62)

Array keys to use for module, controller, and action. Should be taken out of request.

- access: protected

string $_controllerKey = 'controller' (line 61)

Array keys to use for module, controller, and action. Should be taken out of request.

- access: protected

array $_defaults (line 50)

Default values for the route (ie. module, controller, action, params)

- access: protected

Zend_Controller_Dispatcher_Interface $_dispatcher (line 68)

- access: protected

mixed $_keysSet = false (line 54)

- access: protected

string $_moduleKey = 'module' (line 60)

Array keys to use for module, controller, and action. Should be taken out of request.

- access: protected

mixed $_moduleValid = false (line 53)

- access: protected

Zend_Controller_Request_Abstract $_request (line 73)

- access: protected

mixed $_values = array() (line 52)

- access: protected

Methods
assemble (line 177)

Assembles user submitted parameters forming a URL path defined by this route

- return: Route path with user submitted parameters
- access: public

string assemble ([array $data = array()], [ $reset = false])

- array $data: An array of variable and value pairs used as parameters
- $reset

Implementation of:

Zend_Controller_Router_Route_Interface::assemble()

match (line 132)

Matches a user submitted path. Assigns and returns an array of variables on a successful match.

If a request object is registered, it uses its setModuleName(), setControllerName(), and setActionName() accessors to set those values. Always returns the values as an array.

- return: An array of assigned values or a false on a mismatch
- access: public

array match (string $path)

- string $path: Path used to match against this routing map

Implementation of:

Zend_Controller_Router_Route_Interface::match()

Constructor __construct (line 82)

Constructor

- access: public

Zend_Controller_Router_Route_Module __construct ([ $defaults = array()], [Zend_Controller_Dispatcher_Interface $dispatcher = null], [Zend_Controller_Request_Abstract $request = null])

- array $defaults: Defaults for map variables with keys as variable names
- Zend_Controller_Dispatcher_Interface $dispatcher: Dispatcher object
- Zend_Controller_Request_Abstract $request: Request object

_setRequestKeys (line 102)

Set request keys based on values in request object

- access: protected

void _setRequestKeys ()
Class Constants
URI_DELIMITER = '/' (line 44)

Documentation generated on Wed, 21 Feb 2007 11:54:22 -0800 by phpDocumentor 1.3.1