addChild()
captureTo()
getChildren()
getOptions()
getTemplate()
getVariable()
getVariables()
hasChildren()
isAppend()
setAppend()
setCaptureTo()
setOption()
setOptions()
setTemplate()
setTerminal()
setVariable()
setVariables()
terminate()
Interface describing a view model.
Extends "Countable"; count() should return the number of children attached to the model.
Extends "IteratorAggregate"; should allow iterating over children.
addChild(\Zend\View\Model\ModelInterface $child, null | string $captureTo, null | bool $append) : \Zend\View\Model\ModelInterface
nullstringOptional; if specified, the "capture to" value to set on the child
nullboolOptional; if specified, append to child with the same capture
captureTo() : string
stringgetChildren() : array
Return specifies an array, but may be any iterable object.
arraygetOptions() : array | \Traversable
array\Traversable
getTemplate() : string
stringgetVariable(string $name, mixed | null $default) : mixed
string
mixednull(optional) default value if the variable is not present.
mixedgetVariables() : array | \ArrayAccess
array\ArrayAccess
hasChildren() : bool
boolisAppend() : bool
boolsetAppend(bool $append) : \Zend\View\Model\ModelInterface
setCaptureTo(string $capture) : \Zend\View\Model\ModelInterface
setOptions(array | \Traversable $options) : \Zend\View\Model\ModelInterface
setTemplate(string $template) : \Zend\View\Model\ModelInterface
setTerminal(bool $terminate) : \Zend\View\Model\ModelInterface
setVariables(array | \ArrayAccess $variables) : \Zend\View\Model\ModelInterface
terminate() : bool
bool