<?php NavBar::begin([
'renderInnerContainer' => false,
'options' => [
'renderInnerContainer' => false,
'tag' => 'div',
'class' => 'row',
],
]); ?>
...
<?php NavBar::end(); ?><div id="w0" class="row navbar" role="navigation">
...
</div>$('#w0').removeClass('navbar'); Html::addCssClass($this->options, 'navbar');if (!isset($this->options['class'])){
Html::addCssClass($this->options, 'navbar');
}