function views_tabset::set_selected

2.x tabs.inc views_tabset::set_selected($name)

Control which tab will be selected when it is rendered.

File

includes/tabs.inc, line 114
Classes and theme functions for rendering javascript UI tabs.

Class

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

Code

function set_selected($name) {
  $this->selected = $name;
}