helpers/Button.php
public static function group($buttons, $htmlOptions = array())
    {
        ArrayHelper::addValue('class', 'button-group', $htmlOptions);

        ob_start();
        echo \CHtml::openTag('ul', $htmlOptions);
        foreach ($buttons as $button) {
            echo $button;
        }
        echo \CHtml::closeTag('ul');

        return ob_get_clean();
    }
public static function group($buttons, $htmlOptions = array())
    {
        ArrayHelper::addValue('class', 'button-group', $htmlOptions);

        ob_start();
        echo \CHtml::openTag('ul', $htmlOptions);
        foreach ($buttons as $button) {
            echo $button;
        }
        echo \CHtml::closeTag('ul');

        return ob_get_clean();
    }
public static function group ( $ buttons , $ htmlOptions = array ( ) ) { ArrayHelper :: addValue ( 'class' , 'button-group' , $ htmlOptions ) ; ob_start ( ) ; echo \ CHtml :: openTag ( 'ul' , $ htmlOptions ) ; foreach ( $ buttons as $ button ) { echo $ button ; } echo \ CHtml :: closeTag ( 'ul' ) ; return ob_get_clean ( ) ; }
Generates a group of link buttons
@param array $buttons the link buttons to render in a group
@param array $htmlOptions
@return string
@see http://foundation.zurb.com/docs/components/button-groups.html
Generates a group of link buttons