Class SimpleRouter (namespace Nette\Application)
The bidirectional route for trivial routing via query string.
Object | --SimpleRouter
Implements interfaces:
Public Method Summary | |
---|---|
SimpleRouter |
|
string|NULL |
constructUrl
(PresenterRequest $appRequest, $httpRequest)
Constructs absolute URL from PresenterRequest object.
|
array |
getDefaults
()
Returns default values.
|
PresenterRequest|NULL |
match
($httpRequest)
Maps HTTP request to a PresenterRequest object.
|
Methods Inherited From Object |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Constant Summary | |||
---|---|---|---|
string | MODULE_KEY |
'module' |
line 24 |
string | PRESENTER_KEY |
'presenter' |
line 23 |
Method Details | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
line 41 __constructpublic SimpleRouter __construct ([array $defaults =
|
|||||||||||||||
line 98 constructUrlpublic string|NULL constructUrl (PresenterRequest $appRequest, $httpRequest) Constructs absolute URL from PresenterRequest object. Implementation of:
|
|||||||||||||||
line 133 getDefaultspublic array getDefaults () Returns default values.
|
|||||||||||||||
line 67 matchpublic PresenterRequest|NULL match ($httpRequest) Maps HTTP request to a PresenterRequest object. Implementation of:
|