phpDocumentor

CreateProductOptionsAction extends AbstractAction

Class CreateProductOptionsAction

Table of Contents

SORT_ORDER_PROVISIONAL_VALUE  = -1
$textManager  : TextManager
$url  : Url
$highestSortOrder  : int
$optionReadService  : OptionReadService
$parser  : ProductOptionRequestParser
$priceModifyService  : ProductPriceConversionService
$readService  : ProductOptionReadService
$validator  : ProductOptionRequestValidator
$writeService  : ProductOptionWriteService
__construct()  : mixed
CreateProductOptionsAction constructor.
__invoke()  : Response
This method will be called in order to process the incoming request.
handle()  : Response
Executes the business logic of the incoming request.
initAbstractAction()  : void
Module action initialization.
optionValueById()  : OptionValue
sortOrderMustBeOverwritten()  : bool
translate()  : string
Translates the section phrase.
applyOptionValueCustomization()  : void
determineHighestSortOrderValue()  : mixed
overwriteSortOrder()  : array<string|int, array<string|int, mixed>>

Constants

Properties

Methods

__construct()

CreateProductOptionsAction constructor.

public __construct(ProductOptionRequestValidator $validator, ProductOptionRequestParser $parser, ProductOptionWriteService $writeService, ProductOptionReadService $readService, OptionReadService $optionReadService, ProductPriceConversionService $priceModifyService) : mixed
Parameters
$validator : ProductOptionRequestValidator
$parser : ProductOptionRequestParser
$writeService : ProductOptionWriteService
$readService : ProductOptionReadService
$optionReadService : OptionReadService
$priceModifyService : ProductPriceConversionService
Return values
mixed

sortOrderMustBeOverwritten()

protected sortOrderMustBeOverwritten(mixed ...$creationArguments) : bool
Parameters
$creationArguments : mixed
Return values
bool

translate()

Translates the section phrase.

protected translate(string $phrase, string $section[, int|null $languageId = null ]) : string
Parameters
$phrase : string
$section : string
$languageId : int|null = null
Return values
string

overwriteSortOrder()

private overwriteSortOrder(mixed ...$creationArguments) : array<string|int, array<string|int, mixed>>
Parameters
$creationArguments : mixed
Return values
array<string|int, array<string|int, mixed>>

Search results