source/Application/Model/Actions.php
protected function fetchBannerArticleId()
    {
        $database = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();

        $articleId = $database->getOne(
            'select oxobjectid from oxobject2action ' .
            'where oxactionid=' . $database->quote($this->getId()) .
            ' and oxclass="oxarticle"'
        );

        return $articleId;
    }
protected function fetchBannerArticleId()
    {
        $database = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();

        $articleId = $database->getOne(
            'select oxobjectid from oxobject2action ' .
            'where oxactionid=' . $database->quote($this->getId()) .
            ' and oxclass="oxarticle"'
        );

        return $articleId;
    }
protected function fetchBannerArticleId ( ) { $ database = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) ; $ articleId = $ database -> getOne ( 'select oxobjectid from oxobject2action ' . 'where oxactionid=' . $ database -> quote ( $ this -> getId ( ) ) . ' and oxclass="oxarticle"' ) ; return $ articleId ; }
Fetch the oxobjectid of the article corresponding this action.

@return string The id of the oxobjectid belonging to this action.
Fetch the oxobjectid of the article corresponding this action .