Route
class Route extends Object implements IRouter
The bidirectional route is responsible for mapping HTTP request to a Request object for dispatch and vice-versa.
Constants
PRESENTER_KEY |
|
MODULE_KEY |
|
deprecated CASE_SENSITIVE |
|
internal HOST |
|
internal PATH |
|
internal RELATIVE |
|
VALUE |
key used in Route::$styles} or metadata {@link Route::__construct |
PATTERN |
|
FILTER_IN |
|
FILTER_OUT |
|
FILTER_TABLE |
|
FILTER_STRICT |
|
internal OPTIONAL |
|
internal PATH_OPTIONAL |
|
internal CONSTANT |
|
Properties
static int | $defaultFlags | ||
static array | $styles |
Methods
__construct($mask, $metadata = array(), $flags = 0)
No description
string|null
string
getMask()
Returns mask.
array
getDefaults()
Returns default values.
int
getFlags()
Returns flags.
string[]|null
getTargetPresenters()
Proprietary cache aim.
static
static
Details
at line 115
__construct($mask, $metadata = array(), $flags = 0)
No description
at line 142
Request|null
match(IRequest $httpRequest)
Maps HTTP request to a Request object.
at line 266
string|null
constructUrl(Request $appRequest, Url $refUrl)
Constructs absolute URL from Request object.
at line 631
string
getMask()
Returns mask.
at line 641
array
getDefaults()
Returns default values.
at line 657
int
getFlags()
Returns flags.
at line 671
string[]|null
getTargetPresenters()
internal |
Proprietary cache aim.
at line 799
static
addStyle($style, $parent = '#')
deprecated
deprecated
No description
at line 821
static
setStyleProperty($style, $key, $value)
deprecated
deprecated
No description