original_string: public function renderOrbit()
      {
          $contents = $list = array();
  
          foreach ($this->items as $item) {
              $list[] = $this->renderItem($item);
          }
          if ($this->showPreloader) {
              $contents[] = \CHtml::tag('div', array('class' => Enum::ORBIT_LOADER), '&nbsp;');
          }
  
          $contents[] = \CHtml::tag(
              'ul',
              array(
                  'id'         => $this->getId(),
                  'data-orbit' => 'data-orbit'
              ),
              implode("\n", $list)
          );
          return \CHtml::tag('div', $this->htmlOptions, implode("\n", $contents));
      }
code: public function renderOrbit()
      {
          $contents = $list = array();
  
          foreach ($this->items as $item) {
              $list[] = $this->renderItem($item);
          }
          if ($this->showPreloader) {
              $contents[] = \CHtml::tag('div', array('class' => Enum::ORBIT_LOADER), '&nbsp;');
          }
  
          $contents[] = \CHtml::tag(
              'ul',
              array(
                  'id'         => $this->getId(),
                  'data-orbit' => 'data-orbit'
              ),
              implode("\n", $list)
          );
          return \CHtml::tag('div', $this->htmlOptions, implode("\n", $contents));
      }
code_tokens: public function renderOrbit ( ) { $ contents = $ list = array ( ) ; foreach ( $ this -> items as $ item ) { $ list [ ] = $ this -> renderItem ( $ item ) ; } if ( $ this -> showPreloader ) { $ contents [ ] = \ CHtml :: tag ( 'div' , array ( 'class' => Enum :: ORBIT_LOADER ) , '&nbsp;' ) ; } $ contents [ ] = \ CHtml :: tag ( 'ul' , array ( 'id' => $ this -> getId ( ) , 'data-orbit' => 'data-orbit' ) , implode ( "\n" , $ list ) ) ; return \ CHtml :: tag ( 'div' , $ this -> htmlOptions , implode ( "\n" , $ contents ) ) ; }
docstring: Renders the orbit plugin
  @return string the generated HTML string
docstring_tokens: Renders the orbit plugin