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 32)
Method Summary
string|NULL
constructUrl (PresenterRequest $request, $context)
Constructs absolute URL from PresenterRequest object.
PresenterRequest|NULL
match ($context)
Maps HTTP request to a PresenterRequest object.
Constant Summary
int ONE_WAY 1

line 35

flag
int SECURED 2

line 36

flag

Method Details

line 52

constructUrl

public string|NULL constructUrl (PresenterRequest $request, $context)

Constructs absolute URL from PresenterRequest object.

Input
PresenterRequest $request
$context

line 44

match

public PresenterRequest|NULL match ($context)

Maps HTTP request to a PresenterRequest object.

Input
$context