News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Brandon Savage's Blog:
Making Zend_Navigation Useful
March 31, 2010 @ 09:18:23

As a follow-up to his previous post on Zend_Navigation Brandon Savage takes a look at how to make it more useful by using some of the methods that come bundled with the component.

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.

This view helper, "navigation", gives you some interesting functionality including what he illustrates - fineOneBy, htmlify, building breadcrumbs, menu generation and a way to finally render the menu as output. You can see more of the options/methods in the Zend Framework manual for the helper.

0 comments voice your opinion now!
zendnavigation tutorial viewhelper zendframework


blog comments powered by Disqus

Similar Posts

HowTo Forge: Installing The PHP-MSSQL Module On CentOS 5.0

Padraic Brady's Blog: ZF Blog App - Part 4: Design with Blueprint CSS & Zend_Layout

IBM developerWorks: Build a web-based notification tool with XMPP

Anis uddin Ahmad's Blog: Advanced bootstrapping : Configure your Zend Framework application for mult

Zend Developer Zone: Zend Framework 1.7.0 is now available


Community Events





Don't see your event here?
Let us know!


series threedevsandamaybe list development language framework introduction developer tips api podcast laravel code zendserver release application community deployment conference interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework