/** * Begins the display of a new panel. * * @param string $text Text to display. * @param string $id Identifier of the panel. * * @return string HTML to start a new panel * * @since 11.1 */ public static function panel($text, $id) { $content = ''; if (self::$open) { $content .= '</dd>'; } else { self::$open = true; } $content .= '<dt id="tab' . $id . '"><a href="#tab' . $id . '">' . $text . '</a></dt><dd>'; return $content; }