Property | Type | Description | |
---|---|---|---|
$defaultFormat | string | ||
$formats | array | ||
$module | string | ||
$path | string | ||
$useURLModuleVersioning | boolean | ||
$versionRegex | string | ||
$versionToModuleMapping | array |
Method | Description | |
---|---|---|
__construct ( $module = NULL, $defaultFormat = 'json' ) | ||
constructUrl ( Nette\Application\Request $appRequest, |
Constructs absolute URL from Request object. | |
getDefaultFormat ( ) : string | ||
getPath ( ) : string | ||
match ( Nette\Http\IRequest $httpRequest ) : Nette\Application\Request | null | Maps HTTP request to a Request object. | |
useURLModuleVersioning ( string $versionRegex, array $moduleMapping ) |
Method | Description | |
---|---|---|
detectAction ( Nette\Http\IRequest $request ) | ||
detectMethod ( Nette\Http\IRequest $request ) : string | ||
readInput ( ) : array | null |
Method | Description | |
---|---|---|
detectFormat ( Nette\Http\IRequest $request ) : string |
public constructUrl ( Nette\Application\Request $appRequest, |
||
$appRequest | Nette\Application\Request | |
$refUrl | ||
return | string | null |
protected detectAction ( Nette\Http\IRequest $request ) | ||
$request | Nette\Http\IRequest |
protected detectMethod ( Nette\Http\IRequest $request ) : string | ||
$request | Nette\Http\IRequest | |
return | string |
public useURLModuleVersioning ( string $versionRegex, array $moduleMapping ) | ||
$versionRegex | string | |
$moduleMapping | array |