function views_tabset::set_body in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 6.2 includes/tabs.inc \views_tabset::set_body()
Set the body of a tab.
File
- includes/
tabs.inc, line 82 - 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_body($name, $body) {
if (empty($this->tabs[$name])) {
return $this
->add($name, '', $body);
}
$this->tabs[$name]->body = $body;
}