class ModuleHook extends BaseAction implements EventSubscriberInterface

Class ModuleHook

Methods

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

Toggle visibility for an object

from  BaseAction
__construct($cacheDir)

No description

toggleModuleActivation( ModuleToggleActivationEvent $event)

No description

deleteModule( ModuleDeleteEvent $event)

No description

createModuleHook( ModuleHookCreateEvent $event)

No description

updateModuleHook( ModuleHookUpdateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

No description

deleteModuleHook( ModuleHookDeleteEvent $event, $eventName, EventDispatcherInterface $dispatcher)

No description

toggleModuleHookActivation( ModuleHookToggleActivationEvent $event, $eventName, EventDispatcherInterface $dispatcher)

No description

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

Changes position, selecting absolute ou relative change.

updateHook( HookUpdateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

No description

toggleHookActivation( HookToggleActivationEvent $event, $eventName, EventDispatcherInterface $dispatcher)

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 47
__construct($cacheDir)

Parameters

$cacheDir

at line 52
toggleModuleActivation( ModuleToggleActivationEvent $event)

Parameters

ModuleToggleActivationEvent $event

at line 63
deleteModule( ModuleDeleteEvent $event)

Parameters

ModuleDeleteEvent $event

at line 104
createModuleHook( ModuleHookCreateEvent $event)

Parameters

ModuleHookCreateEvent $event

at line 130
updateModuleHook( ModuleHookUpdateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

ModuleHookUpdateEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 150
deleteModuleHook( ModuleHookDeleteEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

ModuleHookDeleteEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 171
toggleModuleHookActivation( ModuleHookToggleActivationEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

ModuleHookToggleActivationEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 195
UpdatePositionEvent updateModuleHookPosition( UpdatePositionEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Changes position, selecting absolute ou relative change.

Parameters

UpdatePositionEvent $event
$eventName
EventDispatcherInterface $dispatcher

Return Value

UpdatePositionEvent $event

at line 203
updateHook( HookUpdateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

HookUpdateEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 214
toggleHookActivation( HookToggleActivationEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

HookToggleActivationEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 235
static getSubscribedEvents()

{@inheritdoc}