![]() |
XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Graphe d'héritage de XoopsCacheEngine:Fonctions membres publiques | |
| init ($settings=array()) | |
| gc () | |
| write ($key, $value, $duration=null) | |
| read ($key) | |
| delete ($key) | |
| clear ($check) | |
| settings () | |
Champs de données | |
| $settings | |
| clear | ( | $check | ) |
Delete all keys from the cache
| boolean | $check | if true will check expiration, otherwise delete all |
Réimplémentée dans XoopsCacheFile, XoopsCacheModel, XoopsCacheMemcache, XoopsCacheXcache, et XoopsCacheApc.
| delete | ( | $key | ) |
Delete a key from the cache
| string | $key | Identifier for the data |
Réimplémentée dans XoopsCacheFile, XoopsCacheModel, XoopsCacheMemcache, XoopsCacheXcache, et XoopsCacheApc.
| gc | ( | ) |
Garbage collection
Permanently remove all expired and deleted data
@access public
Réimplémentée dans XoopsCacheFile, et XoopsCacheModel.
| init | ( | $settings = array() | ) |
Iitialize the cache engine
Called automatically by the cache frontend
| array | $settings | Associative array of parameters for the engine |
Réimplémentée dans XoopsCacheFile, XoopsCacheModel, XoopsCacheMemcache, XoopsCacheXcache, et XoopsCacheApc.
Voici le graphe d'appel pour cette fonction :| read | ( | $key | ) |
Read a key from the cache
| string | $key | Identifier for the data |
Réimplémentée dans XoopsCacheFile, XoopsCacheModel, XoopsCacheMemcache, XoopsCacheXcache, et XoopsCacheApc.
| settings | ( | ) |
Cache Engine settings
Voici le graphe des appelants de cette fonction :| write | ( | $key, | |
| $value, | |||
$duration = null |
|||
| ) |
Write value for a key into cache
| string | $key | Identifier for the data |
| mixed | $value | Data to be cached |
| mixed | $duration | How long to cache the data, in seconds |
Réimplémentée dans XoopsCacheModel, XoopsCacheMemcache, XoopsCacheXcache, XoopsCacheApc, et XoopsCacheFile.