Class APCCache

Description

Located in /system/classes/apccache.php (line 9)

Cache
   |
   --APCCache
Variable Summary
mixed $enabled
Method Summary
APCCache __construct ()
void _expire (string $name,  $group)
void _extend (string $name, integer $expiry,  $group)
mixed _get (string $name,  $group)
array _get_group ( $group, string $name)
boolean _has (string $name,  $group)
boolean _has_group ( $group, string $name)
void _set ( $name,  $value,  $expiry,  $group)
Variables
mixed $enabled = false (line 11)
  • access: protected

Inherited Variables

Inherited from Cache

Cache::$default_group
Cache::$instance
Methods
Constructor __construct (line 16)

Constructor for APCCache

  • access: public
APCCache __construct ()
_expire (line 111)

Expires the named value from the cache.

  • access: protected
void _expire (string $name,  $group)
  • string $name: The name of the cached item
  • $group

Redefinition of:
Cache::_expire()
A cache instance implements this to expire the named value from the cache.
_extend (line 125)

Extend the expiration of the named cached value.

  • access: protected
void _extend (string $name, integer $expiry,  $group)
  • string $name: The name of the cached item
  • integer $expiry: The duration in seconds to extend the cache expiration by
  • $group

Redefinition of:
Cache::_extend()
A cache instance implements this to extend the expiration of the named cached value.
_get (line 45)

Returns the named value from the cache.

  • return: The item value or NULL if it doesn't exist in cache
  • access: protected
mixed _get (string $name,  $group)
  • string $name: The name of the cached item
  • $group

Redefinition of:
Cache::_get()
A cache instance implements this to return the named value from the cache.
_get_group (line 59)

Returns the named values from a group of cache.

  • return: The cache records of the group
  • access: protected
array _get_group ( $group, string $name)
  • string $name: The name of the cached item
  • $group

Redefinition of:
Cache::_get_group()
A cache instance implements this to return the group from the cache.
_has (line 31)

Is record with $name in the cache?

  • return: TRUE if item is cached, FALSE if not
  • access: protected
boolean _has (string $name,  $group)
  • string $name: name of the cached item
  • $group

Redefinition of:
Cache::_has()
A cache instance implements this function to return whether a named cache exists.
_has_group (line 82)

Is group named $group in the cache?

  • return: TRUE if group is cached, FALSE if not
  • access: protected
boolean _has_group ( $group, string $name)
  • string $name: name of the cached item
  • $group

Redefinition of:
Cache::_has_group()
A cache instance implements this function to return whether a group exists.
_set (line 98)
  • access: protected
void _set ( $name,  $value,  $expiry,  $group)
  • $name
  • $value
  • $expiry
  • $group

Redefinition of:
Cache::_set()
A cache instance implements this to set the named value in the cache with an expiration.

Inherited Methods

Inherited From Cache

Cache::expire()
Cache::extend()
Cache::get()
Cache::get_group()
Cache::has()
Cache::has_group()
Cache::set()
Cache::_expire()
Cache::_extend()
Cache::_get()
Cache::_get_group()
Cache::_has()
Cache::_has_group()
Cache::_set()
Cache::__static()

Documentation generated on Thu, 30 Oct 2008 20:31:02 +0100 by phpDocumentor 1.3.2