|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct ($regExp) | |
| isValid ($value) | |
Data Fields | |
| $_regExp | |
Validation check using a regular expression.
Definition at line 19 of file ValidatorRegExp.inc.php.
| ValidatorRegExp::__construct | ( | $regExp | ) |
Constructor.
| $regExp | string the regular expression (PCRE form) |
Definition at line 31 of file ValidatorRegExp.inc.php.
| ValidatorRegExp::isValid | ( | $value | ) |
Check whether the given value is valid.
| $value | mixed the value to be checked |
Reimplemented from Validator.
Definition at line 38 of file ValidatorRegExp.inc.php.
References ValidatorFactory\make().
| The ValidatorRegExp::$_regExp |
regular expression to match against the field value
Definition at line 25 of file ValidatorRegExp.inc.php.