Symfony\Component\Form\FormView
- Author: Bernhard Schussek <bschussek@gmail.com>
Synopsis
class FormView
implements
ArrayAccess,IteratorAggregate,Countable
{
- // members
- public array $vars;
- public FormView $parent;
- public array $children;
- private Boolean $rendered;
- // methods
- public void __construct()
- public Boolean isRendered()
- public FormView setRendered()
- public FormView offsetGet()
- public Boolean offsetExists()
- public void offsetSet()
- public void offsetUnset()
- public ArrayIterator getIterator()
- public integer count()
Hierarchy
Implements
Members
private
- $rendered
—
Symfony\Component\Form\Boolean
Is the form attached to this renderer rendered?
public
- $children
—
array
The child views. - $parent
—
Symfony\Component\Form\FormView
The parent view. - $vars
—
array
The variables assigned to this view.
Methods
public
- __construct()
- count() — Implements \Countable.
- getIterator() — Returns an iterator to iterate over children (implements \IteratorAggregate)
- isRendered() — Returns whether the view was already rendered.
- offsetExists() — Returns whether the given child exists (implements \ArrayAccess).
- offsetGet() — Returns a child by name (implements \ArrayAccess).
- offsetSet() — Implements \ArrayAccess.
- offsetUnset() — Removes a child (implements \ArrayAccess).
- setRendered() — Marks the view as rendered.