/** * Register parser hook */ function initSemanticHTML() { require_once 'SemanticHTML.class.php'; SemanticHTMLParser::registerHooks(); return true; }
public static function parseVar($text, $attributes, $parser) { return SemanticHTMLParser::parseElement('var', $text, $attributes, $parser); }