class ProductJSONController extends Controller

Class ProductJSONController defines API routes for product

Methods

JsonResponse
getAllProductsAction(ArrayCollection $productList)

API route for loading all products

JsonResponse
getAllProductsJQGridAction(ArrayCollection $productList)

API route for loading all products

JsonResponse
getAllProductsJQGridUncateogrizedAction(ArrayCollection $productListUncategorized)

API route for loading all uncategorized products

JsonResponse
getProductAction(Product $productGetJSON)

API route for loading specific product data

JsonResponse
getProductQuickInformationBySlugAction(ArrayCollection $productQuickInformationGetJSON)

API route for loading and rendering data for specific product

JsonResponse
saveProductAction(ArrayCollection $productJSON)

API route for adding new product

JsonResponse
editProductAction(ArrayCollection $productEditJSON)

API route for edit product

JsonResponse
deleteProductAction(ArrayCollection $productDeleteJSON)

API route for deleting product

JsonResponse
saveProductAttributeValuesForProductAction(ArrayCollection $productSavePavsJSON)

API route for saving product attribute values of product

JsonResponse
saveFeaturesForProductAction(ArrayCollection $productSaveFeaturesJSON)

API route for saving features of product

JsonResponse
saveImagesForProductAction(ArrayCollection $productSaveImagesJSON)

API route for saving product images

JsonResponse
saveFilesForProductAction(ArrayCollection $productSaveFilesJSON)

API route for saving product files

JsonResponse
saveCategorizationForProductAction(ArrayCollection $productSaveCategorizationJSON)

API route for handling product categorization

JsonResponse
searchProductsAction(ArrayCollection $productSearchList)

API route for product search if user logged

JsonResponse
baseProductFrontendSearch(ArrayCollection $productsFrontendSearch)

API route for product search

Details

at line 49
JsonResponse getAllProductsAction(ArrayCollection $productList)

API route for loading all products

Parameters

ArrayCollection $productList

Return Value

JsonResponse

See also

ProductListConverter

at line 64
JsonResponse getAllProductsJQGridAction(ArrayCollection $productList)

API route for loading all products

Parameters

ArrayCollection $productList

Return Value

JsonResponse

See also

ProductListConverter

at line 79
JsonResponse getAllProductsJQGridUncateogrizedAction(ArrayCollection $productListUncategorized)

API route for loading all uncategorized products

Parameters

ArrayCollection $productListUncategorized

Return Value

JsonResponse

See also

ProductListUncategorizedConverter

at line 94
JsonResponse getProductAction(Product $productGetJSON)

API route for loading specific product data

Parameters

Product $productGetJSON

Return Value

JsonResponse

See also

ProductGetJSONConverter

at line 109
JsonResponse getProductQuickInformationBySlugAction(ArrayCollection $productQuickInformationGetJSON)

API route for loading and rendering data for specific product

Parameters

ArrayCollection $productQuickInformationGetJSON

Return Value

JsonResponse

See also

ProductQuickInformationGetJSONConverter

at line 138
JsonResponse saveProductAction(ArrayCollection $productJSON)

API route for adding new product

Parameters

ArrayCollection $productJSON

Return Value

JsonResponse

See also

ProductJSONConverter

at line 153
JsonResponse editProductAction(ArrayCollection $productEditJSON)

API route for edit product

Parameters

ArrayCollection $productEditJSON

Return Value

JsonResponse

See also

ProductEditJSONConverter

at line 168
JsonResponse deleteProductAction(ArrayCollection $productDeleteJSON)

API route for deleting product

Parameters

ArrayCollection $productDeleteJSON

Return Value

JsonResponse

See also

ProductDeleteJSONConverter

at line 183
JsonResponse saveProductAttributeValuesForProductAction(ArrayCollection $productSavePavsJSON)

API route for saving product attribute values of product

Parameters

ArrayCollection $productSavePavsJSON

Return Value

JsonResponse

See also

ProductSavePavsJSONConverter

at line 198
JsonResponse saveFeaturesForProductAction(ArrayCollection $productSaveFeaturesJSON)

API route for saving features of product

Parameters

ArrayCollection $productSaveFeaturesJSON

Return Value

JsonResponse

See also

ProductSaveFeaturesJSONConverter

at line 213
JsonResponse saveImagesForProductAction(ArrayCollection $productSaveImagesJSON)

API route for saving product images

Parameters

ArrayCollection $productSaveImagesJSON

Return Value

JsonResponse

See also

ProductSaveImagesJSONConverter

at line 228
JsonResponse saveFilesForProductAction(ArrayCollection $productSaveFilesJSON)

API route for saving product files

Parameters

ArrayCollection $productSaveFilesJSON

Return Value

JsonResponse

See also

ProductSaveFilesJSONConverter

at line 243
JsonResponse saveCategorizationForProductAction(ArrayCollection $productSaveCategorizationJSON)

API route for handling product categorization

Parameters

ArrayCollection $productSaveCategorizationJSON

Return Value

JsonResponse

See also

ProductSaveCategorizationJSONConverter

at line 258
JsonResponse searchProductsAction(ArrayCollection $productSearchList)

API route for product search if user logged

Parameters

ArrayCollection $productSearchList

Return Value

JsonResponse

See also

ProductSearchListConverter

at line 271
JsonResponse baseProductFrontendSearch(ArrayCollection $productsFrontendSearch)

API route for product search

Parameters

ArrayCollection $productsFrontendSearch

Return Value

JsonResponse