Class xPDOMemCache

Description

Provides a memcache-powered xPDOCache implementation.

This requires the memcache extension for PHP.

Located in /xpdo/cache/xpdomemcache.class.php (line 29)

xPDOCache
   |
   --xPDOMemCache
Variable Summary
 mixed $memcache
Method Summary
 xPDOMemCache __construct ( &$xpdo, [ $options = array()])
 void add ( $key,  $var, [ $expire = 0], [ $options = array()])
 void delete ( $key, [ $options = array()])
 void flush ([ $options = array()])
 void get ( $key, [ $options = array()])
 void replace ( $key,  $var, [ $expire = 0], [ $options = array()])
 void set ( $key,  $var, [ $expire = 0], [ $options = array()])
Variables
mixed $memcache = null (line 30)
  • access: protected

Inherited Variables

Inherited from xPDOCache

xPDOCache::$initialized
xPDOCache::$key
xPDOCache::$options
xPDOCache::$xpdo
Methods
Constructor __construct (line 32)
  • access: public
xPDOMemCache __construct ( &$xpdo, [ $options = array()])
  • &$xpdo
  • $options

Redefinition of:
xPDOCache::__construct()
add (line 63)
  • access: public
void add ( $key,  $var, [ $expire = 0], [ $options = array()])
  • $key
  • $var
  • $expire
  • $options

Redefinition of:
xPDOCache::add()
Adds a value to the cache.
delete (line 93)
  • access: public
void delete ( $key, [ $options = array()])
  • $key
  • $options

Redefinition of:
xPDOCache::delete()
Deletes a value from the cache.
flush (line 106)
  • access: public
void flush ([ $options = array()])
  • $options

Redefinition of:
xPDOCache::flush()
Flush all values from the cache.
get (line 101)
  • access: public
void get ( $key, [ $options = array()])
  • $key
  • $options

Redefinition of:
xPDOCache::get()
Gets a value from the cache.
replace (line 83)
  • access: public
void replace ( $key,  $var, [ $expire = 0], [ $options = array()])
  • $key
  • $var
  • $expire
  • $options

Redefinition of:
xPDOCache::replace()
Replaces a value in the cache.
set (line 73)
  • access: public
void set ( $key,  $var, [ $expire = 0], [ $options = array()])
  • $key
  • $var
  • $expire
  • $options

Redefinition of:
xPDOCache::set()
Sets a value in the cache.

Inherited Methods

Inherited From xPDOCache

 xPDOCache::__construct()
 xPDOCache::add()
 xPDOCache::delete()
 xPDOCache::flush()
 xPDOCache::get()
 xPDOCache::getCacheKey()
 xPDOCache::getOption()
 xPDOCache::isInitialized()
 xPDOCache::replace()
 xPDOCache::set()

Documentation generated on Fri, 17 Jun 2011 10:04:08 -0600 by phpDocumentor 1.4.3