3include_once(
"./Services/Object/classes/class.ilObjectGUI.php");
 
   44    public function __construct($a_data, $a_id, $a_call_by_reference = 
true, $a_prepare_output = 
true)
 
   48        $this->rbacsystem = 
$DIC->rbac()->system();
 
   49        $this->
error = $DIC[
"ilErr"];
 
   50        $this->access = 
$DIC->access();
 
   51        $this->tabs = 
$DIC->tabs();
 
   52        $this->tpl = 
$DIC[
"tpl"];
 
   53        $this->ctrl = 
$DIC->ctrl();
 
   54        $this->lng = 
$DIC->language();
 
   56        parent::__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
 
   58        $this->lng->loadLanguageModule(
'acc');
 
   73        $next_class = $this->ctrl->getNextClass($this);
 
   74        $cmd = $this->ctrl->getCmd();
 
   78        if (!
$rbacsystem->checkAccess(
'read', $this->object->getRefId())) {
 
   79            $ilErr->raiseError($this->lng->txt(
'no_permission'), 
$ilErr->WARNING);
 
   82        switch ($next_class) {
 
   83            case 'ilpermissiongui':
 
   84                $this->tabs_gui->setTabActive(
'perm_settings');
 
   85                include_once(
"Services/AccessControl/classes/class.ilPermissionGUI.php");
 
   87                $ret = $this->ctrl->forwardCommand($perm_gui);
 
   91                if (!$cmd || $cmd == 
'view') {
 
   92                    $cmd = 
"editAccessibilitySettings";
 
  106        require_once 
'Services/Form/classes/class.ilPropertyFormGUI.php';
 
  108        $form->setTitle($this->lng->txt(
'settings'));
 
  110        require_once 
'Services/Administration/classes/class.ilAdministrationSettingsFormHandler.php';
 
  125        $this->tabs_gui->setTabActive(
'acc_settings');
 
  130        $this->tpl->setContent(
$form->getHTML());
 
  145        if (
$rbacsystem->checkAccess(
"read", $this->object->getRefId())) {
 
  146            $ilTabs->addTab(
'acc_settings', $this->lng->txt(
'settings'), $this->ctrl->getLinkTarget($this, 
'editAccessibilitySettings'));
 
  149        if (
$rbacsystem->checkAccess(
"read", $this->object->getRefId())) {
 
  152                $this->ctrl->getLinkTarget($this, 
"editAccessKeys"),
 
  153                array(
"editAccessKeys", 
"view")
 
  157        if (
$rbacsystem->checkAccess(
"edit_permission", $this->object->getRefId())) {
 
  160                $this->ctrl->getLinkTargetByClass(
'ilpermissiongui', 
"perm"),
 
  174        $this->tabs_gui->setTabActive(
'acc_access_keys');
 
  176        include_once(
"./Services/Accessibility/classes/class.ilAccessKeyTableGUI.php");
 
  191        if ($ilAccess->checkAccess(
"write", 
"", 
$_GET[
"ref_id"])) {
 
  192            include_once(
"./Services/Accessibility/classes/class.ilAccessKey.php");
 
  194            ilUtil::sendSuccess(
$lng->txt(
"msg_obj_modified"), 
true);
 
  196        $ilCtrl->redirect($this, 
"editAccessKeys");
 
An exception for terminatinating execution or to throw for unit testing.
error($a_errmsg)
set error message @access public
TableGUI class for access keys.
static writeKeys($a_keys, $a_lang_key="0")
Write keys.
editAccessKeys()
Edit access keys.
__construct($a_data, $a_id, $a_call_by_reference=true, $a_prepare_output=true)
Contructor.
editAccessibilitySettings(ilPropertyFormGUI $form=null)
saveAccessKeys()
Save access keys.
executeCommand()
Execute command.
Class ilObjectGUI Basic methods of all Output classes.
prepareOutput($a_show_subobjects=true)
prepare output
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
static stripSlashesArray($a_arr, $a_strip_html=true, $a_allow="")
Strip slashes from array.
if(empty($password)) $table
if(isset($_POST['submit'])) $form