source/Application/Controller/FrontendController.php
public function getPromoFinishedList()
    {
        if (isset($this->_oPromoFinishedList)) {
            return $this->_oPromoFinishedList;
        }
        $this->_oPromoFinishedList = oxNew(\OxidEsales\Eshop\Application\Model\ActionList::class);
        $this->_oPromoFinishedList->loadFinishedByCount(2);

        return $this->_oPromoFinishedList;
    }
public function getPromoFinishedList()
    {
        if (isset($this->_oPromoFinishedList)) {
            return $this->_oPromoFinishedList;
        }
        $this->_oPromoFinishedList = oxNew(\OxidEsales\Eshop\Application\Model\ActionList::class);
        $this->_oPromoFinishedList->loadFinishedByCount(2);

        return $this->_oPromoFinishedList;
    }
public function getPromoFinishedList ( ) { if ( isset ( $ this -> _oPromoFinishedList ) ) { return $ this -> _oPromoFinishedList ; } $ this -> _oPromoFinishedList = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ ActionList :: class ) ; $ this -> _oPromoFinishedList -> loadFinishedByCount ( 2 ) ; return $ this -> _oPromoFinishedList ; }
return last finished promotion list

@return oxActionList
return last finished promotion list