You are here

function views_tab::views_tab in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 includes/tabs.inc \views_tab::views_tab()

Construct a new tab.

File

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

Class

views_tab
An object to represent an individual tab within a tabset.

Code

function views_tab($name, $title, $body = NULL) {
  $this->name = $name;
  $this->title = $title;
  $this->body = $body;
}