|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct ($allowWhiteSpace=false) | |
| getAllowWhiteSpace () | |
| setAllowWhiteSpace ($allowWhiteSpace) | |
| isValid ($value) | |
Public Member Functions inherited from Zend_Validate_Abstract | |
| getMessages () | |
| getMessageVariables () | |
| getMessageTemplates () | |
| setMessage ($messageString, $messageKey=null) | |
| setMessages (array $messages) | |
| __get ($property) | |
| getErrors () | |
| setObscureValue ($flag) | |
| getObscureValue () | |
| setTranslator ($translator=null) | |
| getTranslator () | |
| hasTranslator () | |
| setDisableTranslator ($flag) | |
| translatorIsDisabled () | |
Data Fields | |
| const | INVALID = 'alnumInvalid' |
| const | NOT_ALNUM = 'notAlnum' |
| const | STRING_EMPTY = 'alnumStringEmpty' |
| $allowWhiteSpace | |
Protected Attributes | |
| $_messageTemplates | |
Protected Attributes inherited from Zend_Validate_Abstract | |
| $_value | |
| $_messageVariables = array() | |
| $_messageTemplates = array() | |
| $_messages = array() | |
| $_obscureValue = false | |
| $_errors = array() | |
| $_translator | |
| $_translatorDisabled = false | |
Static Protected Attributes | |
| static | $_filter = null |
Static Protected Attributes inherited from Zend_Validate_Abstract | |
| static | $_defaultTranslator |
| static | $_messageLength = -1 |
Additional Inherited Members | |
Static Public Member Functions inherited from Zend_Validate_Abstract | |
| static | setDefaultTranslator ($translator=null) |
| static | getDefaultTranslator () |
| static | hasDefaultTranslator () |
| static | getMessageLength () |
| static | setMessageLength ($length=-1) |
Protected Member Functions inherited from Zend_Validate_Abstract | |
| _createMessage ($messageKey, $value) | |
| _implodeRecursive (array $pieces) | |
| _error ($messageKey, $value=null) | |
| _setValue ($value) | |
| __construct | ( | $allowWhiteSpace = false | ) |
Sets default option values for this instance
| boolean | Zend_Config | $allowWhiteSpace |
Definition at line 70 of file Alnum.php.
| getAllowWhiteSpace | ( | ) |
| isValid | ( | $value | ) |
Defined by Zend_Validate_Interface
Returns true if and only if $value contains only alphabetic and digit characters
| string | $value |
Implements Zend_Validate_Interface.
Definition at line 117 of file Alnum.php.
| setAllowWhiteSpace | ( | $allowWhiteSpace | ) |
Sets the allowWhiteSpace option
| boolean | $allowWhiteSpace |
Definition at line 103 of file Alnum.php.
|
protected |