ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
ilDataCollectionAppEventListener.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 {
24 
25  public static function handleEvent(string $component, string $event, array $parameter): void
26  {
27  if ($event === 'deleteUser') {
28  if (self::$notification === null) {
29  global $DIC;
30  self::$notification = new ilDclNotification($DIC->database());
31  }
32  self::$notification->deleteForUser($parameter['usr_id']);
33  }
34  }
35 }
static handleEvent(string $component, string $event, array $parameter)
Handle an event in a listener.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
global $DIC
Definition: shib_login.php:26
Interface for event handling.