Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
FormValidatorReCaptcha Class Reference
Inheritance diagram for FormValidatorReCaptcha:

Public Member Functions

 FormValidatorReCaptcha (&$form, $challengeField, $responseField, $userIp, $message)
 isValid ()
- Public Member Functions inherited from FormValidator
 FormValidator (&$form, $field, $type, $message, $validator=null)
 getField ()
 getFieldValue ()
getForm ()
 getMessage ()
 getType ()
getValidator ()
 isEmptyAndOptional ()
 isValid ()

Public Attributes

- Public Attributes inherited from FormValidator

Detailed Description

Form validation check reCaptcha values.

Definition at line 16 of file

Member Function Documentation

FormValidatorReCaptcha::FormValidatorReCaptcha ( $form,


$userIpstring IP address of user request
$messagestring Key of message to display on mismatch

Definition at line 41 of file

References FormValidator\getForm(), and Config\getVar().

FormValidatorReCaptcha::isValid ( )
See Also
FormValidator::isValid() Determine whether or not the Form meets this ReCaptcha constraint.

Definition at line 57 of file

Member Data Documentation

string FormValidatorReCaptcha::$_challengeField

reCaptcha challenge form field

Definition at line 21 of file

string FormValidatorReCaptcha::$_responseField

reCaptcha response form field

Definition at line 27 of file

The documentation for this class was generated from the following file: