Zend Framework
3.0
|
Helper for rendering a template fragment in its own variable scope; iterates over data provided and renders for each iteration. More...
Public Member Functions | |
__invoke ($name=null, $values=null) | |
Renders a template fragment within a variable scope distinct from the calling View object. | |
loop ($name=null, $values=null) | |
Renders a template fragment within a variable scope distinct from the calling View object. | |
getPartialCounter () | |
Get the partial counter. | |
setObjectKey ($key) | |
Set object key in this loop and any child loop. | |
Public Member Functions inherited from Partial | |
__invoke ($name=null, $values=null) | |
Renders a template fragment within a variable scope distinct from the calling View object. | |
setObjectKey ($key) | |
Set object key. | |
getObjectKey () | |
Retrieve object key. | |
Public Member Functions inherited from AbstractHelper | |
setView (Renderer $view) | |
Set the View object. | |
getView () | |
Get the view object. | |
Protected Attributes | |
$partialCounter = 0 | |
Protected Attributes inherited from Partial | |
$objectKey | |
Protected Attributes inherited from AbstractHelper | |
$view = null | |
Helper for rendering a template fragment in its own variable scope; iterates over data provided and renders for each iteration.
__invoke | ( | $name = null , |
|
$values = null |
|||
) |
getPartialCounter | ( | ) |
Get the partial counter.
loop | ( | $name = null , |
|
$values = null |
|||
) |
setObjectKey | ( | $key | ) |
Set object key in this loop and any child loop.
string | null | $key |
|
protected |