source/Application/Model/RecommendationList.php
public function getArtDescription($sOXID)
    {
        if (!$sOXID) {
            return false;
        }

        $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $sSelect = 'select oxdesc from oxobject2list where oxlistid = ' . $oDb->quote($this->getId()) . ' and oxobjectid = ' . $oDb->quote($sOXID);

        return $oDb->getOne($sSelect);
    }
public function getArtDescription($sOXID)
    {
        if (!$sOXID) {
            return false;
        }

        $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $sSelect = 'select oxdesc from oxobject2list where oxlistid = ' . $oDb->quote($this->getId()) . ' and oxobjectid = ' . $oDb->quote($sOXID);

        return $oDb->getOne($sSelect);
    }
public function getArtDescription ( $ sOXID ) { if ( ! $ sOXID ) { return false ; } $ oDb = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) ; $ sSelect = 'select oxdesc from oxobject2list where oxlistid = ' . $ oDb -> quote ( $ this -> getId ( ) ) . ' and oxobjectid = ' . $ oDb -> quote ( $ sOXID ) ; return $ oDb -> getOne ( $ sSelect ) ; }
Returns article description for recommendation list

@param string $sOXID Object ID

@return string
Returns article description for recommendation list