class Attribute extends BaseAction implements EventSubscriberInterface

Methods

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

Toggle visibility for an object

from  BaseAction
create( AttributeCreateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Create a new attribute entry

update( AttributeUpdateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Change a product attribute

delete( AttributeDeleteEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Delete a product attribute entry

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

Changes position, selecting absolute ou relative change.

addToAllTemplates( AttributeEvent $event)

No description

removeFromAllTemplates( AttributeEvent $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 38
create( AttributeCreateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Create a new attribute entry

Parameters

AttributeCreateEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 64
update( AttributeUpdateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Change a product attribute

Parameters

AttributeUpdateEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 89
delete( AttributeDeleteEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Delete a product attribute entry

Parameters

AttributeDeleteEvent $event
$eventName
EventDispatcherInterface $dispatcher

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

Changes position, selecting absolute ou relative change.

Parameters

UpdatePositionEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 130
addToAllTemplates( AttributeEvent $event)

Parameters

AttributeEvent $event

at line 135
removeFromAllTemplates( AttributeEvent $event)

Parameters

AttributeEvent $event

at line 144
static getSubscribedEvents()

{@inheritdoc}