ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilGlossaryAppEventListener Class Reference
+ Inheritance diagram for ilGlossaryAppEventListener:
+ Collaboration diagram for ilGlossaryAppEventListener:

Static Public Member Functions

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

Detailed Description

Member Function Documentation

◆ handleEvent()

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

@inheritDoc

Implements ilAppEventListener.

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

29 : void
30 {
31 switch ($a_component) {
32 case "components/ILIAS/ILIASObject":
33 switch ($a_event) {
34 case "beforeDeletion":
36 $handler->processObjectDeletion($a_parameter["object"]->getId(), $a_parameter["object"]->getType());
37 break;
38 }
39 break;
40 case "components/ILIAS/Glossary":
41 switch ($a_event) {
42 case "deleteTerm":
44 $handler->processTermDeletion($a_parameter["term_id"]);
45 break;
46 }
47 }
48 }
$handler
Definition: oai.php:29

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

+ Here is the call graph for this function:

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