HTML;
}
/**
* Close the current accordion group
*
* @return string HTML to close the accordion group
*/
public static function end()
{
return <<< HTML
HTML;
}
/**
* @param string $title The title HTML of this panel
* @param string $id The ID of this panel
* @param string $accordionId The ID of the accordion this panel belongs to
* @param string $panelStyle The style of this panel (default, warning, info, success, danger)
* @param boolean $open Is this panel open in the accordion?
*/
public static function panel($title, $id, $accordionId, $panelStyle = 'default', $open = false)
{
// Open a new panel inside the accordion
$in = $open ? 'in' : '';
echo <<< HTML