I am using the Zend_Navigation-Components for mapping the navigational
website structure (which is also used for rendering breadcrumbs).
There are routes which are containing parameter-segments. Those
parameter-segment values are used for retrieving data-base entries and using
them for the view.

Now those data-base entries should be somehow enumerated for the routes with
their respective parameter segment values so that we get a complete
structure.
I could initialize the Zend_Navigation container with elements generated
from database at each request (for example from inside a
frontcontroller-plugin or somewhere else).
But I think a more elegant approach could be an enumeration class. -I wasn't
however able to find anything about this - not in documentation nor in the
blogs.
This is also important because I have often nested structures. Maybe this
kind of approach isn't actually implemented at all... How could I implement
this?

Thank you for your answers in advance
With best regards
Innocentus

Reply via email to