src/ShopArticleReviewBundle/objects/WebModules/MTPkgShopArticleReviewCore/MTPkgShopArticleReviewCore.class.php
protected function AllowWriteReview()
    {
        $bAllowWriteReview = false;
        $oModuleConfiguration = $this->GetModuleConfiguration();
        $oUser = TdbDataExtranetUser::GetInstance();
        if ($oModuleConfiguration->fieldAllowWriteReviewLoggedinUsersOnly && $oUser->IsLoggedIn() || !$oModuleConfiguration->fieldAllowWriteReviewLoggedinUsersOnly) {
            $bAllowWriteReview = true;
        }

        return $bAllowWriteReview;
    }
protected function AllowWriteReview()
    {
        $bAllowWriteReview = false;
        $oModuleConfiguration = $this->GetModuleConfiguration();
        $oUser = TdbDataExtranetUser::GetInstance();
        if ($oModuleConfiguration->fieldAllowWriteReviewLoggedinUsersOnly && $oUser->IsLoggedIn() || !$oModuleConfiguration->fieldAllowWriteReviewLoggedinUsersOnly) {
            $bAllowWriteReview = true;
        }

        return $bAllowWriteReview;
    }
protected function AllowWriteReview ( ) { $ bAllowWriteReview = false ; $ oModuleConfiguration = $ this -> GetModuleConfiguration ( ) ; $ oUser = TdbDataExtranetUser :: GetInstance ( ) ; if ( $ oModuleConfiguration -> fieldAllowWriteReviewLoggedinUsersOnly && $ oUser -> IsLoggedIn ( ) || ! $ oModuleConfiguration -> fieldAllowWriteReviewLoggedinUsersOnly ) { $ bAllowWriteReview = true ; } return $ bAllowWriteReview ; }
Checks if its allowed to write reviews.

@return bool
Checks if its allowed to write reviews .