ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
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.

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

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().

{
include_once("./Services/Tagging/classes/class.ilTagging.php");
switch($a_component)
{
case "Services/Object":
switch ($a_event)
{
case "update":
if ($a_parameter["obj_type"] == "mob")
{
include_once("./Modules/MediaPool/classes/class.ilMediaPoolItem.php");
ilMediaPoolItem::updateObjectTitle($a_parameter["obj_id"]);
}
break;
}
break;
}
}

+ Here is the call graph for this function:


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