Public Member Functions |
| __construct ($allowWhiteSpace=false) |
| getAllowWhiteSpace () |
| setAllowWhiteSpace ($allowWhiteSpace) |
| isValid ($value) |
Data Fields |
const | INVALID = 'alnumInvalid' |
const | NOT_ALNUM = 'notAlnum' |
const | STRING_EMPTY = 'stringEmpty' |
| $allowWhiteSpace |
Protected Attributes |
| $_messageTemplates |
Static Protected Attributes |
static | $_filter = null |
Detailed Description
Definition at line 33 of file Alnum.php.
Constructor & Destructor Documentation
__construct |
( |
$ |
allowWhiteSpace = false ) |
|
Sets default option values for this instance
- Parameters:
-
- Returns:
- void
Definition at line 71 of file Alnum.php.
Member Function Documentation
Returns the allowWhiteSpace option
- Returns:
- boolean
Definition at line 81 of file Alnum.php.
setAllowWhiteSpace |
( |
$ |
allowWhiteSpace ) |
|
Sets the allowWhiteSpace option
- Parameters:
-
- Returns:
- Zend_Filter_Alnum Provides a fluent interface
Definition at line 92 of file Alnum.php.
Field Documentation
$_messageTemplates [protected] |
Initial value: array(
self::INVALID => "Invalid type given, value should be float, string, or integer",
self::NOT_ALNUM => "'%value%' has not only alphabetic and digit characters",
self::STRING_EMPTY => "'%value%' is an empty string"
)
Reimplemented from Zend_Validate_Abstract.
Definition at line 59 of file Alnum.php.
The documentation for this class was generated from the following file:
- E:/E/GEAMP/www/openbiz/openbiz/others/Zend/Validate/Alnum.php