ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilSurveyAppEventListener Class Reference
+ Inheritance diagram for ilSurveyAppEventListener:
+ Collaboration diagram for ilSurveyAppEventListener:

Static Public Member Functions

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

Detailed Description

Author
Thomas Famula famul.nosp@m.a@le.nosp@m.ifos..nosp@m.de

Definition at line 24 of file class.ilSurveyAppEventListener.php.

Member Function Documentation

◆ handleEvent()

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

Implements ilAppEventListener.

Definition at line 29 of file class.ilSurveyAppEventListener.php.

References $DIC.

29  : void
30  {
31  global $DIC;
32 
33  $survey_skill_deletion_manager = $DIC->skills()->internalSurvey()->manager()->getSkillDeletionManager();
34 
35  switch ($a_component) {
36  case "components/ILIAS/Skill":
37  switch ($a_event) {
38  case "deleteSkill":
39  $survey_skill_deletion_manager->removeSurveySkillsForSkill(
40  $a_parameter["node_id"],
41  $a_parameter["is_reference"]
42  );
43  break;
44  }
45  break;
46  }
47  }
global $DIC
Definition: shib_login.php:22

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