ZF-3133: Zend_View partialLoop should accept objects that implement the toArray() method

Issue Type: Bug Created: 2008-04-17T12:32:25.000+0000 Last Updated: 2008-05-21T11:53:50.000+0000 Status: Resolved Fix version(s): - 1.5.2 (15/May/08)

Reporter: Adam Kosecki (adamkosecki) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_View

Related issues: - ZF-3285



You can pass an object to Zend_View_Helper_PartialLoop for the "model" parameter, so long as it is an array or it implements the Iterator interface. You should also be able to pass an object that implements the toArray() method (like you can with the partial helper). You currently cannot.


Posted by Wil Sinclair (wil) on 2008-04-18T13:16:14.000+0000

Please evaluate and categorize as necessary.

Posted by Matthew Weier O'Phinney (matthew) on 2008-04-22T13:14:30.000+0000

Scheduling for next mini release.

Posted by Matthew Weier O'Phinney (matthew) on 2008-05-02T12:16:39.000+0000

Resolved in trunk and 1.5 release branch

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.