source/Application/Controller/StartController.php
public function getNewestArticles()
    {
        if ($this->_aNewArticleList === null) {
            $this->_aNewArticleList = [];
            if ($this->_getLoadActionsParam()) {
                // newest articles
                $oArtList = oxNew(\OxidEsales\Eshop\Application\Model\ArticleList::class);
                $oArtList->loadNewestArticles();
                if ($oArtList->count()) {
                    $this->_aNewArticleList = $oArtList;
                }
            }
        }

        return $this->_aNewArticleList;
    }
public function getNewestArticles()
    {
        if ($this->_aNewArticleList === null) {
            $this->_aNewArticleList = [];
            if ($this->_getLoadActionsParam()) {
                // newest articles
                $oArtList = oxNew(\OxidEsales\Eshop\Application\Model\ArticleList::class);
                $oArtList->loadNewestArticles();
                if ($oArtList->count()) {
                    $this->_aNewArticleList = $oArtList;
                }
            }
        }

        return $this->_aNewArticleList;
    }
public function getNewestArticles ( ) { if ( $ this -> _aNewArticleList === null ) { $ this -> _aNewArticleList = [ ] ; if ( $ this -> _getLoadActionsParam ( ) ) { // newest articles $ oArtList = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ ArticleList :: class ) ; $ oArtList -> loadNewestArticles ( ) ; if ( $ oArtList -> count ( ) ) { $ this -> _aNewArticleList = $ oArtList ; } } } return $ this -> _aNewArticleList ; }
Template variable getter. Returns newest article list

@return array
Template variable getter . Returns newest article list