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


Public Member Functions | |
| init ($settings=array()) | |
| gc () | |
| write ($key, $data=null, $duration=null) | |
| read ($key) | |
| delete ($key) | |
| clear ($check=true) | |
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() | |
Data Fields inherited from XoopsCacheEngine | |
| $settings | |
| clear | ( | $check = true | ) |
Delete all values from the cache
| boolean | $check | Optional - only delete expired cache items |
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
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, | |
$data = null, |
|||
$duration = null |
|||
| ) |
Write data for key into cache
| string | $key | Identifier for the data |
| mixed | $data | Data to be cached |
| mixed | $duration | How long to cache the data, in seconds |
Reimplemented from XoopsCacheEngine.
| $settings = array() |