/** * Add a class for this special label so that * it can have special styling */ function Title() { $title = parent::Title(); if ($title) { return <<<HTML <span class="keylabel">{$title}</span> HTML; } else { return ''; } }