[ Index ] |
PHP Cross Reference of phpBB-3.3.11-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. return: self param: array $cookies Cookies to create the jar from param: string $domain Domain to set the cookies to |
getCookieValue($value) X-Ref |
shouldPersist(SetCookie $cookie,$allowSessionCookies = false) X-Ref |
Evaluate if this cookie should be persisted to storage that survives between requests. return: bool param: SetCookie $cookie Being evaluated. param: bool $allowSessionCookies If we should persist session cookies |
getCookieByName($name) X-Ref |
Finds and returns the cookie based on the name return: SetCookie|null cookie that was found or null if not found param: string $name cookie name to search for |
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 return: string param: RequestInterface $request |
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: Sat Nov 4 14:26:03 2023 | Cross-referenced by PHPXref 0.7.1 |