FormValidatorCaptcha Class Reference
[Form_validation]

Form validation check captcha values. More...

Inheritance diagram for FormValidatorCaptcha:

FormValidator

List of all members.

Public Member Functions

 FormValidatorCaptcha (&$form, $field, $captchaIdField, $message)
 isValid ()


Detailed Description

Form validation check captcha values.

Definition at line 18 of file FormValidatorCaptcha.inc.php.


Member Function Documentation

FormValidatorCaptcha.FormValidatorCaptcha ( &$  form,
field,
captchaIdField,
message 
)

Constructor.

Parameters:
$form object
$field string Name of captcha value submitted by user
$captchaIdField string Name of captcha ID field
$message string Key of message to display on mismatch

Definition at line 28 of file FormValidatorCaptcha.inc.php.

References FormValidator.$field, FormValidator.$form, and FormValidator.$message.

FormValidatorCaptcha.isValid (  ) 

Determine whether or not the form meets this Captcha constraint.

Returns:
boolean

Reimplemented from FormValidator.

Definition at line 37 of file FormValidatorCaptcha.inc.php.

References DAORegistry.getDAO().


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

Generated on Mon Jul 14 10:55:42 2008 for Open Journal Systems by  doxygen 1.5.6