37        $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() . 
".");
 
  125            $path[] = $node[
'child'];
 
  149            if ($node[
"title"] == 
"__OrgUnitAdministration") {
 
  150                $node[
"title"] = $this->lng->txt(
"objs_orgu");
 
  152            $titles[] = $node[
'title'];
 
  167        $node = $this->tree->getNodeData($this->parent_ref_id);
 
  169        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 getPluginObjectByType($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 lookupNameForId(string $a_ctype, string $a_cname, string $a_slot_id, string $a_plugin_id)
static getActivePluginIdsForSlot(string $a_ctype, string $a_cname, string $a_slot_id)
Get All active plugin ids for a slot.
static getPluginObject(string $a_ctype, string $a_cname, string $a_slot_id, string $a_pname)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc