37 abstract public function hasConsent($userId, $destinationId, $attributeSet);
52 abstract public function saveConsent($userId, $destinationId, $attributeSet);
65 abstract public function deleteConsent($userId, $destinationId);
81 throw new Exception(
'Not implemented: deleteAllConsents()');
94 throw new Exception(
'Not implemented: getStatistics()');
129 throw new Exception(
'Invalid configuration for consent store option: '.var_export(
$config,
true));
132 if (!array_key_exists(0,
$config)) {
133 throw new Exception(
'Consent store without name given.');
139 'sspmod_consent_Store' 143 return new $className(
$config);
__construct(&$config)
Constructor for the base class.
getStatistics()
Get statistics for all consent given in the consent store.
saveConsent($userId, $destinationId, $attributeSet)
Save consent.
deleteAllConsents($userId)
Delete all consents.
getConsents($userId)
Retrieve consents.
deleteConsent($userId, $destinationId)
Delete consent.
static parseStoreConfig($config)
Parse consent storage configuration.
static resolveClass($id, $type, $subclass=null)
Resolve module class.
hasConsent($userId, $destinationId, $attributeSet)
Check for consent.