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

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

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

@return bool
Checks if its allowed to red reviews .