PHP 클래스 TbTabs

또한 보기:
상속: extends CWidget
파일 보기 프로젝트 열기: yinhe/yincart

공개 프로퍼티들

프로퍼티 타입 설명
$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