Joomla! 1.5 API

Packages

Package: Joomla-Framework

License

Content on this site is copyright © 2005 - 2011 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.

 Class JCacheStorageEaccelerator

Description

eAccelerator cache storage handler

  • since: 1.5

Located in /joomla/cache/storage/eaccelerator.php (line 25)

Class JObject   (Subpackage Base)

Abstract class JCacheStorage
   
   Class JCacheStorageEaccelerator   (Subpackage Cache)
Method Summary
Static method static boolean test ()
Constructor JCacheStorageEaccelerator __construct ([array $options = array()])
Method boolean clean (string $group, string $mode)
Method boolean gc ()
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)
Variables

Inherited Variables

Inherited from JObject

Variable JObject::$_errors
Methods
Constructor __construct (line 33)

Constructor

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

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

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.
gc (line 119)

Garbage collect expired cache data

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

Redefinition of:
JCacheStorage::gc()
Garbage collect expired cache data
get (line 51)

Get cached data 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 89)

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 73)

Store the data to 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 131)

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::getError()
 JObject::getErrors()
 JObject::getProperties()
 JObject::getPublicProperties()
 JObject::set()
 JObject::setError()
 JObject::setProperties()
 JObject::toString()
Support Joomla!