bootstrap\ToggleButtonGroup $encodeLabels

$encodeLabels public property Whether the items labels should be HTML-encoded. public boolean $encodeLabels = true

bootstrap\Tabs run()

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

bootstrap\ToggleButtonGroup $labelOptions

$labelOptions public property The HTML attributes for the label (button) tag. See also: yii\bootstrap\Html::checkbox() yii\bootstrap\Html::radio() public \yii\bootstrap\array, $labelOptions = []

bootstrap\ToggleButtonGroup $items

$items public property The data item used to generate the checkboxes. The array values are the labels, while the array keys are the corresponding checkbox or radio values. public array $items = []

bootstrap\Tabs renderDropdown()

renderDropdown() protected method Normalizes dropdown item options by removing tab specific keys content and contentOptions, and also configure panes accordingly. protected boolean renderDropdown ( $itemNumber, &$items, &$panes )$itemNumber string Number of the item $items array The dropdown items configuration. $panes array The panes reference array. return boolean Whether any of the dropdown items is active or not. throws yii\base\InvalidConfigException

bootstrap\Tabs hasActiveTab()

hasActiveTab() protected method protected boolean hasActiveTab ( )return boolean If there's active tab defined

bootstrap\Tabs init()

init() public method Initializes the widget. public void init ( )

bootstrap\Tabs renderItems()

renderItems() protected method Renders tab items as specified on $items. protected string renderItems ( )return string The rendering result. throws \yii\bootstrap\InvalidConfigException.

bootstrap\Tabs $items

$items public property List of tabs in the tabs widget. Each array element represents a single tab with the following structure: label: string, required, the tab header label. encode: boolean, optional, whether this label should be HTML-encoded. This param will override global $this->encodeLabels param. headerOptions: array, optional, the HTML attributes of the tab header. linkOptions: array, optional, the HTML attributes of the tab header link tags. content: string, optional, the conten

bootstrap\Tabs $navType

$navType public property Specifies the Bootstrap tab styling. public string $navType = 'nav-tabs'