class views_tab

An object to represent an individual tab within a tabset.

Hierarchy

Expanded class hierarchy of views_tab

3 string references to 'views_tab'
views_tab::render in includes/tabs.inc
Generate HTML output for a tab.
views_tabset::add in includes/tabs.inc
Add a tab to the tabset.
views_ui_theme in ./views_ui.module

File

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

View source
class views_tab {
  var $title;
  var $body;
  var $name;

  /**
   * Construct a new tab.
   */
  function views_tab($name, $title, $body = NULL) {
    $this->name = $name;
    $this->title = $title;
    $this->body = $body;
  }

  /**
   * Generate HTML output for a tab.
   */
  function render() {
    return theme('views_tab', $this->body);
  }
}

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
views_tab::render function Generate HTML output for a tab.
views_tab::views_tab function Construct a new tab.