}
+ public function getName()
+ {
+ return $this->name;
+ }
+
public function getTitle()
{
if (isset($this->arConfig['title'])) {
}
}
- return $this->arConfig['url'];
+ if (isset($this->arConfig['url'])) {
+ return $this->arConfig['url'];
+ }
+ return null;
}
- public function getWebURL()
+ public function getWebURL($full = false)
{
if (isset($this->arConfig['homepage'])) {
return $this->arConfig['homepage'];
if ($this->isLocal()) {
$local = $this->getLocalRepository();
if ($local !== null) {
- return $local->getLink('display');
+ return $local->getLink('display', null, $full);
}
}
public function isLocal()
{
return isset($this->arConfig['url'])
- && $this->arConfig['url']{0} == '/';
+ && $this->arConfig['url'][0] == '/';
}
/**