source/Application/Model/RssFeed.php
protected function _loadBaseChannel()
    {
        $oShop = \OxidEsales\Eshop\Core\Registry::getConfig()->getActiveShop();
        $this->_aChannel['title'] = $oShop->oxshops__oxname->value;
        $this->_aChannel['link'] = Registry::getUtilsUrl()->prepareUrlForNoSession(\OxidEsales\Eshop\Core\Registry::getConfig()->getShopUrl());
        $this->_aChannel['description'] = '';
        $oLang = Registry::getLang();
        $aLangIds = $oLang->getLanguageIds();
        $this->_aChannel['language'] = $aLangIds[$oLang->getBaseLanguage()];
        $this->_aChannel['copyright'] = $oShop->oxshops__oxname->value;
        $this->_aChannel['selflink'] = '';
        if (oxNew(\OxidEsales\Eshop\Core\MailValidator::class)->isValidEmail($oShop->oxshops__oxinfoemail->value)) {
            $this->_aChannel['managingEditor'] = $oShop->oxshops__oxinfoemail->value;
            if ($oShop->oxshops__oxfname) {
                $this->_aChannel['managingEditor'] .= " ({$oShop->oxshops__oxfname} {$oShop->oxshops__oxlname})";
            }
        }

        $this->_aChannel['generator'] = $oShop->oxshops__oxname->value;

        $editionSelector = new EditionSelector();
        $this->_aChannel['image']['url'] = \OxidEsales\Eshop\Core\Registry::getConfig()->getImageUrl()
            . 'logo_' . strtolower($editionSelector->getEdition()) . '.png';

        $this->_aChannel['image']['title'] = $this->_aChannel['title'];
        $this->_aChannel['image']['link'] = $this->_aChannel['link'];
    }
protected function _loadBaseChannel()
    {
        $oShop = \OxidEsales\Eshop\Core\Registry::getConfig()->getActiveShop();
        $this->_aChannel['title'] = $oShop->oxshops__oxname->value;
        $this->_aChannel['link'] = Registry::getUtilsUrl()->prepareUrlForNoSession(\OxidEsales\Eshop\Core\Registry::getConfig()->getShopUrl());
        $this->_aChannel['description'] = '';
        $oLang = Registry::getLang();
        $aLangIds = $oLang->getLanguageIds();
        $this->_aChannel['language'] = $aLangIds[$oLang->getBaseLanguage()];
        $this->_aChannel['copyright'] = $oShop->oxshops__oxname->value;
        $this->_aChannel['selflink'] = '';
        if (oxNew(\OxidEsales\Eshop\Core\MailValidator::class)->isValidEmail($oShop->oxshops__oxinfoemail->value)) {
            $this->_aChannel['managingEditor'] = $oShop->oxshops__oxinfoemail->value;
            if ($oShop->oxshops__oxfname) {
                $this->_aChannel['managingEditor'] .= " ({$oShop->oxshops__oxfname} {$oShop->oxshops__oxlname})";
            }
        }

        $this->_aChannel['generator'] = $oShop->oxshops__oxname->value;

        $editionSelector = new EditionSelector();
        $this->_aChannel['image']['url'] = \OxidEsales\Eshop\Core\Registry::getConfig()->getImageUrl()
            . 'logo_' . strtolower($editionSelector->getEdition()) . '.png';

        $this->_aChannel['image']['title'] = $this->_aChannel['title'];
        $this->_aChannel['image']['link'] = $this->_aChannel['link'];
    }
protected function _loadBaseChannel ( ) { $ oShop = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getActiveShop ( ) ; $ this -> _aChannel [ 'title' ] = $ oShop -> oxshops__oxname -> value ; $ this -> _aChannel [ 'link' ] = Registry :: getUtilsUrl ( ) -> prepareUrlForNoSession ( \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getShopUrl ( ) ) ; $ this -> _aChannel [ 'description' ] = '' ; $ oLang = Registry :: getLang ( ) ; $ aLangIds = $ oLang -> getLanguageIds ( ) ; $ this -> _aChannel [ 'language' ] = $ aLangIds [ $ oLang -> getBaseLanguage ( ) ] ; $ this -> _aChannel [ 'copyright' ] = $ oShop -> oxshops__oxname -> value ; $ this -> _aChannel [ 'selflink' ] = '' ; if ( oxNew ( \ OxidEsales \ Eshop \ Core \ MailValidator :: class ) -> isValidEmail ( $ oShop -> oxshops__oxinfoemail -> value ) ) { $ this -> _aChannel [ 'managingEditor' ] = $ oShop -> oxshops__oxinfoemail -> value ; if ( $ oShop -> oxshops__oxfname ) { $ this -> _aChannel [ 'managingEditor' ] .= " ({$oShop->oxshops__oxfname} {$oShop->oxshops__oxlname})" ; } } $ this -> _aChannel [ 'generator' ] = $ oShop -> oxshops__oxname -> value ; $ editionSelector = new EditionSelector ( ) ; $ this -> _aChannel [ 'image' ] [ 'url' ] = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getImageUrl ( ) . 'logo_' . strtolower ( $ editionSelector -> getEdition ( ) ) . '.png' ; $ this -> _aChannel [ 'image' ] [ 'title' ] = $ this -> _aChannel [ 'title' ] ; $ this -> _aChannel [ 'image' ] [ 'link' ] = $ this -> _aChannel [ 'link' ] ; }
_loadBaseChannel loads basic channel data

@access protected
_loadBaseChannel loads basic channel data