public function getHref()
{
$this->updatePathFromInternal();
$url = $this->data["path"];
if (strlen($this->data["parameters"]) > 0) {
$url .= "?" . str_replace("?", "", $this->getParameters());
}
if (strlen($this->data["anchor"]) > 0) {
$url .= "#" . str_replace("#", "", $this->getAnchor());
}
return $url;
}