Свойство | Тип | Описание | |
---|---|---|---|
$_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). |
Метод | Описание | |
---|---|---|
__construct ( array $params = [] ) | Construct a new Horde_Cache_Memcache object. | |
clear ( ) | ||
exists ( $key, $lifetime ) | ||
expire ( $key ) | ||
get ( $key, $lifetime ) | ||
set ( $key, $data, $lifetime ) |
Метод | Описание | |
---|---|---|
_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 | ||
Результат | Horde_Memcache |
protected array $_objectcache | ||
Результат | array |