Class NSimpleRouter
The bidirectional route for trivial routing via query string.
-
NObject
-
NSimpleRouter
implements
IRouter
Methods summary
public
|
#
__construct( array $defaults = array(), integer $flags = 0 )
Parameters
- $defaults
array default values
- $flags
integer flags
|
public
NPresenterRequest |null
|
#
match( IHttpRequest $httpRequest )
Maps HTTP request to a PresenterRequest object.
Maps HTTP request to a PresenterRequest object.
Parameters
Returns
Implementation of
|
public
string|null
|
#
constructUrl( NPresenterRequest $appRequest, IHttpRequest $httpRequest )
Constructs absolute URL from PresenterRequest object.
Constructs absolute URL from PresenterRequest object.
Parameters
Returns
string|null
Implementation of
|
public
array
|
|