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