Overview

Namespaces

  • DcGeneral
    • Clipboard
    • Contao
      • Callback
      • Compatibility
      • DataDefinition
        • Definition
      • Dca
        • Builder
          • Legacy
        • Definition
        • Palette
        • Populator
      • Event
      • View
        • Contao2BackendView
          • Event
    • Controller
    • Data
    • DataDefinition
      • Builder
      • Definition
        • Properties
        • View
          • Panel
      • ModelRelationship
      • Palette
        • Builder
          • Event
        • Condition
          • Palette
          • Property
    • EnvironmentPopulator
    • Event
    • Exception
    • Factory
      • Event
    • Panel
    • View
      • Event

Classes

  • AbstractCommandEvent
  • AbstractContainerAwareEvent
  • AbstractEnvironmentAwareEvent
  • AbstractModelAwareEvent
  • AbstractModelCommandEvent
  • AbstractViewAwareEvent
  • EventPropagator
  • PostCreateModelEvent
  • PostDeleteModelEvent
  • PostDuplicateModelEvent
  • PostPasteModelEvent
  • PostPersistModelEvent
  • PreCreateModelEvent
  • PreDeleteModelEvent
  • PreDuplicateModelEvent
  • PrePasteModelEvent
  • PrePersistModelEvent

Interfaces

  • CommandEventInterface
  • EventPropagatorInterface
  • ModelCommandEventInterface
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Class EventPropagator

The generic event propagator implementation.

DcGeneral\Event\EventPropagator implements DcGeneral\Event\EventPropagatorInterface
Namespace: DcGeneral\Event
Package: DcGeneral\Event
Located at Event/EventPropagator.php
Methods summary
public
# __construct( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher )

Create a new instance.

Create a new instance.

Parameters

$dispatcher
Symfony\Component\EventDispatcher\EventDispatcherInterface
$dispatcher The event dispatcher to attach.
public Symfony\Component\EventDispatcher\Event
# propagate( string $eventName, Symfony\Component\EventDispatcher\Event $event = null, string[] $suffixes = array() )

Propagate an event to the defined event dispatcher.

Propagate an event to the defined event dispatcher.

Parameters

$eventName
string
$eventName The event name of the event to propagate.
$event
Symfony\Component\EventDispatcher\Event
$event The Event to propagate (optional).
$suffixes
string[]
$suffixes Suffixes to attach to the event.

Returns

Symfony\Component\EventDispatcher\Event

Implementation of

DcGeneral\Event\EventPropagatorInterface::propagate()
public Symfony\Component\EventDispatcher\Event
# propagateExact( string $eventName, Symfony\Component\EventDispatcher\Event $event = null, string[] $suffixes = array() )

Propagate an event to the defined event dispatcher.

Propagate an event to the defined event dispatcher.

Parameters

$eventName
string
$eventName The event name of the event to propagate.
$event
Symfony\Component\EventDispatcher\Event
$event The Event to propagate.
$suffixes
string[]
$suffixes Suffixes to attach to the event.

Returns

Symfony\Component\EventDispatcher\Event

Implementation of

DcGeneral\Event\EventPropagatorInterface::propagateExact()
Properties summary
protected Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher
#

The attached event dispatcher.

The attached event dispatcher.

contao-community-alliance/dc-general API documentation generated by ApiGen 2.8.0