781. Function

781.1. Zend\Form\setData

ZendFormsetData()

Set data to validate and/or populate elements

Typically, also passes data on to the composed input filter.

Parameters:array|ArrayAccess
Return type:FormInterface

782. Function

782.1. Zend\Form\bind

ZendFormbind()

Bind an object to the element

Allows populating the object with validated values.

Parameters:
  • object
  • int
Return type:

mixed

783. Function

783.1. Zend\Form\setBindOnValidate

ZendFormsetBindOnValidate()

Whether or not to bind values to the bound object when validation succeeds

Parameters:int
Return type:void

784. Function

784.1. Zend\Form\setInputFilter

ZendFormsetInputFilter()

Set input filter

Parameters:InputFilterInterface
Return type:FormInterface

785. Function

785.1. Zend\Form\getInputFilter

ZendFormgetInputFilter()

Retrieve input filter

Return type:InputFilterInterface

786. Function

786.1. Zend\Form\isValid

ZendFormisValid()

Validate the form

Typically, will proxy to the composed input filter.

Return type:bool

787. Function

787.1. Zend\Form\getData

ZendFormgetData()

Retrieve the validated data

By default, retrieves normalized values; pass one of the VALUES_* constants to shape the behavior.

Parameters:int
Return type:array|object

788. Function

788.1. Zend\Form\setValidationGroup

ZendFormsetValidationGroup()

Set the validation group (set of values to validate)

Typically, proxies to the composed input filter

Return type:FormInterface

788.1.1. BIND_ON_VALIDATE

788.1.2. BIND_MANUAL

788.1.3. VALIDATE_ALL

788.1.4. VALUES_NORMALIZED

788.1.5. VALUES_RAW

788.1.6. VALUES_AS_ARRAY