MediaWiki
1.23.5
|
Public Member Functions | |
parseCookieResponseHeader ( $cookie, $domain) | |
Parse the content of an Set-Cookie HTTP Response header. More... | |
serializeToHttpRequest ( $path, $domain) | |
setCookie ( $name, $value, $attr) | |
Set a cookie in the cookie jar. More... | |
Private Attributes | |
$cookie = array() | |
Definition at line 207 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 252 of file Cookie.php.
References $cookie, $name, $value, array(), as, list, setCookie(), and Cookie\validateCookieDomain().
CookieJar::serializeToHttpRequest | ( | $path, | |
$domain | |||
) |
Definition at line 231 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 214 of file Cookie.php.
Referenced by parseCookieResponseHeader(), and MWHttpRequest\setCookie().
|
private |
Definition at line 208 of file Cookie.php.
Referenced by parseCookieResponseHeader().