Controller/ArticleDetailsController.php
public function saveReview()
    {
        $reviewController = oxNew(\OxidEsales\Eshop\Application\Controller\ReviewController::class);
        if (!$reviewController->validateOptIn()) {
            \OxidEsales\Eshop\Core\Registry::get(\OxidEsales\Eshop\Core\UtilsView::class)->addErrorToDisplay('OEGDPROPTIN_REVIEW_FORM_ERROR_MESSAGE');
            return false;
        }

        return parent::saveReview();
    }
public function saveReview()
    {
        $reviewController = oxNew(\OxidEsales\Eshop\Application\Controller\ReviewController::class);
        if (!$reviewController->validateOptIn()) {
            \OxidEsales\Eshop\Core\Registry::get(\OxidEsales\Eshop\Core\UtilsView::class)->addErrorToDisplay('OEGDPROPTIN_REVIEW_FORM_ERROR_MESSAGE');
            return false;
        }

        return parent::saveReview();
    }
public function saveReview ( ) { $ reviewController = oxNew ( \ OxidEsales \ Eshop \ Application \ Controller \ ReviewController :: class ) ; if ( ! $ reviewController -> validateOptIn ( ) ) { \ OxidEsales \ Eshop \ Core \ Registry :: get ( \ OxidEsales \ Eshop \ Core \ UtilsView :: class ) -> addErrorToDisplay ( 'OEGDPROPTIN_REVIEW_FORM_ERROR_MESSAGE' ) ; return false ; } return parent :: saveReview ( ) ; }
Saves user ratings and review text (oxReview object)

@return null
Saves user ratings and review text ( oxReview object )