class Feature extends BaseAction implements EventSubscriberInterface

Methods

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

Toggle visibility for an object

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

Create a new feature entry

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

Change a product feature

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

Delete a product feature entry

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

Changes position, selecting absolute ou relative change.

addToAllTemplates( FeatureEvent $event)

No description

removeFromAllTemplates( FeatureEvent $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( FeatureCreateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Create a new feature entry

Parameters

FeatureCreateEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 66
update( FeatureUpdateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Change a product feature

Parameters

FeatureUpdateEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 91
delete( FeatureDeleteEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Delete a product feature entry

Parameters

FeatureDeleteEvent $event
$eventName
EventDispatcherInterface $dispatcher

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

Changes position, selecting absolute ou relative change.

Parameters

UpdatePositionEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 132
addToAllTemplates( FeatureEvent $event)

Parameters

FeatureEvent $event

at line 137
removeFromAllTemplates( FeatureEvent $event)

Parameters

FeatureEvent $event

at line 146
static getSubscribedEvents()

{@inheritDoc}