zendframework/zf2 — pull request #2201 by zucchi (2012-08-19 18:01:17+00:00)
Title: Zucchi/nav refactor

Have updated Navigation view helpers to exist within Zend\Navigation namespace.

This now logically groups the helpers in the same way that we have done with the form view helpers.

No unit tests have broken in the move.

I have also modified the helpers so that it is now optional to use the navigation helper as a proxy and maintains BC.

You can now do any of the following from within a view

$this->navigation->($container)->menu();
$this->menu($container);

$this->navigation->($container)->breadcrumbs();
$this->breadcrumbs($container);

$this->navigation->($container)->links();
$this->links($container);

$this->navigation->($container)->sitemap();
$this->sitemap($container);