Class PHPCrawlerMemoryCookieCache

Description

Class for storing/caching cookies in memory.

Located in /libs/PHPCrawler/CookieCache/PHPCrawlerMemoryCookieCache.class.php (line 8)

PHPCrawlerCookieCacheBase
   |
   --PHPCrawlerMemoryCookieCache
Variable Summary
mixed $cookies
Method Summary
void addCookies (array $cookies)
array getCookiesForUrl (string $target_url)
Variables
mixed $cookies (line 10)
  • access: protected
Methods
addCookie (line 17)

Adds a cookie to the cookie-cache.

  • access: public
void addCookie (PHPCrawlerCookieDescriptor $Cookie)

Redefinition of:
PHPCrawlerCookieCacheBase::addCookie()
Adds a cookie to the cookie-cache.
addCookies (line 34)

Adds a bunch of cookies to the cookie-cache.

  • access: public
void addCookies (array $cookies)
  • array $cookies: Numeric array conatinin the cookies to add as PHPCrawlerCookieDescriptor-objects

Redefinition of:
PHPCrawlerCookieCacheBase::addCookies()
Adds a bunch of cookies to the cookie-cache.
getCookiesForUrl (line 48)

Returns all cookies from the cache that are adressed to the given URL

  • return: Numeric array conatining all matching cookies as PHPCrawlerCookieDescriptor-objects
  • access: public
array getCookiesForUrl (string $target_url)
  • string $target_url: The target-URL

Redefinition of:
PHPCrawlerCookieCacheBase::getCookiesForUrl()
Returns all cookies from the cache that are adressed to the given URL

Inherited Methods

Inherited From PHPCrawlerCookieCacheBase

PHPCrawlerCookieCacheBase::addCookie()
PHPCrawlerCookieCacheBase::addCookies()
PHPCrawlerCookieCacheBase::getCookiesForUrl()

Documentation generated on Sun, 20 Jan 2013 21:18:50 +0200 by phpDocumentor 1.4.4