Class Zend_Controller_Router_Route

Description

Implements interfaces:

Route

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


	
			
Class Constant Summary
 DEFAULT_REGEX = '[a-z0-9\-\._~%]+'
 URL_VARIABLE = ':'
Variable Summary
mixed $_defaults
mixed $_params
mixed $_parts
mixed $_values
mixed $_vars
Method Summary
Zend_Controller_Router_Route __construct (mixed $route, [mixed $defaults = array()], [mixed $reqs = array()])
string assemble ([mixed $data = array()], [ $reset = false])
array|false match (mixed $path)
Variables
mixed $_defaults = array() (line 46)
  • access: protected
mixed $_params = array() (line 50)
  • access: protected
mixed $_parts (line 45)
  • access: protected
mixed $_requirements = array() (line 47)
  • access: protected
mixed $_staticCount = 0 (line 48)
  • access: protected
mixed $_values = null (line 51)
  • access: protected
mixed $_vars = array() (line 49)
  • access: protected
Methods
Constructor __construct (line 62)

Prepares the route for mapping by splitting (exploding) it to a corresponding atomic parts. These parts are assigned a position which is later used for matching and preparing values.

  • access: public
Zend_Controller_Router_Route __construct (mixed $route, [mixed $defaults = array()], [mixed $reqs = array()])

Implementation of:
Zend_Controller_Router_Route_Interface::__construct()
assemble (line 172)

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

  • return: Route path with user submitted parameters
  • access: public
string assemble ([mixed $data = array()], [ $reset = false])
  • $reset

Implementation of:
Zend_Controller_Router_Route_Interface::assemble()
match (line 94)

Matches a user submitted path with parts defined by a map. Assigns and returns an array of variables on a succesfull match.

  • return: An array of assigned values or a false on a mismatch
  • access: public
array|false match (mixed $path)

Implementation of:
Zend_Controller_Router_Route_Interface::match()
Class Constants
DEFAULT_REGEX = '[a-z0-9\-\._~%]+' (line 43)
REGEX_DELIMITER = '#' (line 38)
URI_DELIMITER = '/' (line 37)
URL_VARIABLE = ':' (line 36)

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