3 require_once
"Services/Repository/classes/class.ilObjectPlugin.php";
4 require_once
"Modules/OrgUnit/classes/class.ilObjOrgUnitTree.php";
5 require_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);
static getPluginObject($a_ctype, $a_cname, $a_slot_id, $a_pname)
Get plugin object.
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="")
getEmployees($ref_id, $recursive=false)
static getActivePluginIdsForSlot($a_ctype, $a_cname, $a_slot_id)
Get All active plugin ids for a slot.
static lookupNameForId($a_ctype, $a_cname, $a_slot_id, $a_plugin_id)
Lookup name for id.
Class ilOrgUnitExtension.
getSuperiors($ref_id, $recursive=false)
Class ilObjOrgUnitTree Implements a singleton pattern for caching.
static getRepoPluginObjectByType($type)
Return either a repoObject plugin or a orgunit extension plugin or null if the type is not a plugin...
Create styles array
The data for the language used.
static getInstanceByRefId($a_ref_id, $stop_on_error=true)
get an instance of an Ilias object by reference id
getEmployees($recursively=false)
Get all user ids of employees of the underlying OrgUnit.
Class ilOrgUnitExtensionPlugin.