PHP 클래스 Gpf_Http

상속: extends Gpf_Object, implements Gpf_HttpResponse
파일 보기 프로젝트 열기: fubralimited/php-oara 1 사용 예제들

공개 메소드들

메소드 설명
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 )

비공개 메소드들

메소드 설명
getInstance ( ) : Gpf_Http
isValidIp ( $ip )

메소드 상세

getCookie() 공개 정적인 메소드

public static getCookie ( $name )

getRemoteIp() 공개 정적인 메소드

public static getRemoteIp ( )

getUserAgent() 공개 정적인 메소드

public static getUserAgent ( )

isSSL() 공개 정적인 메소드

public static isSSL ( )

setCookie() 공개 정적인 메소드

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

setCookieValue() 공개 메소드

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

setHeader() 공개 정적인 메소드

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

setHeaderValue() 공개 메소드

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

setInstance() 공개 정적인 메소드

public static setInstance ( Gpf_HttpResponse $instance )
$instance Gpf_HttpResponse