ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
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 33 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 38 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 56 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 47 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 65 of file CookieFactoryImpl.php.