◆ __construct()
Creates new HttpRequest object
- Аргументы
-
Server | $server | |
array | $queryString | _GET |
array | $postData | _POST |
array | $files | _FILES |
array | $cookies | _COOKIE |
См. определение в файле httprequest.php строка 61
◆ addFilter()
Applies filter to the http request data. Preserve original values.
- Аргументы
-
Type\IRequestFilter | $filter | Filter object |
Переопределяет метод предка Request.
См. определение в файле httprequest.php строка 98
◆ decode()
◆ decodeJson()
Decodes JSON from application/json requests.
См. определение в файле httprequest.php строка 580
◆ decodeJsonStrict()
◆ getAcceptedLanguages()
◆ getCookie()
Returns the COOKIES parameter of the current request.
- Аргументы
-
- Возвращает
- null|string
См. определение в файле httprequest.php строка 233
◆ getCookieList()
Returns the list of COOKIES parameters of the current request.
- Возвращает
- Type\ParameterDictionary
См. определение в файле httprequest.php строка 243
◆ getCookieRaw()
◆ getCookieRawList()
◆ getCookiesMode()
Returns Y if persistant cookies are enabled, N if disabled, or empty if unknown.
- Возвращает
- null|string
См. определение в файле httprequest.php строка 557
◆ getDecodedUri()
Returns url-decoded and converted to the current encoding URI of the request (except the query string).
- Возвращает
- string
См. определение в файле httprequest.php строка 346
◆ getFile()
Returns the FILES parameter of the current request.
- Аргументы
-
- Возвращает
- string | array | null
См. определение в файле httprequest.php строка 190
◆ getFileList()
Returns the list of FILES parameters of the current request.
- Возвращает
- Type\ParameterDictionary
См. определение в файле httprequest.php строка 200
◆ getHeader()
Returns the header of the current request.
- Аргументы
-
string | $name | Name of header. |
- Возвращает
- null|string
См. определение в файле httprequest.php строка 212
◆ getHeaders()
Returns the list of headers of the current request.
- Возвращает
- HttpHeaders
См. определение в файле httprequest.php строка 222
◆ getHttpHost()
Returns the host from the server variable without a port number.
- Возвращает
- string
См. определение в файле httprequest.php строка 369
◆ getInput()
Returns raw request data from php://input.
- Возвращает
- bool|string
См. определение в файле httprequest.php строка 548
◆ getJsonList()
◆ getPost()
Returns the POST parameter of the current request.
- Аргументы
-
- Возвращает
- string | array | null
См. определение в файле httprequest.php строка 169
◆ getPostList()
Returns the list of POST parameters of the current request.
- Возвращает
- Type\ParameterDictionary
См. определение в файле httprequest.php строка 179
◆ getQuery()
Returns the GET parameter of the current request.
- Аргументы
-
string | $name | Parameter name |
- Возвращает
- null | string | array
См. определение в файле httprequest.php строка 148
◆ getQueryList()
Returns the list of GET parameters of the current request.
- Возвращает
- Type\ParameterDictionary
См. определение в файле httprequest.php строка 158
◆ getRemoteAddress()
◆ getRequestedPage()
Returns the current page calculated from the request URI.
- Возвращает
- string
Переопределяет метод предка Request.
См. определение в файле httprequest.php строка 324
◆ getRequestMethod()
◆ getRequestUri()
◆ getScriptFile()
Returns script file possibly corrected by urlrewrite.php.
- Возвращает
- string
См. определение в файле httprequest.php строка 503
◆ getServerPort()
Returns server port.
- Возвращает
- string | null
См. определение в файле httprequest.php строка 292
◆ getSystemParameters()
Returns the array with predefined query parameters.
- Возвращает
- array
См. определение в файле httprequest.php строка 520
◆ getUserAgent()
Returns the User-Agent HTTP request header.
- Возвращает
- null|string
См. определение в файле httprequest.php строка 272
◆ isHttps()
◆ isJson()
◆ isPost()
◆ modifyByQueryString()
modifyByQueryString |
( |
| $queryString | ) |
|
◆ normalize()
◆ prepareCookie()
prepareCookie |
( |
array | $cookies | ) |
|
|
protected |
◆ $acceptedLanguages
◆ $cookies
◆ $cookiesRaw
◆ $files
◆ $headers
◆ $httpHost
◆ $jsonData
◆ $postData
◆ $queryString
Объявления и описания членов класса находятся в файле: