ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilBookingManagerAppEventListener Class Reference
+ Collaboration diagram for ilBookingManagerAppEventListener:

Static Public Member Functions

static handleEvent (string $a_component, string $a_event, array $a_parameter)
 Handle an event in a listener. More...
 

Detailed Description

Definition at line 21 of file class.ilBookingManagerAppEventListener.php.

Member Function Documentation

◆ handleEvent()

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

Handle an event in a listener.

Parameters
string$a_componentcomponent, e.g. "Modules/Forum" or "Services/User"
string$a_eventevent e.g. "createUser", "updateUser", "deleteUser", ...
array$a_parameterparameter array (assoc), array("name" => ..., "phone_office" => ...)

Definition at line 30 of file class.ilBookingManagerAppEventListener.php.

References $DIC.

34  : void {
35  global $DIC;
36 
37  switch ($a_component) {
38  case "Services/User":
39  switch ($a_event) {
40  case "deleteUser":
41  $DIC->bookingManager()->internal()->domain()->userEvent()->handleDeletion((int) $a_parameter["usr_id"]);
42  break;
43  }
44  break;
45  }
46  }
global $DIC
Definition: shib_login.php:22

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