60 $this->database->deleteData(
$delete);
102 return $this->database->insertData($insert);
114 $select->select(
'*');
117 $row = $this->database->getDataRow($select);
136 return $this->database->deleteData(
$delete);
Exception thrown if an argument is not of the expected type.
getTTL()
Get the configured Time-To-Live of the HMAC keys.
__construct(Database $database)
Create a new table handler.
deleteHMAC(string $hmac)
Delete a HMAC key from the database.
loadHMAC(string $hmac)
Load a HMAC key from the database.
trait TimeUsing
Adds methods for setting the current time (for testing)
setTTL(int $ttl=0)
Set the Time-To-Live of HMAC keys.
__destruct()
Cleanup expired HMAC keys.
getCurrentTime($modifier= '')
Get the (cloned) time.
storeHMAC(string $hmac)
Store a HMAC key for later use.
static intoTable($table)
{}
if(empty($entity_guid)||empty($recipient)||empty($muted_settings)||empty($hmac_token)) $hmac
Manage the contents of the hmac_cache table.
const ELGG_VALUE_TIMESTAMP
static fromTable($table, $alias=null)
{}
static fromTable($table, $alias=null)
{}