Method | Description | |
---|---|---|
__construct ( SQLite3 $sqlite, string $table ) | Constructor. |
Method | Description | |
---|---|---|
doContains ( $id ) | ||
doDelete ( $id ) | ||
doFetch ( $id ) | ||
doFlush ( ) | ||
doGetStats ( ) | ||
doSave ( $id, $data, $lifeTime ) |
Method | Description | |
---|---|---|
findById ( mixed $id, boolean $includeData = true ) : array | null | Find a single row by ID. | |
getFields ( ) : array | Gets an array of the fields in our table. | |
isExpired ( array $item ) : boolean | Check if the item is expired. |
public __construct ( SQLite3 $sqlite, string $table ) | ||
$sqlite | SQLite3 | |
$table | string |