Class xPDOAPCCache

Description

Provides an APC-powered xPDOCache implementation.

This requires the APC extension for PHP, version 3.1.4 or later. Earlier versions did not have all the necessary user cache methods.

Located in /xpdo/cache/xpdoapccache.class.php (line 30)

xPDOCache
   |
   --xPDOAPCCache
Method Summary
 xPDOAPCCache __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
Methods
Constructor __construct (line 31)
  • access: public
xPDOAPCCache __construct ( &$xpdo, [ $options = array()])
  • &$xpdo
  • $options

Redefinition of:
xPDOCache::__construct()
add (line 40)
  • 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 70)
  • access: public
void delete ( $key, [ $options = array()])
  • $key
  • $options

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

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

Redefinition of:
xPDOCache::get()
Gets a value from the cache.
replace (line 58)
  • 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 49)
  • 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:05 -0600 by phpDocumentor 1.4.3