ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilOrgUnitAppEventListener Class Reference

Class ilOrgUnitAppEventListener. More...

+ Collaboration diagram for ilOrgUnitAppEventListener:

Static Public Member Functions

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

Static Protected Attributes

static $ref_ids = array()
 

Detailed Description

Member Function Documentation

◆ handleEvent()

static ilOrgUnitAppEventListener::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.ilOrgUnitAppEventListener.php.

References $DIC, $tree, and ilObject2\_lookupType().

21  {
22  switch ($a_component) {
23  case 'Services/Tree':
24  switch ($a_event) {
25  case 'moveTree':
26  $moved_ref_id = $a_parameter['source_id'];
27  if (ilObject2::_lookupType($moved_ref_id, true) == 'orgu') {
28  self::rebuildOrguPathRecurvice($moved_ref_id);
29  }
30 
31  break;
32  }
33  break;
34  }
35  }
static _lookupType($a_id, $a_reference=false)
+ Here is the call graph for this function:

Field Documentation

◆ $ref_ids

ilOrgUnitAppEventListener::$ref_ids = array()
staticprotected

Definition at line 10 of file class.ilOrgUnitAppEventListener.php.


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