Logidav Docs

CatalogController extends Controller
in package

Notio controller.

Tags
Route

("notio")

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

catalogAddSelectionAction()

public catalogAddSelectionAction(Request $request, NotioProductService $notioProductService) : JsonResponse
Parameters
$request : Request
$notioProductService : NotioProductService
Tags
Route

("/catalog-add-selection", name="notio_catalog_add_selection")

Return values
JsonResponse

catalogCreateSelectionAction()

Create products

public catalogCreateSelectionAction(Request $request) : Response|null
Parameters
$request : Request
Tags
Route

("/catalog-create-selection", name="notio_catalog_create_selection")

Method

("POST")

Return values
Response|null

catalogDeleteSelectionAction()

Remove product from selection

public catalogDeleteSelectionAction(Request $request, NotioProductService $service) : Response|null
Parameters
$request : Request
$service : NotioProductService
Tags
Route

("/catalog-delete-selection", name="notio_catalog_delete_selection")

Method

("POST")

Return values
Response|null

catalogExportSelectionAction()

Export selection products

public catalogExportSelectionAction(Request $request, NotioProductService $service) : Response|null
Parameters
$request : Request
$service : NotioProductService
Tags
Route

("/catalog-export-selection", name="notio_catalog_export_selection")

Method

("POST")

Return values
Response|null

catalogPaginateAction()

This method handles the AJAX request for paginated catalog data.

public catalogPaginateAction(Request $request, NotioProductService $notioProductService) : JsonResponse
Parameters
$request : Request
$notioProductService : NotioProductService
Tags
Route

("/catalog-index-paginate", name="notio_catalog_index_paginate")

Return values
JsonResponse

creationAction()

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
Route

("/creation", name="new_products_notio_index")

Method

({"GET", "POST"})

Return values
Response|null

creationToBeProcessedAction()

public creationToBeProcessedAction() : mixed
Tags
Route

("/creation-to-be-processed", name="new_products_to_be_processed_notio_index")

Method

({"GET", "POST"})

selectionPaginateAction()

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
Route

("/catalog-selection-paginate", name="notio_catalog_selection_paginate")

Return values
JsonResponse|StreamedResponse

translationAndPublicationProcessedAction()

public translationAndPublicationProcessedAction() : mixed
Tags
Route

("/translation-to-be-processed", name="translation_and_publication_process_index")

Method

({"GET", "POST"})

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 = ''
Return values
array<string|int, mixed>

        
On this page

Search results