ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |||||||
create ($name, $value=null) | |||||||
Create a new cookie with the given name and value.
| |||||||
createRememberedForLongTime ($name, $value=null) | |||||||
Create a new cookie with the given name and value which expires in 5 years.
| |||||||
createExpired ($name) | |||||||
Creates an already expired cookie.This is useful if the cookie should be deleted at the client end.
| |||||||
fromSetCookieString ($string) | |||||||
Creates the cookie from the cookie string.
| |||||||
Definition at line 17 of file CookieFactoryImpl.php.
ILIAS\HTTP\Cookies\CookieFactoryImpl::create | ( | $name, | |
$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 23 of file CookieFactoryImpl.php.
References $name, and Dflydev\FigCookies\SetCookie\create().
ILIAS\HTTP\Cookies\CookieFactoryImpl::createExpired | ( | $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 41 of file CookieFactoryImpl.php.
References $name, and Dflydev\FigCookies\SetCookie\createExpired().
ILIAS\HTTP\Cookies\CookieFactoryImpl::createRememberedForLongTime | ( | $name, | |
$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 32 of file CookieFactoryImpl.php.
References $name, and Dflydev\FigCookies\SetCookie\createRememberedForever().
ILIAS\HTTP\Cookies\CookieFactoryImpl::fromSetCookieString | ( | $string | ) |
Creates the cookie from the cookie string.
string | $string | Cookie string. |
Implements ILIAS\HTTP\Cookies\CookieFactory.
Definition at line 50 of file CookieFactoryImpl.php.