Method |
Description |
|
__construct ( ) |
constructor |
|
_removeFileIfTtlExpired ( string $sFile, integer $iTTL ) : true |
remove file from dist if TTL expored |
|
delData ( string $sKey ) : result |
Delete cache file. |
|
getData ( string $sKey, integer $iTTL = false ) : the |
Get all data from the cache file. |
|
getSizeByPrefix ( $s ) |
get size of cached data by name prefix |
|
removeAllByPrefix ( $s ) : true |
remove all data from cache by key prefix |
|
setData ( string $sKey, mixed $mixedData, integer $iTTL = false ) : boolean |
Save all data in cache file. |
|