Zend\Form\FieldsetInterface
Synopsis
interface FieldsetInterface
extends Countable, IteratorAggregate, ElementInterface, ElementPrepareAwareInterface, FormFactoryAwareInterface
{
- // methods
- public FieldsetInterface add()
- public bool has()
- public ElementInterface get()
- public FieldsetInterface remove()
- public FieldsetInterface setPriority()
- public Traversable getElements()
- public Traversable getFieldsets()
- public void populateValues()
- public FieldsetInterface setObject()
- public mixed getObject()
- public bool allowObjectBinding()
- public FieldsetInterface setHydrator()
- public null|HydratorInterface getHydrator()
- public mixed bindValues()
- public bool allowValueBinding()
- // Inherited methods from Countable
- public int count()
- // Inherited methods from IteratorAggregate
- public Traversable getIterator()
- // Inherited methods from ElementInterface
- public ElementInterface setName()
- public string getName()
- public ElementInterface setOptions()
- public self setOption()
- public array getOptions()
- public null|mixed getOption()
- public ElementInterface setAttribute()
- public mixed getAttribute()
- public bool hasAttribute()
- public ElementInterface setAttributes()
- public Traversable getAttributes()
- public ElementInterface setValue()
- public mixed getValue()
- public ElementInterface setLabel()
- public string getLabel()
- public ElementInterface setMessages()
- public Traversable getMessages()
- // Inherited methods from ElementPrepareAwareInterface
- public mixed prepareElement()
- // Inherited methods from FormFactoryAwareInterface
- public void setFormFactory()
Hierarchy
Extends
- Countable
- IteratorAggregate
- Zend\Form\ElementInterface
- Zend\Form\ElementPrepareAwareInterface
- Zend\Form\FormFactoryAwareInterface
Extended by
Implemented by
Methods
public
- add() — Add an element or fieldset
- allowObjectBinding() — Checks if the object can be set in this fieldset
- allowValueBinding() — Checks if this fieldset can bind data
- bindValues() — Bind values to the bound object
- get() — Retrieve a named element or fieldset
- getElements() — Retrieve all attached elements
- getFieldsets() — Retrieve all attached fieldsets
- getHydrator() — Get the hydrator used when binding an object to the element
- getObject() — Get the object used by the hydrator
- has() — Does the fieldset have an element/fieldset by the given name?
- populateValues() — Recursively populate value attributes of elements
- remove() — Remove a named element or fieldset
- setHydrator() — Set the hydrator to use when binding an object to the element
- setObject() — Set the object used by the hydrator
- setPriority() — Set/change the priority of an element or fieldset
Inherited from Countable
public
- count() — Count elements of an object
Inherited from IteratorAggregate
public
- getIterator() — Retrieve an external iterator
Inherited from Zend\Form\ElementInterface
public
- getAttribute() — Retrieve a single element attribute
- getAttributes() — Retrieve all attributes at once
- getLabel() — Retrieve the label (if any) used for this element
- getMessages() — Get validation error messages, if any
- getName() — Retrieve the element name
- getOption() — return the specified option
- getOptions() — get the defined options
- getValue() — Retrieve the element value
- hasAttribute() — Return true if a specific attribute is set
- setAttribute() — Set a single element attribute
- setAttributes() — Set many attributes at once
- setLabel() — Set the label (if any) used for this element
- setMessages() — Set a list of messages to report when validation fails
- setName() — Set the name of this element
- setOption() — Set a single option for an element
- setOptions() — Set options for an element
- setValue() — Set the value of the element
Inherited from Zend\Form\ElementPrepareAwareInterface
public
- prepareElement() — Prepare the form element (mostly used for rendering purposes)
Inherited from Zend\Form\FormFactoryAwareInterface
public
- setFormFactory() — Compose a form factory into the object