public function getHref()
{
$path = "";
if ($this->getLinktype() == "internal") {
if ($this->getObject() instanceof Document || $this->getObject() instanceof Asset) {
$path = $this->getObject()->getFullPath();
}
} else {
$path = $this->getDirect();
}
$this->href = $path;
return $path;
}