ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
__construct ($name, $value=null, $expires=0, $path=null, $domain=null, $secure=false, $httponly=false) | |
Constructor. | |
getName () | |
Get cookie name. | |
setName ($name) | |
Set cookie name. | |
getValue () | |
Get cookie value. | |
setValue ($value) | |
Set cookie value. | |
getExpires () | |
Get cookie expiration time. | |
setExpires ($time) | |
Set cookie expiration time. | |
getPath () | |
Get cookie path. | |
setPath ($path) | |
Set cookie path. | |
getDomain () | |
Get cookie domain. | |
setDomain ($domain) | |
Set cookie domain. | |
getSecure () | |
Is cookie sent only if SSL/HTTPS is used? | |
setSecure ($secure) | |
Set whether cookie is sent only if SSL/HTTPS is used. | |
getHttpOnly () | |
Is cookie sent with HTTP protocol only? | |
setHttpOnly ($httponly) | |
Set whether cookie is sent with HTTP protocol only. |
Protected Attributes | |
$name | |
$value | |
$expires | |
$path | |
$domain | |
$secure | |
$httponly |
Definition at line 42 of file Cookie.php.
Slim_Http_Cookie::__construct | ( | $name, | |
$value = null , |
|||
$expires = 0 , |
|||
$path = null , |
|||
$domain = null , |
|||
$secure = false , |
|||
$httponly = false |
|||
) |
Constructor.
string | $name | The cookie name |
string | $value | The cookie value |
mixed | $time | The duration of the cookie; If integer, should be a UNIX timestamp; If string, converted to UNIX timestamp with strtotime ; |
string | $path | The path on the server in which the cookie will be available on |
string | $domain | The domain that the cookie is available to |
bool | $secure | Indicates that the cookie should only be transmitted over a secure HTTPS connection from the client |
bool | $httponly | When TRUE the cookie will be made accessible only through the HTTP protocol |
Definition at line 93 of file Cookie.php.
References $domain, $expires, $httponly, $name, $path, $secure, $value, setDomain(), setExpires(), setHttpOnly(), setName(), setPath(), setSecure(), and setValue().
Slim_Http_Cookie::getDomain | ( | ) |
Slim_Http_Cookie::getExpires | ( | ) |
Get cookie expiration time.
Definition at line 141 of file Cookie.php.
References $expires.
Slim_Http_Cookie::getHttpOnly | ( | ) |
Is cookie sent with HTTP protocol only?
Definition at line 209 of file Cookie.php.
References $httponly.
Slim_Http_Cookie::getName | ( | ) |
Slim_Http_Cookie::getPath | ( | ) |
Slim_Http_Cookie::getSecure | ( | ) |
Is cookie sent only if SSL/HTTPS is used?
Definition at line 192 of file Cookie.php.
References $secure.
Slim_Http_Cookie::getValue | ( | ) |
Slim_Http_Cookie::setDomain | ( | $domain | ) |
Set cookie domain.
string | $domain |
Definition at line 184 of file Cookie.php.
References $domain.
Referenced by __construct().
Slim_Http_Cookie::setExpires | ( | $time | ) |
Set cookie expiration time.
string|int | Cookie expiration time |
Definition at line 150 of file Cookie.php.
Referenced by __construct().
Slim_Http_Cookie::setHttpOnly | ( | $httponly | ) |
Set whether cookie is sent with HTTP protocol only.
bool | $httponly |
Definition at line 218 of file Cookie.php.
References $httponly.
Referenced by __construct().
Slim_Http_Cookie::setName | ( | $name | ) |
Set cookie name.
string | $name |
Definition at line 116 of file Cookie.php.
References $name.
Referenced by __construct().
Slim_Http_Cookie::setPath | ( | $path | ) |
Set cookie path.
string | $path |
Definition at line 167 of file Cookie.php.
References $path.
Referenced by __construct().
Slim_Http_Cookie::setSecure | ( | $secure | ) |
Set whether cookie is sent only if SSL/HTTPS is used.
bool | $secure |
Definition at line 201 of file Cookie.php.
References $secure.
Referenced by __construct().
Slim_Http_Cookie::setValue | ( | $value | ) |
Set cookie value.
string | $value |
Definition at line 133 of file Cookie.php.
References $value.
Referenced by __construct().
|
protected |
Definition at line 67 of file Cookie.php.
Referenced by __construct(), getDomain(), and setDomain().
|
protected |
Definition at line 57 of file Cookie.php.
Referenced by __construct(), and getExpires().
|
protected |
Definition at line 77 of file Cookie.php.
Referenced by __construct(), getHttpOnly(), and setHttpOnly().
|
protected |
Definition at line 47 of file Cookie.php.
Referenced by __construct(), getName(), and setName().
|
protected |
Definition at line 62 of file Cookie.php.
Referenced by __construct(), getPath(), and setPath().
|
protected |
Definition at line 72 of file Cookie.php.
Referenced by __construct(), getSecure(), and setSecure().
|
protected |
Definition at line 52 of file Cookie.php.
Referenced by __construct(), getValue(), and setValue().