partialCounter not available.

For programming and general questions on Zend Framework

partialCounter not available.

Postby ryanrk on Wed Dec 12, 2012 9:26 pm

Using Zend Framework 2 the partialCounter comes back as null.

products.phtml
Code: Select all
<?php echo $this->partialLoop('partials/product', $this->products); ?>


product.phtml
Code: Select all
<?php var_dump($this->partialCounter); ?>


Keeps coming back NULL. According to http://framework.zend.com/manual/2.0/en ... lpers.html there should be a variable there to hold the index value.
ryanrk
 
Posts: 3
Joined: Fri Dec 07, 2012 8:01 pm

Return to Zend Framework

Who is online

Users browsing this forum: No registered users and 14 guests