source/Application/Model/RssFeed.php
public function loadCategoryArticles(\OxidEsales\Eshop\Application\Model\Category $oCat)
    {
        $sId = $oCat->getId();
        if (($this->_aChannel = $this->_loadFromCache(self::RSS_CATARTS . $sId))) {
            return;
        }

        $oArtList = oxNew(\OxidEsales\Eshop\Application\Model\ArticleList::class);
        $oArtList->setCustomSorting('oc.oxtimestamp desc');
        $oArtList->loadCategoryArticles($oCat->getId(), null, \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('iRssItemsCount'));

        $oLang = Registry::getLang();
        $this->_loadData(
            self::RSS_CATARTS . $sId,
            $this->getCategoryArticlesTitle($oCat),
            sprintf($oLang->translateString('S_CATEGORY_PRODUCTS', $oLang->getBaseLanguage()), $oCat->oxcategories__oxtitle->value),
            $this->_getArticleItems($oArtList),
            $this->getCategoryArticlesUrl($oCat),
            $oCat->getLink()
        );
    }
public function loadCategoryArticles(\OxidEsales\Eshop\Application\Model\Category $oCat)
    {
        $sId = $oCat->getId();
        if (($this->_aChannel = $this->_loadFromCache(self::RSS_CATARTS . $sId))) {
            return;
        }

        $oArtList = oxNew(\OxidEsales\Eshop\Application\Model\ArticleList::class);
        $oArtList->setCustomSorting('oc.oxtimestamp desc');
        $oArtList->loadCategoryArticles($oCat->getId(), null, \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('iRssItemsCount'));

        $oLang = Registry::getLang();
        $this->_loadData(
            self::RSS_CATARTS . $sId,
            $this->getCategoryArticlesTitle($oCat),
            sprintf($oLang->translateString('S_CATEGORY_PRODUCTS', $oLang->getBaseLanguage()), $oCat->oxcategories__oxtitle->value),
            $this->_getArticleItems($oArtList),
            $this->getCategoryArticlesUrl($oCat),
            $oCat->getLink()
        );
    }
public function loadCategoryArticles ( \ OxidEsales \ Eshop \ Application \ Model \ Category $ oCat ) { $ sId = $ oCat -> getId ( ) ; if ( ( $ this -> _aChannel = $ this -> _loadFromCache ( self :: RSS_CATARTS . $ sId ) ) ) { return ; } $ oArtList = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ ArticleList :: class ) ; $ oArtList -> setCustomSorting ( 'oc.oxtimestamp desc' ) ; $ oArtList -> loadCategoryArticles ( $ oCat -> getId ( ) , null , \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( 'iRssItemsCount' ) ) ; $ oLang = Registry :: getLang ( ) ; $ this -> _loadData ( self :: RSS_CATARTS . $ sId , $ this -> getCategoryArticlesTitle ( $ oCat ) , sprintf ( $ oLang -> translateString ( 'S_CATEGORY_PRODUCTS' , $ oLang -> getBaseLanguage ( ) ) , $ oCat -> oxcategories__oxtitle -> value ) , $ this -> _getArticleItems ( $ oArtList ) , $ this -> getCategoryArticlesUrl ( $ oCat ) , $ oCat -> getLink ( ) ) ; }
loadCategoryArticles loads 'Category Articles' rss data

@param \OxidEsales\Eshop\Application\Model\Category $oCat category object

@access public

@return void
loadCategoryArticles loads Category Articles rss data