source/Application/Controller/Admin/ArticleFiles.php
public function getArticle($blReset = false)
    {
        if ($this->_oArticle !== null && !$blReset) {
            return $this->_oArticle;
        }
        $sProductId = $this->getEditObjectId();

        $oProduct = oxNew(\OxidEsales\Eshop\Application\Model\Article::class);
        $oProduct->load($sProductId);

        return $this->_oArticle = $oProduct;
    }
public function getArticle($blReset = false)
    {
        if ($this->_oArticle !== null && !$blReset) {
            return $this->_oArticle;
        }
        $sProductId = $this->getEditObjectId();

        $oProduct = oxNew(\OxidEsales\Eshop\Application\Model\Article::class);
        $oProduct->load($sProductId);

        return $this->_oArticle = $oProduct;
    }
public function getArticle ( $ blReset = false ) { if ( $ this -> _oArticle !== null && ! $ blReset ) { return $ this -> _oArticle ; } $ sProductId = $ this -> getEditObjectId ( ) ; $ oProduct = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ Article :: class ) ; $ oProduct -> load ( $ sProductId ) ; return $ this -> _oArticle = $ oProduct ; }
Returns current oxarticle object

@param bool $blReset Load article again

@return oxFile
Returns current oxarticle object