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 |
|
CASE_SENSITIVE |
flag |
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|false
getTargetPresenter()
Proprietary cache aim.
static
static
Details
at line 117
__construct($mask, $metadata = array(), $flags = 0)
No description
at line 144
Request|null
match(IRequest $httpRequest)
Maps HTTP request to a Request object.
at line 273
string|null
constructUrl(Request $appRequest, Url $refUrl)
Constructs absolute URL from Request object.
at line 632
string
getMask()
Returns mask.
at line 642
array
getDefaults()
Returns default values.
at line 658
int
getFlags()
Returns flags.
at line 672
string|false
getTargetPresenter()
internal |
Proprietary cache aim.
at line 802
static
addStyle($style, $parent = '#')
deprecated
deprecated
No description
at line 823
static
setStyleProperty($style, $key, $value)
deprecated
deprecated
No description