source/Application/Controller/AccountDownloadsController.php
public function getOrderFilesList()
    {
        if ($this->_oOrderFilesList !== null) {
            return $this->_oOrderFilesList;
        }

        $oOrderFileList = oxNew(\OxidEsales\Eshop\Application\Model\OrderFileList::class);
        $oOrderFileList->loadUserFiles($this->getUser()->getId());

        $this->_oOrderFilesList = $this->_prepareForTemplate($oOrderFileList);

        return $this->_oOrderFilesList;
    }
public function getOrderFilesList()
    {
        if ($this->_oOrderFilesList !== null) {
            return $this->_oOrderFilesList;
        }

        $oOrderFileList = oxNew(\OxidEsales\Eshop\Application\Model\OrderFileList::class);
        $oOrderFileList->loadUserFiles($this->getUser()->getId());

        $this->_oOrderFilesList = $this->_prepareForTemplate($oOrderFileList);

        return $this->_oOrderFilesList;
    }
public function getOrderFilesList ( ) { if ( $ this -> _oOrderFilesList !== null ) { return $ this -> _oOrderFilesList ; } $ oOrderFileList = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ OrderFileList :: class ) ; $ oOrderFileList -> loadUserFiles ( $ this -> getUser ( ) -> getId ( ) ) ; $ this -> _oOrderFilesList = $ this -> _prepareForTemplate ( $ oOrderFileList ) ; return $ this -> _oOrderFilesList ; }
Returns article list which was ordered and has downloadable files

@return null|oxArticleList
Returns article list which was ordered and has downloadable files