<?php
function theme_menu_@(id)($content = ''){
    ob_start();
?>
    @effects.openTag
    <div class="@containerInner">
        @if( responsive !== false) {
        <div class="@classNames collapse-button">
            <div class="@item.classNames">
                <a class="@include("buttonIcon")"
                    data-toggle="collapse"
                    data-target="@(selector) .navbar-collapse" href="#"></a>
            </div>
        </div>

        <div class="navbar-collapse collapse">
        }
            <ul class="@classNames nav @type">
                <?php echo $content; ?>
            </ul>
        @if( responsive !== false) {
        </div>
        }
    </div>
    @effects.closeTag
<?php
    return ob_get_clean();
}
?>