31     protected \ILIAS\DI\UIServices 
$ui;
    41         bool $a_call_by_reference = 
true,
    42         bool $a_prepare_output = 
true    46         $this->
lng = $DIC->language();
    47         $this->rbacsystem = $DIC->rbac()->system();
    48         $this->
ctrl = $DIC->ctrl();
    49         $this->request = $DIC->http()->request();
    50         $this->
tabs = $DIC->tabs();
    51         $this->
ui = $DIC->ui();
    52         $this->setting = $DIC->settings();
    53         $this->main_tpl = $DIC->ui()->mainTemplate();
    59         $this->
lng->loadLanguageModule(
"pwsp");
    75         if (!$rbacsystem->
checkAccess(
"visible,read", $this->object->getRefId())) {
    81         switch ($next_class) {
    82             case 'ilpermissiongui':
    90                     $cmd = 
"editSettings";
    92                 if (in_array($cmd, [
"editSettings", 
"saveSettings"])) {
   106         if ($rbacsystem->
checkAccess(
"visible,read", $this->object->getRefId())) {
   114         if ($rbacsystem->
checkAccess(
'edit_permission', $this->object->getRefId())) {
   126         $this->tpl->setContent($form->getHTML());
   139         $form->setFormAction($ilCtrl->getFormAction($this, 
"saveWsp"));
   140         $form->setTitle(
$lng->
txt(
"obj_prss"));
   144         $wsp_prop->setValue(
'1');
   145         $wsp_prop->setChecked(!
$ilSetting->get(
'disable_personal_workspace'));
   146         $form->addItem($wsp_prop);
   150         $blog_prop->setValue(
'1');
   151         $blog_prop->setChecked(!
$ilSetting->get(
'disable_wsp_blogs'));
   152         $wsp_prop->addSubItem($blog_prop);
   156         $file_prop->setValue(
'1');
   157         $file_prop->setChecked(!
$ilSetting->get(
'disable_wsp_files'));
   158         $wsp_prop->addSubItem($file_prop);
   162         $link_prop->setValue(
'1');
   163         $link_prop->setChecked(!
$ilSetting->get(
'disable_wsp_links'));
   164         $wsp_prop->addSubItem($link_prop);
   166         if ($this->rbacsystem->checkAccess(
'write', $this->object->getRefId())) {
   168             $form->addCommandButton(
"saveSettings", 
$lng->
txt(
"save"));
   169             $form->addCommandButton(
"editSettings", 
$lng->
txt(
"cancel"));
   180         if (!$ilAccess->checkAccess(
'write', 
'', $this->object->getRefId())) {
   181             $ilCtrl->redirect($this, 
"view");
   185         if ($form->checkInput()) {
   186             $wsp = $form->getInput(
"wsp");
   187             $blog = $form->getInput(
"blog");
   188             $file = $form->getInput(
"file");
   189             $link = $form->getInput(
"link");
   198             $ilSetting->set(
'disable_personal_workspace', (
string) !$wsp);
   199             $ilSetting->set(
'disable_wsp_blogs', (
string) !$blog);
   200             $ilSetting->set(
'disable_wsp_files', (
string) !$file);
   201             $ilSetting->set(
'disable_wsp_links', (
string) !$link);
   204         $this->main_tpl->setOnScreenMessage(
'success', $this->
lng->txt(
"settings_saved"), 
true);
   205         $ilCtrl->redirect($this, 
"editSettings");
 getLinkTargetByClass( $a_class, string $a_cmd=null, string $a_anchor=null, bool $is_async=false, bool $has_xml_style=false)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
 
getCmd(string $fallback_command=null)
 
prepareOutput(bool $show_sub_objects=true)
 
__construct( $a_data, int $a_id, bool $a_call_by_reference=true, bool $a_prepare_output=true)
 
forwardCommand(object $a_gui_object)
 
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 ...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getNextClass($a_gui_class=null)
 
Class ilObjectGUI Basic methods of all Output classes. 
 
ilGlobalTemplateInterface $main_tpl
 
activateTab(string $a_id)
 
getLinkTarget(object $a_gui_obj, string $a_cmd=null, string $a_anchor=null, bool $is_async=false, bool $has_xml_style=false)
 
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output. 
 
addTab(string $a_id, string $a_text, string $a_link, string $a_frame="")
Add a Tab.