public function heading($text, $level = 2, $classes = 'main', $id = null) {
        $text .= "\n";
        switch ($level) {
            case 1:
                return '=>' . $text;
            case 2:
                return '-->' . $text;
            default:
                return $text;
        }
    }
public function heading($text, $level = 2, $classes = 'main', $id = null) {
        $text .= "\n";
        switch ($level) {
            case 1:
                return '=>' . $text;
            case 2:
                return '-->' . $text;
            default:
                return $text;
        }
    }
public function heading ( $ text , $ level = 2 , $ classes = 'main' , $ id = null ) { $ text .= "\n" ; switch ( $ level ) { case 1 : return '=>' . $ text ; case 2 : return '-->' . $ text ; default : return $ text ; } }
Returns a template fragment representing a Heading.

@param string $text The text of the heading
@param int $level The level of importance of the heading
@param string $classes A space-separated list of CSS classes
@param string $id An optional ID
@return string A template fragment for a heading
Returns a template fragment representing a Heading .