Interface IRouter (namespace Nette\Application)


The bi-directional router.


Author: David Grudl
Copyright: Copyright (c) 2004, 2009 David Grudl
Located: in /Application/IRouter.php (line 30)
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 33

flag
int SECURED 2

line 34

flag

Method Details

line 50

constructUrl

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

Constructs absolute URL from PresenterRequest object.

Input
PresenterRequest $appRequest
$httpRequest

line 42

match

public PresenterRequest|NULL match ($httpRequest)

Maps HTTP request to a PresenterRequest object.

Input
$httpRequest