ZF-6865: Zend_Navigation view helper support for multiple instances
Current implementation of Zend_Navigation view helper only support to handle one instance of Zend_Navigation. Its should serve multiple of navigation instances, similar to placeholder concept. most of the websites contains more than one navigation.
$main = new Zend_Navigation(); $sidebar = new Zend_Navigation(); $view->navigation($main); // sets the default $view->navigation("sidebar", $sidebar); //sets the sidebar view //etc .. for footer, rightclick menu :) //easy after that access the navigation in the view $this->navigation("sidebar") ; //access the side bar navigation $this->navigation(); // access the default navigation