Elgg
Version 6.1
|
Public Member Functions | |
__construct ($name) | |
Constructor. More... | |
__get ($name) | |
Get an attribute. More... | |
setExpiresTime ($time) | |
Set the time the cookie expires. More... | |
Public Attributes | |
$value = '' | |
$expire = 0 | |
$path = '/' | |
$domain = '' | |
$secure = false | |
$httpOnly = false | |
Definition at line 12 of file ElggCookie.php.
ElggCookie::__construct | ( | $name | ) |
Constructor.
string | $name | The name of the cookie. |
Definition at line 40 of file ElggCookie.php.
ElggCookie::__get | ( | $name | ) |
Get an attribute.
string | $name | Attribute name |
Definition at line 50 of file ElggCookie.php.
ElggCookie::setExpiresTime | ( | $time | ) |
Set the time the cookie expires.
Example: $cookie->setExpiresTime("+30 days");
string | $time | A time string appropriate for strtotime() |
Definition at line 65 of file ElggCookie.php.
ElggCookie::$domain = '' |
Definition at line 27 of file ElggCookie.php.
ElggCookie::$expire = 0 |
Definition at line 21 of file ElggCookie.php.
ElggCookie::$httpOnly = false |
Definition at line 33 of file ElggCookie.php.
ElggCookie::$path = '/' |
Definition at line 24 of file ElggCookie.php.
ElggCookie::$secure = false |
Definition at line 30 of file ElggCookie.php.
ElggCookie::$value = '' |
Definition at line 18 of file ElggCookie.php.