|
XOOPS 2.5.6
Final
|

Public Member Functions | |
| __auth ($reverse=false) | |
| clear () | |
| delete ($key) | |
| init ($settings) | |
| read ($key) | |
| write ($key, &$value, $duration) | |
Public Member Functions inherited from XoopsCacheEngine | |
| clear ($check) | |
| delete ($key) | |
| gc () | |
| init ($settings=array()) | |
| read ($key) | |
| settings () | |
| write ($key, $value=null, $duration=null) | |
Public Attributes | |
| $settings = array() | |
Public Attributes inherited from XoopsCacheEngine | |
| $settings | |
Definition at line 54 of file xcache.php.
| XoopsCacheXcache::__auth | ( | $reverse = false | ) |
Populates and reverses $_SERVER authentication values Makes necessary changes (and reverting them back) in $_SERVER
This has to be done because xcache_clear_cache() needs to pass Basic Http Auth (see xcache.admin configuration settings)
| boolean | $ Revert changes private |
Definition at line 155 of file xcache.php.
References $_SERVER.
| XoopsCacheXcache::clear | ( | ) |
Delete all keys from the cache
Definition at line 131 of file xcache.php.
| XoopsCacheXcache::delete | ( | $key | ) |
Delete a key from the cache
| string | $key | Identifier for the data |
Definition at line 120 of file xcache.php.
| XoopsCacheXcache::init | ( | $settings | ) |
Initialize the Cache Engine
Called automatically by the cache frontend To reinitialize the settings call Cache::engine('EngineName', [optional] settings = array());
| array | $setting | array of setting for the engine |
Definition at line 76 of file xcache.php.
| XoopsCacheXcache::read | ( | $key | ) |
Read a key from the cache
| string | $key | Identifier for the data |
Definition at line 105 of file xcache.php.
| XoopsCacheXcache::write | ( | $key, | |
| & | $value, | ||
| $duration | |||
| ) |
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 |
Definition at line 93 of file xcache.php.
| XoopsCacheXcache::$settings = array() |
Definition at line 64 of file xcache.php.