ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ilObjSystemCheckGUI Class Reference
+ Inheritance diagram for ilObjSystemCheckGUI:
+ Collaboration diagram for ilObjSystemCheckGUI:

Public Member Functions

 __construct ($a_data, $a_id, $a_call_by_reference, $a_prepare_output=true)
 
 getLang ()
 
 executeCommand ()
 
 getAdminTabs ()
 
- Public Member Functions inherited from ilObjectGUI
 getRefId ()
 
 setAdminMode (string $mode)
 
 getAdminMode ()
 
 getObject ()
 
 executeCommand ()
 
 withReferences ()
 determines whether objects are referenced or not (got ref ids or not) More...
 
 setCreationMode (bool $mode=true)
 If true, a creation screen is displayed the current [ref_id] does belong to the parent class The mode is determined in ilRepositoryGUI. More...
 
 getCreationMode ()
 
 prepareOutput (bool $show_sub_objects=true)
 
 getAdminTabs ()
 administration tabs show only permissions and trash folder More...
 
 getHTML ()
 
 confirmedDeleteObject ()
 confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More...
 
 cancelObject ()
 cancel action and go back to previous page More...
 
 createObject ()
 create new object form More...
 
 editAvailabilityPeriodObject ()
 
 saveAvailabilityPeriodObject ()
 
 cancelCreation ()
 cancel create action and go back to repository parent More...
 
 saveObject ()
 
 getDidacticTemplateVar (string $type)
 Get didactic template setting from creation screen. More...
 
 putObjectInTree (ilObject $obj, ?int $parent_node_id=null)
 Add object to tree at given position. More...
 
 editObject ()
 
 addExternalEditFormCustom (ilPropertyFormGUI $form)
 
 updateObject ()
 updates object entry in object_data More...
 
 getFormAction (string $cmd, string $default_form_action="")
 Get form action for command (command is method name without "Object", e.g. More...
 
 isVisible (int $ref_id, string $type)
 
 viewObject ()
 viewObject container presentation for "administration -> repository, trash, permissions" More...
 
 deleteObject (bool $error=false)
 Display deletion confirmation screen. More...
 
 setColumnSettings (ilColumnGUI $column_gui)
 
 addToDeskObject ()
 
 removeFromDeskObject ()
 
- Public Member Functions inherited from ILIAS\Object\ImplementsCreationCallback
 callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb)
 

Protected Member Functions

 getGrpIdFromRequest ()
 
 getTaskIdFromRequest ()
 
 overview ()
 
 showGroup ()
 
 trash (?ilPropertyFormGUI $form=null)
 
 initFormTrash ()
 
 handleTrashAction ()
 
 setSubTabs (string $a_section, string $a_active)
 
 setMainSubTabs ()
 
 setGroupSubTabs ()
 
- Protected Member Functions inherited from ilObjectGUI
 getObjectService ()
 
 assignObject ()
 
 setTitleAndDescription ()
 
 createActionDispatcherGUI ()
 
 initHeaderAction (?string $sub_type=null, ?int $sub_id=null)
 Add header action menu. More...
 
 insertHeaderAction (?ilObjectListGUI $list_gui=null)
 Insert header action into main template. More...
 
 addHeaderAction ()
 Add header action menu. More...
 
 redrawHeaderActionObject ()
 Ajax call: redraw action header only. More...
 
 setTabs ()
 set admin tabs More...
 
 setAdminTabs ()
 set admin tabs More...
 
 setLocator ()
 
 addLocatorItems ()
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 omitLocator (bool $omit=true)
 
 addAdminLocatorItems (bool $do_not_add_object=false)
 should be overwritten to add object specific items (repository items are preloaded) More...
 
 getCreationFormsHTML (StandardForm|ilPropertyFormGUI|array $form)
 
 getTitleForCreationFormPage ()
 
 getCreationFormTitle ()
 
 initCreateForm (string $new_type)
 
 didacticTemplatesToForm ()
 
 initDidacticTemplate (ilPropertyFormGUI $form)
 
 retrieveAdditionalDidacticTemplateOptions ()
 
 addAdoptContentLinkToToolbar ()
 
 addImportButtonToToolbar ()
 
 addAvailabilityPeriodButtonToToolbar (ilToolbarGUI $toolbar)
 
 parseDidacticTemplateVar (string $var, string $type)
 
 afterSave (ilObject $new_object)
 Post (successful) object creation hook. More...
 
 initEditForm ()
 
 initEditCustomForm (ilPropertyFormGUI $a_form)
 Add custom fields to update form. More...
 
 getEditFormValues ()
 
 getEditFormCustomValues (array &$a_values)
 Add values to custom edit fields. More...
 
 validateCustom (ilPropertyFormGUI $form)
 Validate custom values (if not possible with checkInput()) More...
 
 updateCustom (ilPropertyFormGUI $form)
 Insert custom update form values into object. More...
 
 afterUpdate ()
 Post (successful) object update hook. More...
 
 routeImportCmdObject ()
 
 importFile (string $file_to_import, string $path_to_uploaded_file_in_temp_dir)
 
 deleteUploadedImportFile (string $path_to_uploaded_file_in_temp_dir)
 
 afterImport (ilObject $new_object)
 Post (successful) object import hook. More...
 
 setFormAction (string $cmd, string $form_action)
 
 getReturnLocation (string $cmd, string $default_location="")
 Get return location for command (command is method name without "Object", e.g. More...
 
 setReturnLocation (string $cmd, string $location)
 set specific return location for command More...
 
 getTargetFrame (string $cmd, string $default_target_frame="")
 get target frame for command (command is method name without "Object", e.g. More...
 
 setTargetFrame (string $cmd, string $target_frame)
 Set specific target frame for command. More...
 
 showPossibleSubObjects ()
 show possible sub objects (pull down menu) More...
 
 getTabs ()
 overwrite in derived GUI class of your object type More...
 
 redirectToRefId (int $ref_id, string $cmd="")
 redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current ["ref_id"] value of the request More...
 
 getCenterColumnHTML ()
 Get center column. More...
 
 getRightColumnHTML ()
 Display right column. More...
 
 checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null)
 
 checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $ref_id=null)
 
 enableDragDropFileUpload ()
 Enables the file upload into this object by dropping files. More...
 
 getCreatableObjectTypes ()
 
 buildAddNewItemElements (array $subtypes, string $create_target_class=ilRepositoryGUI::class, ?int $redirect_target_ref_id=null,)
 
 buildGroup (string $create_target_class, array $obj_types_in_group, string $title, array $subtypes)
 

Protected Attributes

const SECTION_MAIN = 'main'
 
const SECTION_GROUP = 'group'
 
ILIAS Repository ExternalGUIService $repo_gui_service
 
- Protected Attributes inherited from ilObjectGUI
ILIAS Notes Service $notes_service
 
GlobalHttpState $http
 
ServerRequestInterface $request
 
ilLocatorGUI $locator
 
ilObjUser $user
 
ilAccessHandler $access
 
ilSetting $settings
 
ilToolbarGUI $toolbar
 
ilRbacAdmin $rbac_admin
 
ilRbacSystem $rbac_system
 
ilRbacReview $rbac_review
 
ilObjectService $object_service
 
ilObjectDefinition $obj_definition
 
ilGlobalTemplateInterface $tpl
 
ilTree $tree
 
ilCtrl $ctrl
 
ilErrorHandling $error
 
ilLanguage $lng
 
ilTabsGUI $tabs_gui
 
ILIAS $ilias
 
ArrayBasedRequestWrapper $post_wrapper
 
RequestWrapper $request_wrapper
 
Refinery $refinery
 
ilFavouritesManager $favourites
 
CustomIconFactory $custom_icon_factory
 
UIFactory $ui_factory
 
UIRenderer $ui_renderer
 
Filesystem $temp_file_system
 
ilObject $object = null
 
bool $creation_mode = false
 
 $data
 
int $id
 
bool $call_by_reference = false
 
bool $prepare_output
 
int $ref_id
 
int $obj_id
 
int $maxcount
 
array $form_action = []
 
array $return_location = []
 
array $target_frame = []
 
string $tmp_import_dir
 
string $sub_objects = ""
 
bool $omit_locator = false
 
string $type = ""
 
string $admin_mode = self::ADMIN_MODE_NONE
 
int $requested_ref_id = 0
 
int $requested_crtptrefid = 0
 
int $requested_crtcb = 0
 
string $requested_new_type = ""
 
string $link_params
 
string $html = ""
 

Additional Inherited Members

- Static Public Member Functions inherited from ilObjectGUI
static _gotoRepositoryRoot (bool $raise_error=false)
 Goto repository root. More...
 
static _gotoRepositoryNode (int $ref_id, string $cmd="")
 
static _gotoSharedWorkspaceNode (int $wsp_id)
 
- Data Fields inherited from ilObjectGUI
const ADMIN_MODE_NONE = ""
 
const ADMIN_MODE_SETTINGS = "settings"
 
const ADMIN_MODE_REPOSITORY = "repository"
 
const UPLOAD_TYPE_LOCAL = 1
 
const UPLOAD_TYPE_UPLOAD_DIRECTORY = 2
 
const CFORM_NEW = 1
 
const CFORM_IMPORT = 2
 
const CFORM_CLONE = 3
 
const SUPPORTED_IMPORT_MIME_TYPES = [MimeType::APPLICATION__ZIP, MimeType::APPLICATION__X_ZIP_COMPRESSED]
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilObjSystemCheckGUI::__construct (   $a_data,
  $a_id,
  $a_call_by_reference,
  $a_prepare_output = true 
)

Definition at line 34 of file class.ilObjSystemCheckGUI.php.

References $DIC, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\lng().

35  {
36  global $DIC;
37  $this->type = 'sysc';
38  parent::__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
39  $this->lng->loadLanguageModule('sysc');
40  $this->repo_gui_service = $DIC->repository()->gui();
41  }
global $DIC
Definition: shib_login.php:26
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ executeCommand()

ilObjSystemCheckGUI::executeCommand ( )

Definition at line 70 of file class.ilObjSystemCheckGUI.php.

References $handler, ilObjectGUI\checkPermission(), ilObjectGUI\checkPermissionBool(), ILIAS\Repository\ctrl(), ilSCComponentTaskFactory\getComponentTask(), getTaskIdFromRequest(), ILIAS\Repository\lng(), null, ilObjectGUI\prepareOutput(), setSubTabs(), and SYSTEM_FOLDER_ID.

70  : void
71  {
72  $this->checkPermission('read');
73 
74  $next_class = $this->ctrl->getNextClass($this);
75  $cmd = $this->ctrl->getCmd();
76  $this->prepareOutput();
77 
78  switch ($next_class) {
79  case 'ilobjectownershipmanagementgui':
80  $this->setSubTabs(self::SECTION_MAIN, 'no_owner');
81  $this->tabs_gui->activateTab('overview');
82 
83  $read_only = !$this->checkPermissionBool('write');
84 
85  $gui = $gui = $this->repo_gui_service->ownershipManagementGUI(0, $read_only);
86  $this->ctrl->forwardCommand($gui);
87  break;
88 
89  case 'ilobjsystemfoldergui':
90 
91  $sys_folder = new ilObjSystemFolderGUI('', SYSTEM_FOLDER_ID, true);
92  $this->ctrl->forwardCommand($sys_folder);
93 
94  $this->tabs_gui->clearTargets();
95 
96  $this->setSubTabs(self::SECTION_MAIN, 'sc');
97  break;
98 
99  case 'ilpermissiongui':
100  $this->tabs_gui->activateTab('perm_settings');
101 
102  $perm_gui = new ilPermissionGUI($this);
103  $this->ctrl->forwardCommand($perm_gui);
104  break;
105 
106  case '':
107  case 'ilobjsystemcheckgui':
108  if ($cmd === null || $cmd === '' || $cmd === 'view') {
109  $cmd = 'overview';
110  }
111  $this->$cmd();
112  break;
113 
114  default:
115  // Forward to task handler
116 
117  $this->ctrl->saveParameter($this, 'grp_id');
118  $this->ctrl->saveParameter($this, 'task_id');
119  $this->ctrl->setReturn($this, 'showGroup');
120  $this->tabs_gui->clearTargets();
121  $this->tabs_gui->setBackTarget($this->lng->txt('back'), $this->ctrl->getLinkTarget($this, 'showGroup'));
123  $this->ctrl->forwardCommand($handler);
124  break;
125  }
126  }
setSubTabs(string $a_section, string $a_active)
prepareOutput(bool $show_sub_objects=true)
const SYSTEM_FOLDER_ID
Definition: constants.php:35
Class ilObjSystemFolderGUI.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
$handler
Definition: oai.php:29
checkPermission(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
+ Here is the call graph for this function:

◆ getAdminTabs()

ilObjSystemCheckGUI::getAdminTabs ( )

Definition at line 128 of file class.ilObjSystemCheckGUI.php.

References ilObjectGUI\checkPermissionBool(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().

128  : void
129  {
130  if ($this->checkPermissionBool('read')) {
131  $this->tabs_gui->addTab(
132  'overview',
133  $this->lng->txt('overview'),
134  $this->ctrl->getLinkTarget($this, 'overview')
135  );
136  }
137  if ($this->checkPermissionBool('edit_permission')) {
138  $this->tabs_gui->addTab(
139  'perm_settings',
140  $this->lng->txt('perm_settings'),
141  $this->ctrl->getLinkTargetByClass(array(get_class($this), 'ilpermissiongui'), 'perm')
142  );
143  }
144  }
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
+ Here is the call graph for this function:

◆ getGrpIdFromRequest()

ilObjSystemCheckGUI::getGrpIdFromRequest ( )
protected

Definition at line 43 of file class.ilObjSystemCheckGUI.php.

References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().

Referenced by showGroup().

43  : int
44  {
45  if ($this->http->wrapper()->query()->has('grp_id')) {
46  return $this->http->wrapper()->query()->retrieve(
47  'grp_id',
48  $this->refinery->kindlyTo()->int()
49  );
50  }
51  return 0;
52  }
static http()
Fetches the global http state from ILIAS.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getLang()

ilObjSystemCheckGUI::getLang ( )

Definition at line 65 of file class.ilObjSystemCheckGUI.php.

References ilObjectGUI\$lng.

Referenced by overview(), and setMainSubTabs().

65  : ilLanguage
66  {
67  return $this->lng;
68  }
ilLanguage $lng
+ Here is the caller graph for this function:

◆ getTaskIdFromRequest()

ilObjSystemCheckGUI::getTaskIdFromRequest ( )
protected

Definition at line 54 of file class.ilObjSystemCheckGUI.php.

References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().

Referenced by executeCommand().

54  : int
55  {
56  if ($this->http->wrapper()->query()->has('task_id')) {
57  return $this->http->wrapper()->query()->retrieve(
58  'task_id',
59  $this->refinery->kindlyTo()->int()
60  );
61  }
62  return 0;
63  }
static http()
Fetches the global http state from ILIAS.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ handleTrashAction()

ilObjSystemCheckGUI::handleTrashAction ( )
protected

Definition at line 246 of file class.ilObjSystemCheckGUI.php.

References initFormTrash(), ILIAS\Repository\lng(), ilSystemCheckTrash\MODE_TRASH_REMOVE, and trash().

246  : bool
247  {
248  $form = $this->initFormTrash();
249  if ($form->checkInput()) {
250  $trash = new ilSystemCheckTrash();
251  $trash->setMode(ilSystemCheckTrash::MODE_TRASH_REMOVE);
252  $dt = $form->getItemByPostVar('age')->getDate();
253  if ($dt) {
254  $trash->setAgeLimit($dt);
255  }
256  $trash->setNumberLimit((int) $form->getInput('number'));
257 
258  if ($form->getInput('types')) {
259  $trash->setTypesLimit((array) $form->getInput('types'));
260  }
261  $trash->setMode((int) $form->getInput('type'));
262  $trash->start();
263 
264  $this->tpl->setOnScreenMessage('success', $this->lng->txt('settings_saved'), true);
265  $form->setValuesByPost();
266  $this->trash($form);
267  return true;
268  }
269 
270  $this->tpl->setOnScreenMessage('failure', $this->lng->txt('err_check_input'));
271  $form->setValuesByPost();
272  $this->trash($form);
273  return false;
274  }
trash(?ilPropertyFormGUI $form=null)
+ Here is the call graph for this function:

◆ initFormTrash()

ilObjSystemCheckGUI::initFormTrash ( )
protected

Definition at line 187 of file class.ilObjSystemCheckGUI.php.

References ilObjectGUI\$sub_objects, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilSystemCheckTrash\MODE_TRASH_REMOVE, ilSystemCheckTrash\MODE_TRASH_RESTORE, ilFormPropertyGUI\setInfo(), and ilFormPropertyGUI\setRequired().

Referenced by handleTrashAction(), and trash().

188  {
189  $form = new ilPropertyFormGUI();
190  $form->setFormAction($this->ctrl->getFormAction($this));
191 
192  $form->setTitle($this->lng->txt('sysc_administrate_deleted'));
193 
194  $action = new ilRadioGroupInputGUI($this->lng->txt('sysc_trash_action'), 'type');
195  $action->setRequired(true);
196 
197  // Restore
198  $restore = new ilRadioOption($this->lng->txt('sysc_trash_restore'), (string) ilSystemCheckTrash::MODE_TRASH_RESTORE);
199  $restore->setInfo($this->lng->txt('sysc_trash_restore_info'));
200  $action->addOption($restore);
201 
202  // Remove
203  $remove = new ilRadioOption($this->lng->txt('sysc_trash_remove'), (string) ilSystemCheckTrash::MODE_TRASH_REMOVE);
204  $remove->setInfo($this->lng->txt('sysc_trash_remove_info'));
205  $action->addOption($remove);
206 
207  // limit number
208  $num = new ilNumberInputGUI($this->lng->txt('sysc_trash_limit_num'), 'number');
209  $num->setInfo($this->lng->txt('purge_count_limit_desc'));
210  $num->setSize(10);
211  $num->setMinValue(1);
212  $remove->addSubItem($num);
213 
214  $age = new ilDateTimeInputGUI($this->lng->txt('sysc_trash_limit_age'), 'age');
215  $age->setInfo($this->lng->txt('purge_age_limit_desc'));
216  $age->setMinuteStepSize(15);
217  $remove->addSubItem($age);
218 
219  // limit types
220  $types = new ilSelectInputGUI($this->lng->txt('sysc_trash_limit_type'), 'types');
221 
222  $sub_objects = $this->tree->lookupTrashedObjectTypes();
223 
224  $options = array();
225  $options[0] = '';
226  foreach ($sub_objects as $obj_type) {
227  if (!$this->obj_definition->isRBACObject($obj_type) || !$this->obj_definition->isAllowedInRepository($obj_type)) {
228  continue;
229  }
230  $options[$obj_type] = $this->lng->txt('obj_' . $obj_type);
231  }
232 
233  asort($options);
234 
235  $types->setOptions($options);
236  $remove->addSubItem($types);
237 
238  $form->addItem($action);
239 
240  $form->addCommandButton('handleTrashAction', $this->lng->txt('start_scan'));
241  $form->addCommandButton('', $this->lng->txt('cancel'));
242 
243  return $form;
244  }
This class represents an option in a radio group.
This class represents a selection list property in a property form.
This class represents a date/time property in a property form.
This class represents a property in a property form.
This class represents a number property in a property form.
setRequired(bool $a_required)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ overview()

ilObjSystemCheckGUI::overview ( )
protected

Definition at line 146 of file class.ilObjSystemCheckGUI.php.

References getLang(), and setSubTabs().

146  : bool
147  {
148  $this->getLang()->loadLanguageModule('sysc');
149 
150  $this->setSubTabs(self::SECTION_MAIN, 'overview');
151  $this->tabs_gui->activateTab('overview');
152 
153  $table = new ilSCGroupTableGUI($this, 'overview');
154  $table->init();
155  $table->parse();
156 
157  $this->tpl->setContent($table->getHTML());
158  return true;
159  }
setSubTabs(string $a_section, string $a_active)
Table GUI for system check groups overview.
+ Here is the call graph for this function:

◆ setGroupSubTabs()

ilObjSystemCheckGUI::setGroupSubTabs ( )
protected

Definition at line 312 of file class.ilObjSystemCheckGUI.php.

References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().

Referenced by setSubTabs().

312  : void
313  {
314  $this->tabs_gui->clearTargets();
315  $this->tabs_gui->setBackTarget(
316  $this->lng->txt('back'),
317  $this->ctrl->getLinkTarget($this, 'overview')
318  );
319  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setMainSubTabs()

ilObjSystemCheckGUI::setMainSubTabs ( )
protected

Definition at line 289 of file class.ilObjSystemCheckGUI.php.

References ilObjectGUI\checkPermissionBool(), ILIAS\Repository\ctrl(), and getLang().

Referenced by setSubTabs().

289  : void
290  {
291  $this->tabs_gui->addSubTab(
292  'overview',
293  $this->getLang()->txt('sysc_groups'),
294  $this->ctrl->getLinkTarget($this, 'overview')
295  );
296 
297  if ($this->checkPermissionBool('write')) {
298  $this->tabs_gui->addSubTab(
299  'trash',
300  $this->getLang()->txt('sysc_tab_trash'),
301  $this->ctrl->getLinkTarget($this, 'trash')
302  );
303  }
304 
305  $this->tabs_gui->addSubTab(
306  'no_owner',
307  $this->getLang()->txt('system_check_no_owner'),
308  $this->ctrl->getLinkTargetByClass('ilobjectownershipmanagementgui')
309  );
310  }
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setSubTabs()

ilObjSystemCheckGUI::setSubTabs ( string  $a_section,
string  $a_active 
)
protected

Definition at line 276 of file class.ilObjSystemCheckGUI.php.

References setGroupSubTabs(), and setMainSubTabs().

Referenced by executeCommand(), overview(), showGroup(), and trash().

276  : void
277  {
278  switch ($a_section) {
279  case self::SECTION_MAIN:
280  $this->setMainSubTabs();
281  break;
282 
283  case self::SECTION_GROUP:
284  $this->setGroupSubTabs();
285  }
286  $this->tabs_gui->activateSubTab($a_active);
287  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showGroup()

ilObjSystemCheckGUI::showGroup ( )
protected

Definition at line 161 of file class.ilObjSystemCheckGUI.php.

References ILIAS\Repository\ctrl(), getGrpIdFromRequest(), and setSubTabs().

161  : bool
162  {
163  $this->setSubTabs(self::SECTION_GROUP, '');
164 
165  $this->ctrl->saveParameter($this, 'grp_id');
166 
167  $table = new ilSCTaskTableGUI($this->getGrpIdFromRequest(), $this, 'showGroup');
168  $table->init();
169  $table->parse();
170 
171  $this->tpl->setContent($table->getHTML());
172  return true;
173  }
setSubTabs(string $a_section, string $a_active)
Table GUI for system check task overview.
+ Here is the call graph for this function:

◆ trash()

ilObjSystemCheckGUI::trash ( ?ilPropertyFormGUI  $form = null)
protected

Definition at line 175 of file class.ilObjSystemCheckGUI.php.

References ilObjectGUI\checkPermission(), initFormTrash(), and setSubTabs().

Referenced by handleTrashAction().

175  : void
176  {
177  $this->checkPermission('write');
178 
179  $this->setSubTabs(self::SECTION_MAIN, 'trash');
180  $this->tabs_gui->activateTab('overview');
181  if (!$form instanceof ilPropertyFormGUI) {
182  $form = $this->initFormTrash();
183  }
184  $this->tpl->setContent($form->getHTML());
185  }
setSubTabs(string $a_section, string $a_active)
checkPermission(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $repo_gui_service

ILIAS Repository ExternalGUIService ilObjSystemCheckGUI::$repo_gui_service
protected

Definition at line 32 of file class.ilObjSystemCheckGUI.php.

◆ SECTION_GROUP

const ilObjSystemCheckGUI::SECTION_GROUP = 'group'
protected

Definition at line 31 of file class.ilObjSystemCheckGUI.php.

◆ SECTION_MAIN

const ilObjSystemCheckGUI::SECTION_MAIN = 'main'
protected

Definition at line 30 of file class.ilObjSystemCheckGUI.php.


The documentation for this class was generated from the following file: