4 include_once(
"./Services/Object/classes/class.ilObjectGUI.php");
28 public function __construct($a_data, $a_id, $a_call_by_reference =
true, $a_prepare_output =
true)
32 $this->rbacsystem = $DIC->rbac()->system();
34 parent::__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
36 $this->lng->loadLanguageModule(
"tax");
44 $next_class = $this->ctrl->getNextClass($this);
45 $cmd = $this->ctrl->getCmd();
49 switch ($next_class) {
50 case 'ilpermissiongui':
51 $this->tabs_gui->activateTab(
'perm_settings');
52 include_once(
"Services/AccessControl/classes/class.ilPermissionGUI.php");
54 $this->ctrl->forwardCommand($perm_gui);
58 if (!$cmd || $cmd ==
'view') {
59 $cmd =
"listRepository";
75 if (
$rbacsystem->checkAccess(
"visible,read", $this->object->getRefId())) {
76 $this->tabs_gui->addTab(
78 $this->lng->txt(
"tax_admin_settings_repository"),
79 $this->ctrl->getLinkTarget($this,
"listRepository")
83 if (
$rbacsystem->checkAccess(
'edit_permission', $this->object->getRefId())) {
84 $this->tabs_gui->addTab(
86 $this->lng->txt(
"perm_settings"),
87 $this->ctrl->getLinkTargetByClass(
'ilpermissiongui',
"perm")
97 $this->tabs_gui->activateTab(
'settings');
99 require_once
"Services/Taxonomy/classes/class.ilTaxonomyAdministrationRepositoryTableGUI.php";
101 $this->tpl->setContent(
$tbl->getHTML());
executeCommand()
Execute command.
listRepository()
List taxonomies of repository objects.
TableGUI class for repository taxonomies.
prepareOutput($a_show_subobjects=true)
prepare output
Class ilObjectGUI Basic methods of all Output classes.
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
__construct($a_data, $a_id, $a_call_by_reference=true, $a_prepare_output=true)
Contructor.
Taxonomy Administration Settings.