25 public function __construct($a_ref_id = 0, $a_id_type = self::REPOSITORY_NODE_ID, $a_parent_node_id = 0)
29 parent::__construct($a_ref_id, $a_id_type, $a_parent_node_id);
46 throw new ilPluginException(
"ilObjectPluginGUI: Could not instantiate plugin object for type " . $this->
getType() .
".");
68 $parent = parent::lookupParentTitleInCreationMode();
69 if ($parent ==
'__OrgUnitAdministration') {
70 return $this->lng->txt(
"objs_orgu");
101 if (
$row[
"title"] ==
"__OrgUnitAdministration") {
102 $row[
"title"] = $this->lng->txt(
"objs_orgu");
104 $this->ctrl->setParameterByClass(
"ilobjorgunitgui",
"ref_id",
$row[
"child"]);
105 $this->ilLocator->addItem(
$row[
"title"], $this->ctrl->getLinkTargetByClass(array(
106 "iladministrationgui",
109 $this->ctrl->setParameterByClass(
"ilobjplugindispatchgui",
"ref_id",
$_GET[
"ref_id"]);
120 $this->ctrl->setParameterByClass(
"ilObjPluginDispatchGUI",
"ref_id",
$_GET[
"ref_id"]);
121 $this->ctrl->setParameterByClass(
"ilObjOrgUnitGUI",
"ref_id",
$_GET[
"ref_id"]);
124 if (!
$tree->handleCommand()) {
125 $this->tpl->setLeftNavContent(
$tree->getHTML());
135 $whiteList = array(
"orgu");
136 $pls = ilOrgUnitExtension::getActivePluginIdsForTree();
138 return array_merge($whiteList, $pls);
static getPluginObject(string $a_ctype, string $a_cname, string $a_slot_id, string $a_pname)
showTree()
Views in the Org Unit have the Navigation Tree enabled by default.
lookupParentTitleInCreationMode()
static lookupNameForId(string $a_ctype, string $a_cname, string $a_slot_id, string $a_plugin_id)
getType()
Functions that must be overwritten.
Tree class data representation in hierachical trees using the Nested Set Model with Gaps by Joe Celco...
Class ilOrgUnitExtensionGUI.
__construct($a_ref_id=0, $a_id_type=self::REPOSITORY_NODE_ID, $a_parent_node_id=0)
ilOrgUnitExtensionGUI constructor.
setLocator()
Override the locator (breadcrumbs).
Class ilOrgUnitExplorerGUI.
getPlugin()
Get plugin object.
Class ilOrgUnitExtensionPlugin.