David Mintz-3 wrote:
>
> Wondering if I can (or should try to) use a partialLoop in this scenario.
>
The following should work:
foreach ($parents as $parent) {
if (isset($children[$parent->id]) {
$this->partialLoop()->setObjectKey('child');
echo $this->partialLoop('child.phtml', $children);
}
}
-----
--
Wil Moore III
Why is Bottom-posting better than Top-posting:
http://www.caliburn.nl/topposting.html
DO NOT TOP-POST and DO trim your replies:
http://linux.sgms-centre.com/misc/netiquette.php#toppost
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/partialLoop-helper-with-multiple-data-structures-tp3498443p3501737.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]