Public Member Functions | |
| __construct ($pattern) | |
| Create an AnewtValidatorPreg instance. | |
| is_valid ($value) | |
| Checks for validity. | |
Private Attributes | |
| $_pattern | |
| The regular expression used in this validator. | |
Definition at line 56 of file validator/string.lib.php.
| AnewtValidatorPreg::__construct | ( | $ | pattern | ) |
Create an AnewtValidatorPreg instance.
| $pattern | A regular expression to use for validating. |
Reimplemented from AnewtContainer.
Definition at line 66 of file validator/string.lib.php.
| AnewtValidatorPreg::is_valid | ( | $ | value | ) |
Checks for validity.
The return value should be true for valid values, and false otherwise.
| $value | The value to check for validity. |
Reimplemented from AnewtValidator.
Definition at line 83 of file validator/string.lib.php.
AnewtValidatorPreg::$_pattern [private] |
The regular expression used in this validator.
Definition at line 58 of file validator/string.lib.php.
1.5.9