Framework
3.9
|
Tests wheteher a field's value matches the supplied regular expression. More...
Public Member Functions | |
RegularExpressionValidator ($field, $title, $regexp, $message) | |
writeClient () | |
validate () | |
Public Member Functions inherited from AbstractValidator | |
AbstractValidator ($field, $title) | |
Public Attributes | |
$regexp | |
$message | |
Public Attributes inherited from AbstractValidator | |
$field | |
$title | |
Tests wheteher a field's value matches the supplied regular expression.
JDG 2/2012 - allow empty - validate nonempty if required with RequiredValidator.
Definition at line 949 of file validation.inc.
RegularExpressionValidator::RegularExpressionValidator | ( | $field, | |
$title, | |||
$regexp, | |||
$message | |||
) |
Definition at line 954 of file validation.inc.
RegularExpressionValidator::validate | ( | ) |
RegularExpressionValidator::writeClient | ( | ) |
Reimplemented from AbstractValidator.
Definition at line 963 of file validation.inc.
RegularExpressionValidator::$message |
Definition at line 952 of file validation.inc.
RegularExpressionValidator::$regexp |
Definition at line 951 of file validation.inc.