bootstrap\ButtonGroup $encodeLabels

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

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 $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\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\ButtonDropdown run()

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

bootstrap\ButtonDropdown $tagName

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

bootstrap\ButtonDropdown renderButton()

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

bootstrap\ButtonDropdown renderDropdown()

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

bootstrap\ButtonDropdown $encodeLabel

$encodeLabel public property Whether the label should be HTML-encoded. public boolean $encodeLabel = true

bootstrap\ButtonDropdown $split

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