FormView
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
bool
isRendered()
Returns whether the view was already rendered.
setRendered()
Marks the view as rendered.
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).
getIterator()
Returns an iterator to iterate over children (implements \IteratorAggregate).
int
count()
Implements \Countable.
Details
at line line 56
__construct(FormView $parent = null)
at line line 66
bool
isRendered()
Returns whether the view was already rendered.
at line line 92
FormView
setRendered()
Marks the view as rendered.
at line line 106
FormView
offsetGet(string $name)
Returns a child by name (implements \ArrayAccess).
at line line 118
bool
offsetExists(string $name)
Returns whether the given child exists (implements \ArrayAccess).
at line line 128
offsetSet($name, $value)
Implements \ArrayAccess.
at line line 138
offsetUnset(string $name)
Removes a child (implements \ArrayAccess).
at line line 148
ArrayIterator
getIterator()
Returns an iterator to iterate over children (implements \IteratorAggregate).
at line line 158
int
count()
Implements \Countable.