4 include_once(
"./Services/Object/classes/class.ilObjectGUI.php");
23 public function __construct($a_data, $a_id, $a_call_by_reference =
true, $a_prepare_output =
true)
28 $this->lng->loadLanguageModule(
"tax");
36 $next_class = $this->ctrl->getNextClass($this);
37 $cmd = $this->ctrl->getCmd();
43 case 'ilpermissiongui':
44 $this->tabs_gui->activateTab(
'perm_settings');
45 include_once(
"Services/AccessControl/classes/class.ilPermissionGUI.php");
47 $this->ctrl->forwardCommand($perm_gui);
53 $cmd =
"listRepository";
69 if ($rbacsystem->checkAccess(
"visible,read",$this->object->getRefId()))
71 $this->tabs_gui->addTab(
"settings",
72 $this->lng->txt(
"tax_admin_settings_repository"),
73 $this->ctrl->getLinkTarget($this,
"listRepository"));
76 if ($rbacsystem->checkAccess(
'edit_permission',$this->object->getRefId()))
78 $this->tabs_gui->addTab(
"perm_settings",
79 $this->lng->txt(
"perm_settings"),
80 $this->ctrl->getLinkTargetByClass(
'ilpermissiongui',
"perm"));
89 $this->tabs_gui->activateTab(
'settings');
91 require_once
"Services/Taxonomy/classes/class.ilTaxonomyAdministrationRepositoryTableGUI.php";
93 $this->tpl->setContent($tbl->getHTML());