PHP 클래스 Icicle\Http\Message\Cookie\SetCookie

상속: extends BasicCookie, implements Icicle\Http\Message\Cookie\MetaCookie
파일 보기 프로젝트 열기: icicleio/http 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $name, string $value = '', integer $expires, string $path = null, string $domain = null, boolean $secure = false, boolean $httpOnly = false )
fromHeader ( string $string ) : Icicle\Http\Message\Cookie\Cookie
getDomain ( ) : string
getExpires ( ) : integer
getPath ( ) : string
isHttpOnly ( ) : boolean
isSecure ( ) : boolean
toHeader ( ) : string

보호된 메소드들

메소드 설명
encodeDate ( integer $date ) : string
encodePath ( string $path ) : string

메소드 상세

__construct() 공개 메소드

public __construct ( string $name, string $value = '', integer $expires, string $path = null, string $domain = null, boolean $secure = false, boolean $httpOnly = false )
$name string
$value string
$expires integer
$path string
$domain string
$secure boolean
$httpOnly boolean

encodeDate() 보호된 메소드

protected encodeDate ( integer $date ) : string
$date integer
리턴 string

encodePath() 보호된 메소드

protected encodePath ( string $path ) : string
$path string
리턴 string

fromHeader() 공개 정적인 메소드

public static fromHeader ( string $string ) : Icicle\Http\Message\Cookie\Cookie
$string string Valid Set-Cookie header line.
리턴 Icicle\Http\Message\Cookie\Cookie

getDomain() 공개 메소드

public getDomain ( ) : string
리턴 string

getExpires() 공개 메소드

public getExpires ( ) : integer
리턴 integer

getPath() 공개 메소드

public getPath ( ) : string
리턴 string

isHttpOnly() 공개 메소드

public isHttpOnly ( ) : boolean
리턴 boolean

isSecure() 공개 메소드

public isSecure ( ) : boolean
리턴 boolean

toHeader() 공개 메소드

public toHeader ( ) : string
리턴 string