|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for ILIAS\HTTP\Cookies\CookieWrapper:
Collaboration diagram for ILIAS\HTTP\Cookies\CookieWrapper:Public Member Functions | |
| __construct (SetCookie $cookie) | |
| CookieFacade constructor. More... | |
| getName () | |
| @inheritDoc More... | |
| getValue () | |
| @inheritDoc More... | |
| getExpires () | |
| @inheritDoc More... | |
| getMaxAge () | |
| @inheritDoc More... | |
| getPath () | |
| @inheritDoc More... | |
| getDomain () | |
| @inheritDoc More... | |
| getSecure () | |
| @inheritDoc More... | |
| getHttpOnly () | |
| @inheritDoc More... | |
| getSamesite () | |
| Cookie samesite. More... | |
| withValue (string $value=null) | |
| @inheritDoc More... | |
| withExpires ($expires=null) | |
| @inheritDoc More... | |
| rememberForLongTime () | |
| @inheritDoc More... | |
| expire () | |
| @inheritDoc More... | |
| withMaxAge (int $maxAge=null) | |
| @inheritDoc More... | |
| withPath (string $path=null) | |
| @inheritDoc More... | |
| withDomain (string $domain=null) | |
| @inheritDoc More... | |
| withSecure (bool $secure=null) | |
| @inheritDoc More... | |
| withHttpOnly (bool $httpOnly=null) | |
| @inheritDoc More... | |
| withSamesite (string $sameSite) | |
| Sets the samesite attribute. More... | |
| __toString () | |
| @inheritDoc More... | |
| getImplementation () | |
| Returns the underlying implementation. More... | |
| getName () | |
| Cookie name. More... | |
| getValue () | |
| Cookie value. More... | |
| getExpires () | |
| Expiration date as unix timestamp. More... | |
| getMaxAge () | |
| Max age measured in seconds. More... | |
| getPath () | |
| Cookie path. More... | |
| getDomain () | |
| Cookie domain. More... | |
| getSecure () | |
| True if it's secure cookie otherwise false. More... | |
| getHttpOnly () | |
| True if the cookie is http only otherwise false. More... | |
| getSamesite () | |
| Cookie samesite. More... | |
| withValue (string $value=null) | |
| Sets the cookie value. More... | |
| withExpires ($expires=null) | |
| Sets the expiration date of the cookie. More... | |
| rememberForLongTime () | |
| Sets the expiration date to +5 years. More... | |
| expire () | |
| Expire the cookie. More... | |
| withMaxAge (int $maxAge=null) | |
| Maximal life time of the cookie in seconds. More... | |
| withPath (string $path=null) | |
| Sets the cookie path. More... | |
| withDomain (string $domain=null) | |
| Sets the domain name for the cookie. More... | |
| withSecure (bool $secure=null) | |
| Sets if the cookie is a secure cookie or not. More... | |
| withHttpOnly (bool $httpOnly=null) | |
| Sets if the cookie is http only. More... | |
| withSamesite (string $sameSite) | |
| Sets the samesite attribute. More... | |
| __toString () | |
| Returns the string representation of the object. More... | |
Private Attributes | |
| SetCookie | $cookie |
Additional Inherited Members | |
Data Fields inherited from ILIAS\HTTP\Cookies\Cookie | |
| const | SAMESITE_NONE = 'None' |
| const | SAMESITE_LAX = 'Lax' |
| const | SAMESITE_STRICT = 'Strict' |
Definition at line 32 of file CookieWrapper.php.
| ILIAS\HTTP\Cookies\CookieWrapper::__construct | ( | SetCookie | $cookie | ) |
CookieFacade constructor.
Definition at line 39 of file CookieWrapper.php.
References ILIAS\HTTP\Cookies\CookieWrapper\$cookie.
| ILIAS\HTTP\Cookies\CookieWrapper::__toString | ( | ) |
@inheritDoc
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 224 of file CookieWrapper.php.
| ILIAS\HTTP\Cookies\CookieWrapper::expire | ( | ) |
@inheritDoc
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 150 of file CookieWrapper.php.
References ILIAS\HTTP\Cookies\Cookie\expire().
Here is the call graph for this function:| ILIAS\HTTP\Cookies\CookieWrapper::getDomain | ( | ) |
@inheritDoc
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 87 of file CookieWrapper.php.
| ILIAS\HTTP\Cookies\CookieWrapper::getExpires | ( | ) |
@inheritDoc
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 63 of file CookieWrapper.php.
| ILIAS\HTTP\Cookies\CookieWrapper::getHttpOnly | ( | ) |
@inheritDoc
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 103 of file CookieWrapper.php.
| ILIAS\HTTP\Cookies\CookieWrapper::getImplementation | ( | ) |
Returns the underlying implementation.
Only for package/service internal use!!!
Definition at line 234 of file CookieWrapper.php.
References ILIAS\HTTP\Cookies\CookieWrapper\$cookie.
| ILIAS\HTTP\Cookies\CookieWrapper::getMaxAge | ( | ) |
@inheritDoc
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 71 of file CookieWrapper.php.
| ILIAS\HTTP\Cookies\CookieWrapper::getName | ( | ) |
@inheritDoc
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 47 of file CookieWrapper.php.
| ILIAS\HTTP\Cookies\CookieWrapper::getPath | ( | ) |
@inheritDoc
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 79 of file CookieWrapper.php.
| ILIAS\HTTP\Cookies\CookieWrapper::getSamesite | ( | ) |
Cookie samesite.
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 108 of file CookieWrapper.php.
| ILIAS\HTTP\Cookies\CookieWrapper::getSecure | ( | ) |
@inheritDoc
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 95 of file CookieWrapper.php.
| ILIAS\HTTP\Cookies\CookieWrapper::getValue | ( | ) |
@inheritDoc
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 55 of file CookieWrapper.php.
| ILIAS\HTTP\Cookies\CookieWrapper::rememberForLongTime | ( | ) |
@inheritDoc
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 139 of file CookieWrapper.php.
| ILIAS\HTTP\Cookies\CookieWrapper::withDomain | ( | string | $domain = null | ) |
@inheritDoc
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 183 of file CookieWrapper.php.
References ILIAS\HTTP\Cookies\Cookie\withDomain().
Here is the call graph for this function:| ILIAS\HTTP\Cookies\CookieWrapper::withExpires | ( | $expires = null | ) |
@inheritDoc
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 128 of file CookieWrapper.php.
References ILIAS\HTTP\Cookies\Cookie\withExpires().
Here is the call graph for this function:| ILIAS\HTTP\Cookies\CookieWrapper::withHttpOnly | ( | bool | $httpOnly = null | ) |
@inheritDoc
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 205 of file CookieWrapper.php.
References ILIAS\HTTP\Cookies\Cookie\withHttpOnly().
Here is the call graph for this function:| ILIAS\HTTP\Cookies\CookieWrapper::withMaxAge | ( | int | $maxAge = null | ) |
@inheritDoc
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 161 of file CookieWrapper.php.
References ILIAS\HTTP\Cookies\Cookie\withMaxAge().
Here is the call graph for this function:| ILIAS\HTTP\Cookies\CookieWrapper::withPath | ( | string | $path = null | ) |
@inheritDoc
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 172 of file CookieWrapper.php.
References $path, and ILIAS\HTTP\Cookies\Cookie\withPath().
Here is the call graph for this function:| ILIAS\HTTP\Cookies\CookieWrapper::withSamesite | ( | string | $sameSite | ) |
Sets the samesite attribute.
| string | $sameSite | value of the samesite attribute. Valid values are @const SAMESITE_LAX, @const SAMESITE_STRICT or @const SAMESITE_NONE |
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 213 of file CookieWrapper.php.
| ILIAS\HTTP\Cookies\CookieWrapper::withSecure | ( | bool | $secure = null | ) |
@inheritDoc
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 194 of file CookieWrapper.php.
References ILIAS\HTTP\Cookies\Cookie\withSecure().
Here is the call graph for this function:| ILIAS\HTTP\Cookies\CookieWrapper::withValue | ( | string | $value = null | ) |
@inheritDoc
Implements ILIAS\HTTP\Cookies\Cookie.
Definition at line 117 of file CookieWrapper.php.
References ILIAS\HTTP\Cookies\Cookie\withValue().
Here is the call graph for this function:
|
private |
Definition at line 34 of file CookieWrapper.php.
Referenced by ILIAS\HTTP\Cookies\CookieWrapper\__construct(), and ILIAS\HTTP\Cookies\CookieWrapper\getImplementation().