source/Application/Controller/StartController.php
public function getFirstArticle()
    {
        if ($this->_oFirstArticle === null) {
            $this->_oFirstArticle = false;
            if ($this->_getLoadActionsParam()) {
                // top articles ( big one )
                $oArtList = oxNew(\OxidEsales\Eshop\Application\Model\ArticleList::class);
                $oArtList->loadActionArticles('OXFIRSTSTART');
                if ($oArtList->count()) {
                    $this->_oFirstArticle = $oArtList->current();
                }
            }
        }

        return $this->_oFirstArticle;
    }
public function getFirstArticle()
    {
        if ($this->_oFirstArticle === null) {
            $this->_oFirstArticle = false;
            if ($this->_getLoadActionsParam()) {
                // top articles ( big one )
                $oArtList = oxNew(\OxidEsales\Eshop\Application\Model\ArticleList::class);
                $oArtList->loadActionArticles('OXFIRSTSTART');
                if ($oArtList->count()) {
                    $this->_oFirstArticle = $oArtList->current();
                }
            }
        }

        return $this->_oFirstArticle;
    }
public function getFirstArticle ( ) { if ( $ this -> _oFirstArticle === null ) { $ this -> _oFirstArticle = false ; if ( $ this -> _getLoadActionsParam ( ) ) { // top articles ( big one ) $ oArtList = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ ArticleList :: class ) ; $ oArtList -> loadActionArticles ( 'OXFIRSTSTART' ) ; if ( $ oArtList -> count ( ) ) { $ this -> _oFirstArticle = $ oArtList -> current ( ) ; } } } return $ this -> _oFirstArticle ; }
Template variable getter. Returns first article

@return object
Template variable getter . Returns first article