Class ArrayInput

Summary

Fully Qualified Name: Zend\InputFilter\ArrayInput
Extends: Input

Description

Methods

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() ArrayInput
hasFallback() Input
hasValue() Flag for inform if input value was set. Input
isRequired() Input
isValid() ArrayInput
merge() Input
resetValue() {@inheritdoc} ArrayInput
setAllowEmpty() Input
setBreakOnFailure() Input
setContinueIfEmpty() Input
setErrorMessage() Input
setFallbackValue() Input
setFilterChain() Input
setName() Input
setRequired() Input
setValidatorChain() Input
setValue() ArrayInput

Method Details

__construct()

Parameter Name Type Description
$name

Returns: void

allowEmpty()

Returns: bool

breakOnFailure()

Returns: bool

clearFallbackValue()

Returns: void

continueIfEmpty()

Returns: bool

getErrorMessage()

Returns: string|null

getFallbackValue()

Returns: mixed

getFilterChain()

Returns: \FilterChain

getMessages()

Returns: string[]

getName()

Returns: string

getRawValue()

Returns: mixed

getValidatorChain()

Returns: \ValidatorChain

getValue()

Returns: array

hasFallback()

Returns: bool

hasValue()

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

isRequired()

Returns: bool

isValid()

Parameter Name Type Description
$context mixed Extra

Returns: bool

merge()

Parameter Name Type Description
$input \InputInterface

Returns: \Input

resetValue()

{@inheritdoc}

Returns:

setAllowEmpty()

Parameter Name Type Description
$allowEmpty bool

Returns: \Input

setBreakOnFailure()

Parameter Name Type Description
$breakOnFailure bool

Returns: \Input

setContinueIfEmpty()

Parameter Name Type Description
$continueIfEmpty bool

Returns: \Input

setErrorMessage()

Parameter Name Type Description
$errorMessage string|null

Returns: \Input

setFallbackValue()

Parameter Name Type Description
$value mixed

Returns: \Input

setFilterChain()

Parameter Name Type Description
$filterChain \FilterChain

Returns: \Input

setName()

Parameter Name Type Description
$name string

Returns: \Input

setRequired()

Parameter Name Type Description
$required bool

Returns: \Input

setValidatorChain()

Parameter Name Type Description
$validatorChain \ValidatorChain

Returns: \Input

setValue()

Parameter Name Type Description
$value array

Returns: \Input

Top