Interface HttpContextInterface
Interface HttpContextInterface
Direct known implementers
Package: Http\Interfaces
Category: System
Located at Services/System/Http/ValueObjects/Interfaces/HttpContextInterface.inc.php
Category: System
Located at Services/System/Http/ValueObjects/Interfaces/HttpContextInterface.inc.php
Methods summary
public
getServerItem( string $keyName )
: array|string|integer|float
Returns an item of the $_SERVER array by the given key name.
public
getGetItem( string $keyName )
: array|string|integer|float
Returns an item of the $_GET array by the given key name.
public
getPostItem( string $keyName )
: array|string|integer|float
Returns an item of the $_POST array by the given key name.
public
getCookieItem( string $keyName )
: array|string|integer|float
Returns an item of the $_COOKIE array by the given key name.
public
getSessionItem( string $keyName )
: array|string|integer|float
Returns an item of the $_SESSION array by the given key name.
public
getGetArray( void )
: array
Returns an array which is equal to the global $_GET variable in an object oriented layer.
public
getPostArray( void )
: array
Returns an array which is equal to the global $_POST variable in an object oriented layer.
public
getServerArray( void )
: array
Returns an array which is equal to the global $_SERVER variable in an object oriented layer.