Метод |
Описание |
|
__construct ( array $params = [] ) |
Constructor. |
|
clear ( ) |
Clears all data from the cache. |
|
exists ( string $key, integer $lifetime ) : boolean |
Checks if a given key exists in the cache, valid for the given
lifetime. |
|
expire ( string $key ) : boolean |
Expire any existing data for the given key. |
|
get ( string $key, integer $lifetime ) : mixed |
Retrieve cached data. |
|
serialize ( ) |
|
|
set ( string $key, mixed $data, integer $lifetime ) |
Store an object in the cache. |
|
setLogger ( Horde_Log_Logger $logger ) |
Set the logging object. |
|
unserialize ( $data ) |
|
|