Joomla CMS
2.5.24 (avec JPlatform 11.4 inclus)
Documentation des API du CMS Joomla en version 2.5 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
get ($id, $group, $checkTime=true) | |
getAll () | |
store ($id, $group, $data) | |
remove ($id, $group) | |
clean ($group, $mode=null) | |
gc () | |
Fonctions membres publiques inherited from JCacheStorage | |
__construct ($options=array()) | |
lock ($id, $group, $locktime) | |
unlock ($id, $group=null) |
Fonctions membres publiques statiques | |
static | test () |
Fonctions membres publiques statiques inherited from JCacheStorage | |
static | getInstance ($handler=null, $options=array()) |
static | addIncludePath ($path= '') |
Additional Inherited Members | |
Attributs publics inherited from JCacheStorage | |
$_now | |
$_lifetime | |
$_locking | |
$_language | |
$_application | |
$_hash | |
Fonctions membres protégées inherited from JCacheStorage | |
_getCacheId ($id, $group) | |
Attributs protégés inherited from JCacheStorage | |
$rawname |
JCacheStorageXcache::clean | ( | $group, | |
$mode = null |
|||
) |
Clean cache for a group given a mode.
This requires the php.ini setting xcache.admin.enable_auth = Off.
string | $group | The cache data group |
string | $mode | The mode for cleaning cache [group|notgroup] group mode : cleans all cache in the group notgroup mode : cleans all cache not in the group |
Réimplémentée à partir de JCacheStorage.
JCacheStorageXcache::gc | ( | ) |
Garbage collect expired cache data
This is a dummy, since xcache has built in garbage collector, turn it on in php.ini by changing default xcache.gc_interval setting from 0 to 3600 (=1 hour)
Réimplémentée à partir de JCacheStorage.
JCacheStorageXcache::get | ( | $id, | |
$group, | |||
$checkTime = true |
|||
) |
Get cached data by id and group
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.
JCacheStorageXcache::getAll | ( | ) |
Get all cached data
This requires the php.ini setting xcache.admin.enable_auth = Off.
Réimplémentée à partir de JCacheStorage.
JCacheStorageXcache::remove | ( | $id, | |
$group | |||
) |
Remove a cached data entry by id and group
string | $id | The cache data id |
string | $group | The cache data group |
Réimplémentée à partir de JCacheStorage.
Références $id.
JCacheStorageXcache::store | ( | $id, | |
$group, | |||
$data | |||
) |
Store the data by id and group
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.
|
static |
Test to see if the cache storage is available.
Réimplémentée à partir de JCacheStorage.