class StaticPageJSONController extends Controller

Class StaticPageJSONController. Defines routes for StaticPage, StaticPageCategory and StaticPageComment

Methods

JsonResponse
saveStaticPageAction(ArrayCollection $staticPageAddStaticPage)

API route ror adding new static page

JsonResponse
editStaticPageAction(ArrayCollection $staticPageEditJSON)

API route for editing static page

JsonResponse
viewAllStaticPageJSONAction(ArrayCollection $staticPageViewAllJSON)

API route for listing all static pages

JsonResponse
deleteStaticPageAction(ArrayCollection $staticPageDeleteJSON)

API route for deleting multiple static pages

JsonResponse
viewAllStaticPageJSONPaginationAction(ArrayCollection $staticPageViewAllPaginationJSON)

API route for listing static pages

JsonResponse
viewAllStaticPageByCategoryJSONPaginationAction(ArrayCollection $staticPageViewAllByCatPaginationJSON)

API route for listing static pages for category

Details

at line 37
JsonResponse saveStaticPageAction(ArrayCollection $staticPageAddStaticPage)

API route ror adding new static page

Parameters

ArrayCollection $staticPageAddStaticPage

Return Value

JsonResponse

See also

StaticPageAddStaticPageConverter

at line 52
JsonResponse editStaticPageAction(ArrayCollection $staticPageEditJSON)

API route for editing static page

Parameters

ArrayCollection $staticPageEditJSON

Return Value

JsonResponse

See also

StaticPageEditJSONConverter

at line 67
JsonResponse viewAllStaticPageJSONAction(ArrayCollection $staticPageViewAllJSON)

API route for listing all static pages

Parameters

ArrayCollection $staticPageViewAllJSON

Return Value

JsonResponse

See also

StaticPageViewAllJSONConverter

at line 82
JsonResponse deleteStaticPageAction(ArrayCollection $staticPageDeleteJSON)

API route for deleting multiple static pages

Parameters

ArrayCollection $staticPageDeleteJSON

Return Value

JsonResponse

See also

StaticPageDeleteJSONConverter

at line 98
JsonResponse viewAllStaticPageJSONPaginationAction(ArrayCollection $staticPageViewAllPaginationJSON)

API route for listing static pages

Parameters

ArrayCollection $staticPageViewAllPaginationJSON

Return Value

JsonResponse

See also

StaticPageViewAllPaginationJSONConverter

at line 118
JsonResponse viewAllStaticPageByCategoryJSONPaginationAction(ArrayCollection $staticPageViewAllByCatPaginationJSON)

API route for listing static pages for category

Parameters

ArrayCollection $staticPageViewAllByCatPaginationJSON

Return Value

JsonResponse

See also

StaticPageViewAllByCatPaginationJSONConverter