Adding Parameters to Zend_Navigation

Posted by Grant Collins on Stack Overflow See other posts from Stack Overflow or by Grant Collins
Published on 2010-05-23T20:17:05Z Indexed on 2010/05/23 20:20 UTC
Read the original article Hit count: 348

I have a problem with Zend_Navigation that I am hoping for a little guidance on.

I'm in the process of adding a Zend_Navigation to a legacy app as described [here on SO].1

The thing that I am not sure of is how to add parameters to the navigation menu after the data is loaded from the xml file.

What I want to do is get 2 identifying parameters from the url and add them to the Zend_Navigation so that they are included in things such as the breadcrumb bar, so that if a user selects the previous item in the breadcrumb they are returned with the correct params in the url.

The parameters, I believe need to be set at the Action level rather than the controller.

Any help would be appreciated.

Many thanks.

© Stack Overflow or respective owner

Related posts about php

Related posts about zend-framework