Making Zend_Navigation Useful

In the last blog post, we discussed creating Zend_Navigation pages and containers. This is certainly wonderful and exciting, but the reality is that for the most part, Zend_Navigation is a pretty useless component of Zend Framework until you have a way to get the data out of the structure you’ve built. And since navigation is a component of most people’s views, we have a view helper to give us the tools we need.

When inside the view, there is a helper method called navigation() that can be accessed to do pretty much any of the things you need to do with the navigation objects. So let’s get started.

(more…)

Wednesday, March 31st, 2010 @ 7:00 am | Comment (4) | Categories: Technology, Web Design, Zend Framework
Tags: , , , , , ,


Copyright © 2022 by Brandon Savage. All rights reserved.