Class PHPCrawlerCookieCacheBase

Description

Abstract baseclass for storing cookies.

  • abstract:

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


	
			
Direct descendents
Class Description
PHPCrawlerSQLiteCookieCache Class for storing/caching cookies in a SQLite-db-file.
PHPCrawlerMemoryCookieCache Class for storing/caching cookies in memory.
Method Summary
void addCookies (array $cookies)
array getCookiesForUrl (string $target_url)
Methods
addCookie (line 15)

Adds a cookie to the cookie-cache.

  • abstract:
  • access: public
void addCookie (PHPCrawlerCookieDescriptor $Cookie)

Redefined in descendants as:
addCookies (line 22)

Adds a bunch of cookies to the cookie-cache.

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

Redefined in descendants as:
getCookiesForUrl (line 30)

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

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

Redefined in descendants as:

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