Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
StaticRoute is used for managing static URIs.
It's a lot faster compared to the standard Route implementation.
$_defaults = 'array'
Details $_route = 'null'
Details__construct(
string $route, array $defaults
=
array
)
:
Prepares the route for mapping.
Detailsassemble(
array $data
=
array, $reset
=
false, $encode
=
false, $partial
=
false
)
:
stringAssembles a URL path defined by this route
DetailsgetDefault(
string $name
)
:
stringReturn a single parameter of route's defaults
DetailsgetDefaults(
)
:
arrayReturn an array of defaults
DetailsgetInstance(
Zend_Config $config
)
:
Instantiates route based on passed Zend_Config structure
DetailsgetVersion(
)
:
Detailsmatch(
string $path, $partial
=
false
)
:
array|falseMatches a user submitted path with a previously defined route.
Assigns and returns an array of defaults on a successful match.
Details