Public Member Functions | |
setCookie ($name, $value, $attr) | |
Set a cookie in the cookie jar. | |
serializeToHttpRequest ($path, $domain) | |
parseCookieResponseHeader ($cookie, $domain) | |
Parse the content of an Set-Cookie HTTP Response header. | |
Private Attributes | |
$cookie = array() |
Definition at line 622 of file HttpFunctions.php.
CookieJar::parseCookieResponseHeader | ( | $ | cookie, | |
$ | domain | |||
) |
Parse the content of an Set-Cookie HTTP Response header.
$cookie | string |
Definition at line 659 of file HttpFunctions.php.
References $cookie, $name, setCookie(), and Cookie::validateCookieDomain().
CookieJar::serializeToHttpRequest | ( | $ | path, | |
$ | domain | |||
) |
Definition at line 644 of file HttpFunctions.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 629 of file HttpFunctions.php.
References $name.
Referenced by parseCookieResponseHeader().
CookieJar::$cookie = array() [private] |