
Originally Posted by
arborint
That looks like TemplateView to me in a sort of backward way. Why not just use a Template class?
That would probably be the more sensible approach. You could then define your "printers" as filters that are used by the template class. Something like:
PHP Code:
<!-- Start Grid -->
<table>
<?php foreach ($template['customers'] as $oneCustomer) ?>
<tr>
<td>
<?php echo $template->filter($oneCustomer['customer_address'], 'customerAddressTablePrinter'); ?>
</td>
</tr>
<?php } // end foreach ?>
</table>
<!-- end grid -->
Bookmarks