class Product extends BaseAction implements EventSubscriberInterface

Methods

mixed
genericToggleVisibility( ModelCriteria $query, ToggleVisibilityEvent $event, EventDispatcherInterface $dispatcher = null)

Toggle visibility for an object

from  BaseAction
__construct( EventDispatcherInterface $eventDispatcher)

No description

create( ProductCreateEvent $event)

Create a new product entry

cloneProduct( ProductCloneEvent $event)

No description

createClone( ProductCloneEvent $event, ProductI18n $originalProductDefaultI18n, ProductPrice $originalProductDefaultPrice)

No description

updateClone( ProductCloneEvent $event, ProductPrice $originalProductDefaultPrice)

No description

cloneFeatureCombination( ProductCloneEvent $event)

No description

cloneAssociatedContent( ProductCloneEvent $event)

No description

cloneAccessories( ProductCloneEvent $event)

No description

update( ProductUpdateEvent $event)

Change a product

mixed
updateSeo( UpdateSeoEvent $event, $eventName, EventDispatcherInterface $dispatcher)

No description

delete( ProductDeleteEvent $event)

Delete a product entry

toggleVisibility( ProductToggleVisibilityEvent $event)

Toggle product visibility. No form used here

updatePosition( UpdatePositionEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Changes position, selecting absolute ou relative change.

addContent( ProductAddContentEvent $event)

No description

removeContent( ProductDeleteContentEvent $event)

No description

addCategory( ProductAddCategoryEvent $event)

No description

removeCategory( ProductDeleteCategoryEvent $event)

No description

addAccessory( ProductAddAccessoryEvent $event)

No description

removeAccessory( ProductDeleteAccessoryEvent $event)

No description

setProductTemplate( ProductSetTemplateEvent $event)

No description

Object
updateAccessoryPosition( UpdatePositionEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Changes accessry position, selecting absolute ou relative change.

Object
updateContentPosition( UpdatePositionEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Changes position, selecting absolute ou relative change.

updateFeatureProductValue( FeatureProductUpdateEvent $event)

Update the value of a product feature.

deleteFeatureProductValue( FeatureProductDeleteEvent $event)

Delete a product feature value

deleteImagePSEAssociations( FileDeleteEvent $event)

No description

deleteDocumentPSEAssociations( FileDeleteEvent $event)

No description

static 
getSubscribedEvents()

{@inheritDoc}

Details

in BaseAction at line 130
mixed genericToggleVisibility( ModelCriteria $query, ToggleVisibilityEvent $event, EventDispatcherInterface $dispatcher = null)

Toggle visibility for an object

Parameters

ModelCriteria $query
ToggleVisibilityEvent $event
EventDispatcherInterface $dispatcher

Return Value

mixed

at line 71
__construct( EventDispatcherInterface $eventDispatcher)

Parameters

EventDispatcherInterface $eventDispatcher

at line 81
create( ProductCreateEvent $event)

Create a new product entry

Parameters

ProductCreateEvent $event

at line 120
cloneProduct( ProductCloneEvent $event)

Parameters

ProductCloneEvent $event

Exceptions

Exception

at line 167
createClone( ProductCloneEvent $event, ProductI18n $originalProductDefaultI18n, ProductPrice $originalProductDefaultPrice)

Parameters

ProductCloneEvent $event
ProductI18n $originalProductDefaultI18n
ProductPrice $originalProductDefaultPrice

at line 188
updateClone( ProductCloneEvent $event, ProductPrice $originalProductDefaultPrice)

Parameters

ProductCloneEvent $event
ProductPrice $originalProductDefaultPrice

at line 240
cloneFeatureCombination( ProductCloneEvent $event)

Parameters

ProductCloneEvent $event

at line 274
cloneAssociatedContent( ProductCloneEvent $event)

Parameters

ProductCloneEvent $event

at line 287
cloneAccessories( ProductCloneEvent $event)

Parameters

ProductCloneEvent $event

at line 311
update( ProductUpdateEvent $event)

Change a product

Parameters

ProductUpdateEvent $event

Exceptions

PropelException
Exception

at line 361
mixed updateSeo( UpdateSeoEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

UpdateSeoEvent $event
$eventName
EventDispatcherInterface $dispatcher

Return Value

mixed

at line 372
delete( ProductDeleteEvent $event)

Delete a product entry

Parameters

ProductDeleteEvent $event

Exceptions

Exception

at line 435
toggleVisibility( ProductToggleVisibilityEvent $event)

Toggle product visibility. No form used here

Parameters

ProductToggleVisibilityEvent $event

at line 455
updatePosition( UpdatePositionEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Changes position, selecting absolute ou relative change.

Parameters

UpdatePositionEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 466
addContent( ProductAddContentEvent $event)

Parameters

ProductAddContentEvent $event

at line 482
removeContent( ProductDeleteContentEvent $event)

Parameters

ProductDeleteContentEvent $event

at line 497
addCategory( ProductAddCategoryEvent $event)

Parameters

ProductAddCategoryEvent $event

at line 514
removeCategory( ProductDeleteCategoryEvent $event)

Parameters

ProductDeleteCategoryEvent $event

at line 526
addAccessory( ProductAddAccessoryEvent $event)

Parameters

ProductAddAccessoryEvent $event

at line 542
removeAccessory( ProductDeleteAccessoryEvent $event)

Parameters

ProductDeleteAccessoryEvent $event

at line 557
setProductTemplate( ProductSetTemplateEvent $event)

Parameters

ProductSetTemplateEvent $event

at line 630
Object updateAccessoryPosition( UpdatePositionEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Changes accessry position, selecting absolute ou relative change.

Parameters

UpdatePositionEvent $event
$eventName
EventDispatcherInterface $dispatcher

Return Value

Object

at line 643
Object updateContentPosition( UpdatePositionEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Changes position, selecting absolute ou relative change.

Parameters

UpdatePositionEvent $event
$eventName
EventDispatcherInterface $dispatcher

Return Value

Object

at line 653
updateFeatureProductValue( FeatureProductUpdateEvent $event)

Update the value of a product feature.

Parameters

FeatureProductUpdateEvent $event

at line 758
deleteFeatureProductValue( FeatureProductDeleteEvent $event)

Delete a product feature value

Parameters

FeatureProductDeleteEvent $event

at line 767
deleteImagePSEAssociations( FileDeleteEvent $event)

Parameters

FileDeleteEvent $event

at line 776
deleteDocumentPSEAssociations( FileDeleteEvent $event)

Parameters

FileDeleteEvent $event

at line 788
static getSubscribedEvents()

{@inheritDoc}