Executes the filter with given request and response objects.
Implements Filterable. Definition at line 57 of file class_RulesAcceptedFilter.php. References Responseable.addFatalMessage(), Requestable.getRequestElement(), and Requestable.requestIsValid(). 00057 { 00058 // Get the "rules" value from request 00059 $rules = $requestInstance->getRequestElement('rules'); 00060 00061 // Was the "rules" value found in form? And is it set? 00062 if (is_null($rules)) { 00063 // Not found in form so stop processing here 00064 $requestInstance->requestIsValid(false); 00065 00066 // Add a message to the response 00067 $responseInstance->addFatalMessage('rules_unchecked'); 00068 00069 // Skip further processing 00070 return false; 00071 } 00072 }
Here is the call graph for this function:
![]()
|
1.5.6