Inheritance diagram for XcacheEngine:

Public Member Functions | |
| __auth ($reverse=false) | |
| clear () | |
| delete ($key) | |
| init ($settings) | |
| read ($key) | |
| write ($key, &$value, $duration) | |
Public Attributes | |
| $settings = array() | |
Definition at line 33 of file xcache.php.
| XcacheEngine::__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 127 of file xcache.php.
References env(), and CacheEngine::settings().
Referenced by clear().
| XcacheEngine::clear | ( | ) |
Delete all keys from the cache
Definition at line 108 of file xcache.php.
References __auth().
| XcacheEngine::delete | ( | $ | key | ) |
Delete a key from the cache
| string | $key Identifier for the data |
Reimplemented from CacheEngine.
Definition at line 99 of file xcache.php.
| XcacheEngine::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 |
Reimplemented from CacheEngine.
Definition at line 53 of file xcache.php.
| XcacheEngine::read | ( | $ | key | ) |
Read a key from the cache
| string | $key Identifier for the data |
Reimplemented from CacheEngine.
Definition at line 81 of file xcache.php.
References CacheEngine::settings().
| XcacheEngine::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 |
Reimplemented from CacheEngine.
Definition at line 69 of file xcache.php.
| XcacheEngine::$settings = array() |
1.4.7