interface AuthcacheP13nSettingAccessInterface in Authenticated User Page Caching (Authcache) 7.2
Interface for personalization setting access checkers.
Hierarchy
- interface \AuthcacheP13nSettingAccessInterface
Expanded class hierarchy of AuthcacheP13nSettingAccessInterface
All classes that implement AuthcacheP13nSettingAccessInterface
File
- modules/
authcache_p13n/ includes/ AuthcacheP13nSettingAccessInterface.inc, line 10 - Defines authcache personalized setting access checker.
View source
interface AuthcacheP13nSettingAccessInterface {
/**
* Check whether the user has access to the given setting.
*
* @param object $account
* The user account to check.
*
* @param any $params
* Params set by the client.
*
* @param array $context
* Additional run-time per-request context (key-value pairs).
*
* @return bool
* Return TRUE when the user has access, FALSE otherwise.
*/
public function check($account, $params, $context);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AuthcacheP13nSettingAccessInterface:: |
public | function | Check whether the user has access to the given setting. | 1 |