widgets/Orbit.php
public function renderItem($item)
    {
        $content = ArrayHelper::getValue($item, 'content', '');
        $caption = ArrayHelper::getValue($item, 'caption');

        if ($caption !== null) {
            $caption = \CHtml::tag('div', array('class' => Enum::ORBIT_CAPTION), $caption);
        }
        return \CHtml::tag('li', array(), $content . $caption);
    }
public function renderItem($item)
    {
        $content = ArrayHelper::getValue($item, 'content', '');
        $caption = ArrayHelper::getValue($item, 'caption');

        if ($caption !== null) {
            $caption = \CHtml::tag('div', array('class' => Enum::ORBIT_CAPTION), $caption);
        }
        return \CHtml::tag('li', array(), $content . $caption);
    }
public function renderItem ( $ item ) { $ content = ArrayHelper :: getValue ( $ item , 'content' , '' ) ; $ caption = ArrayHelper :: getValue ( $ item , 'caption' ) ; if ( $ caption !== null ) { $ caption = \ CHtml :: tag ( 'div' , array ( 'class' => Enum :: ORBIT_CAPTION ) , $ caption ) ; } return \ CHtml :: tag ( 'li' , array ( ) , $ content . $ caption ) ; }
Returns a generated LI tag item
@param array $item the item configuration
@return string the resulting li tag
Returns a generated LI tag item