Tiger_View_Helper_Menu

@api · extends Zend_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($menuKey = null, array $options = [])

    Render a custom menu's <ul>, or return the helper for fluent access.

    • $menuKey string|null — the menu key to render; null returns the helper itself
    • $options array — outer list attributes (e.g. class, id)

    Returns string|self — the menu HTML, or $this when no key is given