ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
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
 __construct ($data, int $id=0, bool $call_by_reference=true, bool $prepare_output=true)
 
 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] don't belong to the current 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...
 
 cancelDeleteObject ()
 cancel deletion of object More...
 
 cancelObject ()
 cancel action and go back to previous page More...
 
 createObject ()
 create new object form More...
 
 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)
 
 redirectAfterCreation ()
 Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html Should be overwritten and redirect to settings screen. More...
 
 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 ()
 
 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...
 
 initCreationForms (string $new_type)
 Init creation forms. More...
 
 getCreationFormsHTML (array $forms)
 Get HTML for creation forms (accordion) More...
 
 initCreateForm (string $new_type)
 
 initDidacticTemplate (ilPropertyFormGUI $form)
 
 addDidacticTemplateOptions (array &$a_options)
 Add custom templates. More...
 
 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...
 
 initImportForm (string $new_type)
 
 importFileObject (int $parent_id=null)
 
 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...
 
 fillCloneTemplate (?string $tpl_name, string $type)
 Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. 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...
 
 showCustomIconsEditing ( $input_colspan=1, ilPropertyFormGUI $form=null, $as_section=true)
 show edit section of custom icons for container More...
 

Protected Attributes

const SECTION_MAIN = 'main'
 
const SECTION_GROUP = 'group'
 
GlobalHttpState $http
 
Factory $refinery
 
- Protected Attributes inherited from ilObjectGUI
ILIAS Notes Service $notes_service
 
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
 
Factory $refinery
 
ilFavouritesManager $favourites
 
ilObjectCustomIconFactory $custom_icon_factory
 
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 ALLOWED_TAGS_IN_TITLE_AND_DESCRIPTION
 
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
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

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

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

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

37  {
38  global $DIC;
39  $this->http = $DIC->http();
40  $this->refinery = $DIC->refinery();
41  $this->type = 'sysc';
42  parent::__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
43  $this->lng->loadLanguageModule('sysc');
44  }
global $DIC
Definition: feed.php:28
static http()
Fetches the global http state from ILIAS.
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ executeCommand()

ilObjSystemCheckGUI::executeCommand ( )

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

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

73  : void
74  {
75  $this->checkPermission('read');
76 
77  $next_class = $this->ctrl->getNextClass($this);
78  $cmd = $this->ctrl->getCmd();
79  $this->prepareOutput();
80 
81  switch ($next_class) {
82  case 'ilobjectownershipmanagementgui':
83  $this->setSubTabs(self::SECTION_MAIN, 'no_owner');
84  $this->tabs_gui->activateTab('overview');
85 
86  $read_only = !$this->checkPermissionBool('write');
87 
88  $gui = new ilObjectOwnershipManagementGUI(0, $read_only);
89  $this->ctrl->forwardCommand($gui);
90  break;
91 
92  case 'ilobjsystemfoldergui':
93 
94  $sys_folder = new ilObjSystemFolderGUI('', SYSTEM_FOLDER_ID, true);
95  $this->ctrl->forwardCommand($sys_folder);
96 
97  $this->tabs_gui->clearTargets();
98 
99  $this->setSubTabs(self::SECTION_MAIN, 'sc');
100  break;
101 
102  case 'ilpermissiongui':
103  $this->tabs_gui->activateTab('perm_settings');
104 
105  $perm_gui = new ilPermissionGUI($this);
106  $this->ctrl->forwardCommand($perm_gui);
107  break;
108 
109  case '':
110  case 'ilobjsystemcheckgui':
111  if ($cmd === null || $cmd === '' || $cmd === 'view') {
112  $cmd = 'overview';
113  }
114  $this->$cmd();
115  break;
116 
117  default:
118  // Forward to task handler
119 
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'));
126  $this->ctrl->forwardCommand($handler);
127  break;
128 
129  }
130  }
setSubTabs(string $a_section, string $a_active)
prepareOutput(bool $show_sub_objects=true)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
const SYSTEM_FOLDER_ID
Definition: constants.php:35
Class ilObjSystemFolderGUI.
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $ref_id=null)
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.
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 132 of file class.ilObjSystemCheckGUI.php.

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

132  : void
133  {
134  if ($this->checkPermissionBool('read')) {
135  $this->tabs_gui->addTab(
136  'overview',
137  $this->lng->txt('overview'),
138  $this->ctrl->getLinkTarget($this, 'overview')
139  );
140  }
141  if ($this->checkPermissionBool('edit_permission')) {
142  $this->tabs_gui->addTab(
143  'perm_settings',
144  $this->lng->txt('perm_settings'),
145  $this->ctrl->getLinkTargetByClass(array(get_class($this), 'ilpermissiongui'), 'perm')
146  );
147  }
148  }
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 46 of file class.ilObjSystemCheckGUI.php.

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

Referenced by showGroup().

46  : int
47  {
48  if ($this->http->wrapper()->query()->has('grp_id')) {
49  return $this->http->wrapper()->query()->retrieve(
50  'grp_id',
51  $this->refinery->kindlyTo()->int()
52  );
53  }
54  return 0;
55  }
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 68 of file class.ilObjSystemCheckGUI.php.

References ilObjectGUI\$lng.

Referenced by overview(), and setMainSubTabs().

68  : ilLanguage
69  {
70  return $this->lng;
71  }
ilLanguage $lng
+ Here is the caller graph for this function:

◆ getTaskIdFromRequest()

ilObjSystemCheckGUI::getTaskIdFromRequest ( )
protected

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

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

Referenced by executeCommand().

57  : int
58  {
59  if ($this->http->wrapper()->query()->has('task_id')) {
60  return $this->http->wrapper()->query()->retrieve(
61  'task_id',
62  $this->refinery->kindlyTo()->int()
63  );
64  }
65  return 0;
66  }
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 250 of file class.ilObjSystemCheckGUI.php.

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

250  : bool
251  {
252  $form = $this->initFormTrash();
253  if ($form->checkInput()) {
254  $trash = new ilSystemCheckTrash();
255  $trash->setMode(ilSystemCheckTrash::MODE_TRASH_REMOVE);
256  $dt = $form->getItemByPostVar('age')->getDate();
257  if ($dt) {
258  $trash->setAgeLimit($dt);
259  }
260  $trash->setNumberLimit((int) $form->getInput('number'));
261 
262  if ($form->getInput('types')) {
263  $trash->setTypesLimit((array) $form->getInput('types'));
264  }
265  $trash->setMode((int) $form->getInput('type'));
266  $trash->start();
267 
268  $this->tpl->setOnScreenMessage('success', $this->lng->txt('settings_saved'), true);
269  $form->setValuesByPost();
270  $this->trash($form);
271  return true;
272  }
273 
274  $this->tpl->setOnScreenMessage('failure', $this->lng->txt('err_check_input'));
275  $form->setValuesByPost();
276  $this->trash($form);
277  return false;
278  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
trash(ilPropertyFormGUI $form=null)
+ Here is the call graph for this function:

◆ initFormTrash()

ilObjSystemCheckGUI::initFormTrash ( )
protected

Definition at line 191 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().

192  {
193  $form = new ilPropertyFormGUI();
194  $form->setFormAction($this->ctrl->getFormAction($this));
195 
196  $form->setTitle($this->lng->txt('sysc_administrate_deleted'));
197 
198  $action = new ilRadioGroupInputGUI($this->lng->txt('sysc_trash_action'), 'type');
199  $action->setRequired(true);
200 
201  // Restore
202  $restore = new ilRadioOption($this->lng->txt('sysc_trash_restore'), (string) ilSystemCheckTrash::MODE_TRASH_RESTORE);
203  $restore->setInfo($this->lng->txt('sysc_trash_restore_info'));
204  $action->addOption($restore);
205 
206  // Remove
207  $remove = new ilRadioOption($this->lng->txt('sysc_trash_remove'), (string) ilSystemCheckTrash::MODE_TRASH_REMOVE);
208  $remove->setInfo($this->lng->txt('sysc_trash_remove_info'));
209  $action->addOption($remove);
210 
211  // limit number
212  $num = new ilNumberInputGUI($this->lng->txt('sysc_trash_limit_num'), 'number');
213  $num->setInfo($this->lng->txt('purge_count_limit_desc'));
214  $num->setSize(10);
215  $num->setMinValue(1);
216  $remove->addSubItem($num);
217 
218  $age = new ilDateTimeInputGUI($this->lng->txt('sysc_trash_limit_age'), 'age');
219  $age->setInfo($this->lng->txt('purge_age_limit_desc'));
220  $age->setMinuteStepSize(15);
221  $remove->addSubItem($age);
222 
223  // limit types
224  $types = new ilSelectInputGUI($this->lng->txt('sysc_trash_limit_type'), 'types');
225 
226  $sub_objects = $this->tree->lookupTrashedObjectTypes();
227 
228  $options = array();
229  $options[0] = '';
230  foreach ($sub_objects as $obj_type) {
231  if (!$this->obj_definition->isRBACObject($obj_type) || !$this->obj_definition->isAllowedInRepository($obj_type)) {
232  continue;
233  }
234  $options[$obj_type] = $this->lng->txt('obj_' . $obj_type);
235  }
236 
237  asort($options);
238 
239  $types->setOptions($options);
240  $remove->addSubItem($types);
241 
242  $form->addItem($action);
243 
244  $form->addCommandButton('handleTrashAction', $this->lng->txt('start_scan'));
245  $form->addCommandButton('', $this->lng->txt('cancel'));
246 
247  return $form;
248  }
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...
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 150 of file class.ilObjSystemCheckGUI.php.

References getLang(), and setSubTabs().

150  : bool
151  {
152  $this->getLang()->loadLanguageModule('sysc');
153 
154  $this->setSubTabs(self::SECTION_MAIN, 'overview');
155  $this->tabs_gui->activateTab('overview');
156 
157  $table = new ilSCGroupTableGUI($this, 'overview');
158  $table->init();
159  $table->parse();
160 
161  $this->tpl->setContent($table->getHTML());
162  return true;
163  }
setSubTabs(string $a_section, string $a_active)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:

◆ setGroupSubTabs()

ilObjSystemCheckGUI::setGroupSubTabs ( )
protected

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

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

Referenced by setSubTabs().

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

◆ setMainSubTabs()

ilObjSystemCheckGUI::setMainSubTabs ( )
protected

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

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

Referenced by setSubTabs().

293  : void
294  {
295  $this->tabs_gui->addSubTab(
296  'overview',
297  $this->getLang()->txt('sysc_groups'),
298  $this->ctrl->getLinkTarget($this, 'overview')
299  );
300 
301  if ($this->checkPermissionBool('write')) {
302  $this->tabs_gui->addSubTab(
303  'trash',
304  $this->getLang()->txt('sysc_tab_trash'),
305  $this->ctrl->getLinkTarget($this, 'trash')
306  );
307  }
308 
309  $this->tabs_gui->addSubTab(
310  'no_owner',
311  $this->getLang()->txt('system_check_no_owner'),
312  $this->ctrl->getLinkTargetByClass('ilobjectownershipmanagementgui')
313  );
314  }
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 280 of file class.ilObjSystemCheckGUI.php.

References setGroupSubTabs(), and setMainSubTabs().

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

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

◆ showGroup()

ilObjSystemCheckGUI::showGroup ( )
protected

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

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

165  : bool
166  {
167  $this->setSubTabs(self::SECTION_GROUP, '');
168 
169  $this->ctrl->saveParameter($this, 'grp_id');
170 
171  $table = new ilSCTaskTableGUI($this->getGrpIdFromRequest(), $this, 'showGroup');
172  $table->init();
173  $table->parse();
174 
175  $this->tpl->setContent($table->getHTML());
176  return true;
177  }
setSubTabs(string $a_section, string $a_active)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the call graph for this function:

◆ trash()

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

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

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

Referenced by handleTrashAction().

179  : void
180  {
181  $this->checkPermission('write');
182 
183  $this->setSubTabs(self::SECTION_MAIN, 'trash');
184  $this->tabs_gui->activateTab('overview');
185  if (!$form instanceof ilPropertyFormGUI) {
186  $form = $this->initFormTrash();
187  }
188  $this->tpl->setContent($form->getHTML());
189  }
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

◆ $http

GlobalHttpState ilObjSystemCheckGUI::$http
protected

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

◆ $refinery

Factory ilObjSystemCheckGUI::$refinery
protected

Definition at line 34 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: