Свойство | Type | Description | |
---|---|---|---|
$_memcache | Horde_Memcache | Memcache object. | |
$_objectcache | array | Cache results of exists()/get() calls (since we will get the entire object on an exists() call anyway). |
Méthode | Description | |
---|---|---|
__construct ( array $params = [] ) | Construct a new Horde_Cache_Memcache object. | |
clear ( ) | ||
exists ( $key, $lifetime ) | ||
expire ( $key ) | ||
get ( $key, $lifetime ) | ||
set ( $key, $data, $lifetime ) |
Méthode | Description | |
---|---|---|
_initOb ( ) |
public __construct ( array $params = [] ) | ||
$params | array | Parameter array:
- memcache: (Horde_Memcache) [REQUIRED] A Horde_Memcache object. - prefix: (string) The prefix to use for the cache keys. DEFAULT: '' |
protected Horde_Memcache $_memcache | ||
Résultat | Horde_Memcache |
protected array $_objectcache | ||
Résultat | array |