프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_db | MongoCollection | The MongoDB Collection object for the cache data. |
메소드 | 설명 | |
---|---|---|
__construct ( array $params = [] ) | Constructor. | |
__destruct ( ) | Destructor. | |
clear ( ) | ||
exists ( $key, $lifetime ) | ||
expire ( $key ) | ||
get ( $key, $lifetime ) | ||
set ( $key, $data, $lifetime ) |
메소드 | 설명 | |
---|---|---|
_getCid ( string $key ) : string | Gets the cache ID for a key. | |
_initOb ( ) |
public __construct ( array $params = [] ) | ||
$params | array | Parameters:
- collection: (string) The collection name. - mongo_db: [REQUIRED] (Horde_Mongo_Client) A MongoDB client object. |