761. Function

761.1. Zend\Form\add

ZendFormadd()

Add an element or fieldset

$flags could contain metadata such as the alias under which to register the element or fieldset, order in which to prioritize it, etc.

Parameters:
  • array|Traversable|ElementInterface – Typically, only allow objects implementing ElementInterface; however, keeping it flexible to allow a factory-based form implementation as well
  • array
Return type:

FieldsetInterface

762. Function

762.1. Zend\Form\has

ZendFormhas()

Does the fieldset have an element/fieldset by the given name?

Parameters:string
Return type:bool

763. Function

763.1. Zend\Form\get

ZendFormget()

Retrieve a named element or fieldset

Parameters:string
Return type:ElementInterface

764. Function

764.1. Zend\Form\remove

ZendFormremove()

Remove a named element or fieldset

Parameters:string
Return type:FieldsetInterface

765. Function

765.1. Zend\Form\setPriority

ZendFormsetPriority()

Set/change the priority of an element or fieldset

Parameters:
  • string
  • int
Return type:

FieldsetInterface

766. Function

766.1. Zend\Form\getElements

ZendFormgetElements()

Retrieve all attached elements

Storage is an implementation detail of the concrete class.

Return type:array|Traversable

767. Function

767.1. Zend\Form\getFieldsets

ZendFormgetFieldsets()

Retrieve all attached fieldsets

Storage is an implementation detail of the concrete class.

Return type:array|Traversable

768. Function

768.1. Zend\Form\populateValues

ZendFormpopulateValues()

Recursively populate value attributes of elements

Parameters:array|Traversable
Return type:void

769. Function

769.1. Zend\Form\setObject

ZendFormsetObject()

Set the object used by the hydrator

Parameters:$object
Return type:FieldsetInterface

770. Function

770.1. Zend\Form\getObject

ZendFormgetObject()

Get the object used by the hydrator

Return type:mixed

771. Function

771.1. Zend\Form\allowObjectBinding

ZendFormallowObjectBinding()

Checks if the object can be set in this fieldset

Parameters:$object
Return type:bool

772. Function

772.1. Zend\Form\setHydrator

ZendFormsetHydrator()

Set the hydrator to use when binding an object to the element

Parameters:HydratorInterface
Return type:FieldsetInterface

773. Function

773.1. Zend\Form\getHydrator

ZendFormgetHydrator()

Get the hydrator used when binding an object to the element

Return type:null|HydratorInterface

774. Function

774.1. Zend\Form\bindValues

ZendFormbindValues()

Bind values to the bound object

Parameters:array
Return type:mixed

775. Function

775.1. Zend\Form\allowValueBinding

ZendFormallowValueBinding()

Checks if this fieldset can bind data

Return type:bool