source/Application/Model/Actions.php
public function getBannerLink()
    {
        $sUrl = null;

        if (isset($this->oxactions__oxlink) && $this->oxactions__oxlink->value) {
            /** @var \OxidEsales\Eshop\Core\UtilsUrl $oUtilsUlr */
            $oUtilsUlr = \OxidEsales\Eshop\Core\Registry::getUtilsUrl();
            $sUrl = $oUtilsUlr->addShopHost($this->oxactions__oxlink->value);
            $sUrl = $oUtilsUlr->processUrl($sUrl);
        } else {
            if ($oArticle = $this->getBannerArticle()) {
                // if article is assigned to banner, getting article link
                $sUrl = $oArticle->getLink();
            }
        }

        return $sUrl;
    }
public function getBannerLink()
    {
        $sUrl = null;

        if (isset($this->oxactions__oxlink) && $this->oxactions__oxlink->value) {
            /** @var \OxidEsales\Eshop\Core\UtilsUrl $oUtilsUlr */
            $oUtilsUlr = \OxidEsales\Eshop\Core\Registry::getUtilsUrl();
            $sUrl = $oUtilsUlr->addShopHost($this->oxactions__oxlink->value);
            $sUrl = $oUtilsUlr->processUrl($sUrl);
        } else {
            if ($oArticle = $this->getBannerArticle()) {
                // if article is assigned to banner, getting article link
                $sUrl = $oArticle->getLink();
            }
        }

        return $sUrl;
    }
public function getBannerLink ( ) { $ sUrl = null ; if ( isset ( $ this -> oxactions__oxlink ) && $ this -> oxactions__oxlink -> value ) { /** @var \OxidEsales\Eshop\Core\UtilsUrl $oUtilsUlr */ $ oUtilsUlr = \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsUrl ( ) ; $ sUrl = $ oUtilsUlr -> addShopHost ( $ this -> oxactions__oxlink -> value ) ; $ sUrl = $ oUtilsUlr -> processUrl ( $ sUrl ) ; } else { if ( $ oArticle = $ this -> getBannerArticle ( ) ) { // if article is assigned to banner, getting article link $ sUrl = $ oArticle -> getLink ( ) ; } } return $ sUrl ; }
Returns assigned banner link. If no link is defined and article is
assigned to banner, article link will be returned.

@return string
Returns assigned banner link . If no link is defined and article is assigned to banner article link will be returned .