source/Application/Model/RssFeed.php
public function loadTopInShop()
    {
        if (($this->_aChannel = $this->_loadFromCache(self::RSS_TOPSHOP))) {
            return;
        }

        $oArtList = oxNew(\OxidEsales\Eshop\Application\Model\ArticleList::class);
        $oArtList->loadTop5Articles(\OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('iRssItemsCount'));

        $oLang = Registry::getLang();
        $this->_loadData(
            self::RSS_TOPSHOP,
            $this->getTopInShopTitle(),
            $oLang->translateString('TOP_SHOP_PRODUCTS', $oLang->getBaseLanguage()),
            $this->_getArticleItems($oArtList),
            $this->getTopInShopUrl()
        );
    }
public function loadTopInShop()
    {
        if (($this->_aChannel = $this->_loadFromCache(self::RSS_TOPSHOP))) {
            return;
        }

        $oArtList = oxNew(\OxidEsales\Eshop\Application\Model\ArticleList::class);
        $oArtList->loadTop5Articles(\OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('iRssItemsCount'));

        $oLang = Registry::getLang();
        $this->_loadData(
            self::RSS_TOPSHOP,
            $this->getTopInShopTitle(),
            $oLang->translateString('TOP_SHOP_PRODUCTS', $oLang->getBaseLanguage()),
            $this->_getArticleItems($oArtList),
            $this->getTopInShopUrl()
        );
    }
public function loadTopInShop ( ) { if ( ( $ this -> _aChannel = $ this -> _loadFromCache ( self :: RSS_TOPSHOP ) ) ) { return ; } $ oArtList = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ ArticleList :: class ) ; $ oArtList -> loadTop5Articles ( \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( 'iRssItemsCount' ) ) ; $ oLang = Registry :: getLang ( ) ; $ this -> _loadData ( self :: RSS_TOPSHOP , $ this -> getTopInShopTitle ( ) , $ oLang -> translateString ( 'TOP_SHOP_PRODUCTS' , $ oLang -> getBaseLanguage ( ) ) , $ this -> _getArticleItems ( $ oArtList ) , $ this -> getTopInShopUrl ( ) ) ; }
loadTopShop loads 'Top of the Shop' rss data

@access public

@return void
loadTopShop loads Top of the Shop rss data