PHP Class HTTPCookieManager

Author: João Batista Neto ([email protected])
Inheritance: implements CookieManager
Afficher le fichier Open project: imastersdev/correios

Méthodes publiques

Méthode Description
__construct ( string $dirname = null )
__destruct ( )
addCookie ( Cookie $cookie )
getCookie ( $domain, $secure, $path )
getCookieIterator ( $domain, $secure, $path )
serialize ( )
setCookie ( $setCookie, $domain = null )
unserialize ( $serialized )

Private Methods

Méthode Description
getCookieArray ( $domain, $secure, $path )

Method Details

__construct() public méthode

public __construct ( string $dirname = null )
$dirname string Diretório onde os cookies serão gravados, caso não informado o diretório temporário do sistema será utilizado.

__destruct() public méthode

public __destruct ( )

addCookie() public méthode

See also: CookieManager::addCookie()
public addCookie ( Cookie $cookie )
$cookie Cookie

getCookie() public méthode

See also: CookieManager::getCookie()
public getCookie ( $domain, $secure, $path )

getCookieIterator() public méthode

See also: CookieManager::getCookieIterator()
public getCookieIterator ( $domain, $secure, $path )

serialize() public méthode

See also: Serializable::serialize()
public serialize ( )

setCookie() public méthode

See also: CookieManager::setCookie()
public setCookie ( $setCookie, $domain = null )

unserialize() public méthode

See also: Serializable::unserialize()
public unserialize ( $serialized )