\GingerRequest

Ginger Request Handler

Summary

Methods
Properties
Constants
__construct()
go()
getParameters()
getFilterParameters()
getDataParameters()
getRoute()
getUrl()
getMethod()
getAction()
getExtension()
setResponseData()
getResponseData()
setTemplate()
getTemplate()
getResponse()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$parameters
$url
$route
$method
$action
$access
$data
$response
N/A

Properties

$route

$route : \Ginger\Request\Route

Type

\Ginger\Request\Route — Route object

$method

$method : string

Type

string — Request Method

$action

$action : string

Type

string — Action

$access

$access : bool

access

(default value: false)

Type

bool

$data

$data : bool

data

(default value: false)

Type

bool

$response

$response : mixed

response

(default value: null)

Type

mixed

Methods

__construct()

__construct()

Constructor function

go()

go()

Load file and dispatch to response

getFilterParameters()

getFilterParameters() : array

Return the filter array

Returns

array

getDataParameters()

getDataParameters() : array

Return the data array

Returns

array

getRoute()

getRoute() : \Ginger\Request\Route

Return Route object

Returns

\Ginger\Request\Route

getMethod()

getMethod() : string

Return Request Method

Returns

string

getAction()

getAction() : string

Return current action

Returns

string

getExtension()

getExtension() : string

Return module file extension

Returns

string

setResponseData()

setResponseData(array $data) : void

setResponseData function.

Parameters

array $data

(default: array())

getResponseData()

getResponseData() : void

getResponseData function.

setTemplate()

setTemplate(string $template) : void

setTemplate function.

Parameters

string $template

getTemplate()

getTemplate() : void

getTemplate function.

getResponse()

getResponse() : void

getResponse function.