class Request extends AbstractRequest

Class Request

Constants

ADMIN_PANEL_PATTERN

WIDGET_PATTERN

Properties

protected Request $symfonyRequest from AbstractRequest
protected string $homepage from AbstractRequest
protected UserAgent $userAgent from AbstractRequest
protected string $query
protected string $pathInfo

Methods

__construct(Request $symfonyRequest)

Request constructor.

Request
getSymfonyRequest()

No description

string
getScheme()

Returns the used protocol of the current request

string
getHost()

Returns the hostname of the current request

string
getHttpHost()

Returns the protocol with the hostname

bool
isXmlHttpRequest()

No description

ParameterBag
getCookies()

Returns the parameter bag of the $_COOKIE superglobal

FileBag
getFiles()

Returns the parameter bag of the uploaded files ($_FILES superglobal)

ParameterBag
getPost()

Returns the parameter bag of the $_POST superglobal

ServerBag
getServer()

Returns the parameter bag of the $_SERVER superglobal

getUserAgent()

No description

$this
setHomepage(string $homepage)

No description

fillParameterBags()

No description

string
getQuery()

No description

string
getPathInfo()

No description

string
getArea()

No description

string
getModule()

No description

string
getController()

No description

string
getAction()

No description

string
getFullPath()

No description

string
getFullPathWithoutArea()

No description

string
getModuleAndController()

No description

string
processQuery()

Processes the URL of the current request

parseURI()

Setzt alle in URI::query enthaltenen Parameter

bool
isHomepage()

No description

ParameterBag
getParameters()

No description

string
getUriWithoutPages()

No description

setPathInfo()

No description

setRequestParameters(array $query)

No description

completeQuery(array $query)

No description

Details

at line 29
__construct(Request $symfonyRequest)

Request constructor.

Parameters

Request $symfonyRequest

in AbstractRequest at line 41
Request getSymfonyRequest()

Return Value

Request

in AbstractRequest at line 51
string getScheme()

Returns the used protocol of the current request

Return Value

string

in AbstractRequest at line 61
string getHost()

Returns the hostname of the current request

Return Value

string

in AbstractRequest at line 71
string getHttpHost()

Returns the protocol with the hostname

Return Value

string

in AbstractRequest at line 79
bool isXmlHttpRequest()

Return Value

bool

in AbstractRequest at line 89
ParameterBag getCookies()

Returns the parameter bag of the $_COOKIE superglobal

Return Value

ParameterBag

in AbstractRequest at line 99
FileBag getFiles()

Returns the parameter bag of the uploaded files ($_FILES superglobal)

Return Value

FileBag

in AbstractRequest at line 109
ParameterBag getPost()

Returns the parameter bag of the $_POST superglobal

Return Value

ParameterBag

in AbstractRequest at line 119
ServerBag getServer()

Returns the parameter bag of the $_SERVER superglobal

Return Value

ServerBag

in AbstractRequest at line 127
UserAgent getUserAgent()

Return Value

UserAgent

in AbstractRequest at line 137
$this setHomepage(string $homepage)

Parameters

string $homepage

Return Value

$this

in AbstractRequest at line 144
protected fillParameterBags()

at line 37
string getQuery()

Return Value

string

at line 45
string getPathInfo()

Return Value

string

at line 53
string getArea()

Return Value

string

at line 61
string getModule()

Return Value

string

at line 69
string getController()

Return Value

string

at line 77
string getAction()

Return Value

string

at line 85
string getFullPath()

Return Value

string

at line 93
string getFullPathWithoutArea()

Return Value

string

at line 101
string getModuleAndController()

Return Value

string

at line 112
string getModuleAndControllerWithoutArea()

Return Value

string

at line 120
processQuery()

Processes the URL of the current request

at line 155
protected parseURI()

Setzt alle in URI::query enthaltenen Parameter

at line 184
bool isHomepage()

Return Value

bool

at line 192
ParameterBag getParameters()

Return Value

ParameterBag

at line 200
string getUriWithoutPages()

Return Value

string

at line 205
protected setPathInfo()

at line 214
protected setRequestParameters(array $query)

Parameters

array $query

at line 244
protected completeQuery(array $query)

Parameters

array $query