PHP Class Gpf_Http

Inheritance: extends Gpf_Object, implements Gpf_HttpResponse
Mostrar archivo Open project: fubralimited/php-oara Class Usage Examples

Public Methods

Method 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

Method Description
getInstance ( ) : Gpf_Http
isValidIp ( $ip )

Method Details

getCookie() public static method

public static getCookie ( $name )

getRemoteIp() public static method

public static getRemoteIp ( )

getUserAgent() public static method

public static getUserAgent ( )

isSSL() public static method

public static isSSL ( )

setCookie() public static method

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

setCookieValue() public method

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

setHeader() public static method

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

setHeaderValue() public method

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

setInstance() public static method

public static setInstance ( Gpf_HttpResponse $instance )
$instance Gpf_HttpResponse