MediaWiki
REL1_22
|
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 194 of file Cookie.php.
CookieJar::parseCookieResponseHeader | ( | $ | cookie, |
$ | domain | ||
) |
Parse the content of an Set-Cookie HTTP Response header.
$cookie | String | |
string | $domain | cookie's domain |
Definition at line 239 of file Cookie.php.
References $cookie, $name, $value, array(), as, list, setCookie(), and Cookie\validateCookieDomain().
CookieJar::serializeToHttpRequest | ( | $ | path, |
$ | domain | ||
) |
Definition at line 218 of file Cookie.php.
References $cookies, $path, $serialized, array(), and as.
CookieJar::setCookie | ( | $ | name, |
$ | value, | ||
$ | attr | ||
) |
Set a cookie in the cookie jar.
Make sure only one cookie per-name exists.
Definition at line 201 of file Cookie.php.
Referenced by parseCookieResponseHeader().
CookieJar::$cookie = array() [private] |
Definition at line 195 of file Cookie.php.
Referenced by parseCookieResponseHeader().