Метод |
Описание |
|
__construct ( string $db, string $table = 'pop_cache', boolean $pdo = false ) : Sqlite |
Constructor |
|
clear ( ) : void |
Method to clear all stored values from cache. |
|
delete ( ) : void |
Method to delete the entire database file |
|
getDb ( ) : string |
Method to get the current cache db file. |
|
getTable ( ) : string |
Method to get the current cache db table. |
|
load ( string $id, string $time ) : mixed |
Method to load a value from cache. |
|
remove ( string $id ) : void |
Method to delete a value in cache. |
|
save ( string $id, mixed $value, string $time ) : void |
Method to save a value to cache. |
|
setTable ( string $table = 'pop_cache' ) : Sqlite |
Method to Set the cache db table. |
|