Helper/Bootstrap/Nav.php
public function addMenu(string $label, Addon\DropDownMenu $menu, bool $active = false, bool $disabled = false)
    {
        $this->items[] = [
            'label'    => $label, 
            'menu'     => $menu, 
            'active'   => $active, 
            'disabled' => $disabled
        ];
        return $this;
    }
public function addMenu(string $label, Addon\DropDownMenu $menu, bool $active = false, bool $disabled = false)
    {
        $this->items[] = [
            'label'    => $label, 
            'menu'     => $menu, 
            'active'   => $active, 
            'disabled' => $disabled
        ];
        return $this;
    }
public function addMenu ( string $ label , Addon \ DropDownMenu $ menu , bool $ active = false , bool $ disabled = false ) { $ this -> items [ ] = [ 'label' => $ label , 'menu' => $ menu , 'active' => $ active , 'disabled' => $ disabled ] ; return $ this ; }
Add a menu element to the nav bar
@param string $label
@param \Osf\View\Helper\Bootstrap\Addon\DropDownMenu $menu
@param bool $active
@param bool $disabled
@return $this
Add a menu element to the nav bar