Oops, made a mistake, that should be:
<?php
$user = new User();
$users = $user->fetchAll();
?>
<table>
<thead>
<tr>
<th>Name</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<?php echo $this->collection('_row.phtml', $users->toArray()); ?>
</tbody>
</table>
Matthew Weier O'Phinney wrote:
-- Jack Sleight <[EMAIL PROTECTED]> wrote
(on Tuesday, 21 August 2007, 03:42 PM +0100):
Jack -- that's a great idea. I'm noting it now for inclusion with the
Zend_View_Enhanced. Could you provide a sample use case (i.e., how you
would use it in your view script)?
--
Jack