ILIAS  trunk Revision v11.0_alpha-1843-g9e1fad99175
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator 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
 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'
 
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
 
Refinery $refinery
 
ilFavouritesManager $favourites
 
ilObjectCustomIconFactory $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 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  }
static http()
Fetches the global http state from ILIAS.
global $DIC
Definition: shib_login.php:22
__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 $handler, ilObjectGUI\checkPermission(), ilObjectGUI\checkPermissionBool(), ILIAS\Repository\ctrl(), ilSCComponentTaskFactory\getComponentTask(), getTaskIdFromRequest(), ILIAS\Repository\lng(), null, 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  }
setSubTabs(string $a_section, string $a_active)
prepareOutput(bool $show_sub_objects=true)
Class ilObjectOwnershipManagementGUI.
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:30
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 131 of file class.ilObjSystemCheckGUI.php.

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

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

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

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

◆ initFormTrash()

ilObjSystemCheckGUI::initFormTrash ( )
protected

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

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

References getLang(), and setSubTabs().

149  : bool
150  {
151  $this->getLang()->loadLanguageModule('sysc');
152 
153  $this->setSubTabs(self::SECTION_MAIN, 'overview');
154  $this->tabs_gui->activateTab('overview');
155 
156  $table = new ilSCGroupTableGUI($this, 'overview');
157  $table->init();
158  $table->parse();
159 
160  $this->tpl->setContent($table->getHTML());
161  return true;
162  }
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 315 of file class.ilObjSystemCheckGUI.php.

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

Referenced by setSubTabs().

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

◆ setMainSubTabs()

ilObjSystemCheckGUI::setMainSubTabs ( )
protected

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

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

Referenced by setSubTabs().

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

References setGroupSubTabs(), and setMainSubTabs().

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

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

◆ showGroup()

ilObjSystemCheckGUI::showGroup ( )
protected

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

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

164  : bool
165  {
166  $this->setSubTabs(self::SECTION_GROUP, '');
167 
168  $this->ctrl->saveParameter($this, 'grp_id');
169 
170  $table = new ilSCTaskTableGUI($this->getGrpIdFromRequest(), $this, 'showGroup');
171  $table->init();
172  $table->parse();
173 
174  $this->tpl->setContent($table->getHTML());
175  return true;
176  }
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 178 of file class.ilObjSystemCheckGUI.php.

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

Referenced by handleTrashAction().

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