Zend Framework  3.0
Public Member Functions | Protected Attributes | List of all members
ArrayInput Class Reference

Public Member Functions

 setValue ($value)
 
 resetValue ()
 {}
 
 getValue ()
 
 isValid ($context=null)
 
- Public Member Functions inherited from Input
 __construct ($name=null)
 
 setAllowEmpty ($allowEmpty)
 
 setBreakOnFailure ($breakOnFailure)
 
 setContinueIfEmpty ($continueIfEmpty)
 
 setErrorMessage ($errorMessage)
 
 setFilterChain (FilterChain $filterChain)
 
 setName ($name)
 
 setRequired ($required)
 
 setValidatorChain (ValidatorChain $validatorChain)
 
 setValue ($value)
 Set the input value.
 
 resetValue ()
 Reset input value to the default state.
 
 setFallbackValue ($value)
 
 allowEmpty ()
 
 breakOnFailure ()
 
 continueIfEmpty ()
 
 getErrorMessage ()
 
 getFilterChain ()
 
 getName ()
 
 getRawValue ()
 
 isRequired ()
 
 getValidatorChain ()
 
 getValue ()
 
 hasValue ()
 Flag for inform if input value was set.
 
 getFallbackValue ()
 
 hasFallback ()
 
 clearFallbackValue ()
 
 merge (InputInterface $input)
 
 isValid ($context=null)
 
 getMessages ()
 
- Public Member Functions inherited from InputInterface
 isValid ()
 

Protected Attributes

 $value = []
 
- Protected Attributes inherited from Input
 $allowEmpty = false
 
 $continueIfEmpty = false
 
 $breakOnFailure = false
 
 $errorMessage
 
 $filterChain
 
 $name
 
 $notEmptyValidator = false
 
 $required = true
 
 $validatorChain
 
 $value
 
 $hasValue = false
 
 $fallbackValue
 
 $hasFallback = false
 

Additional Inherited Members

- Protected Member Functions inherited from Input
 injectNotEmptyValidator ()
 
 prepareRequiredValidationFailureMessage ()
 Create and return the validation failure message for required input.
 

Member Function Documentation

getValue ( )
Returns
array

Implements InputInterface.

isValid (   $context = null)
Parameters
mixed$contextExtra "context" to provide the validator
Returns
bool
resetValue ( )

{}

setValue (   $value)
Parameters
array$value
Exceptions
Exception\InvalidArgumentException
Returns
Input

Implements InputInterface.

Member Data Documentation

$value = []
protected