|
XOOPS 2.5.6
Final
|

Public Member Functions | |
| clear () | |
| connect ($host, $port=11211) | |
| delete ($key) | |
| init ($settings=array()) | |
| 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 | |
| $memcache = null | |
| $settings = array() | |
Public Attributes inherited from XoopsCacheEngine | |
| $settings | |
Definition at line 54 of file memcache.php.
| XoopsCacheMemcache::clear | ( | ) |
Delete all keys from the cache
Definition at line 157 of file memcache.php.
| XoopsCacheMemcache::connect | ( | $host, | |
$port = 11211 |
|||
| ) |
Connects to a server in connection pool
| string | $host | host ip address or name |
| integer | $port | Server port |
Definition at line 169 of file memcache.php.
| XoopsCacheMemcache::delete | ( | $key | ) |
Delete a key from the cache
| string | $key | Identifier for the data |
Definition at line 147 of file memcache.php.
| XoopsCacheMemcache::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 | $setting | array of setting for the engine |
Definition at line 82 of file memcache.php.
| XoopsCacheMemcache::read | ( | $key | ) |
Read a key from the cache
| string | $key | Identifier for the data |
Definition at line 136 of file memcache.php.
| XoopsCacheMemcache::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 125 of file memcache.php.
| XoopsCacheMemcache::$memcache = null |
Definition at line 62 of file memcache.php.
| XoopsCacheMemcache::$settings = array() |
Definition at line 71 of file memcache.php.