1186. Function

1186.1. Zend\View\Model\setOption

ZendViewModelsetOption()

Set renderer option/hint

Parameters:
  • string
  • mixed
Return type:

ModelInterface

1187. Function

1187.1. Zend\View\Model\setOptions

ZendViewModelsetOptions()

Set renderer options/hints en masse

Parameters:array|Traversable
Return type:ModelInterface

1188. Function

1188.1. Zend\View\Model\getOptions

ZendViewModelgetOptions()

Get renderer options/hints

Return type:array|Traversable

1189. Function

1189.1. Zend\View\Model\getVariable

ZendViewModelgetVariable()

Get a single view variable

Parameters:
  • string
  • mixed|null – (optional) default value if the variable is not present.
Return type:

mixed

1190. Function

1190.1. Zend\View\Model\setVariable

ZendViewModelsetVariable()

Set view variable

Parameters:
  • string
  • mixed
Return type:

ModelInterface

1191. Function

1191.1. Zend\View\Model\setVariables

ZendViewModelsetVariables()

Set view variables en masse

Parameters:array|ArrayAccess
Return type:ModelInterface

1192. Function

1192.1. Zend\View\Model\getVariables

ZendViewModelgetVariables()

Get view variables

Return type:array|ArrayAccess

1193. Function

1193.1. Zend\View\Model\setTemplate

ZendViewModelsetTemplate()

Set the template to be used by this model

Parameters:string
Return type:ModelInterface

1194. Function

1194.1. Zend\View\Model\getTemplate

ZendViewModelgetTemplate()

Get the template to be used by this model

Return type:string

1195. Function

1195.1. Zend\View\Model\addChild

ZendViewModeladdChild()

Add a child model

Parameters:
  • ModelInterface
  • null|string – Optional; if specified, the “capture to” value to set on the child
  • null|bool – Optional; if specified, append to child with the same capture
Return type:

ModelInterface

1196. Function

1196.1. Zend\View\Model\getChildren

ZendViewModelgetChildren()

Return all children.

Return specifies an array, but may be any iterable object.

Return type:array

1197. Function

1197.1. Zend\View\Model\hasChildren

ZendViewModelhasChildren()

Does the model have any children?

Return type:bool

1198. Function

1198.1. Zend\View\Model\setCaptureTo

ZendViewModelsetCaptureTo()

Set the name of the variable to capture this model to, if it is a child model

Parameters:string
Return type:ModelInterface

1199. Function

1199.1. Zend\View\Model\captureTo

ZendViewModelcaptureTo()

Get the name of the variable to which to capture this model

Return type:string

1200. Function

1200.1. Zend\View\Model\setTerminal

ZendViewModelsetTerminal()

Set flag indicating whether or not this is considered a terminal or standalone model

Parameters:bool
Return type:ModelInterface

1201. Function

1201.1. Zend\View\Model\terminate

ZendViewModelterminate()

Is this considered a terminal or standalone model?

Return type:bool

1202. Function

1202.1. Zend\View\Model\setAppend

ZendViewModelsetAppend()

Set flag indicating whether or not append to child with the same capture

Parameters:bool
Return type:ModelInterface

1203. Function

1203.1. Zend\View\Model\isAppend

ZendViewModelisAppend()

Is this append to child with the same capture?

Return type:bool