System update (API)
This commit is contained in:
parent
edc9424c6d
commit
3e1526768a
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue