
Public Member Functions | |
| validate ($messagePrefix, $value) | |
| Does the validation. | |
| showJsValidationString ($typePath, $messagePrefix) | |
| Prints javascript for this validator. | |
Adding this validator does not guarantee that the email address exists!
Definition at line 7 of file EmailSyntaxValidator.class.php.
| spunQ_EmailSyntaxValidator::showJsValidationString | ( | $ | typePath, | |
| $ | messagePrefix | |||
| ) |
Prints javascript for this validator.
Should make use a call to the spunQ javascript function spunQ.form.registerValidator().
| $messagePrefix | A string to prepend to the error message key. |
Implements spunQ_IFieldValidator.
Definition at line 25 of file EmailSyntaxValidator.class.php.
| spunQ_EmailSyntaxValidator::validate | ( | $ | messagePrefix, | |
| $ | value | |||
| ) |
Does the validation.
| $messagePrefix | A string to prepend to the error message key. | |
| $value | The spunQ value to validate. |
NULL if the value was valid. Implements spunQ_IFieldValidator.
Definition at line 12 of file EmailSyntaxValidator.class.php.
1.5.9