View Single Post
  #2 (permalink)  
Old 03-27-2007, 12:31 AM
SpotSec's Avatar
SpotSec SpotSec is offline
Senior Member
 
Join Date: Feb 2007
Location: United States
Posts: 121
Default

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));
__________________
Zym Framework - A Zend Framework extension library w/ demo app

SpotSec Blog:
http://spotsec.com/blog

Last edited by SpotSec : 03-27-2007 at 12:35 AM.
Reply With Quote