class BlogCommentController extends Controller

Class BlogCommentController. Defines routes for blog comment

Methods

JsonResponse
saveBlogCommentAction(ArrayCollection $blogApproveComment)

API route for adding new blog comment to specific blog post

JsonResponse
getCommentsJqGridAction(ArrayCollection $commentsForValidationJSON)

API route for loading all blog comments

array
blogCommentEditShowAction(ArrayCollection $blogCommentReviewSingle)

Backend route for editing blog comment

JsonResponse
editCommentAction(ArrayCollection $editCommentJSON)

API route for editing blog comment

Response
deleteBlogCommentsAction(ArrayCollection $blogCommentsDeleteJSON)

API route for removing blog comments

array
commentValidationShowAction()

Backend route for listig all blog comments

JsonResponse
getCommentsAction(ArrayCollection $blogCommentsJSON)

API route for loading and rendering all blog comments for specific blog post

JsonResponse
getCommentsNumberAction(ArrayCollection $blogCommentsNumberJSON)

API route for count number of comments for blog post

Details

at line 43
JsonResponse saveBlogCommentAction(ArrayCollection $blogApproveComment)

API route for adding new blog comment to specific blog post

Parameters

ArrayCollection $blogApproveComment

Return Value

JsonResponse

See also

BlogApproveCommentConverter

at line 58
JsonResponse getCommentsJqGridAction(ArrayCollection $commentsForValidationJSON)

API route for loading all blog comments

Parameters

ArrayCollection $commentsForValidationJSON

Return Value

JsonResponse

See also

CommentsForValidationJSONConverter

at line 75
array blogCommentEditShowAction(ArrayCollection $blogCommentReviewSingle)

Backend route for editing blog comment

Parameters

ArrayCollection $blogCommentReviewSingle

Return Value

array

See also

BlogCommentReviewSingleConverter

at line 90
JsonResponse editCommentAction(ArrayCollection $editCommentJSON)

API route for editing blog comment

Parameters

ArrayCollection $editCommentJSON

Return Value

JsonResponse

See also

EditCommentJSONConverter

at line 105
Response deleteBlogCommentsAction(ArrayCollection $blogCommentsDeleteJSON)

API route for removing blog comments

Parameters

ArrayCollection $blogCommentsDeleteJSON

Return Value

Response

See also

BlogCommentsDeleteJSONConverter

at line 118
array commentValidationShowAction()

Backend route for listig all blog comments

Return Value

array

at line 133
JsonResponse getCommentsAction(ArrayCollection $blogCommentsJSON)

API route for loading and rendering all blog comments for specific blog post

Parameters

ArrayCollection $blogCommentsJSON

Return Value

JsonResponse

See also

BlogCommentsJSONConverter

at line 157
JsonResponse getCommentsNumberAction(ArrayCollection $blogCommentsNumberJSON)

API route for count number of comments for blog post

Parameters

ArrayCollection $blogCommentsNumberJSON

Return Value

JsonResponse

See also

BlogCommentsNumberJSONConverter