ILIAS  release_8 Revision v8.23
ilEventHandlingAppEventListener 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 ilEventHandlingAppEventListener:
+ Collaboration diagram for ilEventHandlingAppEventListener:

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 Dummy listener used for unit tests

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 23 of file class.ilEventHandlingAppEventListener.php.

Member Function Documentation

◆ handleEvent()

static ilEventHandlingAppEventListener::handleEvent ( string  $a_component,
string  $a_event,
array  $a_parameter 
)
static
Exceptions
ilEventHandlingTestException

Implements ilAppEventListener.

Definition at line 28 of file class.ilEventHandlingAppEventListener.php.

28  : void
29  {
30  if ($a_component == "MyTestComponent" &&
31  $a_event == "MyEvent" &&
32  isset($a_parameter["par1"]) &&
33  $a_parameter["par1"] == "val1" &&
34  isset($a_parameter["par2"]) &&
35  $a_parameter["par2"] == "val2"
36  ) {
37  throw new ilEventHandlingTestException("");
38  }
39  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

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