class BlockElementsTemplatesJSONController extends Controller

Class BlockElementsTemplatesJSONController

Methods

JsonResponse
getFileContentJSONAction(ArrayCollection $blockElementsTemplatesGetJSON)

Json route for retrieving file content

JsonResponse
changeFileContentJSONAction(ArrayCollection $blockElementsTemplatesEditJSON)

Json route for persisting new block element

JsonResponse
uploadImageJSONAction(Request $request)

Json route for adding block images

JsonResponse
newFileJSONAction(ArrayCollection $blockElementsTemplatesAddJSON)

Json route for persisting new block template

JsonResponse
deleteFileJSONAction(ArrayCollection $blockElementsTemplatesDeleteJSON)

Json route for deleting block templates

Response
exportTemplateJSONAction(ArrayCollection $blockElementsTemplatesExportJSON)

Json route for exporting block elements/templates

Details

at line 44
JsonResponse getFileContentJSONAction(ArrayCollection $blockElementsTemplatesGetJSON)

Json route for retrieving file content

Parameters

ArrayCollection $blockElementsTemplatesGetJSON

Return Value

JsonResponse

See also

BlockElementsTemplatesGetJSONConverter

at line 59
JsonResponse changeFileContentJSONAction(ArrayCollection $blockElementsTemplatesEditJSON)

Json route for persisting new block element

Parameters

ArrayCollection $blockElementsTemplatesEditJSON

Return Value

JsonResponse

See also

BlockElementsTemplatesEditJSONConverter

at line 73
JsonResponse uploadImageJSONAction(Request $request)

Json route for adding block images

Parameters

Request $request

Return Value

JsonResponse

at line 103
JsonResponse newFileJSONAction(ArrayCollection $blockElementsTemplatesAddJSON)

Json route for persisting new block template

Parameters

ArrayCollection $blockElementsTemplatesAddJSON

Return Value

JsonResponse

See also

BlockElementsTemplatesAddJSONConverter

at line 118
JsonResponse deleteFileJSONAction(ArrayCollection $blockElementsTemplatesDeleteJSON)

Json route for deleting block templates

Parameters

ArrayCollection $blockElementsTemplatesDeleteJSON

Return Value

JsonResponse

See also

BlockElementsTemplatesDeleteJSONConverter

at line 133
Response exportTemplateJSONAction(ArrayCollection $blockElementsTemplatesExportJSON)

Json route for exporting block elements/templates

Parameters

ArrayCollection $blockElementsTemplatesExportJSON

Return Value

Response

See also

BlockElementsTemplatesExportJSONConverter