CookieJar Class Reference

List of all members.

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()


Detailed Description

Definition at line 622 of file HttpFunctions.php.


Member Function Documentation

CookieJar::parseCookieResponseHeader ( cookie,
domain 
)

Parse the content of an Set-Cookie HTTP Response header.

Parameters:
$cookie string

Definition at line 659 of file HttpFunctions.php.

References $cookie, $name, setCookie(), and Cookie::validateCookieDomain().

CookieJar::serializeToHttpRequest ( path,
domain 
)

See also:
Cookie::serializeToHttpRequest

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.

See also:
Cookie::set()

Definition at line 629 of file HttpFunctions.php.

References $name.

Referenced by parseCookieResponseHeader().


Member Data Documentation

CookieJar::$cookie = array() [private]

Definition at line 623 of file HttpFunctions.php.

Referenced by parseCookieResponseHeader().


The documentation for this class was generated from the following file:

Generated on Sat Apr 30 22:57:34 2011 for MediaWiki by  doxygen 1.5.9