PHP Class TbTabs

See also:
Inheritance: extends CWidget
Afficher le fichier Open project: yinhe/yincart

Méthodes publiques

Свойство Type Description
$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!

Méthodes publiques

Méthode Description
init ( ) ### .init()
run ( ) ### .run()

Méthodes protégées

Méthode Description
normalizeTabs ( array $tabs, array &$panes, integer &$i ) : array ### .normalizeTabs()

Method Details

init() public méthode

Initializes the widget.
public init ( )

normalizeTabs() protected méthode

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
Résultat array the items

run() public méthode

Run this widget.
public run ( )

Property Details

$encodeLabel public_oe property

whether to encode item labels.
public $encodeLabel

$events public_oe property

the Javascript event handlers.
public $events

$htmlOptions public_oe property

the HTML attributes for the widget container.
public $htmlOptions

$placement public_oe property

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

$stacked public_oe property

indicates whether to stack navigation items.
public $stacked

$tabContentHtmlOptions public_oe property

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

$tabMenuHtmlOptions public_oe property

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

$tabs public_oe property

the tab configuration.
public $tabs

$type public_oe property

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!
See also: TbMenu::$type
public $type