Attribute
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
at line 38
create(
AttributeCreateEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Create a new attribute entry
at line 64
update(
AttributeUpdateEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Change a product attribute
at line 89
delete(
AttributeDeleteEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Delete a product attribute entry
at line 108
updatePosition(
UpdatePositionEvent $event, $eventName,
EventDispatcherInterface $dispatcher)
Changes position, selecting absolute ou relative change.
at line 130
addToAllTemplates(
AttributeEvent $event)
at line 135
removeFromAllTemplates(
AttributeEvent $event)
at line 144
static
getSubscribedEvents()
{@inheritdoc}