Op Wednesday 06 May 2009 14:15:08 schreef iceangel89:
> Ionut Gabriel Stan-2 wrote:
> > Why do you need to access the view object in the bootstrap?
>
> i want to add zend_navigation to my application.
>
> so i need to do a
>
> $view->navigation($nav);
>
> so probably i do that in bootstrap? or somewhere else?

You probably want to access the navigation in the view. You should look into 
the manual, at the helpers section its stated you can register Zend_Navigation 
instances in the Zend_Register with the Zend_Navigation key
http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers.initial.navigation

Then it's done all automatically.

Regards, Jurian

Reply via email to