closetabbody()

Close tab body.

Versions: 9

opentabbody( void ) : string

Parameters

No parameters.

Return Values

(string)

Examples

$tab_title['title'][] = 'Tab 1';
$tab_title['id'][] = 'tab1';
$tab_title['icon'][] = 'fa fa-cog';
$tab_title['title'][] = 'Tab 2';
$tab_title['id'][] = 'tab2';
$tab_title['icon'][] = 'fa fa-folder';
$tab_active = tab_active($tab_title, 0);
echo opentab($tab_title, $tab_active, 'testtab');
echo opentabbody($tab_title['title'][0], 'tab1', $tab_active);
echo 'Tab 1 content goes here';
echo closetabbody();
echo opentabbody($tab_title['title'][1], 'tab2', $tab_active);
echo 'Tab 2 content goes here';
echo closetabbody();
echo closetab();

This function can be overridden in your theme.