3 declare(strict_types=1);
    36     public function __construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output = 
true)
    39         $this->
http = $DIC->http();
    43         $this->
lng->loadLanguageModule(
'sysc');
    48         if ($this->
http->wrapper()->query()->has(
'grp_id')) {
    49             return $this->
http->wrapper()->query()->retrieve(
    59         if ($this->
http->wrapper()->query()->has(
'task_id')) {
    60             return $this->
http->wrapper()->query()->retrieve(
    77         $next_class = $this->
ctrl->getNextClass($this);
    78         $cmd = $this->
ctrl->getCmd();
    81         switch ($next_class) {
    82             case 'ilobjectownershipmanagementgui':
    83                 $this->
setSubTabs(self::SECTION_MAIN, 
'no_owner');
    84                 $this->tabs_gui->activateTab(
'overview');
    89                 $this->
ctrl->forwardCommand($gui);
    92             case 'ilobjsystemfoldergui':
    95                 $this->
ctrl->forwardCommand($sys_folder);
    97                 $this->tabs_gui->clearTargets();
   102             case 'ilpermissiongui':
   103                 $this->tabs_gui->activateTab(
'perm_settings');
   106                 $this->
ctrl->forwardCommand($perm_gui);
   110             case 'ilobjsystemcheckgui':
   111                 if ($cmd === null || $cmd === 
'' || $cmd === 
'view') {
   120                 $this->
ctrl->saveParameter($this, 
'grp_id');
   121                 $this->
ctrl->saveParameter($this, 
'task_id');
   122                 $this->
ctrl->setReturn($this, 
'showGroup');
   123                 $this->tabs_gui->clearTargets();
   124                 $this->tabs_gui->setBackTarget($this->
lng->txt(
'back'), $this->
ctrl->getLinkTarget($this, 
'showGroup'));
   134             $this->tabs_gui->addTab(
   136                 $this->
lng->txt(
'overview'),
   137                 $this->
ctrl->getLinkTarget($this, 
'overview')
   141             $this->tabs_gui->addTab(
   143                 $this->
lng->txt(
'perm_settings'),
   144                 $this->
ctrl->getLinkTargetByClass(array(get_class($this), 
'ilpermissiongui'), 
'perm')
   151         $this->
getLang()->loadLanguageModule(
'sysc');
   153         $this->
setSubTabs(self::SECTION_MAIN, 
'overview');
   154         $this->tabs_gui->activateTab(
'overview');
   160         $this->tpl->setContent($table->getHTML());
   168         $this->
ctrl->saveParameter($this, 
'grp_id');
   174         $this->tpl->setContent($table->getHTML());
   182         $this->
setSubTabs(self::SECTION_MAIN, 
'trash');
   183         $this->tabs_gui->activateTab(
'overview');
   187         $this->tpl->setContent($form->getHTML());
   193         $form->setFormAction($this->
ctrl->getFormAction($this));
   195         $form->setTitle($this->
lng->txt(
'sysc_administrate_deleted'));
   202         $restore->setInfo($this->
lng->txt(
'sysc_trash_restore_info'));
   203         $action->addOption($restore);
   207         $remove->setInfo($this->
lng->txt(
'sysc_trash_remove_info'));
   208         $action->addOption($remove);
   212         $num->setInfo($this->
lng->txt(
'purge_count_limit_desc'));
   214         $num->setMinValue(1);
   215         $remove->addSubItem($num);
   218         $age->
setInfo($this->
lng->txt(
'purge_age_limit_desc'));
   219         $age->setMinuteStepSize(15);
   220         $remove->addSubItem($age);
   229         foreach ($sub_objects as $obj_type) {
   230             if (!$this->obj_definition->isRBACObject($obj_type) || !$this->obj_definition->isAllowedInRepository($obj_type)) {
   233             $options[$obj_type] = $this->
lng->txt(
'obj_' . $obj_type);
   238         $types->setOptions($options);
   239         $remove->addSubItem($types);
   241         $form->addItem($action);
   243         $form->addCommandButton(
'handleTrashAction', $this->
lng->txt(
'start_scan'));
   244         $form->addCommandButton(
'', $this->
lng->txt(
'cancel'));
   252         if ($form->checkInput()) {
   255             $dt = $form->getItemByPostVar(
'age')->getDate();
   257                 $trash->setAgeLimit($dt);
   259             $trash->setNumberLimit((
int) $form->getInput(
'number'));
   261             if ($form->getInput(
'types')) {
   262                 $trash->setTypesLimit((array) $form->getInput(
'types'));
   264             $trash->setMode((
int) $form->getInput(
'type'));
   267             $this->tpl->setOnScreenMessage(
'success', $this->
lng->txt(
'settings_saved'), 
true);
   268             $form->setValuesByPost();
   273         $this->tpl->setOnScreenMessage(
'failure', $this->
lng->txt(
'err_check_input'));
   274         $form->setValuesByPost();
   279     protected function setSubTabs(
string $a_section, 
string $a_active): void
   281         switch ($a_section) {
   282             case self::SECTION_MAIN:
   286             case self::SECTION_GROUP:
   289         $this->tabs_gui->activateSubTab($a_active);
   294         $this->tabs_gui->addSubTab(
   296             $this->
getLang()->txt(
'sysc_groups'),
   297             $this->
ctrl->getLinkTarget($this, 
'overview')
   301             $this->tabs_gui->addSubTab(
   303                 $this->
getLang()->txt(
'sysc_tab_trash'),
   304                 $this->
ctrl->getLinkTarget($this, 
'trash')
   308         $this->tabs_gui->addSubTab(
   310             $this->
getLang()->txt(
'system_check_no_owner'),
   311             $this->
ctrl->getLinkTargetByClass(
'ilobjectownershipmanagementgui')
   317         $this->tabs_gui->clearTargets();
   318         $this->tabs_gui->setBackTarget(
   319             $this->
lng->txt(
'back'),
   320             $this->
ctrl->getLinkTarget($this, 
'overview')
 setSubTabs(string $a_section, string $a_active)
 
Interface GlobalHttpState. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
prepareOutput(bool $show_sub_objects=true)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
Class ilObjectOwnershipManagementGUI. 
 
Class ilObjSystemFolderGUI. 
 
trash(ilPropertyFormGUI $form=null)
 
static http()
Fetches the global http state from ILIAS. 
 
static getComponentTask(int $a_task_id)
 
__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output=true)
 
Class ilObjectGUI Basic methods of all Output classes. 
 
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output. 
 
checkPermission(string $perm, string $cmd="", string $type="", ?int $ref_id=null)