Class PHPDS_memCache

Description

Class to handle memcached api.

Located in /cache/PHPDS_memCache.inc.php (line 18)


	
			
Variable Summary
mixed $cacheObject
mixed $timeout
Method Summary
void cacheClear ([mixed $unique_key = false])
boolean cacheEmpty (mixed $unique_key)
mixed cacheRead (mixed $unique_key)
void cacheWrite (string $unique_key, mixed $cache_data, [boolean $compress = false], [int $timeout = false])
void connectCacheServer (array $conf)
Variables
mixed $cacheObject (line 20)
  • access: public
mixed $timeout (line 21)
  • access: public
Methods
cacheClear (line 84)

Clear specific or all cache memory.

  • access: public
void cacheClear ([mixed $unique_key = false])
  • mixed $unique_key
cacheEmpty (line 99)

Checks if we have an empty cache container.

  • access: public
boolean cacheEmpty (mixed $unique_key)
  • mixed $unique_key
cacheRead (line 74)

Return exising cache result for required key.

  • access: public
mixed cacheRead (mixed $unique_key)
  • mixed $unique_key
cacheWrite (line 53)

Writes new data to cache.

  • access: public
void cacheWrite (string $unique_key, mixed $cache_data, [boolean $compress = false], [int $timeout = false])
  • string $unique_key
  • mixed $cache_data
  • boolean $compress
  • int $timeout
connectCacheServer (line 28)

Does the connection to the memcache server.

Currently memcache is the primary supported engine.

  • access: public
void connectCacheServer (array $conf)
  • array $conf

Documentation generated on Tue, 09 Aug 2011 09:05:15 +0200 by phpDocumentor 1.4.3