source/Core/ViewConfig.php
public function getHomeLink()
    {
        if (($sValue = $this->getViewConfigParam('homeLink')) === null) {
            $sValue = null;

            $blAddStartCl = $this->isStartClassRequired();
            if ($blAddStartCl) {
                $baseLanguage = \OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage();
                $sValue = \OxidEsales\Eshop\Core\Registry::getSeoEncoder()->getStaticUrl($this->getSelfLink() . 'cl=start', $baseLanguage);
                $sValue = \OxidEsales\Eshop\Core\Registry::getUtilsUrl()->appendUrl(
                    $sValue,
                    \OxidEsales\Eshop\Core\Registry::getUtilsUrl()->getBaseAddUrlParams()
                );
                $sValue = getStr()->preg_replace('/(\?|&(amp;)?)$/', '', $sValue);
            }

            if (!$sValue) {
                $sValue = getStr()->preg_replace('#index.php\??$#', '', $this->getSelfLink());
            }

            $this->setViewConfigParam('homeLink', $sValue);
        }

        return $sValue;
    }
public function getHomeLink()
    {
        if (($sValue = $this->getViewConfigParam('homeLink')) === null) {
            $sValue = null;

            $blAddStartCl = $this->isStartClassRequired();
            if ($blAddStartCl) {
                $baseLanguage = \OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage();
                $sValue = \OxidEsales\Eshop\Core\Registry::getSeoEncoder()->getStaticUrl($this->getSelfLink() . 'cl=start', $baseLanguage);
                $sValue = \OxidEsales\Eshop\Core\Registry::getUtilsUrl()->appendUrl(
                    $sValue,
                    \OxidEsales\Eshop\Core\Registry::getUtilsUrl()->getBaseAddUrlParams()
                );
                $sValue = getStr()->preg_replace('/(\?|&(amp;)?)$/', '', $sValue);
            }

            if (!$sValue) {
                $sValue = getStr()->preg_replace('#index.php\??$#', '', $this->getSelfLink());
            }

            $this->setViewConfigParam('homeLink', $sValue);
        }

        return $sValue;
    }
public function getHomeLink ( ) { if ( ( $ sValue = $ this -> getViewConfigParam ( 'homeLink' ) ) === null ) { $ sValue = null ; $ blAddStartCl = $ this -> isStartClassRequired ( ) ; if ( $ blAddStartCl ) { $ baseLanguage = \ OxidEsales \ Eshop \ Core \ Registry :: getLang ( ) -> getBaseLanguage ( ) ; $ sValue = \ OxidEsales \ Eshop \ Core \ Registry :: getSeoEncoder ( ) -> getStaticUrl ( $ this -> getSelfLink ( ) . 'cl=start' , $ baseLanguage ) ; $ sValue = \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsUrl ( ) -> appendUrl ( $ sValue , \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsUrl ( ) -> getBaseAddUrlParams ( ) ) ; $ sValue = getStr ( ) -> preg_replace ( '/(\?|&(amp;)?)$/' , '' , $ sValue ) ; } if ( ! $ sValue ) { $ sValue = getStr ( ) -> preg_replace ( '#index.php\??$#' , '' , $ this -> getSelfLink ( ) ) ; } $ this -> setViewConfigParam ( 'homeLink' , $ sValue ) ; } return $ sValue ; }
Returns shops home link

@return string
Returns shops home link