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));
Last edited by SpotSec : 03-27-2007 at 12:35 AM.
|