class AttributeJSONController extends Controller

Class AttributeJSONController defines API routes for attributes

Methods

JsonResponse
getAllAttributesJQGridAction(ArrayCollection $attributeList)

No description

JsonResponse
saveAttributeAction(ArrayCollection $attributeJSON)

API route for adding new attribute

JsonResponse
editAttributeAction(ArrayCollection $attributeEditJSON)

API route for editing attribute

JsonResponse
deleteAttributeAction(ArrayCollection $attributeDeleteJSON)

No description

Response
downloadFileAction(string $filename)

Frontend route for downloading file

JsonResponse
changeAttributeOrderAction(ArrayCollection $attributeOrder)

API route for ordering attributes

Details

at line 40
JsonResponse getAllAttributesJQGridAction(ArrayCollection $attributeList)

Parameters

ArrayCollection $attributeList

Return Value

JsonResponse

See also

AttributeListConverter

at line 55
JsonResponse saveAttributeAction(ArrayCollection $attributeJSON)

API route for adding new attribute

Parameters

ArrayCollection $attributeJSON

Return Value

JsonResponse

See also

AttributeJSONConverter

at line 70
JsonResponse editAttributeAction(ArrayCollection $attributeEditJSON)

API route for editing attribute

Parameters

ArrayCollection $attributeEditJSON

Return Value

JsonResponse

See also

AttributeEditJSONConverter

at line 84
JsonResponse deleteAttributeAction(ArrayCollection $attributeDeleteJSON)

Parameters

ArrayCollection $attributeDeleteJSON

Return Value

JsonResponse

See also

AttributeDeleteJSONConverter

at line 97
Response downloadFileAction(string $filename)

Frontend route for downloading file

Parameters

string $filename

Return Value

Response

at line 121
JsonResponse changeAttributeOrderAction(ArrayCollection $attributeOrder)

API route for ordering attributes

Parameters

ArrayCollection $attributeOrder

Return Value

JsonResponse

See also

AttributeOrderConverter