ProductSaleElement
class ProductSaleElement extends BaseAction implements EventSubscriberInterface
Methods
Toggle visibility for an object
No description
Create a new product sale element, with or without combination
Update an existing product sale element
Delete a product sale element
Generate combinations. All existing combinations for the product are deleted.
Clone product's PSEs and associated datas
No description
No description
No description
{@inheritDoc}
Details
in
BaseAction at line 130
mixed
genericToggleVisibility(
ModelCriteria $query,
ToggleVisibilityEvent $event,
EventDispatcherInterface $dispatcher = null)
Toggle visibility for an object
at line 49
__construct(
EventDispatcherInterface $eventDispatcher)
at line 60
create(
ProductSaleElementCreateEvent $event)
Create a new product sale element, with or without combination
at line 118
update(
ProductSaleElementUpdateEvent $event)
Update an existing product sale element
at line 209
delete(
ProductSaleElementDeleteEvent $event)
Delete a product sale element
at line 254
generateCombinations(
ProductCombinationGenerationEvent $event)
Generate combinations. All existing combinations for the product are deleted.
at line 330
clonePSE(
ProductCloneEvent $event)
Clone product's PSEs and associated datas
at line 374
createClonePSE(
ProductCloneEvent $event,
ProductSaleElements $originalProductPSE, $currencyId)
at line 387
updateClonePSE(
ProductCloneEvent $event, $clonedProductPSEId,
ProductSaleElements $originalProductPSE, $key)
at line 412
clonePSEAssociatedFiles($clonedProductId, $clonedProductPSEId, $originalProductPSEFiles, $type)
at line 474
static
getSubscribedEvents()
{@inheritDoc}