On Wed, May 6, 2009 at 8:22 PM, iceangel89 <[email protected]> wrote:
>
> just wondering... if i do that it will be v long. so anyway to have
> application.ini read another file that has config for just navigation?
>
>
I don't think so. Anyway, I think you can do this:
protected function _initView()
{
$view = new Zend_View();
Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer')->setView($view);
return $view;
}
protected function _initNavigation()
{
$view = $this->getResource('view');
$nav = ...;
$view->navigation($nav);
}
-- Mon