PHP Класс TbTabs

См. также:
Наследование: extends CWidget
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$encodeLabel whether to encode item labels.
$events the Javascript event handlers.
$htmlOptions the HTML attributes for the widget container.
$placement the placement of the tabs. Valid values are 'above', 'below', 'left' and 'right'.
$stacked indicates whether to stack navigation items.
$tabContentHtmlOptions the HTML attributes for the widget tab content container.
$tabMenuHtmlOptions the HTML attributes for the widget tab content container.
$tabs the tab configuration.
$type the type of tabs to display. Defaults to 'tabs'. Valid values are 'tabs' and 'pills'. Please not that Javascript pills are not fully supported in Bootstrap yet!

Открытые методы

Метод Описание
init ( ) ### .init()
run ( ) ### .run()

Защищенные методы

Метод Описание
normalizeTabs ( array $tabs, array &$panes, integer &$i ) : array ### .normalizeTabs()

Описание методов

init() публичный Метод

Initializes the widget.
public init ( )

normalizeTabs() защищенный Метод

Normalizes the tab configuration.
protected normalizeTabs ( array $tabs, array &$panes, integer &$i ) : array
$tabs array the tab configuration
$panes array a reference to the panes array
$i integer the current index
Результат array the items

run() публичный Метод

Run this widget.
public run ( )

Описание свойств

$encodeLabel публичное свойство

whether to encode item labels.
public $encodeLabel

$events публичное свойство

the Javascript event handlers.
public $events

$htmlOptions публичное свойство

the HTML attributes for the widget container.
public $htmlOptions

$placement публичное свойство

the placement of the tabs. Valid values are 'above', 'below', 'left' and 'right'.
public $placement

$stacked публичное свойство

indicates whether to stack navigation items.
public $stacked

$tabContentHtmlOptions публичное свойство

the HTML attributes for the widget tab content container.
public $tabContentHtmlOptions

$tabMenuHtmlOptions публичное свойство

the HTML attributes for the widget tab content container.
public $tabMenuHtmlOptions

$tabs публичное свойство

the tab configuration.
public $tabs

$type публичное свойство

the type of tabs to display. Defaults to 'tabs'. Valid values are 'tabs' and 'pills'. Please not that Javascript pills are not fully supported in Bootstrap yet!
См. также: TbMenu::$type
public $type