function views_tabset::add_tab

Add a fully realized tab object to the tabset.

Parameters

$tab: A fully populated views_tab object.

1 call to views_tabset::add_tab()
views_tabset::add in includes/tabs.inc
Add a tab to the tabset.

File

includes/tabs.inc, line 55

Class

views_tabset
Contain a set of tabs as well as the ability to render them.

Code

function add_tab($tab) {
    $this->tabs[$tab->name] = $tab;
}