closecollapsebody()

Close collapsing panel.

Versions: 9

closecollapsebody( void ) : string

Parameters

No parameters.

Return Values

(string)

Examples

$collapse_id = 'test-group';
echo opencollapse($collapse_id);
echo opencollapsebody('Test 1', 'panel1', $collapse_id);
echo 'Content goes here';
echo closecollapsebody();
echo opencollapsebody('Test 2', 'panel2', $collapse_id, true); // this panel will be open
echo 'Content goes here';
echo closecollapsebody();
echo closecollapse();

This function can be overridden in your theme.