There was an error while loading. Please reload this page.
The SxBootstap buttonGroup view helper shows a buttonGroup made with the twitter bootstrap and [sxbButton] (https://github.com/RWOverdijk/SxBootstrap/wiki/Button). The following syntax builds the buttonGroup.
<?php echo $this->sxbButtonGroup($arrayButtons); ?>
<?php $options = array( 'name' => 'buttonName', 'id' => 'buttonID', 'data-loading-text' => 'Loading..', 'data-toggle' => 'button', ); $buttons = array( $this->sxbButton($options), $this->sxbButton($options), ); echo $this->sxbButtonGroup($buttons); ?>
<?php // checkbox, radio echo $this->sxbButtonGroup($buttons)->radio(); ?>
<?php // vertical echo $this->sxbButtonGroup($buttons)->vertical(); ?>
<?php // addClass, addButton echo $this->sxbButtonGroup($buttons)->addClass('groupClass'); echo $this->sxbButtonGroup($buttons)->addButton($this->sxbButton()); ?>