class Module extends BaseAction implements EventSubscriberInterface

Class Module

Methods

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

Toggle visibility for an object

from  BaseAction
__construct( ContainerInterface $container)

No description

toggleActivation( ModuleToggleActivationEvent $event, $eventName, EventDispatcherInterface $dispatcher)

No description

checkToggleActivation( ModuleToggleActivationEvent $event, $eventName, EventDispatcherInterface $dispatcher)

No description

recursiveActivation( ModuleToggleActivationEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Get dependencies of the current module and activate it if needed

recursiveDeactivation( ModuleToggleActivationEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Get modules having current module in dependence and deactivate it if needed

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

No description

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

No description

install( ModuleInstallEvent $event, $eventName, EventDispatcherInterface $dispatcher)

No description

pay( OrderPaymentEvent $event)

Call the payment method of the payment module of the given order

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

Changes position, selecting absolute ou relative change.

static 
getSubscribedEvents()

No description

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 53
__construct( ContainerInterface $container)

Parameters

ContainerInterface $container

at line 58
toggleActivation( ModuleToggleActivationEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

ModuleToggleActivationEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 78
checkToggleActivation( ModuleToggleActivationEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

ModuleToggleActivationEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 163
recursiveActivation( ModuleToggleActivationEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Get dependencies of the current module and activate it if needed

Parameters

ModuleToggleActivationEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 187
recursiveDeactivation( ModuleToggleActivationEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Get modules having current module in dependence and deactivate it if needed

Parameters

ModuleToggleActivationEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 204
delete( ModuleDeleteEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

ModuleDeleteEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 291
update( ModuleEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

ModuleEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 317
install( ModuleInstallEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

ModuleInstallEvent $event
$eventName
EventDispatcherInterface $dispatcher

Exceptions

Exception
IOException
Exception

at line 390
pay( OrderPaymentEvent $event)

Call the payment method of the payment module of the given order

Parameters

OrderPaymentEvent $event

Exceptions

RuntimeException if no payment module can be found.

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

Changes position, selecting absolute ou relative change.

Parameters

UpdatePositionEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 442
static getSubscribedEvents()