_getShopUrl returns shop home url

@access protected
@return string
549856
protected function _getShopUrl()
    {
        $sUrl = \OxidEsales\Eshop\Core\Registry::getConfig()->getShopUrl();
        $oStr = getStr();
        if ($oStr->strpos($sUrl, '?') !== false) {
            if (!$oStr->preg_match('/[?&](amp;)?$/i', $sUrl)) {
                $sUrl .= '&amp;';
            }
        } else {
            $sUrl .= '?';
        }

        return $sUrl;
    }
1005948
public function getWsdlUrl()
    {
        // overriding wsdl url
        if (($sWsdl = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam("sVatIdCheckInterfaceWsdl"))) {
            $this->_sWsdl = $sWsdl;
        }

        return $this->_sWsdl;
    }
168298
protected function getReturnUrl()
    {
        $controllerKey = \OxidEsales\Eshop\Core\Registry::getControllerClassNameResolver()->getIdByClassName(get_class());
        return $this->getSession()->processUrl($this->getBaseUrl() . "&cl=" . $controllerKey . "&fnc=getExpressCheckoutDetails");
    }
1179892
public function getLink()
    {
        if ($this->oxmediaurls__oxisuploaded->value) {
            $sUrl = \OxidEsales\Eshop\Core\Registry::getConfig()->isSsl() ? \OxidEsales\Eshop\Core\Registry::getConfig()->getSslShopUrl() : \OxidEsales\Eshop\Core\Registry::getConfig()->getShopUrl();
            $sUrl .= 'out/media/';
            $sUrl .= basename($this->oxmediaurls__oxurl->value);
        } else {
            $sUrl = $this->oxmediaurls__oxurl->value;
        }

        return $sUrl;
    }
841330
private function url()
    {
        if (isset($this->_options[self::ENTRY_BASEURL])) {
            return $this->_options[self::ENTRY_BASEURL];
        }

        // this is the default
        return Urls::URL_EXPORT;
    }
1163455
protected function getBaseUrl()
    {
        $baseUrl = $this->container->get('router')->getContext()->getBaseUrl();

        if ($baseUrl === '/') {
            return '';
        }

        return rtrim(str_replace('app_dev.php', '', $this->container->get('router')->getContext()->getBaseUrl()), '/').'/';
    }
795441
public function getSelfLink()
    {
        if (($sValue = $this->getViewConfigParam('selflink')) === null) {
            $sValue = $this->getConfig()->getShopHomeUrl();
            $this->setViewConfigParam('selflink', $sValue);
        }

        return $sValue;
    }
481639
public function getPayPalUrl()
    {
        $url = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('sPayPalUrl');
        if ($url) {
            $this->setPayPalUrl($url);
        }

        return $this->payPalUrl;
    }
739850
public function getShopLogoUrl()
    {
        $imagePath = $this->getImageUrl();
        $resizedImagePath = $this->getResizedImageUrl();

        if ($this->getResize()) {
            $shopLogoPath = $resizedImagePath;

            if (!$this->fileExists($resizedImagePath)) {
                if (!$this->resizeImage()) {
                    // fallback to original image if can not be resized
                    $shopLogoPath = $imagePath;
                }
            }
        } else {
            $shopLogoPath = $imagePath;
        }

        return $shopLogoPath;
    }
972855
public function getShipmentTrackingUrl()
    {
        $oConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
        if ($this->_sShipTrackUrl === null) {
            $sParcelService = $oConfig->getConfigParam('sParcelService');
            $sTrackingCode = $this->getTrackCode();
            if ($sParcelService && $sTrackingCode) {
                $this->_sShipTrackUrl = str_replace("##ID##", $sTrackingCode, $sParcelService);
            }
        }

        return $this->_sShipTrackUrl;
    }
599371
public function getCanonicalUrl()
    {
        if (\OxidEsales\Eshop\Core\Registry::getUtils()->seoIsActive() && ($oViewConf = $this->getViewConfig())) {
            return \OxidEsales\Eshop\Core\Registry::getUtilsUrl()->prepareCanonicalUrl($oViewConf->getHomeLink());
        }
    }
854016
protected static function &GetShopConfigForIndexer()
    {
        static $oShop;
        if (!isset($oShop)) {
            // get first shop we find
            $oShops = &TdbShopList::GetList();
            $oShop = $oShops->Current();
        }

        return $oShop;
    }
1008712
public function getHome()
    {
        // Vars
        $config = config('decoy.site.post_login_redirect');
        $auth = app('decoy.user');

        // Make the config optional
        if ($config) {

            // Support the config being a colsure
            if (is_callable($config)) {
                $config = call_user_func($config);
            }

            // Make sure the user has permission before redirecting
            if ($auth->can('read', $config)) {
                return $config;
            }
        }

        // If the user doesn't have permission, iterate through the navigation
        // options until one is permissible
        foreach ($this->getNavUrls() as $url) {
            if ($auth->can('read', $url)) {
                return $url;
            }
        }

        // Default to their account page, which all can access
        return $auth->getUserUrl();
    }
749445
public function getUrl()
    {
        if ($this->isSandboxEnabled()) {
            $url = $this->getPayPalSandboxUrl();
        } else {
            $url = $this->getPayPalUrl();
        }

        return $url;
    }
1283008
public function getShopNumber()
    {
        if ($this->shop_number === null) {
            $this->shop_number = $this->configHelper->getShopNumber();
        }

        return $this->shop_number;
    }
90130
public function getShopUrl($admin = null)
    {
        return \OxidEsales\Eshop\Core\Registry::getConfig()->getCurrentShopUrl($admin);
    }
1272934
public function GetExportURLList()
    {
        $sReturn = '';
        if (isset($this->oTableRow) && $this->oTableRow instanceof TdbShop) {
            /* @var $oShop TdbShop */
            $oShop = $this->oTableRow;
            $oPortalList = $oShop->GetFieldCmsPortalList();
            $systemPageService = $this->getSystemPageService();
            while ($oPortal = $oPortalList->Next()) {
                $sExportPageURL = $systemPageService->getLinkToSystemPageRelative('productexport', array(), $oPortal);
                if (strstr($sExportPageURL, 'javascript:alert')) {
                    $sReturn = '<div>'.TGlobal::OutHTML(TGlobal::Translate('chameleon_system_shop_product_export.field_show_export_url.error_export_page_missing')).'</div>';
                    continue;
                }
                $sExportPageId = $oPortal->GetSystemPageId('productexport');
                $sSpotName = $this->getExportModuleSpotName($sExportPageId);
                if ('' == $sSpotName) {
                    $sReturn = '<div>'.TGlobal::OutHTML(TGlobal::Translate('chameleon_system_shop_product_export.field_show_export_url.error_export_module_missing')).'</div>';
                    continue;
                }
                $aViewList = $this->getViewNameList($sExportPageId);
                if (0 === count($aViewList)) {
                    $sReturn = '<div>'.TGlobal::OutHTML(TGlobal::Translate('chameleon_system_shop_product_export.field_show_export_url.error_export_views_missing')).'</div>';
                    continue;
                }
                $sReturn .= '<div><h5>'.TGlobal::OutHTML(TGlobal::Translate('chameleon_system_shop_product_export.field_show_export_url.headline', array('%portalName%' => $oPortal->GetName()))).'</h5></div>';
                foreach ($aViewList as $sView) {
                    $sURL = $sExportPageURL.'sModuleSpotName/'.$sSpotName.'/view/'.$sView.'/key/'.$oShop->fieldExportKey;
                    $sReturn .= '<div><b>'.$sView.' -></b> <a href="'.$sURL.'" title="export" target="_blank">'.$sURL.'</a>';
                }
            }
        } else {
            $sReturn = $sReturn = '<div>'.TGlobal::OutHTML(TGlobal::Translate('chameleon_system_shop_product_export.field_show_export_url.error_invalid_field_owner')).'</div>';
        }

        return $sReturn;
    }