protected function renderSidenav($sidenavId)
    {
        return SideNav::widget([
            'items' => $this->sidenavItems,
            'renderToggleButton' => false,
            'clientOptions' => $this->sidenavClientOptions,
            'options' => ['id' => $sidenavId],
        ]);
    }
protected function renderSidenav($sidenavId)
    {
        return SideNav::widget([
            'items' => $this->sidenavItems,
            'renderToggleButton' => false,
            'clientOptions' => $this->sidenavClientOptions,
            'options' => ['id' => $sidenavId],
        ]);
    }
protected function renderSidenav ( $ sidenavId ) { return SideNav :: widget ( [ 'items' => $ this -> sidenavItems , 'renderToggleButton' => false , 'clientOptions' => $ this -> sidenavClientOptions , 'options' => [ 'id' => $ sidenavId ] , ] ) ; }
Renders the side navigation and corresponding toggle button.
@param $sidenavId
@return string the rendered side navigation markup.
@throws \Exception
Renders the side navigation and corresponding toggle button .