|
static | handleEvent (string $component, string $event, array $parameter) |
| Handle an event in a listener. More...
|
|
static | handleEvent (string $a_component, string $a_event, array $a_parameter) |
| Handle an event in a listener. More...
|
|
◆ handleEvent()
static ilDataCollectionAppEventListener::handleEvent |
( |
string |
$a_component, |
|
|
string |
$a_event, |
|
|
array |
$a_parameter |
|
) |
| |
|
static |
Handle an event in a listener.
- Parameters
-
string | $a_component | component, e.g. "components/ILIAS/Forum" or "components/ILIAS/User" |
string | $a_event | event e.g. "createUser", "updateUser", "deleteUser", ... |
| array<string,mixed> | $a_parameter parameter array (assoc), array("name" => ..., "phone_office" => ...) |
Implements ilAppEventListener.
Definition at line 25 of file ilDataCollectionAppEventListener.php.
25 : void
26 {
27 if ($event === 'deleteUser') {
28 if (self::$notification === null) {
31 }
32 self::$notification->deleteForUser($parameter['usr_id']);
33 }
34 }
References $DIC.
◆ $notification
The documentation for this class was generated from the following file: