Passing additional parameters to the Zend partialLoop View Helper

Posted by Ciaran McNulty on Stack Overflow See other posts from Stack Overflow or by Ciaran McNulty
Published on 2009-11-04T10:38:09Z Indexed on 2010/03/17 5:21 UTC
Read the original article Hit count: 452

Filed under:
|

In a Zend view I can apply a partial template to an iterable element as follows:

$this->partialLoop('template.phtml', $iterable);

However inside the template, only the elements of the $iterable are available, is there another way of passing extra data to the partial?

© Stack Overflow or respective owner

Related posts about zend-framework

Related posts about php