|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct (array $data=array()) | |
| getAttribute ($name) | |
| getAttributes () | |
| getComment () | |
| getCommentUrl () | |
| getDiscard () | |
| getDomain () | |
| getExpires () | |
| getHttpOnly () | |
| getMaxAge () | |
| getName () | |
| getPath () | |
| getPorts () | |
| getSecure () | |
| getValue () | |
| getVersion () | |
| isExpired () | |
| matchesDomain ($domain) | |
| matchesPath ($path) | |
| matchesPort ($port) | |
| setAttribute ($name, $value) | |
| setComment ($comment) | |
| setCommentUrl ($commentUrl) | |
| setDiscard ($discard) | |
| setDomain ($domain) | |
| setExpires ($timestamp) | |
| setHttpOnly ($httpOnly) | |
| setMaxAge ($maxAge) | |
| setName ($name) | |
| setPath ($path) | |
| setPorts (array $ports) | |
| setSecure ($secure) | |
| setValue ($value) | |
| setVersion ($version) | |
| toArray () | |
| validate () | |
Static Protected Member Functions | |
| static | getInvalidCharacters () |
Protected Attributes | |
| $data | |
Static Protected Attributes | |
| static | $invalidCharString |
Set-Cookie object
Definition at line 10 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
| Guzzle\Plugin\Cookie\Cookie::__construct | ( | array | $data = array() | ) |
| array | $data | Array of cookie data provided by a Cookie parser |
Definition at line 48 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
References Guzzle\Plugin\Cookie\Cookie\$data, Guzzle\Plugin\Cookie\Cookie\getExpires(), Guzzle\Plugin\Cookie\Cookie\getMaxAge(), and Guzzle\Plugin\Cookie\Cookie\setExpires().
| Guzzle\Plugin\Cookie\Cookie::getAttribute | ( | $name | ) |
Get a specific data point from the extra cookie data
| string | $name | Name of the data point to retrieve |
Definition at line 389 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
| Guzzle\Plugin\Cookie\Cookie::getAttributes | ( | ) |
Get an array of extra cookie data
Definition at line 377 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
| Guzzle\Plugin\Cookie\Cookie::getComment | ( | ) |
Get the comment
Definition at line 289 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
| Guzzle\Plugin\Cookie\Cookie::getCommentUrl | ( | ) |
Get the comment URL of the cookie
Definition at line 311 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
| Guzzle\Plugin\Cookie\Cookie::getDiscard | ( | ) |
Get whether or not this is a session cookie
Definition at line 267 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
Referenced by Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar\add(), Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar\all(), and Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar\removeTemporary().
| Guzzle\Plugin\Cookie\Cookie::getDomain | ( | ) |
Get the domain
Definition at line 135 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
Referenced by Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar\add(), Guzzle\Plugin\Cookie\Cookie\matchesDomain(), and Guzzle\Plugin\Cookie\Cookie\validate().
| Guzzle\Plugin\Cookie\Cookie::getExpires | ( | ) |
The UNIX timestamp when the cookie expires
Definition at line 201 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
Referenced by Guzzle\Plugin\Cookie\Cookie\__construct(), Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar\add(), Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar\all(), Guzzle\Plugin\Cookie\Cookie\isExpired(), Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar\removeExpired(), and Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar\removeTemporary().
| Guzzle\Plugin\Cookie\Cookie::getHttpOnly | ( | ) |
Get whether or not this is an HTTP only cookie
Definition at line 355 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
|
staticprotected |
Gets an array of invalid cookie characters
Definition at line 32 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
References Guzzle\Plugin\Cookie\Cookie\$invalidCharString.
| Guzzle\Plugin\Cookie\Cookie::getMaxAge | ( | ) |
Maximum lifetime of the cookie in seconds
Definition at line 179 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
Referenced by Guzzle\Plugin\Cookie\Cookie\__construct().
| Guzzle\Plugin\Cookie\Cookie::getName | ( | ) |
Get the cookie name
Definition at line 91 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
Referenced by Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar\add(), Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar\all(), and Guzzle\Plugin\Cookie\Cookie\validate().
| Guzzle\Plugin\Cookie\Cookie::getPath | ( | ) |
Get the path
Definition at line 157 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
Referenced by Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar\add(), and Guzzle\Plugin\Cookie\Cookie\matchesPath().
| Guzzle\Plugin\Cookie\Cookie::getPorts | ( | ) |
Get an array of acceptable ports this cookie can be used with
Definition at line 333 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
Referenced by Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar\add(), and Guzzle\Plugin\Cookie\Cookie\matchesPort().
| Guzzle\Plugin\Cookie\Cookie::getSecure | ( | ) |
Get whether or not this is a secure cookie
Definition at line 245 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
| Guzzle\Plugin\Cookie\Cookie::getValue | ( | ) |
Get the cookie value
Definition at line 113 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
Referenced by Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar\add(), and Guzzle\Plugin\Cookie\Cookie\validate().
| Guzzle\Plugin\Cookie\Cookie::getVersion | ( | ) |
Version of the cookie specification. RFC 2965 is 1
Definition at line 223 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
| Guzzle\Plugin\Cookie\Cookie::isExpired | ( | ) |
Check if the cookie is expired
Definition at line 488 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
References Guzzle\Plugin\Cookie\Cookie\getExpires().
Referenced by Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar\all().
| Guzzle\Plugin\Cookie\Cookie::matchesDomain | ( | $domain | ) |
Check if the cookie matches a domain value
| string | $domain | Domain to check against |
Definition at line 453 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
References Guzzle\Plugin\Cookie\Cookie\getDomain().
Referenced by Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar\all().
| Guzzle\Plugin\Cookie\Cookie::matchesPath | ( | $path | ) |
Check if the cookie matches a path value
| string | $path | Path to check against |
Definition at line 416 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
References Guzzle\Plugin\Cookie\Cookie\getPath().
Referenced by Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar\all().
| Guzzle\Plugin\Cookie\Cookie::matchesPort | ( | $port | ) |
Check if the cookie is compatible with a specific port
| int | $port | Port to check |
Definition at line 478 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
References Guzzle\Plugin\Cookie\Cookie\getPorts().
| Guzzle\Plugin\Cookie\Cookie::setAttribute | ( | $name, | |
| $value | |||
| ) |
Set a cookie data attribute
| string | $name | Name of the attribute to set |
| string | $value | Value to set |
Definition at line 402 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
| Guzzle\Plugin\Cookie\Cookie::setComment | ( | $comment | ) |
Set the comment of the cookie
| string | $comment | Cookie comment |
Definition at line 301 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
| Guzzle\Plugin\Cookie\Cookie::setCommentUrl | ( | $commentUrl | ) |
Set the comment URL of the cookie
| string | $commentUrl | Cookie comment URL for more information |
Definition at line 323 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
| Guzzle\Plugin\Cookie\Cookie::setDiscard | ( | $discard | ) |
Set whether or not this is a session cookie
| bool | $discard | Set to true or false if this is a session cookie |
Definition at line 279 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
| Guzzle\Plugin\Cookie\Cookie::setDomain | ( | $domain | ) |
Set the domain of the cookie
| string | $domain |
Definition at line 147 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
| Guzzle\Plugin\Cookie\Cookie::setExpires | ( | $timestamp | ) |
Set the unix timestamp for which the cookie will expire
| int | $timestamp | Unix timestamp |
Definition at line 213 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
Referenced by Guzzle\Plugin\Cookie\Cookie\__construct().
| Guzzle\Plugin\Cookie\Cookie::setHttpOnly | ( | $httpOnly | ) |
Set whether or not this is an HTTP only cookie
| bool | $httpOnly | Set to true or false if this is HTTP only |
Definition at line 367 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
| Guzzle\Plugin\Cookie\Cookie::setMaxAge | ( | $maxAge | ) |
Set the max-age of the cookie
| int | $maxAge | Max age of the cookie in seconds |
Definition at line 191 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
| Guzzle\Plugin\Cookie\Cookie::setName | ( | $name | ) |
Set the cookie name
| string | $name | Cookie name |
Definition at line 103 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
| Guzzle\Plugin\Cookie\Cookie::setPath | ( | $path | ) |
Set the path of the cookie
| string | $path | Path of the cookie |
Definition at line 169 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
| Guzzle\Plugin\Cookie\Cookie::setPorts | ( | array | $ports | ) |
Set a list of acceptable ports this cookie can be used with
| array | $ports | Array of acceptable ports |
Definition at line 345 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
| Guzzle\Plugin\Cookie\Cookie::setSecure | ( | $secure | ) |
Set whether or not the cookie is secure
| bool | $secure | Set to true or false if secure |
Definition at line 257 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
| Guzzle\Plugin\Cookie\Cookie::setValue | ( | $value | ) |
Set the cookie value
| string | $value | Cookie value |
Definition at line 125 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
| Guzzle\Plugin\Cookie\Cookie::setVersion | ( | $version | ) |
Set the cookie version
| string | int | $version | Version to set |
Definition at line 235 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
| Guzzle\Plugin\Cookie\Cookie::toArray | ( | ) |
Get the cookie as an array
Implements Guzzle\Common\ToArrayInterface.
Definition at line 81 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
References Guzzle\Plugin\Cookie\Cookie\$data.
Referenced by Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar\serialize().
| Guzzle\Plugin\Cookie\Cookie::validate | ( | ) |
Check if the cookie is valid according to RFC 6265
Definition at line 498 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
References Guzzle\Plugin\Cookie\Cookie\getDomain(), Guzzle\Plugin\Cookie\Cookie\getName(), and Guzzle\Plugin\Cookie\Cookie\getValue().
Referenced by Guzzle\Plugin\Cookie\CookieJar\ArrayCookieJar\add().
|
protected |
Cookie data
Definition at line 16 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
Referenced by Guzzle\Plugin\Cookie\Cookie\__construct(), and Guzzle\Plugin\Cookie\Cookie\toArray().
|
staticprotected |
Definition at line 25 of file lib/vendor/guzzle/guzzle/src/Guzzle/Plugin/Cookie/Cookie.php.
Referenced by Guzzle\Plugin\Cookie\Cookie\getInvalidCharacters().