You are here

public function RestfulRateLimitRequest::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.

Overrides RestfulRateLimitInterface::isRequestedEvent

File

plugins/rate_limit/RestfulRateLimitRequest.class.php, line 13
Contains RestfulRateLimitRequest.

Class

RestfulRateLimitRequest
@file Contains RestfulRateLimitRequest.

Code

public function isRequestedEvent(array $request = array()) {
  return TRUE;
}