MediaWiki
REL1_19
|
Public Member Functions | |
parseCookieResponseHeader ($cookie, $domain) | |
Parse the content of an Set-Cookie HTTP Response header. | |
serializeToHttpRequest ($path, $domain) | |
setCookie ($name, $value, $attr) | |
Set a cookie in the cookie jar. | |
Private Attributes | |
$cookie = array() |
Definition at line 174 of file Cookie.php.
CookieJar::parseCookieResponseHeader | ( | $ | cookie, |
$ | domain | ||
) |
Parse the content of an Set-Cookie HTTP Response header.
$cookie | String |
$domain | String: cookie's domain |
Definition at line 217 of file Cookie.php.
References $cookie, setCookie(), and Cookie\validateCookieDomain().
CookieJar::serializeToHttpRequest | ( | $ | path, |
$ | domain | ||
) |
Definition at line 197 of file Cookie.php.
References $path, and $serialized.
CookieJar::setCookie | ( | $ | name, |
$ | value, | ||
$ | attr | ||
) |
Set a cookie in the cookie jar.
Make sure only one cookie per-name exists.
Definition at line 181 of file Cookie.php.
Referenced by parseCookieResponseHeader(), and MWHttpRequest\setCookie().
CookieJar::$cookie = array() [private] |
Definition at line 175 of file Cookie.php.
Referenced by parseCookieResponseHeader().