Class HttpContext
category |
System |
---|---|
package |
Http |
subpackage |
ValueObjects |
extends |
HttpContextInterface |
__construct(array $serverArray, array $getArray, array $postArray, array $cookieArray, array $sessionArray)
array
Usually, the $_SERVER array is passed here.
array
Usually, the $_GET array is passed here.
array
Usually, the $_POST array is passed here.
array
Usually, the $_COOKIE array is passed here.
array
Usually, the $_SESSION array is passed here.
getCookieItem(string $keyName) : array|string|integer|double
string
Key to determine which value of the $_COOKIE array should be returned.
array|string|integer|double
Expected item of $_COOKIE array.
getGetArray() : array
array
Array which is equal to $_GET.
getGetItem(string $keyName) : array|string|integer|double
string
Key to determine which value of the $_GET array should be returned.
array|string|integer|double
Expected item of $_GET array.
getPostArray() : array
array
Array which is equal to $_POST.
getPostItem(string $keyName) : array|string|integer|double
string
Key to determine which value of the $_POST array should be returned.
array|string|integer|double
Expected item of $_POST array.
getServerArray() : array
array
Array which is equal to $_SERVER.
getServerItem(string $keyName) : array|string|integer|double
string
Key to determine which value of the $_SERVER array should be returned.
array|string|integer|double
Expected item of $_SERVER array.
getSessionItem(string $keyName) : array|string|integer|double
string
Key to determine which value of the $_SESSION array should be returned.
array|string|integer|double
Expected item of $_SESSION array.
serverArray : array
var |
---|
array
getArray : array
var |
---|
array
postArray : array
var |
---|
array
sessionArray : array
var |
---|
array