프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$border | boolean | Set to true to display the border. Default is true | |
$tabs | array | A key value pairs array tabs list, whew value is an instance of WPDKjQueryTab | |
$vertical | boolean | Makes jQuery tabs vertical. |
메소드 | 설명 | |
---|---|---|
__construct ( string $id, array $tabs = [], boolean $vertical = false ) : WPDKjQueryTabsView | Create an instance of WPDKjQueryTabsView class | |
addTab ( WPDKjQueryTab $tab ) | Add a single tab to the tabs list | |
draw ( ) | Display | |
removeTab ( string | WPDKjQueryTab $tab ) | Remove a tab from tabs list |
public __construct ( string $id, array $tabs = [], boolean $vertical = false ) : WPDKjQueryTabsView | ||
$id | string | The view ID |
$tabs | array | Optional. A tabs list. Instances of WPDKjQueryTab class |
$vertical | boolean | Optional. Set to TRUE in order to display vertical tab. Default is FALSE. |
리턴 | WPDKjQueryTabsView |
public addTab ( WPDKjQueryTab $tab ) | ||
$tab | WPDKjQueryTab | An instance of WPDKjQueryTab |
public bool $border | ||
리턴 | boolean |
public array $tabs | ||
리턴 | array |