|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct ($cookieFile) | |
| __destruct () | |
Public Member Functions inherited from Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar | |
| add (Cookie $cookie) | |
| addCookiesFromResponse (Response $response, RequestInterface $request=null) | |
| all ($domain=null, $path=null, $name=null, $skipDiscardable=false, $skipExpired=true) | |
| count () | |
| getIterator () | |
| getMatchingCookies (RequestInterface $request) | |
| remove ($domain=null, $path=null, $name=null) | |
| removeExpired () | |
| removeTemporary () | |
| serialize () | |
| setStrictMode ($strictMode) | |
| unserialize ($data) | |
Protected Member Functions | |
| load () | |
| persist () | |
Protected Attributes | |
| $filename | |
Protected Attributes inherited from Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar | |
| $cookies = array() | |
| $strictMode | |
Persists non-session cookies using a JSON formatted file
Definition at line 10 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/CookieJar/FileCookieJar.php.
| Guzzle\Plugin\Cookie\CookieJar\FileCookieJar::__construct | ( | $cookieFile | ) |
Create a new FileCookieJar object
| string | $cookieFile | File to store the cookie data |
| RuntimeException | if the file cannot be found or created |
Reimplemented from Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar.
Definition at line 25 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/CookieJar/FileCookieJar.php.
References Guzzle\Plugin\Cookie\CookieJar\FileCookieJar\load().
| Guzzle\Plugin\Cookie\CookieJar\FileCookieJar::__destruct | ( | ) |
Saves the file when shutting down
Definition at line 34 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/CookieJar/FileCookieJar.php.
References Guzzle\Plugin\Cookie\CookieJar\FileCookieJar\persist().
|
protected |
Load the contents of the json formatted file into the data array and discard any unsaved state
Definition at line 56 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/CookieJar/FileCookieJar.php.
References Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar\unserialize().
Referenced by Guzzle\Plugin\Cookie\CookieJar\FileCookieJar\__construct().
|
protected |
Save the contents of the data array to the file
| RuntimeException | if the file cannot be found or created |
Definition at line 44 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/CookieJar/FileCookieJar.php.
References Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar\serialize().
Referenced by Guzzle\Plugin\Cookie\CookieJar\FileCookieJar\__destruct().
|
protected |
filename
Definition at line 16 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/CookieJar/FileCookieJar.php.