Interface IRouter (namespace Nette\Application)


The bi-directional router.


Copyright: Copyright (c) 2004, 2010 David Grudl
Located: in /Application/IRouter.php (line 21)
Public Method Summary
string|NULL
constructUrl (PresenterRequest $appRequest, $httpRequest)
Constructs absolute URL from PresenterRequest object.
PresenterRequest|NULL
match ($httpRequest)
Maps HTTP request to a PresenterRequest object.
Constant Summary
int ONE_WAY 1

line 24

flag
int SECURED 2

line 25

flag

Method Details

line 41

constructUrl

public string|NULL constructUrl (PresenterRequest $appRequest, $httpRequest)

Constructs absolute URL from PresenterRequest object.

Input
PresenterRequest $appRequest
$httpRequest

line 33

match

public PresenterRequest|NULL match ($httpRequest)

Maps HTTP request to a PresenterRequest object.

Input
$httpRequest