Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Joomla-Framework

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class JCacheStorageApc

Description

APC cache storage handler

Located in /joomla/cache/storage/apc.php (line 26)

Class JObject   (Subpackage Base)

Abstract class JCacheStorage
   
   Class JCacheStorageApc   (Subpackage Cache)
Method Summary
Static method static boolean test ()
Constructor JCacheStorageApc __construct ([array $options = array()])
Method boolean clean (string $group, string $mode)
Method mixed get (string $id, string $group, boolean $checkTime)
Method boolean remove (string $id, string $group)
Method boolean store (string $id, string $group, string $data)
Methods
Constructor __construct (line 34)

Constructor

  • access: protected
JCacheStorageApc __construct ([array $options = array()])
  • array $options: optional parameters

Redefinition of:
JCacheStorage::__construct()
Constructor
clean (line 101)

Clean cache for a group given a mode.

group mode : cleans all cache in the group notgroup mode : cleans all cache not in the group

  • return: True on success, false otherwise
  • since: 1.5
  • access: public
boolean clean (string $group, string $mode)
  • string $group: The cache data group
  • string $mode: The mode for cleaning cache [group|notgroup]

Redefinition of:
JCacheStorage::clean()
Clean cache for a group given a mode.
get (line 52)

Get cached data from APC by id and group

  • return: Boolean false on failure or a cached data string
  • since: 1.5
  • access: public
mixed get (string $id, string $group, boolean $checkTime)
  • string $id: The cache data id
  • string $group: The cache data group
  • boolean $checkTime: True to verify cache time expiration threshold

Redefinition of:
JCacheStorage::get()
Get cached data by id and group
remove (line 83)

Remove a cached data entry by id and group

  • return: True on success, false otherwise
  • since: 1.5
  • access: public
boolean remove (string $id, string $group)
  • string $id: The cache data id
  • string $group: The cache data group

Redefinition of:
JCacheStorage::remove()
Remove a cached data entry by id and group
store (line 68)

Store the data to APC by id and group

  • return: True on success, false otherwise
  • since: 1.5
  • access: public
boolean store (string $id, string $group, string $data)
  • string $id: The cache data id
  • string $group: The cache data group
  • string $data: The data to store in cache

Redefinition of:
JCacheStorage::store()
Store the data to cache by id and group
test (line 125)

Test to see if the cache storage is available.

  • return: True on success, false otherwise.
  • access: public
boolean test ()

Redefinition of:
JCacheStorage::test()
Test to see if the storage handler is available.

Inherited Methods

Inherited From JCacheStorage

 JCacheStorage::__construct()
 JCacheStorage::clean()
 JCacheStorage::gc()
 JCacheStorage::get()
 JCacheStorage::getInstance()
 JCacheStorage::remove()
 JCacheStorage::store()
 JCacheStorage::test()

Inherited From JObject

 JObject::JObject()
 JObject::__construct()
 JObject::get()
 JObject::getPublicProperties()
 JObject::set()
 JObject::toString()

Documentation generated on Mon, 05 Mar 2007 20:52:02 +0000 by phpDocumentor 1.3.1