36 parent::__construct($a_ref_id);
38 $this->parent_ref_id =
$tree->getParentId($a_ref_id ? $a_ref_id :
$_GET[
'ref_id']);
47 public static function getActivePluginIdsForTree()
55 foreach ($plugin_ids as $plugin_id) {
75 throw new ilPluginException(
"ilOrgUnitExtension: Could not instantiate plugin object for type " . $this->
getType() .
".");
122 $path[] = $node[
'child'];
143 if ($node[
"title"] ==
"__OrgUnitAdministration") {
144 $node[
"title"] = $this->lng->txt(
"objs_orgu");
146 $titles[] = $node[
'title'];
158 $node = $this->tree->getNodeData($this->parent_ref_id);
159 return $this->tree->getSubTree($node, $with_data,
$type);
static getPluginObject(string $a_ctype, string $a_cname, string $a_slot_id, string $a_pname)
if(isset($_REQUEST['delete'])) $list
getSuperiors($recursively=false)
Get all user ids of superiors of the underlying OrgUnit.
__construct($a_ref_id=0)
ilOrgUnitExtension constructor.
getOrgUnitSubtree($with_data=true, $type="")
static getPluginObjectByType($type)
Return either a repoObject plugin or a orgunit extension plugin or null if the type is not a plugin...
static lookupNameForId(string $a_ctype, string $a_cname, string $a_slot_id, string $a_plugin_id)
getEmployees($ref_id, $recursive=false)
Class ilOrgUnitExtension.
getSuperiors($ref_id, $recursive=false)
Class ilObjOrgUnitTree Implements a singleton pattern for caching.
static getInstanceByRefId($a_ref_id, $stop_on_error=true)
get an instance of an Ilias object by reference id
static getActivePluginIdsForSlot(string $a_ctype, string $a_cname, string $a_slot_id)
Get All active plugin ids for a slot.
getEmployees($recursively=false)
Get all user ids of employees of the underlying OrgUnit.
Class ilOrgUnitExtensionPlugin.