API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
JCacheStorageApc::__construct | ( | $ | options = array() | ) |
Constructor
protected
array | $options | optional parameters |
Réimplémentée à partir de JCacheStorage.
Références $config, et JFactory::getConfig().
JCacheStorageApc::_getCacheId | ( | $ | id, |
$ | group | ||
) |
Get a cache_id string from an id/group pair
private
string | $id | The cache data id |
string | $group | The cache data group |
Références $name.
JCacheStorageApc::_setExpire | ( | $ | key | ) |
Set expire time on each call since memcache sets it on cache creation.
private
string | $key | Cache key to expire. |
integer | $lifetime | Lifetime of the data in seconds. |
JCacheStorageApc::clean | ( | $ | group, |
$ | mode | ||
) |
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
public
string | $group | The cache data group |
string | $mode | The mode for cleaning cache [group|notgroup] |
Réimplémentée à partir de JCacheStorage.
JCacheStorageApc::get | ( | $ | id, |
$ | group, | ||
$ | checkTime | ||
) |
Get cached data from APC by id and group
public
string | $id | The cache data id |
string | $group | The cache data group |
boolean | $checkTime | True to verify cache time expiration threshold |
Réimplémentée à partir de JCacheStorage.
JCacheStorageApc::remove | ( | $ | id, |
$ | group | ||
) |
Remove a cached data entry by id and group
public
string | $id | The cache data id |
string | $group | The cache data group |
Réimplémentée à partir de JCacheStorage.
JCacheStorageApc::store | ( | $ | id, |
$ | group, | ||
$ | data | ||
) |
Store the data to APC by id and group
public
string | $id | The cache data id |
string | $group | The cache data group |
string | $data | The data to store in cache |
Réimplémentée à partir de JCacheStorage.
Références $data.
JCacheStorageApc::test | ( | ) | [static] |
Test to see if the cache storage is available.
public
Réimplémentée à partir de JCacheStorage.