class FormBuilderController extends Controller

Class FormBuilderController defines routes for form builder

Methods

array
newAction(ArrayCollection $formBuilderAdd)

Backend route for creating forms

array
editAction(Form $form, ArrayCollection $formBuilderAdd)

Backend route for editing forms

JsonResponse
allJsonFormsAction(ArrayCollection $allFormsJSON)

API route for listing forms

JsonResponse
deleteFormJsonAction(ArrayCollection $deleteFormJSON)

API route for deleting forms

array
gridAction()

Backend route for listing forms

array
displayFormAction()

Frontend for displaying form

JsonResponse
saveFormAction(ArrayCollection $saveFormJSON)

API route for saving form

RedirectResponse
sendFormAction(Form $form, Request $request)

Handle form submit

Details

at line 47
array newAction(ArrayCollection $formBuilderAdd)

Backend route for creating forms

Parameters

ArrayCollection $formBuilderAdd

Return Value

array

See also

FormBuilderAddConverter

at line 67
array editAction(Form $form, ArrayCollection $formBuilderAdd)

Backend route for editing forms

Parameters

Form $form
ArrayCollection $formBuilderAdd

Return Value

array

See also

FormBuilderAddConverter

at line 84
JsonResponse allJsonFormsAction(ArrayCollection $allFormsJSON)

API route for listing forms

Parameters

ArrayCollection $allFormsJSON

Return Value

JsonResponse

See also

AllFormsJSONConverter

at line 99
JsonResponse deleteFormJsonAction(ArrayCollection $deleteFormJSON)

API route for deleting forms

Parameters

ArrayCollection $deleteFormJSON

Return Value

JsonResponse

See also

DeleteFormJSONConverter

at line 113
array gridAction()

Backend route for listing forms

Return Value

array

at line 127
array displayFormAction()

Frontend for displaying form

Return Value

array

at line 145
JsonResponse saveFormAction(ArrayCollection $saveFormJSON)

API route for saving form

Parameters

ArrayCollection $saveFormJSON

Return Value

JsonResponse

See also

SaveFormJSONConverter

at line 165
RedirectResponse sendFormAction(Form $form, Request $request)

Handle form submit

Parameters

Form $form
Request $request

Return Value

RedirectResponse

Exceptions

Exception