Public Member Functions | |
partialLoop ($name=null, $module=null, $model=null) | |
Protected Attributes | |
$partialCounter = 0 |
Definition at line 35 of file PartialLoop.php.
partialLoop | ( | $ | name = null , |
$ | module = null , |
||
$ | model = null |
||
) |
Renders a template fragment within a variable scope distinct from the calling View object.
If no arguments are provided, returns object instance.
string | $name | Name of view script |
string | array | $module | If $model is empty, and $module is an array, these are the variables to populate in the view. Otherwise, the module in which the partial resides |
array | $model | Variables to populate in the view |
Definition at line 58 of file PartialLoop.php.