Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct ($options=null) | |
getType () | |
setType ($type=null) | |
isValid ($value) | |
![]() | |
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 | BOOLEAN = 1 |
const | INTEGER = 2 |
const | FLOAT = 4 |
const | STRING = 8 |
const | ZERO = 16 |
const | EMPTY_ARRAY = 32 |
const | NULL = 64 |
const | PHP = 127 |
const | SPACE = 128 |
const | OBJECT = 256 |
const | OBJECT_STRING = 512 |
const | OBJECT_COUNT = 1024 |
const | ALL = 2047 |
const | INVALID = 'notEmptyInvalid' |
const | IS_EMPTY = 'isEmpty' |
Protected Attributes | |
$_constants | |
$_messageTemplates | |
$_type = 493 | |
![]() | |
$_value | |
$_messageVariables = array() | |
$_messageTemplates = array() | |
$_messages = array() | |
$_obscureValue = false | |
$_errors = array() | |
$_translator | |
$_translatorDisabled = false | |
Additional Inherited Members | |
![]() | |
static | setDefaultTranslator ($translator=null) |
static | getDefaultTranslator () |
static | hasDefaultTranslator () |
static | getMessageLength () |
static | setMessageLength ($length=-1) |
![]() | |
_createMessage ($messageKey, $value) | |
_implodeRecursive (array $pieces) | |
_error ($messageKey, $value=null) | |
_setValue ($value) | |
![]() | |
static | $_defaultTranslator |
static | $_messageLength = -1 |
Definition at line 33 of file NotEmpty.php.
__construct | ( | $options = null | ) |
Constructor
string | array | Zend_Config | $options | OPTIONAL |
Definition at line 88 of file NotEmpty.php.
getType | ( | ) |
isValid | ( | $value | ) |
Defined by Zend_Validate_Interface
Returns true if and only if $value is not an empty value.
string | $value |
Implements Zend_Validate_Interface.
Definition at line 158 of file NotEmpty.php.
setType | ( | $type = null | ) |
Set the types
integer | array | $type |
Zend_Validate_Exception |
Definition at line 124 of file NotEmpty.php.
|
protected |
Definition at line 52 of file NotEmpty.php.
|
protected |
Definition at line 71 of file NotEmpty.php.
|
protected |
Definition at line 81 of file NotEmpty.php.
const ALL = 2047 |
Definition at line 47 of file NotEmpty.php.
const BOOLEAN = 1 |
Definition at line 35 of file NotEmpty.php.
const EMPTY_ARRAY = 32 |
Definition at line 40 of file NotEmpty.php.
const FLOAT = 4 |
Definition at line 37 of file NotEmpty.php.
const INTEGER = 2 |
Definition at line 36 of file NotEmpty.php.
const INVALID = 'notEmptyInvalid' |
Definition at line 49 of file NotEmpty.php.
const IS_EMPTY = 'isEmpty' |
Definition at line 50 of file NotEmpty.php.
const NULL = 64 |
Definition at line 41 of file NotEmpty.php.
const OBJECT = 256 |
Definition at line 44 of file NotEmpty.php.
const OBJECT_COUNT = 1024 |
Definition at line 46 of file NotEmpty.php.
const OBJECT_STRING = 512 |
Definition at line 45 of file NotEmpty.php.
const PHP = 127 |
Definition at line 42 of file NotEmpty.php.
const SPACE = 128 |
Definition at line 43 of file NotEmpty.php.
const STRING = 8 |
Definition at line 38 of file NotEmpty.php.
const ZERO = 16 |
Definition at line 39 of file NotEmpty.php.