$ttl
$ttl : integer
Global time-to-live
SQLite cache adapter class
setTtl(integer $ttl) : \Pop\Cache\Adapter\AbstractAdapter
Set the global time-to-live for the cache adapter
integer | $ttl |
saveItem(string $id, mixed $value, integer $ttl = null) : \Pop\Cache\Adapter\Sqlite
Save an item to cache
string | $id | |
mixed | $value | |
integer | $ttl |
deleteItem(string $id) : \Pop\Cache\Adapter\Sqlite
Delete a value in cache
string | $id |
clear() : \Pop\Cache\Adapter\Sqlite
Clear all stored values from cache
destroy() : \Pop\Cache\Adapter\Sqlite
Destroy cache resource
setDb(string $db) : \Pop\Cache\Adapter\Sqlite
Set the current cache db file.
string | $db |
setTable(string $table) : \Pop\Cache\Adapter\Sqlite
Set the cache db table
string | $table |
prepare(string $sql) : \Pop\Cache\Adapter\Sqlite
Prepare a SQL query
string | $sql |
bindParams(array $params) : \Pop\Cache\Adapter\Sqlite
Bind parameters to for a prepared SQL query
array | $params |