ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Public Member Functions | |||||||
create (string $name, string $value=null) | |||||||
Create a new cookie with the given name and value.
| |||||||
createRememberedForLongTime (string $name, string $value=null) | |||||||
Create a new cookie with the given name and value which expires in 5 years.
| |||||||
createExpired (string $name) | |||||||
Creates an already expired cookie.This is useful if the cookie should be deleted at the client end.
| |||||||
fromSetCookieString (string $string) | |||||||
Creates the cookie from the cookie string.
| |||||||
Definition at line 30 of file CookieFactoryImpl.php.
ILIAS\HTTP\Cookies\CookieFactoryImpl::create | ( | string | $name, |
string | $value = null |
||
) |
Create a new cookie with the given name and value.
string | $name | The unique cookie name. |
null | string | $value | Cookie value. |
Implements ILIAS\HTTP\Cookies\CookieFactory.
Definition at line 35 of file CookieFactoryImpl.php.
ILIAS\HTTP\Cookies\CookieFactoryImpl::createExpired | ( | string | $name | ) |
Creates an already expired cookie.This is useful if the cookie should be deleted at the client end.
string | $name | Cookie name. |
Implements ILIAS\HTTP\Cookies\CookieFactory.
Definition at line 53 of file CookieFactoryImpl.php.
ILIAS\HTTP\Cookies\CookieFactoryImpl::createRememberedForLongTime | ( | string | $name, |
string | $value = null |
||
) |
Create a new cookie with the given name and value which expires in 5 years.
string | $name | The unique cookie name. |
null | string | $value | Cookie value. |
Implements ILIAS\HTTP\Cookies\CookieFactory.
Definition at line 44 of file CookieFactoryImpl.php.
ILIAS\HTTP\Cookies\CookieFactoryImpl::fromSetCookieString | ( | string | $string | ) |
Creates the cookie from the cookie string.
string | $string | Cookie string. |
Implements ILIAS\HTTP\Cookies\CookieFactory.
Definition at line 62 of file CookieFactoryImpl.php.