프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_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 array $_objectcache | ||
리턴 | array |