interface AuthcacheP13nRequestValidatorInterface in Authenticated User Page Caching (Authcache) 7.2
Interface for request validators.
Hierarchy
- interface \AuthcacheP13nRequestValidatorInterface
Expanded class hierarchy of AuthcacheP13nRequestValidatorInterface
All classes that implement AuthcacheP13nRequestValidatorInterface
File
- modules/
authcache_p13n/ includes/ AuthcacheP13nRequestValidatorInterface.inc, line 10 - Defines interface for request validators.
View source
interface AuthcacheP13nRequestValidatorInterface {
/**
* Validate and sanitize a request.
*
* Implementations must throw an AuthcacheP13nRequestInvalidInput exception
* when params contain invalid or unexpected values.
*
* @throws AuthcacheP13nRequestInvalidInput
*
* @param array $params
* The GET parameters in key-value form
*
* @return array
* Sanitized GET parameters used in subsequent processing
*/
public function validate($params);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AuthcacheP13nRequestValidatorInterface:: |
public | function | Validate and sanitize a request. | 4 |