Class Horde_Routes_Route
The Route object holds a route recognition and generation routine. See __construct() docs for usage.
public
|
#
__construct( mixed $routePath, mixed $kargs = array() )
Initialize a route, with a given routepath for matching/generation |
public
|
|
public
array
|
#
buildNextReg( array $path, array $clist )
Recursively build a regexp given a path, and a controller list. |
public
null|array
|
|
public
|
public
string
|
$routePath
The path for this route, such as ':controller/:action/:id' |
|
public
string
|
$encoding
Encoding of this route (not yet supported) |
#
'utf-8'
|
public
string
|
$decodeErrors
What to do on decoding errors? 'ignore' or 'replace' |
#
'replace'
|
public
string
|
$static
Is this a static route? |
|
public
callable
|
$filter
Filter function to operate on arguments before generation |
|
public
boolean
|
$absolute
Is this an absolute path? (Mapper will not prepend SCRIPT_NAME) |
|
public
boolean
|
$explicit
Does this route use explicit mode (no implicit defaults)? |
|
public
array
|
$defaults
Default keyword arguments for this route |
#
array()
|
public
array
|
$conditions
Array of keyword args for special conditions (method, subDomain, function) |
|
public
array
|
$maxKeys
Maximum keys that this route could utilize. |
|
public
array
|
$minKeys
Minimum keys required to generate this route |
|
public
array
|
$hardCoded
Default keywords that don't exist in the path; can't be changed by an incomng URL. |
|
public
array
|
$reqs
Requirements for this route |
|
public
string
|
$regexp
Regular expression for matching this route |