PHP 클래스 Horde_Cache_Storage_Hashtable, horde

부터: 2.2.0
저자: Michael Slusarz ([email protected])
상속: extends Horde_Cache_Storage_Base
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_hash Horde_HashTable HashTable object.

공개 메소드들

메소드 설명
__construct ( array $params = [] )
clear ( )
exists ( $key, $lifetime )
expire ( $key )
get ( $key, $lifetime )
set ( $key, $data, $lifetime )

보호된 메소드들

메소드 설명
_getKey ( string $key, boolean $ts = false ) : string Return the hashtable key.
_initOb ( )

메소드 상세

__construct() 공개 메소드

public __construct ( array $params = [] )
$params array Additional parameters:
  - hashtable: (Horde_HashTable) [REQUIRED] A Horde_HashTable object.
  - prefix: (string) The prefix to use for the cache keys.
            DEFAULT: ''

_getKey() 보호된 메소드

Return the hashtable key.
protected _getKey ( string $key, boolean $ts = false ) : string
$key string Object ID.
$ts boolean Return the timestamp key?
리턴 string Hashtable key ID.

_initOb() 보호된 메소드

protected _initOb ( )

clear() 공개 메소드

public clear ( )

exists() 공개 메소드

public exists ( $key, $lifetime )

expire() 공개 메소드

public expire ( $key )

get() 공개 메소드

public get ( $key, $lifetime )

set() 공개 메소드

public set ( $key, $data, $lifetime )

프로퍼티 상세

$_hash 보호되어 있는 프로퍼티

HashTable object.
protected Horde_HashTable $_hash
리턴 Horde_HashTable