bootstrap\Dropdown run()

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

bootstrap\Dropdown init()

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

bootstrap\Dropdown $items

$items public property List of menu items in the dropdown. Each array element can be either an HTML string, or an array representing a single menu with the following structure: label: string, required, the label of the item link. encode: boolean, optional, whether to HTML-ecnode item label. url: string|array, optional, the url of the item link. This will be processed by \yii\bootstrap\Url::to(). If not set, the item will be treated as a menu header when the item has no sub-menu. visible: bo

bootstrap\Dropdown $encodeLabels

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

bootstrap\Collapse renderItems()

renderItems() public method Renders collapsible items as specified on $items. public string renderItems ( )return string The rendering result throws yii\base\InvalidConfigException if label isn't specified

bootstrap\Collapse run()

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

bootstrap\Collapse renderItem()

renderItem() public method Renders a single collapsible item group public string renderItem ( $header, $item, $index )$header string A label of the item group $items $item array A single item from $items $index integer The item index as each item group content must have an id return string The rendering result throws yii\base\InvalidConfigException

bootstrap\Collapse init()

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

bootstrap\Carousel run()

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

bootstrap\Collapse $encodeLabels

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