StaticRoute is used for managing static URIs.
It's a lot faster compared to the standard Route implementation.
package | Zend_Controller |
---|---|
subpackage | Router |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Controller_Router_Route_Abstract |
__construct(string $route, array $defaults = array()
)
string
Map used to match with later submitted URL path
array
Defaults for map variables with keys as variable names
assemble(array $data= array()
, $reset= false
, $encode= false
, $partial= false
) : string
array
An array of variable and value pairs used as parameters
string
Route path with user submitted parameterschain(\Zend_Controller_Router_Route_Abstract $route, string $separator = '/'
) : \Zend_Controller_Router_Route_Chain
\Zend_Controller_Router_Route_Abstract
string
\Zend_Controller_Router_Route_Chain
getDefault(string $name) : string
string
Array key of the parameter
string
Previously set defaultgetDefaults() : array
array
Route defaultsgetInstance(\Zend_Config $config) : \Zend_Controller_Router_Route_Static
\Zend_Config
Configuration object
\Zend_Controller_Router_Route_Static
getMatchedPath() : string
string
getVersion() : integer
inherited_from | \Zend_Controller_Router_Route_Abstract::getVersion() |
---|
integer
getVersion() : integer
integer
isAbstract(boolean $flag = null
) : boolean
boolean
boolean
match(string $path, $partial = false
) : array | false
Assigns and returns an array of defaults on a successful match.
string
Path used to match against this routing map
array
false
An array of assigned values or a false on a mismatchsetMatchedPath(string $path) : void
string
$_defaults : array
array()
$_isAbstract : boolean
false
$_matchedPath : string
null
$_route : string | null
null
URI_DELIMITER = '/'