widgets/Orbit.php
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));
    }
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));
    }
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 ) ) ; }
Renders the orbit plugin
@return string the generated HTML string
Renders the orbit plugin