spunQ_IFormValidator Interface Reference

Validator for forms. More...

Inheritance diagram for spunQ_IFormValidator:

spunQ_DateRangeValidator

List of all members.

Public Member Functions

 validateForm (spunQ_Form $form)
 Validates the form.


Detailed Description

Validator for forms.

For any validation needs that are not covered by field validators. An example might be validator that ensures that a client does not submit too many form in a short time period.

Definition at line 9 of file IFormValidator.interface.php.


Member Function Documentation

spunQ_IFormValidator::validateForm ( spunQ_Form form  ) 

Validates the form.

Returns:
array<string> Array of error messages to be displayed. If the array is empty, no errors were encountered.

Implemented in spunQ_DateRangeValidator.


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

Generated on Fri Jul 1 11:12:41 2011 for spunQ3 by  doxygen 1.5.9