ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ilGlossaryAppEventListener Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilGlossaryAppEventListener:
+ Collaboration diagram for ilGlossaryAppEventListener:

Static Public Member Functions

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

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

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

Definition at line 25 of file class.ilGlossaryAppEventListener.php.

Member Function Documentation

◆ handleEvent()

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

Implements ilAppEventListener.

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

References $handler, and ILIAS\Survey\Mode\getId().

30  : void
31  {
32  switch ($a_component) {
33  case "Services/Object":
34  switch ($a_event) {
35  case "beforeDeletion":
37  $handler->processObjectDeletion($a_parameter["object"]->getId(), $a_parameter["object"]->getType());
38  break;
39  }
40  break;
41  case "Modules/Glossary":
42  switch ($a_event) {
43  case "deleteTerm":
45  $handler->processTermDeletion($a_parameter["term_id"]);
46  break;
47  }
48  }
49  }
$handler
Definition: index.php:18
+ Here is the call graph for this function:

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