> -----Original Message----- > From: debussy007 [mailto:[EMAIL PROTECTED] > > Since I may not return a class extending Zend_Db_Table to the > View but rather create my own objects.
Yes, the design you describe is fine, and the point above was the one I was driving at. Personally, I'd write a class that represents a collection of articles with attached pictures. Maybe this class would implement the ArrayAccess interface or at least Iterable, so you could use the object itself in a foreach loop easily. But if you choose to have a class that corresponds to a single Article and it aggregates a number of Picture objects, you can get to the same goal that way too. Regards, Bill Karwin
