ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Representation of an HTTP cookie. More...
Public Member Functions | |
__construct ($a_name) | |
setName ($a_name) | |
getName () | |
Get name. More... | |
setValue ($a_value) | |
Currently no restriction on cookie length. More... | |
getValue () | |
setExpire ($a_expire) | |
getExpire () | |
setPath ($a_path) | |
getPath () | |
setDomain ($a_domain) | |
getDomain () | |
setSecure ($a_status) | |
isSecure () | |
setHttpOnly ($a_http_only) | |
isHttpOnly () | |
Private Attributes | |
$name = '' | |
$value = '' | |
$expire = 0 | |
$path = '' | |
$domain = '' | |
$secure = false | |
$http_only = false | |
Representation of an HTTP cookie.
Definition at line 10 of file class.ilCookie.php.
ilCookie::__construct | ( | $a_name | ) |
Definition at line 20 of file class.ilCookie.php.
References setName().
ilCookie::getDomain | ( | ) |
Definition at line 79 of file class.ilCookie.php.
References $domain.
ilCookie::getExpire | ( | ) |
Definition at line 59 of file class.ilCookie.php.
References $expire.
ilCookie::getName | ( | ) |
ilCookie::getPath | ( | ) |
Definition at line 69 of file class.ilCookie.php.
References $path.
ilCookie::getValue | ( | ) |
Definition at line 49 of file class.ilCookie.php.
References $value.
ilCookie::isHttpOnly | ( | ) |
ilCookie::isSecure | ( | ) |
Definition at line 89 of file class.ilCookie.php.
References $secure.
ilCookie::setDomain | ( | $a_domain | ) |
Definition at line 74 of file class.ilCookie.php.
ilCookie::setExpire | ( | $a_expire | ) |
Definition at line 54 of file class.ilCookie.php.
ilCookie::setHttpOnly | ( | $a_http_only | ) |
Definition at line 94 of file class.ilCookie.php.
ilCookie::setName | ( | $a_name | ) |
Definition at line 25 of file class.ilCookie.php.
Referenced by __construct().
ilCookie::setPath | ( | $a_path | ) |
Definition at line 64 of file class.ilCookie.php.
ilCookie::setSecure | ( | $a_status | ) |
Definition at line 84 of file class.ilCookie.php.
ilCookie::setValue | ( | $a_value | ) |
Currently no restriction on cookie length.
RFC 2965 suggests a minimum of 4096 bytes
string | $a_value |
Definition at line 44 of file class.ilCookie.php.
|
private |
Definition at line 16 of file class.ilCookie.php.
Referenced by getDomain().
|
private |
Definition at line 14 of file class.ilCookie.php.
Referenced by getExpire().
|
private |
Definition at line 18 of file class.ilCookie.php.
Referenced by isHttpOnly().
|
private |
Definition at line 12 of file class.ilCookie.php.
Referenced by getName().
|
private |
Definition at line 15 of file class.ilCookie.php.
Referenced by getPath().
|
private |
Definition at line 17 of file class.ilCookie.php.
Referenced by isSecure().
|
private |
Definition at line 13 of file class.ilCookie.php.
Referenced by getValue().