3require_once 
"Services/Repository/classes/class.ilObjectPlugin.php";
 
    4require_once 
"Modules/OrgUnit/classes/class.ilObjOrgUnitTree.php";
 
    5require_once(
'./Services/Repository/classes/class.ilObjectPlugin.php');
 
   37                parent::__construct($a_ref_id);
 
   39                $this->parent_ref_id = 
$tree->getParentId($a_ref_id ? $a_ref_id : 
$_GET[
'ref_id']);
 
   48        public static function getActivePluginIdsForTree() {
 
   55                foreach ($plugin_ids as $plugin_id) {
 
   74                                throw new ilPluginException(
"ilOrgUnitExtension: Could not instantiate plugin object for type " . $this->
getType() . 
".");
 
  117                        $path[] = $node[
'child'];
 
  136                        if ($node[
"title"] == 
"__OrgUnitAdministration") {
 
  137                                $node[
"title"] = $this->lng->txt(
"objs_orgu");
 
  139                        $titles[] = $node[
'title'];
 
  150                $node = $this->tree->getNodeData($this->parent_ref_id);
 
  151                return $this->tree->getSubTree($node, $with_data, 
$type);
 
An exception for terminatinating execution or to throw for unit testing.
Class ilObjOrgUnitTree Implements a singleton pattern for caching.
getEmployees($ref_id, $recursive=false)
getSuperiors($ref_id, $recursive=false)
getType()
get object type @access public
static getInstanceByRefId($a_ref_id, $stop_on_error=true)
get an instance of an Ilias object by reference id
static getRepoPluginObjectByType($type)
Return either a repoObject plugin or a orgunit extension plugin or null if the type is not a plugin.
Class ilOrgUnitExtensionPlugin.
Class ilOrgUnitExtension.
getOrgUnitSubtree($with_data=true, $type="")
__construct($a_ref_id=0)
ilOrgUnitExtension constructor.
getSuperiors($recursively=false)
Get all user ids of superiors of the underlying OrgUnit.
getEmployees($recursively=false)
Get all user ids of employees of the underlying OrgUnit.
static getPluginObject($a_ctype, $a_cname, $a_slot_id, $a_pname)
Get plugin object.
static lookupNameForId($a_ctype, $a_cname, $a_slot_id, $a_plugin_id)
Lookup name for id.
static getActivePluginIdsForSlot($a_ctype, $a_cname, $a_slot_id)
Get All active plugin ids for a slot.