ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
ilDataCollectionAppEventListener Class Reference
+ Inheritance diagram for ilDataCollectionAppEventListener:
+ Collaboration diagram for ilDataCollectionAppEventListener:

Static Public Member Functions

static handleEvent (string $component, string $event, array $parameter)
 Handle an event in a listener. More...
 

Static Private Attributes

static ilDclNotification $notification = null
 

Detailed Description

Definition at line 21 of file ilDataCollectionAppEventListener.php.

Member Function Documentation

◆ handleEvent()

static ilDataCollectionAppEventListener::handleEvent ( string  $a_component,
string  $a_event,
array  $a_parameter 
)
static

Handle an event in a listener.

Parameters
string$a_componentcomponent, e.g. "components/ILIAS/Forum" or "components/ILIAS/User"
string$a_eventevent 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.

References $DIC, ilDclNotification\deleteForUser(), and null.

25  : 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  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
global $DIC
Definition: shib_login.php:26
+ Here is the call graph for this function:

Field Documentation

◆ $notification

ilDclNotification ilDataCollectionAppEventListener::$notification = null
staticprivate

Definition at line 23 of file ilDataCollectionAppEventListener.php.


The documentation for this class was generated from the following file: