View Single Post
  #4 (permalink)  
Old 03-28-2007, 02:52 AM
quannm0410l's Avatar
quannm0410l quannm0410l is offline
Junior Member
 
Join Date: Mar 2007
Posts: 11
Red face

Quote:
Originally Posted by SpotSec View Post
It can be done by writing your own implemented Zend_View_Interface, but I wonder why this would be necessary?

Or you could extend the Zend_View class to include smarty. Another factor is you can chain parse the templates as I would assume you aren't passing the same data to both template engines?

$view->data = test;
$smarty->name = someName;
$view->render($smarty->render(index.tpl));
Can you give me a example? I want to display a loop values in views. Thank you
Reply With Quote