Fully Qualified Name: | Zend\InputFilter\Input |
Implements: | InputInterface, EmptyContextInterface |
Name | Description | Defined By |
---|---|---|
__construct() | Input | |
allowEmpty() | Input | |
breakOnFailure() | Input | |
clearFallbackValue() | Input | |
continueIfEmpty() | Input | |
getErrorMessage() | Input | |
getFallbackValue() | Input | |
getFilterChain() | Input | |
getMessages() | Input | |
getName() | Input | |
getRawValue() | Input | |
getValidatorChain() | Input | |
getValue() | Input | |
hasFallback() | Input | |
hasValue() | Flag for inform if input value was set. | Input |
isRequired() | Input | |
isValid() | Input | |
merge() | Input | |
resetValue() | Reset input value to the default state. | Input |
setAllowEmpty() | Input | |
setBreakOnFailure() | Input | |
setContinueIfEmpty() | Input | |
setErrorMessage() | Input | |
setFallbackValue() | Input | |
setFilterChain() | Input | |
setName() | Input | |
setRequired() | Input | |
setValidatorChain() | Input | |
setValue() | Set the input value. | Input |
Parameter Name | Type | Description |
---|---|---|
$name |
Returns: void
Returns: bool
Returns: bool
Returns: void
Returns: bool
Returns: string|null
Returns: mixed
Returns: \FilterChain
Returns: string[]
Returns: string
Returns: mixed
Returns: \ValidatorChain
Returns: mixed
Returns: bool
Flag for inform if input value was set.
This flag used for distinguish when {@link Input::getValue()} will return the value previously set or the default.
Returns: bool
Returns: bool
Parameter Name | Type | Description |
---|---|---|
$context | mixed | Extra |
Returns: bool
Parameter Name | Type | Description |
---|---|---|
$input | \InputInterface |
Returns: \Input
Reset input value to the default state.
Returns: \Input
Parameter Name | Type | Description |
---|---|---|
$allowEmpty | bool |
Returns: \Input
Parameter Name | Type | Description |
---|---|---|
$breakOnFailure | bool |
Returns: \Input
Parameter Name | Type | Description |
---|---|---|
$continueIfEmpty | bool |
Returns: \Input
Parameter Name | Type | Description |
---|---|---|
$errorMessage | string|null |
Returns: \Input
Parameter Name | Type | Description |
---|---|---|
$value | mixed |
Returns: \Input
Parameter Name | Type | Description |
---|---|---|
$filterChain | \FilterChain |
Returns: \Input
Parameter Name | Type | Description |
---|---|---|
$name | string |
Returns: \Input
Parameter Name | Type | Description |
---|---|---|
$required | bool |
Returns: \Input
Parameter Name | Type | Description |
---|---|---|
$validatorChain | \ValidatorChain |
Returns: \Input
Set the input value.
If you want to remove/unset the current value use {@link Input::resetValue()}.
Parameter Name | Type | Description |
---|---|---|
$value | mixed |
Returns: \Input