[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 321 lines (10 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
CookieJar:: (15 methods):
__construct()
fromArray()
getCookieValue()
shouldPersist()
getCookieByName()
toArray()
clear()
clearSessionCookies()
setCookie()
count()
getIterator()
extractCookies()
getCookiePathFromRequest()
withCookieHeader()
removeCookieIfEmpty()
__construct($strictMode = false, $cookieArray = []) X-Ref |
param: bool $strictMode Set to true to throw exceptions when invalid param: array $cookieArray Array of SetCookie objects or a hash of |
fromArray(array $cookies, $domain) X-Ref |
Create a new Cookie jar from an associative array and domain. param: array $cookies Cookies to create the jar from param: string $domain Domain to set the cookies to return: self |
getCookieValue($value) X-Ref |
shouldPersist(SetCookie $cookie,$allowSessionCookies = false) X-Ref |
Evaluate if this cookie should be persisted to storage that survives between requests. param: SetCookie $cookie Being evaluated. param: bool $allowSessionCookies If we should persist session cookies return: bool |
getCookieByName($name) X-Ref |
Finds and returns the cookie based on the name param: string $name cookie name to search for return: SetCookie|null cookie that was found or null if not found |
toArray() X-Ref |
No description |
clear($domain = null, $path = null, $name = null) X-Ref |
No description |
clearSessionCookies() X-Ref |
No description |
setCookie(SetCookie $cookie) X-Ref |
No description |
count() X-Ref |
No description |
getIterator() X-Ref |
No description |
extractCookies(RequestInterface $request,ResponseInterface $response) X-Ref |
No description |
getCookiePathFromRequest(RequestInterface $request) X-Ref |
Computes cookie path following RFC 6265 section 5.1.4 param: RequestInterface $request return: string |
withCookieHeader(RequestInterface $request) X-Ref |
No description |
removeCookieIfEmpty(SetCookie $cookie) X-Ref |
If a cookie already exists and the server asks to set it again with a null value, the cookie must be deleted. param: SetCookie $cookie |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |