Part route match.

package Zend_Mvc_Router
subpackage Http

 Methods

Create a part RouteMatch with given parameters and length.

__construct(array $params, integer $length) 

Parameters

$params

array

$length

integer

Get the matched path length.

getLength() : integer

Returns

integer

Get name of matched route.

getMatchedRouteName() : string
Inherited

inherited_from \Zend\Mvc\Router\RouteMatch::getMatchedRouteName()

Returns

string

Get a specific parameter.

getParam(string $name, mixed $default) : mixed
Inherited

inherited_from \Zend\Mvc\Router\RouteMatch::getParam()

Parameters

$name

string

$default

mixed

Returns

mixed

Get all parameters.

getParams() : array
Inherited

inherited_from \Zend\Mvc\Router\RouteMatch::getParams()

Returns

array

Merge parameters from another match.

merge(\Zend\Mvc\Router\Http\RouteMatch $match) : \Zend\Mvc\Router\Http\RouteMatch

setMatchedRouteName(): defined by BaseRouteMatch.

setMatchedRouteName(string $name) : \Zend\Mvc\Router\Http\RouteMatch

see \Zend\Mvc\Router\RouteMatch::setMatchedRouteName()

Parameters

$name

string

Returns

Set a parameter.

setParam(string $name, mixed $value) : \Zend\Mvc\Router\RouteMatch
Inherited

inherited_from \Zend\Mvc\Router\RouteMatch::setParam()

Parameters

$name

string

$value

mixed

Returns

 Properties

 

Length of the matched path.

$length : integer

 

Matched route name.

$matchedRouteName : string
Inherited

inherited_from \Zend\Mvc\Router\RouteMatch::$$matchedRouteName
 

Match parameters.

$params : array
Inherited

inherited_from \Zend\Mvc\Router\RouteMatch::$$params