source/Application/Controller/PriceAlarmController.php
public function getProduct()
    {
        if ($this->_oArticle === null) {
            $this->_oArticle = false;
            $aParams = $this->_getParams();
            $oArticle = oxNew(\OxidEsales\Eshop\Application\Model\Article::class);
            $oArticle->load($aParams['aid']);
            $this->_oArticle = $oArticle;
        }

        return $this->_oArticle;
    }
public function getProduct()
    {
        if ($this->_oArticle === null) {
            $this->_oArticle = false;
            $aParams = $this->_getParams();
            $oArticle = oxNew(\OxidEsales\Eshop\Application\Model\Article::class);
            $oArticle->load($aParams['aid']);
            $this->_oArticle = $oArticle;
        }

        return $this->_oArticle;
    }
public function getProduct ( ) { if ( $ this -> _oArticle === null ) { $ this -> _oArticle = false ; $ aParams = $ this -> _getParams ( ) ; $ oArticle = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ Article :: class ) ; $ oArticle -> load ( $ aParams [ 'aid' ] ) ; $ this -> _oArticle = $ oArticle ; } return $ this -> _oArticle ; }
Template variable getter. Returns active article

@return object
Template variable getter . Returns active article