ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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  {
26  case "Services/Object":
27  switch ($a_event)
28  {
29  case "update":
30  if ($a_parameter["obj_type"] == "mob")
31  {
32  include_once("./Modules/MediaPool/classes/class.ilMediaPoolItem.php");
33  ilMediaPoolItem::updateObjectTitle($a_parameter["obj_id"]);
34  }
35  break;
36  }
37  break;
38  }
39  }
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: