|
XOOPS 2.5.6
Final
|

Public Member Functions | |
| clear ($check) | |
| delete ($key) | |
| gc () | |
| init ($settings=array()) | |
| read ($key) | |
| settings () | |
| write ($key, $value=null, $duration=null) | |
Public Attributes | |
| $settings | |
Definition at line 394 of file xoopscache.php.
| XoopsCacheEngine::clear | ( | $check | ) |
Delete all keys from the cache
| boolean | $check | if true will check expiration, otherwise delete all |
Definition at line 476 of file xoopscache.php.
| XoopsCacheEngine::delete | ( | $key | ) |
Delete a key from the cache
| string | $key | Identifier for the data |
Definition at line 465 of file xoopscache.php.
| XoopsCacheEngine::gc | ( | ) |
Garbage collection
Permanently remove all expired and deleted data
public
Definition at line 428 of file xoopscache.php.
| XoopsCacheEngine::init | ( | $settings = array() | ) |
Iitialize the cache engine
Called automatically by the cache frontend
| array | $params | Associative array of parameters for the engine |
Definition at line 413 of file xoopscache.php.
References $settings, and settings().

| XoopsCacheEngine::read | ( | $key | ) |
Read a key from the cache
| string | $key | Identifier for the data |
Definition at line 453 of file xoopscache.php.
| XoopsCacheEngine::settings | ( | ) |
Cache Engine settings
Definition at line 486 of file xoopscache.php.
References $settings.
Referenced by init().

| XoopsCacheEngine::write | ( | $key, | |
$value = null, |
|||
$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 |
Definition at line 441 of file xoopscache.php.
| XoopsCacheEngine::$settings |
Definition at line 402 of file xoopscache.php.
Referenced by init(), and settings().