bootstrap\ButtonGroup renderButtons()

renderButtons() protected method Generates the buttons that compound the group as specified on $buttons. protected string renderButtons ( )return string The rendering result.

bootstrap\ButtonGroup init()

init() public method Initializes the widget. If you override this method, make sure you call the parent implementation first. public void init ( )

bootstrap\ButtonGroup $encodeLabels

$encodeLabels public property Whether to HTML-encode the button labels. public boolean $encodeLabels = true

bootstrap\ButtonGroup $buttons

$buttons public property List of buttons. Each array element represents a single button which can be specified as a string or an array of the following structure: label: string, required, the button label. options: array, optional, the HTML attributes of the button. visible: boolean, optional, whether this button is visible. Defaults to true. public array $buttons = []

bootstrap\ButtonDropdown run()

run() public method Renders the widget. public void run ( )

bootstrap\ButtonDropdown renderDropdown()

renderDropdown() protected method Generates the dropdown menu. protected string renderDropdown ( )return string The rendering result.

bootstrap\ButtonDropdown renderButton()

renderButton() protected method Generates the button dropdown. protected string renderButton ( )return string The rendering result.

bootstrap\ButtonDropdown $tagName

$tagName public property The tag to use to render the button public string $tagName = 'button'

bootstrap\ButtonDropdown $split

$split public property Whether to display a group of split-styled button group. public boolean $split = false

bootstrap\ButtonDropdown $options

$options public property The HTML attributes of the button. See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public array $options = []