Zend Framework
1.12
|
Public Member Functions | |
chain (Zend_Controller_Router_Route_Abstract $route, $separator=self::URI_DELIMITER) | |
Add a route to this chain. | |
match ($request, $partial=null) | |
Matches a user submitted path with a previously defined route. | |
assemble ($data=array(), $reset=false, $encode=false) | |
Assembles a URL path defined by this route. | |
setRequest (Zend_Controller_Request_Abstract $request=null) | |
Set the request object for this and the child routes. | |
getDefault ($name) | |
Return a single parameter of route's defaults. | |
getDefaults () | |
Return an array of defaults. | |
![]() | |
getVersion () | |
Get the version of the route. | |
setMatchedPath ($path) | |
Set partially matched path. | |
getMatchedPath () | |
Get partially matched path. | |
isAbstract ($flag=null) | |
Check or set wether this is an abstract route or not. | |
chain (Zend_Controller_Router_Route_Abstract $route, $separator= '/') | |
Create a new chain. | |
![]() | |
match ($path) | |
Static Public Member Functions | |
static | getInstance (Zend_Config $config) |
Instantiates route based on passed Zend_Config structure. | |
Protected Attributes | |
$_routes = array() | |
$_separators = array() | |
![]() | |
$_isAbstract = false | |
$_matchedPath = null | |
Additional Inherited Members | |
![]() | |
const | URI_DELIMITER = '/' |
URI delimiter. | |
assemble | ( | $data = array() , |
|
$reset = false , |
|||
$encode = false |
|||
) |
Assembles a URL path defined by this route.
array | $data | An array of variable and value pairs used as parameters |
bool | $reset | |
bool | $encode |
Implements Zend_Controller_Router_Route_Interface.
chain | ( | Zend_Controller_Router_Route_Abstract | $route, |
$separator = self::URI_DELIMITER |
|||
) |
Add a route to this chain.
Zend_Controller_Router_Route_Abstract | $route | |
string | $separator |
getDefault | ( | $name | ) |
Return a single parameter of route's defaults.
string | $name | Array key of the parameter |
getDefaults | ( | ) |
Return an array of defaults.
|
static |
Instantiates route based on passed Zend_Config structure.
Zend_Config | $config | Configuration object |
Implements Zend_Controller_Router_Route_Interface.
match | ( | $request, | |
$partial = null |
|||
) |
Matches a user submitted path with a previously defined route.
Assigns and returns an array of defaults on a successful match.
Zend_Controller_Request_Http | $request | Request to get the path info from |
null | $partial |
setRequest | ( | Zend_Controller_Request_Abstract | $request = null | ) |
Set the request object for this and the child routes.
Zend_Controller_Request_Abstract | null | $request |
|
protected |
|
protected |