ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
getName () | |
getValue () | |
getExpires () | |
getMaxAge () | |
getPath () | |
getDomain () | |
getSecure () | |
getHttpOnly () | |
withValue ($value=null) | |
withExpires ($expires=null) | |
rememberForever () | |
expire () | |
withMaxAge ($maxAge=null) | |
withPath ($path=null) | |
withDomain ($domain=null) | |
withSecure ($secure=null) | |
withHttpOnly ($httpOnly=null) | |
__toString () | |
Static Public Member Functions | |
static | create ($name, $value=null) |
static | createRememberedForever ($name, $value=null) |
static | createExpired ($name) |
Private Member Functions | |
__construct ($name, $value=null) | |
resolveExpires ($expires=null) | |
appendFormattedDomainPartIfSet (array $cookieStringParts) | |
appendFormattedPathPartIfSet (array $cookieStringParts) | |
appendFormattedExpiresPartIfSet (array $cookieStringParts) | |
appendFormattedMaxAgePartIfSet (array $cookieStringParts) | |
appendFormattedSecurePartIfSet (array $cookieStringParts) | |
appendFormattedHttpOnlyPartIfSet (array $cookieStringParts) | |
Private Attributes | |
$name | |
$value | |
$expires = 0 | |
$maxAge = 0 | |
$path | |
$domain | |
$secure = false | |
$httpOnly = false | |
Definition at line 8 of file SetCookie.php.
|
private |
Definition at line 19 of file SetCookie.php.
References Dflydev\FigCookies\SetCookie\$name, and Dflydev\FigCookies\SetCookie\$value.
Dflydev\FigCookies\SetCookie::__toString | ( | ) |
Definition at line 157 of file SetCookie.php.
References Dflydev\FigCookies\SetCookie\appendFormattedDomainPartIfSet(), Dflydev\FigCookies\SetCookie\appendFormattedExpiresPartIfSet(), Dflydev\FigCookies\SetCookie\appendFormattedHttpOnlyPartIfSet(), Dflydev\FigCookies\SetCookie\appendFormattedMaxAgePartIfSet(), Dflydev\FigCookies\SetCookie\appendFormattedPathPartIfSet(), and Dflydev\FigCookies\SetCookie\appendFormattedSecurePartIfSet().
|
private |
Definition at line 234 of file SetCookie.php.
Referenced by Dflydev\FigCookies\SetCookie\__toString().
|
private |
Definition at line 252 of file SetCookie.php.
Referenced by Dflydev\FigCookies\SetCookie\__toString().
|
private |
Definition at line 279 of file SetCookie.php.
Referenced by Dflydev\FigCookies\SetCookie\__toString().
|
private |
Definition at line 261 of file SetCookie.php.
Referenced by Dflydev\FigCookies\SetCookie\__toString().
|
private |
Definition at line 243 of file SetCookie.php.
Referenced by Dflydev\FigCookies\SetCookie\__toString().
|
private |
Definition at line 270 of file SetCookie.php.
Referenced by Dflydev\FigCookies\SetCookie\__toString().
|
static |
Definition at line 173 of file SetCookie.php.
References Dflydev\FigCookies\SetCookie\$name, and Dflydev\FigCookies\SetCookie\$value.
Referenced by ILIAS\HTTP\Cookies\CookieFactoryImpl\create(), Dflydev\FigCookies\FigResponseCookies\get(), Dflydev\FigCookies\FigCookiesTest\it_encrypts_and_decrypts_cookies(), Dflydev\FigCookies\FigResponseCookiesTest\it_gets_cookies(), Dflydev\FigCookies\FigResponseCookiesTest\it_modifies_cookies(), Dflydev\FigCookies\FigResponseCookiesTest\it_removes_cookies(), Dflydev\FigCookies\SetCookiesTest\it_renders_added_and_removed_set_cookies_header(), Dflydev\FigCookies\FigResponseCookiesTest\it_sets_cookies(), Dflydev\FigCookies\FigResponseCookies\modify(), Dflydev\FigCookies\SetCookiesTest\provideGetsSetCookieByNameData(), Dflydev\FigCookies\SetCookieTest\provideParsesFromSetCookieStringData(), and Dflydev\FigCookies\SetCookiesTest\provideSetCookieStringsAndExpectedSetCookiesData().
|
static |
Definition at line 183 of file SetCookie.php.
References $cookieName, Dflydev\FigCookies\SetCookie\$name, Dflydev\FigCookies\StringUtil\splitCookiePair(), and Dflydev\FigCookies\StringUtil\splitOnAttributeDelimiter().
Referenced by ILIAS\HTTP\Cookies\CookieFactoryImpl\createExpired(), Dflydev\FigCookies\FigResponseCookies\expire(), and Dflydev\FigCookies\SetCookieTest\it_expires_cookies().
|
static |
Definition at line 178 of file SetCookie.php.
References Dflydev\FigCookies\SetCookie\$name, and Dflydev\FigCookies\SetCookie\$value.
Referenced by ILIAS\HTTP\Cookies\CookieFactoryImpl\createRememberedForLongTime(), and Dflydev\FigCookies\SetCookieTest\it_creates_long_living_cookies().
Dflydev\FigCookies\SetCookie::expire | ( | ) |
Definition at line 107 of file SetCookie.php.
References Dflydev\FigCookies\SetCookie\withExpires().
Dflydev\FigCookies\SetCookie::getDomain | ( | ) |
Dflydev\FigCookies\SetCookie::getExpires | ( | ) |
Dflydev\FigCookies\SetCookie::getHttpOnly | ( | ) |
Dflydev\FigCookies\SetCookie::getMaxAge | ( | ) |
Dflydev\FigCookies\SetCookie::getName | ( | ) |
Definition at line 25 of file SetCookie.php.
References Dflydev\FigCookies\SetCookie\$name.
Referenced by Dflydev\FigCookies\FigResponseCookiesTest\it_modifies_cookies(), and Dflydev\FigCookies\SetCookies\with().
Dflydev\FigCookies\SetCookie::getPath | ( | ) |
Definition at line 45 of file SetCookie.php.
References Dflydev\FigCookies\SetCookie\$path.
Dflydev\FigCookies\SetCookie::getSecure | ( | ) |
Dflydev\FigCookies\SetCookie::getValue | ( | ) |
Definition at line 30 of file SetCookie.php.
References Dflydev\FigCookies\SetCookie\$value.
Referenced by Dflydev\FigCookies\FigCookiesTest\it_encrypts_and_decrypts_cookies().
Dflydev\FigCookies\SetCookie::rememberForever | ( | ) |
Definition at line 102 of file SetCookie.php.
References Dflydev\FigCookies\SetCookie\withExpires().
|
private |
Definition at line 74 of file SetCookie.php.
References Dflydev\FigCookies\SetCookie\$expires.
Referenced by Dflydev\FigCookies\SetCookie\withExpires().
Dflydev\FigCookies\SetCookie::withDomain | ( | $domain = null | ) |
Dflydev\FigCookies\SetCookie::withExpires | ( | $expires = null | ) |
Definition at line 91 of file SetCookie.php.
References Dflydev\FigCookies\SetCookie\$expires, and Dflydev\FigCookies\SetCookie\resolveExpires().
Referenced by Dflydev\FigCookies\SetCookie\expire(), and Dflydev\FigCookies\SetCookie\rememberForever().
Dflydev\FigCookies\SetCookie::withHttpOnly | ( | $httpOnly = null | ) |
Dflydev\FigCookies\SetCookie::withMaxAge | ( | $maxAge = null | ) |
Dflydev\FigCookies\SetCookie::withPath | ( | $path = null | ) |
Dflydev\FigCookies\SetCookie::withSecure | ( | $secure = null | ) |
Dflydev\FigCookies\SetCookie::withValue | ( | $value = null | ) |
Definition at line 65 of file SetCookie.php.
References Dflydev\FigCookies\SetCookie\$value.
Referenced by Dflydev\FigCookies\FigCookiesTest\it_encrypts_and_decrypts_cookies(), and Dflydev\FigCookies\FigResponseCookiesTest\it_modifies_cookies().
|
private |
Definition at line 15 of file SetCookie.php.
Referenced by Dflydev\FigCookies\SetCookie\getDomain(), and Dflydev\FigCookies\SetCookie\withDomain().
|
private |
Definition at line 12 of file SetCookie.php.
Referenced by Dflydev\FigCookies\SetCookie\getExpires(), Dflydev\FigCookies\SetCookie\resolveExpires(), and Dflydev\FigCookies\SetCookie\withExpires().
|
private |
Definition at line 17 of file SetCookie.php.
Referenced by Dflydev\FigCookies\SetCookie\getHttpOnly(), and Dflydev\FigCookies\SetCookie\withHttpOnly().
|
private |
Definition at line 13 of file SetCookie.php.
Referenced by Dflydev\FigCookies\SetCookie\getMaxAge(), and Dflydev\FigCookies\SetCookie\withMaxAge().
|
private |
|
private |
Definition at line 14 of file SetCookie.php.
Referenced by Dflydev\FigCookies\SetCookie\getPath(), and Dflydev\FigCookies\SetCookie\withPath().
|
private |
Definition at line 16 of file SetCookie.php.
Referenced by Dflydev\FigCookies\SetCookie\getSecure(), and Dflydev\FigCookies\SetCookie\withSecure().
|
private |
Definition at line 11 of file SetCookie.php.
Referenced by Dflydev\FigCookies\SetCookie\__construct(), Dflydev\FigCookies\SetCookie\create(), Dflydev\FigCookies\SetCookie\createRememberedForever(), Dflydev\FigCookies\SetCookie\getValue(), and Dflydev\FigCookies\SetCookie\withValue().