ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
has ($name) | |
Checks if a cookie with the given name is in the jar. More... | |
get ($name) | |
Fetches the cookie with the given name from the current jar. More... | |
getAll () | |
Fetches all cookies from the current jar. More... | |
with (Cookie $setCookie) | |
Creates a new cookie jar with the given cookie. More... | |
without ($name) | |
Creates a cookie jar without the specified cookie. More... | |
renderIntoResponseHeader (ResponseInterface $response) | |
Render CookieJar into a Response. More... | |
Definition at line 24 of file CookieJar.php.
ILIAS\HTTP\Cookies\CookieJar::get | ( | $name | ) |
Fetches the cookie with the given name from the current jar.
If no cookie could be found, null is returned.
string | $name | Name of the cookie which should be returned. |
Implemented in ILIAS\HTTP\Cookies\CookieJarWrapper.
ILIAS\HTTP\Cookies\CookieJar::getAll | ( | ) |
Fetches all cookies from the current jar.
Implemented in ILIAS\HTTP\Cookies\CookieJarWrapper.
ILIAS\HTTP\Cookies\CookieJar::has | ( | $name | ) |
Checks if a cookie with the given name is in the jar.
string | $name | Cookie name. |
Implemented in ILIAS\HTTP\Cookies\CookieJarWrapper.
ILIAS\HTTP\Cookies\CookieJar::renderIntoResponseHeader | ( | ResponseInterface | $response | ) |
Render CookieJar into a Response.
ResponseInterface | $response |
Implemented in ILIAS\HTTP\Cookies\CookieJarWrapper.
ILIAS\HTTP\Cookies\CookieJar::with | ( | Cookie | $setCookie | ) |
Creates a new cookie jar with the given cookie.
Cookie | $setCookie | The cookie which should be added to the jar. |
Referenced by ILIAS\HTTP\Cookies\CookieJarWrapper\getAll().
ILIAS\HTTP\Cookies\CookieJar::without | ( | $name | ) |
Creates a cookie jar without the specified cookie.
string | $name | Cookie name. |
Implemented in ILIAS\HTTP\Cookies\CookieJarWrapper.