CatalogController
extends Controller
in package
Notio controller.
Tags
Table of Contents
Methods
- __construct() : mixed
- AsirGroupController constructor.
- catalogAction() : Response|null
- Lists all catalogue categories.
- catalogAddSelectionAction() : JsonResponse
- catalogCreateSelectionAction() : Response|null
- Create products
- catalogDeleteSelectionAction() : Response|null
- Remove product from selection
- catalogExportSelectionAction() : Response|null
- Export selection products
- catalogPaginateAction() : JsonResponse
- This method handles the AJAX request for paginated catalog data.
- creationAction() : Response|null
- Lists all product entities.
- creationToBeProcessedAction() : mixed
- selectionAction() : Response|null
- Lists selected Notio products.
- selectionPaginateAction() : JsonResponse|StreamedResponse
- This method handles the AJAX request for paginated selection data.
- translationAndPublicationProcessedAction() : mixed
- generateProductData() : array<string|int, mixed>
- getPaginationParameters() : array<string|int, mixed>
- prepareProductDataResponse() : array<string|int, mixed>
Methods
__construct()
AsirGroupController constructor.
public
__construct() : mixed
catalogAction()
Lists all catalogue categories.
public
catalogAction(NotioProductService $service) : Response|null
Parameters
- $service : NotioProductService
Tags
Return values
Response|nullcatalogAddSelectionAction()
public
catalogAddSelectionAction(Request $request, NotioProductService $notioProductService) : JsonResponse
Parameters
- $request : Request
- $notioProductService : NotioProductService
Tags
Return values
JsonResponsecatalogCreateSelectionAction()
Create products
public
catalogCreateSelectionAction(Request $request) : Response|null
Parameters
- $request : Request
Tags
Return values
Response|nullcatalogDeleteSelectionAction()
Remove product from selection
public
catalogDeleteSelectionAction(Request $request, NotioProductService $service) : Response|null
Parameters
- $request : Request
- $service : NotioProductService
Tags
Return values
Response|nullcatalogExportSelectionAction()
Export selection products
public
catalogExportSelectionAction(Request $request, NotioProductService $service) : Response|null
Parameters
- $request : Request
- $service : NotioProductService
Tags
Return values
Response|nullcatalogPaginateAction()
This method handles the AJAX request for paginated catalog data.
public
catalogPaginateAction(Request $request, NotioProductService $notioProductService) : JsonResponse
Parameters
- $request : Request
- $notioProductService : NotioProductService
Tags
Return values
JsonResponsecreationAction()
Lists all product entities.
public
creationAction(Request $request, AttributeSetService $attributeSetService, AttributeService $attributeService, NotioProductService $notioProductService, NewProductStatService $newProductStat) : Response|null
Parameters
- $request : Request
- $attributeSetService : AttributeSetService
- $attributeService : AttributeService
- $notioProductService : NotioProductService
- $newProductStat : NewProductStatService
Tags
Return values
Response|nullcreationToBeProcessedAction()
public
creationToBeProcessedAction() : mixed
Tags
selectionAction()
Lists selected Notio products.
public
selectionAction(NotioProductService $service) : Response|null
Parameters
- $service : NotioProductService
Tags
Return values
Response|nullselectionPaginateAction()
This method handles the AJAX request for paginated selection data.
public
selectionPaginateAction(Request $request, NotioProductService $notioProductService, ProductService $productService) : JsonResponse|StreamedResponse
Parameters
- $request : Request
- $notioProductService : NotioProductService
- $productService : ProductService
Tags
Return values
JsonResponse|StreamedResponsetranslationAndPublicationProcessedAction()
public
translationAndPublicationProcessedAction() : mixed
Tags
generateProductData()
private
generateProductData(mixed $product, array<string|int, mixed> $output) : array<string|int, mixed>
Parameters
- $product : mixed
- $output : array<string|int, mixed>
Return values
array<string|int, mixed>getPaginationParameters()
private
getPaginationParameters(Request $request) : array<string|int, mixed>
Parameters
- $request : Request
Return values
array<string|int, mixed>prepareProductDataResponse()
private
prepareProductDataResponse(Paginator $products[, string $exportFormat = '' ]) : array<string|int, mixed>
Parameters
- $products : Paginator
- $exportFormat : string = ''