|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Inheritance diagram for ILIAS\HTTP\Cookies\CookieFactory:
Collaboration diagram for ILIAS\HTTP\Cookies\CookieFactory:Public Member Functions | |
| create (string $name, string $value=null) | |
| Create a new cookie with the given name and value. More... | |
| createRememberedForLongTime (string $name, string $value=null) | |
| Create a new cookie with the given name and value which expires in 5 years. More... | |
| createExpired (string $name) | |
| Creates an already expired cookie. More... | |
| fromSetCookieString (string $string) | |
| Creates the cookie from the cookie string. More... | |
Definition at line 15 of file CookieFactory.php.
| ILIAS\HTTP\Cookies\CookieFactory::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. |
Implemented in ILIAS\HTTP\Cookies\CookieFactoryImpl.
| ILIAS\HTTP\Cookies\CookieFactory::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. |
Implemented in ILIAS\HTTP\Cookies\CookieFactoryImpl.
| ILIAS\HTTP\Cookies\CookieFactory::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. |
Implemented in ILIAS\HTTP\Cookies\CookieFactoryImpl.
| ILIAS\HTTP\Cookies\CookieFactory::fromSetCookieString | ( | string | $string | ) |
Creates the cookie from the cookie string.
| string | $string | Cookie string. |
Implemented in ILIAS\HTTP\Cookies\CookieFactoryImpl.