31 public function __construct($a_data, $a_id, $a_call_by_reference =
true, $a_prepare_output =
true)
35 $this->rbacsystem = $DIC->rbac()->system();
39 $this->
lng->loadLanguageModule(
"tax");
47 $next_class = $this->
ctrl->getNextClass($this);
48 $cmd = $this->
ctrl->getCmd();
52 if ($next_class ==
'ilpermissiongui') {
53 $this->tabs_gui->activateTab(
'perm_settings');
55 $this->
ctrl->forwardCommand($perm_gui);
57 if (!$cmd || $cmd ==
'view') {
58 $cmd =
"listRepository";
71 if ($rbacsystem->
checkAccess(
"visible,read", $this->object->getRefId())) {
72 $this->tabs_gui->addTab(
74 $this->
lng->txt(
"tax_admin_settings_repository"),
75 $this->
ctrl->getLinkTarget($this,
"listRepository")
79 if ($rbacsystem->
checkAccess(
'edit_permission', $this->object->getRefId())) {
80 $this->tabs_gui->addTab(
82 $this->
lng->txt(
"perm_settings"),
83 $this->
ctrl->getLinkTargetByClass(
'ilpermissiongui',
"perm")
93 $this->tabs_gui->activateTab(
'settings');
95 $this->tpl->setContent($tbl->getHTML());
executeCommand()
Execute command.
prepareOutput(bool $show_sub_objects=true)
listRepository()
List taxonomies of repository objects.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
checkAccess(string $a_operations, int $a_ref_id, string $a_type="")
checkAccess represents the main method of the RBAC-system in ILIAS3 developers want to use With this ...
Class ilObjectGUI Basic methods of all Output classes.
__construct(Container $dic, ilPlugin $plugin)
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
__construct($a_data, $a_id, $a_call_by_reference=true, $a_prepare_output=true)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...