![]() |
API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|


Public Member Functions | |
| init ($settings=array()) | |
| gc () | |
| write ($key, $value, $duration=null) | |
| read ($key) | |
| delete ($key) | |
| clear ($check=null) | |
Public Member Functions inherited from XoopsCacheEngine | |
| init ($settings=array()) | |
| gc () | |
| write ($key, $value, $duration=null) | |
| read ($key) | |
| delete ($key) | |
| clear ($check) | |
| settings () | |
Data Fields | |
| $settings = array() | |
| $model | |
| $fields = array() | |
Data Fields inherited from XoopsCacheEngine | |
| $settings | |
| clear | ( | $check = null | ) |
Delete all keys from the cache
Reimplemented from XoopsCacheEngine.
| delete | ( | $key | ) |
Delete a key from the cache
| string | $key | Identifier for the data |
Reimplemented from XoopsCacheEngine.
| gc | ( | ) |
Garbage collection. Permanently remove all expired and deleted data
@access public
Reimplemented from XoopsCacheEngine.
| init | ( | $settings = array() | ) |
Initialize the Cache Engine
Called automatically by the cache frontend To reinitialize the settings call Cache::engine('EngineName', [optional] settings = array());
| array | $settings | array of setting for the engine |
Reimplemented from XoopsCacheEngine.

| read | ( | $key | ) |
Read a key from the cache
| string | $key | Identifier for the data |
Reimplemented from XoopsCacheEngine.
| write | ( | $key, | |
| $value, | |||
$duration = null |
|||
| ) |
Write data for key into cache
| string | $key | Identifier for the data |
| mixed | $value | Data to be cached |
| integer | $duration | How long to cache the data, in seconds |
Reimplemented from XoopsCacheEngine.
| $fields = array() |
| $model |
| $settings = array() |