Tiger_View_Helper_Menu
@api· extendsZend_View_Helper_Abstract
Tiger_View_Helper_Menu — render a custom menu in a view: <?= $this->menu('primary') ?>.
A thin wrapper over Tiger_Menu::getHTML (auth-filtered, translated, active-state). The developer owns the container — this emits only the
- . Pass options to set the outer
list's class/id:
$this->menu('primary', ['class' => 'navbar-nav', 'id' => 'main-nav']).
Methods
menu()
menu($menuKey = null, array $options = [])
Render a custom menu's <ul>, or return the helper for fluent access.
$menuKeystring|null— the menu key to render; null returns the helper itself$optionsarray— outer list attributes (e.g.class,id)
Returns string|self — the menu HTML, or $this when no key is given