original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: Renders the navigation
docstring_tokens: Renders the navigation