PHP Class TbWizard

See also:
Inheritance: extends CWidget
Show file Open project: yinhe/yincart

Public Properties

Property Type Description
$addTabsNavBar Add tabs navbar to the main tab navigation
$encodeLabel whether to encode item labels.
$events the Javascript event handlers.
$htmlOptions the HTML attributes for the widget container.
$options the JS options for the bootstrap wizard plugin
$pagerContent Pager HTML code
$placement the placement of the tabs. Valid values are 'above', 'below', 'left' and 'right'.
$stacked indicates whether to stack navigation items.
$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!

Public Methods

Method Description
init ( ) ### .init()
run ( ) ### .run()

Protected Methods

Method Description
normalizeTabs ( array $tabs, array &$panes, integer &$i ) : array ### .normalizeTabs()

Method Details

init() public method

Initializes the widget.
public init ( )

normalizeTabs() protected method

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
return array the items

run() public method

Run this widget.
public run ( )

Property Details

$addTabsNavBar public property

Add tabs navbar to the main tab navigation
public $addTabsNavBar

$encodeLabel public property

whether to encode item labels.
public $encodeLabel

$events public property

the Javascript event handlers.
public $events

$htmlOptions public property

the HTML attributes for the widget container.
public $htmlOptions

$options public property

the JS options for the bootstrap wizard plugin
public $options

$pagerContent public property

Pager HTML code
public $pagerContent

$placement public property

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

$stacked public property

indicates whether to stack navigation items.
public $stacked

$tabs public property

the tab configuration.
public $tabs

$type public 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