Class Zend_View_Helper_PartialLoop

Description

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

  • copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /View/Helper/PartialLoop.php (line 35)

Zend_View_Helper_Abstract
   |
   --Zend_View_Helper_Partial
      |
      --Zend_View_Helper_PartialLoop
Variable Summary
 integer $partialCounter
Method Summary
 string partialLoop ([string $name = null], [string|array $module = null], [array $model = null])
Variables
integer $partialCounter = 0 (line 42)

Marker to where the pointer is at in the loop

  • access: protected

Inherited Variables

Inherited from Zend_View_Helper_Partial

Zend_View_Helper_Partial::$_objectKey

Inherited from Zend_View_Helper_Abstract

Zend_View_Helper_Abstract::$view
Methods
partialLoop (line 58)

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

If no arguments are provided, returns object instance.

  • access: public
string partialLoop ([string $name = null], [string|array $module = null], [array $model = null])
  • 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

Inherited Methods

Inherited From Zend_View_Helper_Partial

 Zend_View_Helper_Partial::cloneView()
 Zend_View_Helper_Partial::getObjectKey()
 Zend_View_Helper_Partial::partial()
 Zend_View_Helper_Partial::setObjectKey()

Inherited From Zend_View_Helper_Abstract

 Zend_View_Helper_Abstract::direct()
 Zend_View_Helper_Abstract::setView()

Documentation generated on Mon, 21 Jun 2010 15:37:39 -0400 by phpDocumentor 1.4.3