Public Member Functions |
| __construct ($pattern) |
| getPattern () |
| setPattern ($pattern) |
| isValid ($value) |
Data Fields |
const | INVALID = 'regexInvalid' |
const | NOT_MATCH = 'regexNotMatch' |
Protected Attributes |
| $_messageTemplates |
| $_messageVariables |
| $_pattern |
Detailed Description
Definition at line 36 of file Regex.php.
Constructor & Destructor Documentation
__construct |
( |
$ |
pattern ) |
|
Sets validator options
- Parameters:
-
- Returns:
- void
Definition at line 69 of file Regex.php.
Member Function Documentation
Returns the pattern option
- Returns:
- string
Definition at line 79 of file Regex.php.
Field Documentation
$_messageTemplates [protected] |
Initial value: array(
self::INVALID => "Invalid type given, value should be string, integer or float",
self::NOT_MATCH => "'%value%' does not match against pattern '%pattern%'"
)
Reimplemented from Zend_Validate_Abstract.
Definition at line 44 of file Regex.php.
$_messageVariables [protected] |
The documentation for this class was generated from the following file:
- E:/E/GEAMP/www/openbiz/openbiz/others/Zend/Validate/Regex.php