public function RestfulRateLimitInterface::isRequestedEvent in RESTful 7
Checks if the current request meets the event for the implementing class.
Parameters
array $request: (optional) The request array.
Return value
boolean TRUE if the event is met and the rate limit hits counter should be incremented.
2 methods override RestfulRateLimitInterface::isRequestedEvent()
- RestfulRateLimitGlobal::isRequestedEvent in plugins/
rate_limit/ RestfulRateLimitGlobal.class.php - Only track the global limit for the current user if the variable is on.
- RestfulRateLimitRequest::isRequestedEvent in plugins/
rate_limit/ RestfulRateLimitRequest.class.php - Checks if the current request meets the event for the implementing class.
File
- plugins/
rate_limit/ RestfulRateLimitInterface.php, line 19 - Contains RestfulRateLimitInterface.
Class
- RestfulRateLimitInterface
- @file Contains RestfulRateLimitInterface.
Code
public function isRequestedEvent(array $request = array());