protected function bootstrapNavs(array $items, $class, $stacked) {

        $attributes = [];

        $attributes["class"][] = "nav";
        $attributes["class"][] = $class;
        $attributes["class"][] = true === $stacked ? "nav-stacked" : null;

        $innerHTML = [];
        foreach ($items as $current) {
            $innerHTML[] = $this->bootstrapNav($current);
        }

        return static::coreHTMLElement("ul", "\n" . implode("\n", $innerHTML) . "\n", $attributes);
    }
protected function bootstrapNavs(array $items, $class, $stacked) {

        $attributes = [];

        $attributes["class"][] = "nav";
        $attributes["class"][] = $class;
        $attributes["class"][] = true === $stacked ? "nav-stacked" : null;

        $innerHTML = [];
        foreach ($items as $current) {
            $innerHTML[] = $this->bootstrapNav($current);
        }

        return static::coreHTMLElement("ul", "\n" . implode("\n", $innerHTML) . "\n", $attributes);
    }
protected function bootstrapNavs ( array $ items , $ class , $ stacked ) { $ attributes = [ ] ; $ attributes [ "class" ] [ ] = "nav" ; $ attributes [ "class" ] [ ] = $ class ; $ attributes [ "class" ] [ ] = true === $ stacked ? "nav-stacked" : null ; $ innerHTML = [ ] ; foreach ( $ items as $ current ) { $ innerHTML [ ] = $ this -> bootstrapNav ( $ current ) ; } return static :: coreHTMLElement ( "ul" , "\n" . implode ( "\n" , $ innerHTML ) . "\n" , $ attributes ) ; }
Displays a Bootstrap navs.

@param array $items The items.
@param string $class The class.
@param bool $stacked Stacked ?
@return string Returns the Bootstrap nav.
Displays a Bootstrap navs .