4include_once 
"./Services/Object/classes/class.ilObjectGUI.php" ;
 
   18        public function __construct($a_data, $a_id, $a_call_by_reference = 
true, $a_prepare_output = 
true)
 
   21                parent::__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
 
   23                $this->lng->loadLanguageModule(
"webr");
 
   30                $next_class = $this->ctrl->getNextClass($this);
 
   31                $cmd = $this->ctrl->getCmd();
 
   35                if(!$ilAccess->checkAccess(
"read", 
"", $this->object->getRefId()))
 
   37                        $ilErr->raiseError($this->lng->txt(
"no_permission"), 
$ilErr->WARNING);
 
   42                        case 'ilpermissiongui':
 
   43                                $this->tabs_gui->setTabActive(
"perm_settings");
 
   44                                include_once 
"Services/AccessControl/classes/class.ilPermissionGUI.php";
 
   46                                $this->ctrl->forwardCommand($perm_gui);
 
   52                                        $cmd = 
"editSettings";
 
   64                if ($rbacsystem->checkAccess(
"visible,read", $this->object->getRefId()))
 
   66                        $this->tabs_gui->addTarget(
"settings",
 
   67                                $this->ctrl->getLinkTarget($this, 
"editSettings"),
 
   68                                array(
"editSettings", 
"view"));
 
   71                if ($rbacsystem->checkAccess(
"edit_permission", $this->object->getRefId()))
 
   73                        $this->tabs_gui->addTarget(
"perm_settings",
 
   74                                $this->ctrl->getLinkTargetByClass(
"ilpermissiongui", 
"perm"),
 
   75                                array(), 
"ilpermissiongui");
 
   81                $this->tabs_gui->setTabActive(
'settings');      
 
   87                $this->tpl->setContent($a_form->getHTML());
 
   98                if($form->checkInput())
 
  100                        $ilSetting->set(
"links_dynamic", $form->getInput(
"links_dynamic"));
 
  103                        $this->ctrl->redirect($this, 
"editSettings");
 
  106                $form->setValuesByPost();
 
  114                include_once 
"Services/Form/classes/class.ilPropertyFormGUI.php";
 
  116                $form->setFormAction($this->ctrl->getFormAction($this, 
"saveSettings"));
 
  117                $form->setTitle($this->lng->txt(
"settings"));
 
  121                $cb->setInfo($this->lng->txt(
"links_dynamic_info"));    
 
  122                $cb->setChecked(
$ilSetting->get(
"links_dynamic"));              
 
  125                if ($ilAccess->checkAccess(
"write",
'',$this->object->getRefId()))
 
  127                        $form->addCommandButton(
"saveSettings", $this->lng->txt(
"save"));
 
  128                        $form->addCommandButton(
"view", $this->lng->txt(
"cancel"));
 
An exception for terminatinating execution or to throw for unit testing.
Web Resource Administration Settings.
executeCommand()
execute command
__construct($a_data, $a_id, $a_call_by_reference=true, $a_prepare_output=true)
editSettings(ilObjPropertyFormGUI $a_form=null)
getAdminTabs()
administration tabs show only permissions and trash folder
Class ilObjectGUI Basic methods of all Output classes.
checkPermission($a_perm, $a_cmd="", $a_type="", $a_ref_id=null)
Check permission and redirect on error.
prepareOutput($a_show_subobjects=true)
prepare output
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.