System update (API)

This commit is contained in:
markseu 2017-07-11 14:14:50 +02:00
parent edc9424c6d
commit 3e1526768a

View file

@ -801,6 +801,12 @@ class YellowPage
return !is_null($this->pageRelations[$key]) ? $this->pageRelations[$key] : $this;
}
// Return page base
function getBase($multiLanguage = false)
{
return $multiLanguage ? rtrim($this->base.$this->yellow->pages->getHomeLocation($this->location), '/') : $this->base;
}
// Return page location
function getLocation($absoluteLocation = false)
{