Issues

ZF-11838: Incomplete partialLoop note as to what Interface the passed model should implement

Issue Type: Docs: Improvement Created: 2011-10-22T19:17:29.000+0000 Last Updated: 2011-10-22T19:17:29.000+0000 Status: Open Fix version(s): Reporter: Adi D. (nevvermind) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_View

Related issues: Attachments:

Description

The note of the example #9 of View Helpers states that.. bq. The PartialLoop view helper helps solve this issue. It allows you to pass an iterable item (array or object implementing {color:red}Iterator{color}) as the model. ... which is correct and incomplete at the same time, as the interface that is really checked against is Traversable; but this cannot be implemented directly, which leaves the programmer with Iterator or IteratorAggregate.

Comments

No comments to display

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts