Свойство | Тип | Описание | |
---|---|---|---|
$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 |