77 return htmlspecialchars(
$input, ENT_COMPAT,
'UTF-8');
94 return '<a href="' .
$url .
'">' . ($label ? $this->
h($label) :
$url) .
'</a>';
107 list($ns, $localName) = XmlService::parseClarkNotation($element);
108 if (isset($this->namespaceMap[$ns])) {
109 $propName = $this->namespaceMap[$ns] .
':' . $localName;
111 $propName = $element;
113 return "<span title=\"" . $this->
h($element) .
"\">" . $this->
h($propName) .
"</span>";
resolve($basePath, $newPath)
This file contains all the uri handling functions.
link($url, $label=null)
Generates a full -tag.
xmlName($element)
This method takes an xml element in clark-notation, and turns it into a shortened version with a pref...
fullUrl($path)
Generates a 'full' url based on a relative one.
h($input)
Escape string for HTML output.
__construct($baseUri, array $namespaceMap)
Creates the object.
This class provides a few utility functions for easily generating HTML for the browser plugin...