Core/Config.php
public function getLogoUrl()
    {
        $logoUrl = false;

        $logoName = $this->getLogoImageName();

        if (!empty($logoName)) {
            $logo = oxNew(\OxidEsales\PayPalModule\Core\ShopLogo::class);
            $logo->setImageDir(\OxidEsales\Eshop\Core\Registry::getConfig()->getImageDir());
            $logo->setImageDirUrl(\OxidEsales\Eshop\Core\Registry::getConfig()->getImageUrl());
            $logo->setImageName($logoName);
            $logo->setImageHandler(\OxidEsales\Eshop\Core\Registry::getUtilsPic());

            $logoUrl = $logo->getShopLogoUrl();
        }

        return $logoUrl;
    }
public function getLogoUrl()
    {
        $logoUrl = false;

        $logoName = $this->getLogoImageName();

        if (!empty($logoName)) {
            $logo = oxNew(\OxidEsales\PayPalModule\Core\ShopLogo::class);
            $logo->setImageDir(\OxidEsales\Eshop\Core\Registry::getConfig()->getImageDir());
            $logo->setImageDirUrl(\OxidEsales\Eshop\Core\Registry::getConfig()->getImageUrl());
            $logo->setImageName($logoName);
            $logo->setImageHandler(\OxidEsales\Eshop\Core\Registry::getUtilsPic());

            $logoUrl = $logo->getShopLogoUrl();
        }

        return $logoUrl;
    }
public function getLogoUrl ( ) { $ logoUrl = false ; $ logoName = $ this -> getLogoImageName ( ) ; if ( ! empty ( $ logoName ) ) { $ logo = oxNew ( \ OxidEsales \ PayPalModule \ Core \ ShopLogo :: class ) ; $ logo -> setImageDir ( \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getImageDir ( ) ) ; $ logo -> setImageDirUrl ( \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getImageUrl ( ) ) ; $ logo -> setImageName ( $ logoName ) ; $ logo -> setImageHandler ( \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsPic ( ) ) ; $ logoUrl = $ logo -> getShopLogoUrl ( ) ; } return $ logoUrl ; }
Get logo Url based on selected settings
Returns shop url, or false

@return string|bool
Get logo Url based on selected settings Returns shop url or false