2009年1月6日星期二

Re: [fw-mvc] how to set a different 'views' path for a module

//Bootstrap

$view = new Zend_View();
$view->addScriptPath(dirname(__FILE__).'/views');

$viewRenderer = Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');
$viewRenderer->setView($view);

On Tue, Jan 6, 2009 at 2:38 AM, Van H Tran <tvhoang1980@yahoo.com> wrote:
Hi all,
I'm trying to set a different "views" directory path for a specific module (or en masse is fine)
Tried to look at the reference page, but there doesn't seem to mention this.
Please help me out here
Thanks




--
Cory Wiles
kwylez@gmail.com
http://www.corywiles.com
http://www.400mtogo.com

没有评论: