ProductRatingController
class ProductRatingController extends Controller
Class ProductRatingController
Methods
JsonResponse
saveProductRatingForProductAction(ArrayCollection $productRatingSaveRatingForProduct)
JSON route for saving/updating product rating for logged user and provided product
JsonResponse
saveAdminReviewForProductAction(ArrayCollection $productRatingSaveAdminReviewForProduct)
JSON route for updating rating for product by admin
Response
getCommentsAndRatingForProductBackendAction(ArrayCollection $productRatingGetRatingForProduct, ArrayCollection $reviewGetForProductJSON)
JSON route for showing summary for reviews
Response
getReviewForProductBackendAction(ArrayCollection $reviewGetForProductJSON)
JSON route for listing reviews with pagination
JsonResponse
customerActivityLogLoadUsersJSONAction(ArrayCollection $productRatingLoadUsers)
JSON route for finding users that match criteria
Details
at line 39
JsonResponse
saveProductRatingForProductAction(ArrayCollection $productRatingSaveRatingForProduct)
JSON route for saving/updating product rating for logged user and provided product
at line 54
JsonResponse
saveAdminReviewForProductAction(ArrayCollection $productRatingSaveAdminReviewForProduct)
JSON route for updating rating for product by admin
at line 74
Response
getCommentsAndRatingForProductBackendAction(ArrayCollection $productRatingGetRatingForProduct, ArrayCollection $reviewGetForProductJSON)
JSON route for showing summary for reviews
at line 116
Response
getReviewForProductBackendAction(ArrayCollection $reviewGetForProductJSON)
JSON route for listing reviews with pagination
at line 151
JsonResponse
customerActivityLogLoadUsersJSONAction(ArrayCollection $productRatingLoadUsers)
JSON route for finding users that match criteria