Tries to validate to the text $text and returns one of the validator states EZ_INPUT_VALIDATOR_STATE_ACCEPTED, EZ_INPUT_VALIDATOR_STATE_INTERMEDIATE or EZ_INPUT_VALIDATOR_STATE_INVALID. This returns EZ_INPUT_VALIDATOR_STATE_ACCEPTED as default and must be reimplemented in real valiators.
Reimplemented from eZInputValidator.
Reimplemented in eZIntegerValidator.
Definition at line ezregexpvalidator.php.
References RegExpRule.
Referenced by eZIntegerValidator::validate(), and eZFloatValidator::validate(). |