ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilForumSettingsGUI. More...
Public Member Functions | |
__construct (ilObjForumGUI $parent_obj) | |
ilForumSettingsGUI constructor. More... | |
executeCommand () | |
getCustomForm (&$a_form) | |
settingsTabs () | |
getCustomValues (array &$a_values) | |
updateCustomValues (ilPropertyFormGUI $a_form) | |
showMembers () | |
enableAdminForceNoti () | |
disableAdminForceNoti () | |
enableHideUserToggleNoti () | |
disableHideUserToggleNoti () | |
updateNotificationSettings () | |
Protected Member Functions | |
getIcon ($user_toggle_noti) | |
Protected Attributes | |
$form | |
Private Member Functions | |
getUserNotificationTableData ($user_ids, ilForumNotification $frm_noti) | |
__showMembersTable (array $moderators, array $admins, array $members, array $tutors) | |
updateUserNotifications ($update_all_users=false) | |
initNotificationSettingsForm () | |
Private Attributes | |
$ctrl | |
$tpl | |
$lng | |
$settings | |
$tabs | |
$access | |
$tree | |
$parent_obj | |
$notificationSettingsForm | |
Class ilForumSettingsGUI.
Definition at line 8 of file class.ilForumSettingsGUI.php.
ilForumSettingsGUI::__construct | ( | ilObjForumGUI | $parent_obj | ) |
ilForumSettingsGUI constructor.
$parent_obj |
Definition at line 33 of file class.ilForumSettingsGUI.php.
References $DIC, $parent_obj, and settings().
|
private |
Definition at line 332 of file class.ilForumSettingsGUI.php.
Referenced by showMembers().
ilForumSettingsGUI::disableAdminForceNoti | ( | ) |
Definition at line 391 of file class.ilForumSettingsGUI.php.
References $_POST, ilUtil\sendInfo(), ilForumNotification\setUserId(), and showMembers().
ilForumSettingsGUI::disableHideUserToggleNoti | ( | ) |
Definition at line 446 of file class.ilForumSettingsGUI.php.
References $_POST, $parent_obj, ilGroupParticipants\_getInstanceByObjId(), ilCourseParticipants\_getInstanceByObjId(), ilObjectFactory\getInstanceByRefId(), ilUtil\sendInfo(), ilForumNotification\setUserId(), and showMembers().
ilForumSettingsGUI::enableAdminForceNoti | ( | ) |
Definition at line 363 of file class.ilForumSettingsGUI.php.
References $_POST, ilUtil\sendInfo(), ilForumNotification\setUserId(), and showMembers().
ilForumSettingsGUI::enableHideUserToggleNoti | ( | ) |
Definition at line 417 of file class.ilForumSettingsGUI.php.
References $_POST, ilUtil\sendInfo(), ilForumNotification\setUserId(), and showMembers().
ilForumSettingsGUI::executeCommand | ( | ) |
Definition at line 51 of file class.ilForumSettingsGUI.php.
References settingsTabs().
ilForumSettingsGUI::getCustomForm | ( | & | $a_form | ) |
ilPropertyFormGUI | $a_form |
Definition at line 69 of file class.ilForumSettingsGUI.php.
References ilRadioGroupInputGUI\addOption(), ilRadioOption\addSubItem(), ilForumProperties\isFileUploadGloballyAllowed(), ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), settings(), settingsTabs(), ilCheckboxInputGUI\setValue(), ilRadioGroupInputGUI\setValue(), ilForumProperties\VIEW_DATE, ilForumProperties\VIEW_DATE_ASC, ilForumProperties\VIEW_DATE_DESC, and ilForumProperties\VIEW_TREE.
ilForumSettingsGUI::getCustomValues | ( | array & | $a_values | ) |
array | $a_values |
Definition at line 194 of file class.ilForumSettingsGUI.php.
References ilForumProperties\VIEW_DATE, ilForumProperties\VIEW_DATE_ASC, ilForumProperties\VIEW_DATE_DESC, and ilForumProperties\VIEW_TREE.
|
protected |
Definition at line 304 of file class.ilForumSettingsGUI.php.
References ilUtil\getImagePath().
Referenced by getUserNotificationTableData().
|
private |
Definition at line 312 of file class.ilForumSettingsGUI.php.
References $name, $users, ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), ilUtil\formCheckbox(), getIcon(), ilForumNotification\isUserToggleNotification(), and ilForumNotification\setUserId().
Referenced by showMembers().
|
private |
Definition at line 539 of file class.ilForumSettingsGUI.php.
References $form, ilRadioOption\addSubItem(), and ilCheckboxInputGUI\setValue().
Referenced by showMembers(), and updateNotificationSettings().
ilForumSettingsGUI::settingsTabs | ( | ) |
Definition at line 164 of file class.ilForumSettingsGUI.php.
References $_GET, and settings().
Referenced by executeCommand(), and getCustomForm().
ilForumSettingsGUI::showMembers | ( | ) |
Definition at line 258 of file class.ilForumSettingsGUI.php.
References __showMembersTable(), ilForum\_getModerators(), getUserNotificationTableData(), initNotificationSettingsForm(), and ilForumNotification\setAdminForce().
Referenced by disableAdminForceNoti(), disableHideUserToggleNoti(), enableAdminForceNoti(), enableHideUserToggleNoti(), and updateNotificationSettings().
ilForumSettingsGUI::updateCustomValues | ( | ilPropertyFormGUI | $a_form | ) |
ilPropertyFormGUI | $a_form |
Definition at line 221 of file class.ilForumSettingsGUI.php.
References $_SESSION, ilPropertyFormGUI\getInput(), ilForumProperties\isFileUploadGloballyAllowed(), settings(), ilForumProperties\VIEW_DATE, ilForumProperties\VIEW_DATE_ASC, ilForumProperties\VIEW_DATE_DESC, and ilForumProperties\VIEW_TREE.
ilForumSettingsGUI::updateNotificationSettings | ( | ) |
Definition at line 573 of file class.ilForumSettingsGUI.php.
References $_POST, ilForumNotification\deleteNotificationAllUsers(), initNotificationSettingsForm(), showMembers(), and updateUserNotifications().
|
private |
Definition at line 509 of file class.ilForumSettingsGUI.php.
References ilForum\_getModerators().
Referenced by updateNotificationSettings().
|
private |
Definition at line 15 of file class.ilForumSettingsGUI.php.
|
private |
Definition at line 10 of file class.ilForumSettingsGUI.php.
|
protected |
Definition at line 22 of file class.ilForumSettingsGUI.php.
Referenced by initNotificationSettingsForm().
|
private |
Definition at line 12 of file class.ilForumSettingsGUI.php.
|
private |
Definition at line 27 of file class.ilForumSettingsGUI.php.
|
private |
Definition at line 17 of file class.ilForumSettingsGUI.php.
Referenced by __construct(), and disableHideUserToggleNoti().
|
private |
Definition at line 13 of file class.ilForumSettingsGUI.php.
|
private |
Definition at line 14 of file class.ilForumSettingsGUI.php.
|
private |
Definition at line 11 of file class.ilForumSettingsGUI.php.
|
private |
Definition at line 16 of file class.ilForumSettingsGUI.php.