class Hook extends BaseAction implements EventSubscriberInterface

Class HookAction

Methods

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

Toggle visibility for an object

from  BaseAction
__construct($cacheDir)

No description

create( HookCreateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

No description

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

No description

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

No description

createAll( HookCreateAllEvent $event)

No description

deactivation( HookDeactivationEvent $event)

No description

toggleNative( HookToggleNativeEvent $event)

No description

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

Parameters

$cacheDir

at line 44
create( HookCreateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

HookCreateEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 62
update( HookUpdateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

HookUpdateEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 83
delete( HookDeleteEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

HookDeleteEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 93
createAll( HookCreateAllEvent $event)

Parameters

HookCreateAllEvent $event

at line 113
deactivation( HookDeactivationEvent $event)

Parameters

HookDeactivationEvent $event

at line 123
toggleNative( HookToggleNativeEvent $event)

Parameters

HookToggleNativeEvent $event

at line 133
toggleActivation( HookToggleActivationEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

HookToggleActivationEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 155
static getSubscribedEvents()

{@inheritdoc}