class Template extends BaseAction implements EventSubscriberInterface

Methods

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

Toggle visibility for an object

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

Create a new template entry

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

Change a product template

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

Delete a product template entry

addAttribute( TemplateAddAttributeEvent $event)

No description

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

Changes position, selecting absolute ou relative change.

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

Changes position, selecting absolute ou relative change.

deleteAttribute( TemplateDeleteAttributeEvent $event)

No description

addFeature( TemplateAddFeatureEvent $event)

No description

deleteFeature( TemplateDeleteFeatureEvent $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 46
create( TemplateCreateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Create a new template entry

Parameters

TemplateCreateEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 69
update( TemplateUpdateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Change a product template

Parameters

TemplateUpdateEvent $event
$eventName
EventDispatcherInterface $dispatcher

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

Delete a product template entry

Parameters

TemplateDeleteEvent $event
$eventName
EventDispatcherInterface $dispatcher

Exceptions

Exception

at line 127
addAttribute( TemplateAddAttributeEvent $event)

Parameters

TemplateAddAttributeEvent $event

at line 150
updateAttributePosition( UpdatePositionEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Changes position, selecting absolute ou relative change.

Parameters

UpdatePositionEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 162
updateFeaturePosition( UpdatePositionEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Changes position, selecting absolute ou relative change.

Parameters

UpdatePositionEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 167
deleteAttribute( TemplateDeleteAttributeEvent $event)

Parameters

TemplateDeleteAttributeEvent $event

at line 179
addFeature( TemplateAddFeatureEvent $event)

Parameters

TemplateAddFeatureEvent $event

at line 196
deleteFeature( TemplateDeleteFeatureEvent $event)

Parameters

TemplateDeleteFeatureEvent $event

at line 211
static getSubscribedEvents()

{@inheritDoc}