Open Journal Systems  2.4.8
 All Classes Namespaces Functions Variables Groups Pages
FormValidatorCaptcha Class Reference
Inheritance diagram for FormValidatorCaptcha:

Public Member Functions

 FormValidatorCaptcha (&$form, $field, $captchaIdField, $message)
 isValid ()
- Public Member Functions inherited from FormValidator
 FormValidator (&$form, $field, $type, $message, $validator=null)
 getField ()
 getFieldValue ()
getForm ()
 getMessage ()
 getType ()
getValidator ()
 isEmptyAndOptional ()
 isValid ()
 setForm (&$form)

Detailed Description

Form validation check captcha values.

Definition at line 16 of file

Member Function Documentation

FormValidatorCaptcha::FormValidatorCaptcha ( $form,


$fieldstring Name of captcha value submitted by user
$captchaIdFieldstring Name of captcha ID field
$messagestring Key of message to display on mismatch

Definition at line 27 of file

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

Definition at line 41 of file

References DAORegistry\getDAO(), FormValidator\getFieldValue(), and FormValidator\getForm().

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