function views_tabset::set_body

Set the body of a tab.

File

includes/tabs.inc, line 82

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;
}