Hi all,

I need to retrieve my navigation in my controllers (i need breadcrumbs
element to be in the JsonModel) for some ajax request.

My navigation is generated by a service class that extend
DefaultNavigationFactory. In my Layout, is no problem. I can use
$this->navigation()->breadcrumbs()...


So, in my controller, i can retrieve my service like that:
$container = $this->getServiceLocator()->get('NavigationAdmin');


But now, how to retrieve the breadcrumbs or menu with $container ?


Thanks in advance,
Michael



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/ZF2-Retrieve-navigation-in-Controller-tp4660639.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to