ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilMediaPoolAppEventListener Class Reference

Media Pool listener. More...

+ Collaboration diagram for ilMediaPoolAppEventListener:

Static Public Member Functions

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

Detailed Description

Media Pool listener.

Listens to events of other components.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

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

Member Function Documentation

◆ handleEvent()

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

Handle an event in a listener.

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

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

References ilMediaPoolItem\updateObjectTitle().

21  {
22  include_once("./Services/Tagging/classes/class.ilTagging.php");
23 
24  switch ($a_component) {
25  case "Services/Object":
26  switch ($a_event) {
27  case "update":
28  if ($a_parameter["obj_type"] == "mob") {
29  include_once("./Modules/MediaPool/classes/class.ilMediaPoolItem.php");
30  ilMediaPoolItem::updateObjectTitle($a_parameter["obj_id"]);
31  }
32  break;
33  }
34  break;
35  }
36  }
static updateObjectTitle($a_obj)
Update object title.
+ Here is the call graph for this function:

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