975. Class

975.1. Zend\View\Helper\PartialLoop

Helper for rendering a template fragment in its own variable scope; iterates over data provided and renders for each iteration.

975.1.1. Methods

975.1.1.1. __invoke

__invoke()

Renders a template fragment within a variable scope distinct from the calling View object.

If no arguments are provided, returns object instance.

Parameters:
  • string – Name of view script
  • array – Variables to populate in the view
Return type:

string

Throws :

ExceptionInvalidArgumentException

975.1.1.2. getPartialCounter

getPartialCounter()

Get the partial counter

Return type:int

Project Versions

Table Of Contents

Previous topic

974. Class

Next topic

976. Class

This Page