Tree search implementation.

package Zend_Mvc_Router
subpackage Http

 Methods

Create a new simple route stack.

__construct() 
Inherited

inherited_from \Zend\Mvc\Router\SimpleRouteStack::__construct()

addRoute(): defined by RouteStackInterface interface.

addRoute(string $name, mixed $route, integer $priority) : \Zend\Mvc\Router\Http\TreeRouteStack

see \Zend\Mvc\Router\Http\RouteStack::addRoute()

Parameters

$name

string

$route

mixed

$priority

integer

Returns

addRoutes(): defined by RouteStackInterface interface.

addRoutes(array | \Traversable $routes) : \Zend\Mvc\Router\SimpleRouteStack
Inherited

see \Zend\Mvc\Router\RouteStack::addRoutes()
inherited_from \Zend\Mvc\Router\SimpleRouteStack::addRoutes()

Parameters

$routes

array\Traversable

Exceptions

\Zend\Mvc\Router\Exception\InvalidArgumentException

Returns

assemble(): defined by \Zend\Mvc\Router\RouteInterface interface.

assemble(array $params, array $options) : mixed

see \Zend\Mvc\Router\RouteInterface::assemble()

Parameters

$params

array

$options

array

Exceptions

\Zend\Mvc\Router\Exception\InvalidArgumentException
\Zend\Mvc\Router\Exception\RuntimeException

Returns

mixed

factory(): defined by RouteInterface interface.

factory(array | \Traversable $options) : \Zend\Mvc\Router\SimpleRouteStack
Inherited

see \Zend\Mvc\Router\Route::factory()
inherited_from \Zend\Mvc\Router\SimpleRouteStack::factory()

Parameters

$options

array\Traversable

Exceptions

\Zend\Mvc\Router\Exception\InvalidArgumentException

Returns

Get the base URL.

getBaseUrl() : string

Returns

string

Get the request URI.

getRequestUri() : \Zend\Uri\Http

Returns

Get the route plugin manager.

getRoutePluginManager() : \Zend\Mvc\Router\RoutePluginManager
Inherited

inherited_from \Zend\Mvc\Router\SimpleRouteStack::getRoutePluginManager()

Returns

match(): defined by \Zend\Mvc\Router\RouteInterface

match(\Zend\Stdlib\RequestInterface $request) : \Zend\Mvc\Router\Http\RouteMatch

see \Zend\Mvc\Router\RouteInterface::match()

Parameters

Returns

removeRoute(): defined by RouteStackInterface interface.

removeRoute(string $name) : \Zend\Mvc\Router\SimpleRouteStack
Inherited

see \Zend\Mvc\Router\RouteStack::removeRoute()
inherited_from \Zend\Mvc\Router\SimpleRouteStack::removeRoute()

Parameters

$name

string

Returns

Set the base URL.

setBaseUrl(string $baseUrl) : \Zend\Mvc\Router\Http\self

Parameters

$baseUrl

string

Returns

\Zend\Mvc\Router\Http\self

Set a default parameter.

setDefaultParam(string $name, mixed $value) : \Zend\Mvc\Router\SimpleRouteStack
Inherited

inherited_from \Zend\Mvc\Router\SimpleRouteStack::setDefaultParam()

Parameters

$name

string

$value

mixed

Returns

Set a default parameters.

setDefaultParams(array $params) : \Zend\Mvc\Router\SimpleRouteStack
Inherited

inherited_from \Zend\Mvc\Router\SimpleRouteStack::setDefaultParams()

Parameters

$params

array

Returns

Set the request URI.

setRequestUri(\Zend\Uri\Http $uri) : \Zend\Mvc\Router\Http\TreeRouteStack

Set the route plugin manager.

setRoutePluginManager(\Zend\Mvc\Router\RoutePluginManager $routePlugins) : \Zend\Mvc\Router\SimpleRouteStack
Inherited

inherited_from \Zend\Mvc\Router\SimpleRouteStack::setRoutePluginManager()

Parameters

Returns

setRoutes(): defined by RouteStackInterface interface.

setRoutes(array | \Traversable $routes) : \Zend\Mvc\Router\SimpleRouteStack
Inherited

inherited_from \Zend\Mvc\Router\SimpleRouteStack::setRoutes()

Parameters

$routes

array\Traversable

Returns

init(): defined by SimpleRouteStack.

init() : void

see \Zend\Mvc\Router\SimpleRouteStack::init()

routeFromArray(): defined by SimpleRouteStack.

routeFromArray(array | \Traversable $specs) : \Zend\Mvc\Router\Http\RouteInterface

see \Zend\Mvc\Router\SimpleRouteStack::routeFromArray()

Parameters

$specs

array\Traversable

Exceptions

\Zend\Mvc\Router\Exception\InvalidArgumentException
\Zend\Mvc\Router\Exception\RuntimeException

Returns

 Properties

 

Base URL.

$baseUrl : string

 

Default parameters.

$defaultParams : array
Inherited

inherited_from \Zend\Mvc\Router\SimpleRouteStack::$$defaultParams
 

Request URI.

$requestUri : \Zend\Uri\Http

 

Route plugin manager

$routePluginManager : \Zend\Mvc\Router\RoutePluginManager
Inherited

inherited_from \Zend\Mvc\Router\SimpleRouteStack::$$routePluginManager
 

Stack containing all routes.

$routes : \Zend\Mvc\Router\PriorityList
Inherited

inherited_from \Zend\Mvc\Router\SimpleRouteStack::$$routes