ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilMediaPoolAppEventListener Class Reference

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

+ Collaboration diagram for ilMediaPoolAppEventListener:

Static Public Member Functions

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

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 Media Pool listener. Listens to events of other components.

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

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

Member Function Documentation

◆ handleEvent()

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

Handle an event in a listener.

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

Definition at line 33 of file class.ilMediaPoolAppEventListener.php.

References ilMediaPoolItem\updateObjectTitle().

37  : void {
38  switch ($a_component) {
39  case "components/ILIAS/ILIASObject":
40  switch ($a_event) {
41  case "update":
42  if ($a_parameter["obj_type"] === "mob") {
43  ilMediaPoolItem::updateObjectTitle($a_parameter["obj_id"]);
44  }
45  break;
46  }
47  break;
48  }
49  }
static updateObjectTitle(int $a_obj)
+ Here is the call graph for this function:

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