PHP Class Gpf_Http

Inheritance: extends Gpf_Object, implements Gpf_HttpResponse
Afficher le fichier Open project: fubralimited/php-oara Class Usage Examples

Méthodes publiques

Méthode Description
getCookie ( $name )
getRemoteIp ( )
getUserAgent ( )
isSSL ( )
setCookie ( $name, $value = null, $expire = null, $path = null, $domain = null, $secure = null, $httpOnly = null )
setCookieValue ( $name, $value = null, $expire = null, $path = null, $domain = null, $secure = null, $httpOnly = null )
setHeader ( $name, $value, $httpResponseCode = null )
setHeaderValue ( $name, $value, $replace = true, $httpResponseCode = null )
setInstance ( Gpf_HttpResponse $instance )

Private Methods

Méthode Description
getInstance ( ) : Gpf_Http
isValidIp ( $ip )

Method Details

getCookie() public static méthode

public static getCookie ( $name )

getRemoteIp() public static méthode

public static getRemoteIp ( )

getUserAgent() public static méthode

public static getUserAgent ( )

isSSL() public static méthode

public static isSSL ( )

setCookie() public static méthode

public static setCookie ( $name, $value = null, $expire = null, $path = null, $domain = null, $secure = null, $httpOnly = null )

setCookieValue() public méthode

public setCookieValue ( $name, $value = null, $expire = null, $path = null, $domain = null, $secure = null, $httpOnly = null )

setHeader() public static méthode

public static setHeader ( $name, $value, $httpResponseCode = null )

setHeaderValue() public méthode

public setHeaderValue ( $name, $value, $replace = true, $httpResponseCode = null )

setInstance() public static méthode

public static setInstance ( Gpf_HttpResponse $instance )
$instance Gpf_HttpResponse