|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct (&$form, $userIp, $message, $hostname='') | |
| isValid () | |
Public Member Functions inherited from FormValidator | |
| __construct (&$form, $field, $type, $message, $validator=null) | |
| getField () | |
| getFieldValue () | |
| & | getForm () |
| getMessage () | |
| getType () | |
| & | getValidator () |
| isEmptyAndOptional () | |
Data Fields | |
| $_hostname | |
| $_userIp | |
Data Fields inherited from FormValidator | |
| $_field | |
| $_form | |
| $_message | |
| $_type | |
| $_validator | |
Form validation check reCaptcha values.
Definition at line 20 of file FormValidatorReCaptcha.inc.php.
| FormValidatorReCaptcha::__construct | ( | & | $form, |
| $userIp, | |||
| $message, | |||
$hostname = '' |
|||
| ) |
Constructor.
| $form | object |
| $userIp | string IP address of user request |
| $message | string Key of message to display on mismatch |
| $hostname | string Hostname to expect in validation response |
Definition at line 39 of file FormValidatorReCaptcha.inc.php.
| FormValidatorReCaptcha::isValid | ( | ) |
Reimplemented from FormValidator.
Definition at line 54 of file FormValidatorReCaptcha.inc.php.
References FormValidator\getForm(), and Config\getVar().
| string FormValidatorReCaptcha::$_hostname |
The hostname to expect in the validation response
Definition at line 30 of file FormValidatorReCaptcha.inc.php.
| string FormValidatorReCaptcha::$_userIp |
The initiating IP address of the user
Definition at line 25 of file FormValidatorReCaptcha.inc.php.