jEventListener
extends EventListener
in package
base class for event listeners.
Prefer to use \Jelix\Event\EventListener
Tags
Table of Contents
- $eventMapping : array<string|int, string>
- performEvent() : mixed
- perform a given event.
Properties
$eventMapping
protected
array<string|int, string>
$eventMapping
= array()
mapping between event name and methods to execute keys are events, values are method name. useful when events name contains characters that are forbidden in a method name.
Tags
Methods
performEvent()
perform a given event.
public
performEvent(EventInterface $event) : mixed
Parameters
- $event : EventInterface
-
the event itself