protected function renderNavigation()
    {
        $nav = array();
        if (!empty($this->wrapperOptions)) {
            $nav[] = \CHtml::openTag('div', $this->wrapperOptions);
        }
        $nav[] = \CHtml::openTag('nav', $this->htmlOptions);
        $nav[] = $this->renderTitle();
        $nav[] = $this->renderItems();
        $nav[] = \CHtml::closeTag('nav');

        if (!empty($this->wrapperOptions)) {
            $nav[] = \CHtml::closeTag('div');
        }
        return implode("\n", $nav);
    }