ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilObjForumAdministrationGUI Class Reference

@ilCtrl_Calls ilObjForumAdministrationGUI: ilPermissionGUI @ilCtrl_IsCalledBy ilObjForumAdministrationGUI: ilAdministrationGUI More...

+ Inheritance diagram for ilObjForumAdministrationGUI:
+ Collaboration diagram for ilObjForumAdministrationGUI:

Public Member Functions

 executeCommand ()
 
 getAdminTabs ()
 administration tabs show only permissions and trash folder More...
 
 editSettings (?Form $form=null)
 
 saveSettings ()
 
 addToExternalSettingsForm (int $a_form_id)
 
- 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

 settingsForm ()
 
- 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 ()
 @abstract 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)
 

Private Member Functions

 render ($x)
 
 cronMessage ()
 
 forumJobActive ()
 
 forumByLine (Component $component)
 

Private Attributes

const string PROP_SECTION_DEFAULTS = 'defaults'
 
const string PROP_SECTION_FEATURES = 'features'
 
const string PROP_SECTION_NOTIFICATIONS = 'notifications'
 
const string PROP_SECTION_DRAFTS = 'drafts'
 
readonly JobManager $cronManager
 
readonly UIServices $ui
 

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]
 
- 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 = ""
 

Detailed Description

Member Function Documentation

◆ addToExternalSettingsForm()

ilObjForumAdministrationGUI::addToExternalSettingsForm ( int  $a_form_id)

Definition at line 315 of file class.ilObjForumAdministrationGUI.php.

315 : array
316 {
318 $fields = [
319 'enable_fora_statistics' => [
320 (bool) $this->settings->get('enable_fora_statistics', '0'),
322 ],
323 'enable_anonymous_fora' => [
324 (bool) $this->settings->get('enable_anonymous_fora', '0'),
326 ]
327 ];
328 return [['editSettings', $fields]];
329 }
330
331 return [];
332 }

References ilAdministrationSettingsFormHandler\FORM_PRIVACY, ILIAS\Repository\settings(), and ilAdministrationSettingsFormHandler\VALUE_BOOL.

+ Here is the call graph for this function:

◆ cronMessage()

ilObjForumAdministrationGUI::cronMessage ( )
private

Definition at line 334 of file class.ilObjForumAdministrationGUI.php.

334 : Component
335 {
336 $gui = new ilCronManagerGUI();
337 $data = $gui->addToExternalSettingsForm(ilAdministrationSettingsFormHandler::FORM_FORUM);
338 $data = $data['cron_jobs'][1];
339
340 $url = $this->ctrl->getLinkTargetByClass(
341 [ilAdministrationGUI::class, ilObjSystemFolderGUI::class],
342 'jumpToCronJobs'
343 );
344
345 return $this->ui->factory()->messageBox()->info($this->lng->txt(key($data)) . ': ' . current($data))->withLinks(
346 [
347 $this->ui->factory()->link()->standard($this->lng->txt('adm_external_setting_edit'), $url)
348 ]
349 );
350 }
@ilCtrl_Calls ilCronManagerGUI: ilPropertyFormGUI @ilCtrl_isCalledBy ilCronManagerGUI: ilAdministrati...
$url
Definition: shib_logout.php:68

References ilObjectGUI\$data, $url, ILIAS\Repository\ctrl(), ilAdministrationSettingsFormHandler\FORM_FORUM, ILIAS\Repository\lng(), and ILIAS\Repository\ui().

Referenced by editSettings().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ editSettings()

ilObjForumAdministrationGUI::editSettings ( ?Form  $form = null)

Definition at line 103 of file class.ilObjForumAdministrationGUI.php.

103 : void
104 {
105 $this->tabs_gui->activateTab('settings');
106
107 $this->tpl->setContent($this->render([
108 $this->cronMessage(),
109 $form ?? $this->settingsForm()
110 ]));
111 }

References cronMessage(), render(), and settingsForm().

Referenced by saveSettings().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ executeCommand()

ilObjForumAdministrationGUI::executeCommand ( )

Reimplemented from ilObjectGUI.

Definition at line 56 of file class.ilObjForumAdministrationGUI.php.

56 : void
57 {
58 if (!$this->rbac_system->checkAccess('visible,read', $this->object->getRefId())) {
59 $this->error->raiseError($this->lng->txt('no_permission'), $this->error->WARNING);
60 }
61
62 $next_class = $this->ctrl->getNextClass($this);
63 $cmd = $this->ctrl->getCmd();
64
65 $this->prepareOutput();
66
67 switch ($next_class) {
68 case 'ilpermissiongui':
69 $this->tabs_gui->setTabActive('perm_settings');
70 $this->ctrl->forwardCommand(new ilPermissionGUI($this));
71 break;
72
73 default:
74 if (!$cmd || $cmd === 'view') {
75 $cmd = 'editSettings';
76 }
77
78 $this->$cmd();
79 break;
80 }
81 }
error(string $a_errmsg)
prepareOutput(bool $show_sub_objects=true)

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

+ Here is the call graph for this function:

◆ forumByLine()

ilObjForumAdministrationGUI::forumByLine ( Component  $component)
private

Definition at line 357 of file class.ilObjForumAdministrationGUI.php.

357 : string
358 {
359 return $this->forumJobActive() ?
360 sprintf('%s<br/>%s', $component->getByLine(), $this->lng->txt('cron_forum_notification_disabled')) :
361 $component->getByLine();
362 }

References forumJobActive().

+ Here is the call graph for this function:

◆ forumJobActive()

ilObjForumAdministrationGUI::forumJobActive ( )
private

Definition at line 352 of file class.ilObjForumAdministrationGUI.php.

352 : bool
353 {
354 return $this->cronManager->isJobActive('frm_notification');
355 }

Referenced by forumByLine(), saveSettings(), and settingsForm().

+ Here is the caller graph for this function:

◆ getAdminTabs()

ilObjForumAdministrationGUI::getAdminTabs ( )

administration tabs show only permissions and trash folder

Reimplemented from ilObjectGUI.

Definition at line 83 of file class.ilObjForumAdministrationGUI.php.

83 : void
84 {
85 if ($this->rbac_system->checkAccess('visible,read', $this->object->getRefId())) {
86 $this->tabs_gui->addTarget(
87 'settings',
88 $this->ctrl->getLinkTarget($this, 'editSettings'),
89 ['editSettings', 'view']
90 );
91 }
92
93 if ($this->rbac_system->checkAccess('edit_permission', $this->object->getRefId())) {
94 $this->tabs_gui->addTarget(
95 'perm_settings',
96 $this->ctrl->getLinkTargetByClass(ilPermissionGUI::class, 'perm'),
97 [],
98 'ilpermissiongui'
99 );
100 }
101 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

◆ render()

ilObjForumAdministrationGUI::render (   $x)
private

Definition at line 113 of file class.ilObjForumAdministrationGUI.php.

113 : string
114 {
115 return $this->ui->renderer()->render($x);
116 }

References ILIAS\Repository\ui().

Referenced by editSettings().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ saveSettings()

ilObjForumAdministrationGUI::saveSettings ( )

Definition at line 118 of file class.ilObjForumAdministrationGUI.php.

118 : void
119 {
120 if (!$this->rbac_system->checkAccess('write', $this->object->getRefId())) {
121 $this->error->raiseError($this->lng->txt('no_permission'), $this->error->WARNING);
122 }
123
124 $form = $this->settingsForm()->withRequest($this->request);
125 $data = $form->getData();
126 if ($data === null || $this->request->getMethod() !== 'POST') {
127 $this->editSettings($form);
128 return;
129 }
130
131 $set_int = fn(string $field, string $section) => $this->settings->set(
132 $field,
133 (string) ((int) $data[$section][$field])
134 );
135
136 $data[self::PROP_SECTION_NOTIFICATIONS]['forum_notification'] = (
137 $data[self::PROP_SECTION_NOTIFICATIONS]['forum_notification'] || $this->forumJobActive()
138 );
139
140 array_map($set_int, [
141 'forum_default_view',
142 'forum_enable_print',
143 'enable_fora_statistics',
144 'enable_anonymous_fora',
145 'file_upload_allowed_fora',
146 'forum_notification',
147 'send_attachments_by_mail',
148 'save_post_drafts',
149 ], [
150 self::PROP_SECTION_DEFAULTS,
151 self::PROP_SECTION_FEATURES,
152 self::PROP_SECTION_FEATURES,
153 self::PROP_SECTION_FEATURES,
154 self::PROP_SECTION_FEATURES,
155 self::PROP_SECTION_NOTIFICATIONS,
156 self::PROP_SECTION_NOTIFICATIONS,
157 self::PROP_SECTION_DRAFTS
158 ]);
159
160 $drafts = $data[self::PROP_SECTION_DRAFTS]['autosave_drafts'] !== null;
161 $this->settings->set('autosave_drafts', (string) ((int) $drafts));
162 if ($drafts) {
163 $this->settings->set(
164 'autosave_drafts_ival',
165 (string) ((int) $data[self::PROP_SECTION_DRAFTS]['autosave_drafts']['ival'])
166 );
167 }
168
169 $this->tpl->setOnScreenMessage('success', $this->lng->txt('settings_saved'), true);
170 $this->ctrl->redirect($this, 'editSettings');
171 }

References ilObjectGUI\$data, ILIAS\Repository\ctrl(), editSettings(), error(), forumJobActive(), ILIAS\Repository\lng(), PROP_SECTION_DRAFTS, PROP_SECTION_NOTIFICATIONS, ILIAS\Repository\settings(), and settingsForm().

+ Here is the call graph for this function:

◆ settingsForm()

ilObjForumAdministrationGUI::settingsForm ( )
protected

Definition at line 173 of file class.ilObjForumAdministrationGUI.php.

173 : Form
174 {
175 $may_write = $this->rbac_system->checkAccess('write', $this->object->getRefId());
176
177 $field = $this->ui->factory()->input()->field();
178
179 $section = fn(string $label, array $inputs): \ILIAS\UI\Component\Input\Field\Section => $field->section(
180 $inputs,
181 $this->lng->txt($label)
182 );
183 $checkbox = fn(string $label): \ILIAS\UI\Component\Input\Field\Checkbox => $field->checkbox(
184 $this->lng->txt($label),
185 $this->lng->txt($label . '_desc')
186 );
187 $by_date_with_additional_info = fn(string $label): string => sprintf(
188 '%s (%s)',
189 $this->lng->txt('sort_by_date'),
190 $this->lng->txt($label)
191 );
192 $to_string = static fn($value): string => (string) $value;
193 $radio_with_options = static fn(
194 \ILIAS\UI\Component\Input\Field\Radio $x,
195 array $options
196 ): \ILIAS\UI\Component\Input\Field\Radio => array_reduce(
197 $options,
198 static fn($field, array $option) => $field->withOption(...array_map($to_string, $option)),
199 $x
200 );
201 $checkbox_with_func = function (string $name, ?string $label = null, $f = null) use (
202 $checkbox
204 $f ??= static fn($x) => $x;
205 return $f($checkbox($label ?? $name)->withValue((bool) $this->settings->get($name)));
206 };
207 $disable_if_no_permission = $may_write ? static fn(
208 array $fields
209 ): array => $fields : static fn(
210 array $fields
211 ): array => array_map(
212 static fn($x) => $x->withDisabled(true),
213 $fields
214 );
215
216 $action = $this->ctrl->getFormAction($this, 'saveSettings');
217 if (!$may_write) {
218 $action = $this->ctrl->getFormAction($this, 'editSettings');
219 }
220
221 $form = $this->ui->factory()->input()->container()->form()->standard(
222 $action,
223 [
224 self::PROP_SECTION_DEFAULTS => $section('frm_adm_sec_default_settings', $disable_if_no_permission([
225 'forum_default_view' => $radio_with_options($field->radio($this->lng->txt('frm_default_view')), [
226 [
228 $this->lng->txt('sort_by_posts'),
229 $this->lng->txt('sort_by_posts_desc')
230 ],
231 [
233 $by_date_with_additional_info('ascending_order'),
234 $this->lng->txt('sort_by_date_desc')
235 ],
236 [
238 $by_date_with_additional_info('descending_order'),
239 $this->lng->txt('sort_by_date_desc')
240 ],
241 ])->withValue($this->settings->get('forum_default_view', (string) ilForumProperties::VIEW_DATE_ASC))
242 ])),
243 self::PROP_SECTION_FEATURES => $section('frm_adm_sec_features', $disable_if_no_permission([
244 'forum_enable_print' => $checkbox_with_func('forum_enable_print', 'frm_enable_print_option'),
245 'enable_fora_statistics' => $checkbox_with_func('enable_fora_statistics'),
246 'enable_anonymous_fora' => $checkbox_with_func('enable_anonymous_fora'),
247 'file_upload_allowed_fora' => $radio_with_options(
248 $field->radio($this->lng->txt('file_upload_allowed_fora')),
249 [
250 [
252 $this->lng->txt('file_upload_option_allow'),
253 $this->lng->txt('file_upload_option_allow_info')
254 ],
255 [
257 $this->lng->txt('file_upload_option_disallow'),
258 $this->lng->txt('file_upload_allowed_fora_desc')
259 ],
260 ]
261 )->withValue(
262 $this->settings->get(
263 'file_upload_allowed_fora',
265 )
266 )
267 ])),
268 self::PROP_SECTION_NOTIFICATIONS => $section('frm_adm_sec_notifications', $disable_if_no_permission([
269 'forum_notification' => $checkbox_with_func(
270 'forum_notification',
271 'forums_forum_notification',
272 fn($field) => (
273 $field
274 ->withDisabled($this->forumJobActive())
275 ->withValue($field->getValue() || $this->forumJobActive())
276 ->withByLine($this->forumByLine($field))
277 )
278 ),
279 'send_attachments_by_mail' => $checkbox_with_func(
280 'send_attachments_by_mail',
281 'enable_send_attachments'
282 )
283 ])),
284 self::PROP_SECTION_DRAFTS => $section('frm_adm_sec_drafts', $disable_if_no_permission([
285 'save_post_drafts' => $checkbox_with_func('save_post_drafts', 'adm_save_drafts'),
286 'autosave_drafts' => $field->optionalGroup([
287 'ival' => $field
288 ->numeric($this->lng->txt('adm_autosave_ival'))
289 ->withRequired(true)
290 ->withAdditionalTransformation(
291 $this->refinery->in()->series([
292 $this->refinery->int()->isGreaterThanOrEqual(30),
293 $this->refinery->int()->isLessThanOrEqual(60 * 60)
294 ])
295 )
296 ], $this->lng->txt('adm_autosave_drafts'), $this->lng->txt('adm_autosave_drafts_desc'))->withValue(
297 $this->settings->get('autosave_drafts') ? [
298 'ival' => $this->settings->get(
299 'autosave_drafts_ival',
300 '30'
301 )
302 ] : null
303 )
304 ]))
305 ]
306 );
307
308 if (!$may_write) {
309 $form = $form->withSubmitLabel($this->lng->txt('refresh'));
310 }
311
312 return $form;
313 }
return true
This describes commonalities between all forms.
Definition: Form.php:33
This describes checkbox inputs.
Definition: Checkbox.php:29
withValue($value)
Get an input like this with another value displayed on the client side.
Definition: Group.php:61
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.

References Vendor\Package\$f, ILIAS\UI\Implementation\Component\Input\$inputs, ILIAS\Repository\ctrl(), ilForumProperties\FILE_UPLOAD_GLOBALLY_ALLOWED, ilForumProperties\FILE_UPLOAD_INDIVIDUAL, forumJobActive(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\settings(), ILIAS\Repository\ui(), ilForumProperties\VIEW_DATE_ASC, ilForumProperties\VIEW_DATE_DESC, ilForumProperties\VIEW_TREE, and ILIAS\UI\Implementation\Component\Input\withValue().

Referenced by editSettings(), and saveSettings().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $cronManager

readonly JobManager ilObjForumAdministrationGUI::$cronManager
private

Definition at line 37 of file class.ilObjForumAdministrationGUI.php.

◆ $ui

readonly UIServices ilObjForumAdministrationGUI::$ui
private

Definition at line 38 of file class.ilObjForumAdministrationGUI.php.

◆ PROP_SECTION_DEFAULTS

const string ilObjForumAdministrationGUI::PROP_SECTION_DEFAULTS = 'defaults'
private

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

◆ PROP_SECTION_DRAFTS

const string ilObjForumAdministrationGUI::PROP_SECTION_DRAFTS = 'drafts'
private

Definition at line 35 of file class.ilObjForumAdministrationGUI.php.

Referenced by saveSettings().

◆ PROP_SECTION_FEATURES

const string ilObjForumAdministrationGUI::PROP_SECTION_FEATURES = 'features'
private

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

◆ PROP_SECTION_NOTIFICATIONS

const string ilObjForumAdministrationGUI::PROP_SECTION_NOTIFICATIONS = 'notifications'
private

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

Referenced by saveSettings().


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