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