src/View/Helper/Navigation/Navbar.php
protected function renderNavigation(AbstractContainer $container, array $options)
    {
        // Start html
        $html = $this->renderNavbarContainerHeader($options)
            . $this->renderNavbarMenu($container, $options);

        // Add form if applicable
        if ($options['useForm']) {
            $html .= $this->renderNavbarForm($options);
        }

        // Add right aligned menu
        if ($options['rightMenu']) {
            $html .= $this->renderNavbarRightMenu($options);
        }

        // Finish html
        $html .= $this->renderNavbarContainerFooter();
        return $html;
    }
protected function renderNavigation(AbstractContainer $container, array $options)
    {
        // Start html
        $html = $this->renderNavbarContainerHeader($options)
            . $this->renderNavbarMenu($container, $options);

        // Add form if applicable
        if ($options['useForm']) {
            $html .= $this->renderNavbarForm($options);
        }

        // Add right aligned menu
        if ($options['rightMenu']) {
            $html .= $this->renderNavbarRightMenu($options);
        }

        // Finish html
        $html .= $this->renderNavbarContainerFooter();
        return $html;
    }
protected function renderNavigation ( AbstractContainer $ container , array $ options ) { // Start html $ html = $ this -> renderNavbarContainerHeader ( $ options ) . $ this -> renderNavbarMenu ( $ container , $ options ) ; // Add form if applicable if ( $ options [ 'useForm' ] ) { $ html .= $ this -> renderNavbarForm ( $ options ) ; } // Add right aligned menu if ( $ options [ 'rightMenu' ] ) { $ html .= $ this -> renderNavbarRightMenu ( $ options ) ; } // Finish html $ html .= $ this -> renderNavbarContainerFooter ( ) ; return $ html ; }
Render navbar container

@param  AbstractContainer $container Container to create menu from.
@param  array             $options   Options for controlling rendering
@throws Exception\InvalidArgumentException
Render navbar container