3 include_once(
"./Services/Object/classes/class.ilObjectGUI.php");
24 public function __construct($a_data, $a_id, $a_call_by_reference =
true, $a_prepare_output =
true)
29 $this->lng->loadLanguageModule(
'acc');
40 global $rbacsystem,
$ilErr,$ilAccess;
42 $next_class = $this->ctrl->getNextClass($this);
43 $cmd = $this->ctrl->getCmd();
47 if(!$ilAccess->checkAccess(
'read',
'',$this->object->getRefId()))
49 $ilErr->raiseError($this->lng->txt(
'no_permission'),$ilErr->WARNING);
54 case 'ilpermissiongui':
55 $this->tabs_gui->setTabActive(
'perm_settings');
56 include_once(
"Services/AccessControl/classes/class.ilPermissionGUI.php");
58 $ret =& $this->ctrl->forwardCommand($perm_gui);
64 $cmd =
"editAccessKeys";
81 global $rbacsystem, $ilAccess, $ilTabs;
83 if ($ilAccess->checkAccess(
"write",
"", $this->object->getRefId()))
85 $ilTabs->addTarget(
"acc_access_keys",
86 $this->ctrl->getLinkTarget($this,
"editAccessKeys"),
87 array(
"editAccessKeys",
"view"));
90 if ($ilAccess->checkAccess(
'edit_permission',
"", $this->object->getRefId()))
92 $ilTabs->addTarget(
"perm_settings",
93 $this->ctrl->getLinkTargetByClass(
'ilpermissiongui',
"perm"),
94 array(),
'ilpermissiongui');
105 include_once(
"./Services/Accessibility/classes/class.ilAccessKeyTableGUI.php");
108 $tpl->setContent($table->getHTML());
118 if ($ilAccess->checkAccess(
"write",
"",
$_GET[
"ref_id"]))
120 include_once(
"./Services/Accessibility/classes/class.ilAccessKey.php");
124 $ilCtrl->redirect($this,
"editAccessKeys");