class FormView implements ArrayAccess, IteratorAggregate, Countable
Properties
| array | $vars | The variables assigned to this view. |
| FormView | $parent | The parent view. |
| array | $children | The child views. |
Methods
| __construct(FormView $parent = null) | ||
| Boolean |
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). |
|
| Boolean |
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 |
getIterator()
Returns an iterator to iterate over children (implements \IteratorAggregate) |
|
| integer |
count()
Implements \Countable. |
Details
at line 53
public
__construct(FormView $parent = null)
at line 63
public Boolean
isRendered()
Returns whether the view was already rendered.
at line 89
public FormView
setRendered()
Marks the view as rendered.
at line 103
public FormView
offsetGet(string $name)
Returns a child by name (implements \ArrayAccess).
at line 115
public Boolean
offsetExists(string $name)
Returns whether the given child exists (implements \ArrayAccess).
at line 125
public
offsetSet($name, $value)
Implements \ArrayAccess.
at line 135
public
offsetUnset(string $name)
Removes a child (implements \ArrayAccess).
at line 145
public ArrayIterator
getIterator()
Returns an iterator to iterate over children (implements \IteratorAggregate)
at line 155
public integer
count()
Implements \Countable.