source/Application/Model/RecommendationList.php
public function getFirstArticle()
    {
        $oArtList = oxNew(\OxidEsales\Eshop\Application\Model\ArticleList::class);
        $oArtList->setSqlLimit(0, 1);
        $oArtList->loadRecommArticles($this->getId(), $this->_sArticlesFilter);
        $oArtList->rewind();

        return $oArtList->current();
    }
public function getFirstArticle()
    {
        $oArtList = oxNew(\OxidEsales\Eshop\Application\Model\ArticleList::class);
        $oArtList->setSqlLimit(0, 1);
        $oArtList->loadRecommArticles($this->getId(), $this->_sArticlesFilter);
        $oArtList->rewind();

        return $oArtList->current();
    }
public function getFirstArticle ( ) { $ oArtList = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ ArticleList :: class ) ; $ oArtList -> setSqlLimit ( 0 , 1 ) ; $ oArtList -> loadRecommArticles ( $ this -> getId ( ) , $ this -> _sArticlesFilter ) ; $ oArtList -> rewind ( ) ; return $ oArtList -> current ( ) ; }
returns first article from this list's article list

@return oxArticle
returns first article from this list s article list