class FormView implements ArrayAccess, IteratorAggregate, Countable
Properties
array | $vars | The variables assigned to this view. | |
FormView | $parent | The parent view. | |
FormView[] | $children | The child views. |
Methods
__construct(FormView $parent = null) | ||
bool | isRendered() Returns whether the view was already rendered. | |
FormView | setRendered() Marks the view as rendered. | |
FormView | offsetGet(string $name) Returns a child by name (implements \ArrayAccess). | |
bool | offsetExists(string $name) Returns whether the given child exists (implements \ArrayAccess). | |
offsetSet($name, $value) Implements \ArrayAccess. | ||
offsetUnset(string $name) Removes a child (implements \ArrayAccess). | ||
ArrayIterator|FormView[] | getIterator() Returns an iterator to iterate over children (implements \IteratorAggregate). | |
int | count() Implements \Countable. |
Details
__construct(FormView $parent = null)
bool isRendered()
Returns whether the view was already rendered.
FormView setRendered()
Marks the view as rendered.
FormView offsetGet(string $name)
Returns a child by name (implements \ArrayAccess).
bool offsetExists(string $name)
Returns whether the given child exists (implements \ArrayAccess).
offsetSet($name, $value)
Implements \ArrayAccess.
offsetUnset(string $name)
Removes a child (implements \ArrayAccess).
ArrayIterator|FormView[] getIterator()
Returns an iterator to iterate over children (implements \IteratorAggregate).
int count()
Implements \Countable.
Please login to continue.