|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Collaboration diagram for ilForumProperties:Public Member Functions | |
| insert () | |
| update () | |
| copy ($a_new_obj_id) | |
| isIsThreadRatingEnabled () | |
| setIsThreadRatingEnabled ($is_thread_rating_enabled) | |
| setDefaultView ($a_default_view) | |
| getDefaultView () | |
| setStatisticsStatus ($a_statistic_status) | |
| isStatisticEnabled () | |
| setAnonymisation ($a_anonymized) | |
| isAnonymized () | |
| setPostActivation ($a_post_activation) | |
| isPostActivationEnabled () | |
| setObjId ($a_obj_id=0) | |
| getObjId () | |
| setAdminForceNoti ($a_admin_force) | |
| isAdminForceNoti () | |
| setUserToggleNoti ($a_user_toggle) | |
| isUserToggleNoti () | |
| setPresetSubject ($a_preset_subject) | |
| getPresetSubject () | |
| setAddReSubject ($a_add_re_subject) | |
| getAddReSubject () | |
| setNotificationType ($a_notification_type) | |
| getNotificationType () | |
| getSubjectSetting () | |
| setSubjectSetting ($a_subject_setting) | |
| setMarkModeratorPosts ($a_mod_post) | |
| getMarkModeratorPosts () | |
| setThreadSorting ($a_thread_sorting) | |
| getThreadSorting () | |
| getUserToggleNoti () | |
| getAdminForceNoti () | |
| setFileUploadAllowed ($allowed) | |
| getFileUploadAllowed () | |
| isFileUploadAllowed () | |
Static Public Member Functions | |
| static | getInstance ($a_obj_id=0) |
| static | _isAnonymized ($a_obj_id) |
| static | _isAdminForceNoti ($a_obj_id) |
| static | _isUserToggleNoti ($a_obj_id) |
| static | isFileUploadGloballyAllowed () |
| static | isSendAttachmentsByMailEnabled () |
Data Fields | |
| const | VIEW_TREE = 1 |
| const | VIEW_DATE = 2 |
| const | VIEW_DATE_ASC = 2 |
| const | VIEW_DATE_DESC = 3 |
| const | FORUM_OVERVIEW_WITH_NEW_POSTS = 0 |
| const | FORUM_OVERVIEW_NO_NEW_POSTS = 1 |
| const | FILE_UPLOAD_GLOBALLY_ALLOWED = 0 |
| const | FILE_UPLOAD_INDIVIDUAL = 1 |
Protected Member Functions | |
| __construct ($a_obj_id=0) | |
Private Member Functions | |
| __clone () | |
| read () | |
Private Attributes | |
| $obj_id | |
| Object id of current forum @access private. More... | |
| $default_view = self::VIEW_DATE_ASC | |
| Default view ( 1 => 'order by answers', 2 => 'order by date ascending', 3 => 'order by date descending') @access private. More... | |
| $anonymized = 0 | |
| Defines if a forum is anonymized or not @access private. More... | |
| $statistics_enabled = 0 | |
| Defines if a forum can show ranking statistics @access private. More... | |
| $post_activation_enabled = 0 | |
| Activation of new posts @access private. More... | |
| $notification_type = null | |
| Global notification-type setting (CRS/GRP) possible values: 'all_users', 'per_user', null (default) More... | |
| $admin_force_noti = false | |
| Activation of (CRS/GRP) forum notification by mod/admin @access private. More... | |
| $user_toggle_noti = false | |
| Activation of allowing members to deactivate (CRS/GRP)forum notification @access private. More... | |
| $preset_subject = 1 | |
| Preset subject on reply. More... | |
| $add_re_subject = 0 | |
| Add 'Re: ' to subject on reply. More... | |
| $mark_mod_posts = 0 | |
| $thread_sorting = 0 | |
| sorting type for threads (manual sorting) 0 = default 1 = manual More... | |
| $is_thread_rating_enabled = false | |
| $db = null | |
| DB Object @access private. More... | |
| $file_upload_allowed = 0 | |
| $exists = false | |
Static Private Attributes | |
| static | $instances = array() |
|
protected |
Definition at line 124 of file class.ilForumProperties.php.
Here is the call graph for this function:
|
private |
Definition at line 133 of file class.ilForumProperties.php.
|
static |
Definition at line 387 of file class.ilForumProperties.php.
References $DIC, $ilDB, and $res.
Referenced by ilForumNotification\checkForumsExistsInsert().
Here is the caller graph for this function:
|
static |
Definition at line 328 of file class.ilForumProperties.php.
References $DIC, $ilDB, and $result.
Referenced by ilPDNewsTableGUI\fillRow().
Here is the caller graph for this function:
|
static |
Definition at line 404 of file class.ilForumProperties.php.
References $DIC, $ilDB, and $res.
Referenced by ilForumNotification\checkForumsExistsInsert().
Here is the caller graph for this function:| ilForumProperties::copy | ( | $a_new_obj_id | ) |
Definition at line 252 of file class.ilForumProperties.php.
References isIsThreadRatingEnabled().
Here is the call graph for this function:| ilForumProperties::getAddReSubject | ( | ) |
Definition at line 435 of file class.ilForumProperties.php.
References $add_re_subject.
Referenced by getSubjectSetting().
Here is the caller graph for this function:| ilForumProperties::getAdminForceNoti | ( | ) |
Definition at line 521 of file class.ilForumProperties.php.
References $admin_force_noti.
| ilForumProperties::getDefaultView | ( | ) |
Definition at line 303 of file class.ilForumProperties.php.
References $default_view.
| ilForumProperties::getFileUploadAllowed | ( | ) |
Definition at line 538 of file class.ilForumProperties.php.
References $file_upload_allowed.
Referenced by isFileUploadAllowed().
Here is the caller graph for this function:
|
static |
| int | $a_obj_id |
Definition at line 141 of file class.ilForumProperties.php.
Referenced by ilObjForumGUI\__construct(), ilForumExportGUI\__construct(), ilForumModeratorsGUI\addModerator(), ilObjForum\create(), ilForumModeratorsGUI\detachModeratorRole(), ilForum\generatePost(), ilForum\getAllThreads(), ilForumTopic\getNestedSetPostChildren(), ilObjForumListGUI\getProperties(), ilForumXMLParser\handlerEndTag(), ilObjForum\lookupStatisticsByRefId(), and ilForumExportGUI\renderPostHtml().
Here is the caller graph for this function:| ilForumProperties::getMarkModeratorPosts | ( | ) |
| ilForumProperties::getNotificationType | ( | ) |
Definition at line 449 of file class.ilForumProperties.php.
References $notification_type.
| ilForumProperties::getObjId | ( | ) |
Definition at line 362 of file class.ilForumProperties.php.
References $obj_id.
| ilForumProperties::getPresetSubject | ( | ) |
Definition at line 425 of file class.ilForumProperties.php.
References $preset_subject.
Referenced by getSubjectSetting().
Here is the caller graph for this function:| ilForumProperties::getSubjectSetting | ( | ) |
Definition at line 454 of file class.ilForumProperties.php.
References getAddReSubject(), and getPresetSubject().
Here is the call graph for this function:| ilForumProperties::getThreadSorting | ( | ) |
Definition at line 505 of file class.ilForumProperties.php.
References $thread_sorting.
| ilForumProperties::getUserToggleNoti | ( | ) |
Definition at line 513 of file class.ilForumProperties.php.
References $user_toggle_noti.
| ilForumProperties::insert | ( | ) |
Definition at line 189 of file class.ilForumProperties.php.
References isIsThreadRatingEnabled().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilForumProperties::isAdminForceNoti | ( | ) |
Definition at line 372 of file class.ilForumProperties.php.
References $admin_force_noti.
| ilForumProperties::isAnonymized | ( | ) |
Definition at line 323 of file class.ilForumProperties.php.
References $anonymized.
| ilForumProperties::isFileUploadAllowed | ( | ) |
Definition at line 546 of file class.ilForumProperties.php.
References getFileUploadAllowed().
Here is the call graph for this function:
|
static |
Definition at line 562 of file class.ilForumProperties.php.
References $DIC, and FILE_UPLOAD_GLOBALLY_ALLOWED.
Referenced by ilForumSettingsGUI\getCustomForm(), and ilForumSettingsGUI\updateCustomValues().
Here is the caller graph for this function:| ilForumProperties::isIsThreadRatingEnabled | ( | ) |
Definition at line 285 of file class.ilForumProperties.php.
References $is_thread_rating_enabled.
Referenced by copy(), insert(), and update().
Here is the caller graph for this function:| ilForumProperties::isPostActivationEnabled | ( | ) |
Definition at line 351 of file class.ilForumProperties.php.
References $post_activation_enabled.
|
static |
Definition at line 574 of file class.ilForumProperties.php.
Referenced by ilForumCronNotificationDataProvider\readAttachments(), and ilObjForumNotificationDataProvider\readAttachments().
Here is the caller graph for this function:| ilForumProperties::isStatisticEnabled | ( | ) |
Definition at line 313 of file class.ilForumProperties.php.
References $statistics_enabled.
| ilForumProperties::isUserToggleNoti | ( | ) |
Definition at line 382 of file class.ilForumProperties.php.
References $user_toggle_noti.
|
private |
Definition at line 150 of file class.ilForumProperties.php.
References $res, setIsThreadRatingEnabled(), and true.
Referenced by __construct(), and setObjId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilForumProperties::setAddReSubject | ( | $a_add_re_subject | ) |
Definition at line 430 of file class.ilForumProperties.php.
Referenced by setSubjectSetting().
Here is the caller graph for this function:| ilForumProperties::setAdminForceNoti | ( | $a_admin_force | ) |
Definition at line 367 of file class.ilForumProperties.php.
| ilForumProperties::setAnonymisation | ( | $a_anonymized | ) |
Definition at line 318 of file class.ilForumProperties.php.
| ilForumProperties::setDefaultView | ( | $a_default_view | ) |
Definition at line 298 of file class.ilForumProperties.php.
| ilForumProperties::setFileUploadAllowed | ( | $allowed | ) |
| int | $allowed |
| InvalidArgumentException |
Definition at line 530 of file class.ilForumProperties.php.
| ilForumProperties::setIsThreadRatingEnabled | ( | $is_thread_rating_enabled | ) |
| boolean | $is_thread_rating_enabled |
Definition at line 293 of file class.ilForumProperties.php.
References $is_thread_rating_enabled.
Referenced by read().
Here is the caller graph for this function:| ilForumProperties::setMarkModeratorPosts | ( | $a_mod_post | ) |
Definition at line 490 of file class.ilForumProperties.php.
| ilForumProperties::setNotificationType | ( | $a_notification_type | ) |
Definition at line 440 of file class.ilForumProperties.php.
| ilForumProperties::setObjId | ( | $a_obj_id = 0 | ) |
Definition at line 356 of file class.ilForumProperties.php.
References read().
Here is the call graph for this function:| ilForumProperties::setPostActivation | ( | $a_post_activation | ) |
Definition at line 346 of file class.ilForumProperties.php.
| ilForumProperties::setPresetSubject | ( | $a_preset_subject | ) |
Definition at line 420 of file class.ilForumProperties.php.
Referenced by setSubjectSetting().
Here is the caller graph for this function:| ilForumProperties::setStatisticsStatus | ( | $a_statistic_status | ) |
Definition at line 308 of file class.ilForumProperties.php.
| ilForumProperties::setSubjectSetting | ( | $a_subject_setting | ) |
Definition at line 472 of file class.ilForumProperties.php.
References setAddReSubject(), and setPresetSubject().
Here is the call graph for this function:| ilForumProperties::setThreadSorting | ( | $a_thread_sorting | ) |
Definition at line 500 of file class.ilForumProperties.php.
| ilForumProperties::setUserToggleNoti | ( | $a_user_toggle | ) |
Definition at line 377 of file class.ilForumProperties.php.
| ilForumProperties::update | ( | ) |
Definition at line 219 of file class.ilForumProperties.php.
References insert(), and isIsThreadRatingEnabled().
Here is the call graph for this function:
|
private |
Add 'Re: ' to subject on reply.
@access private
Definition at line 87 of file class.ilForumProperties.php.
Referenced by getAddReSubject().
|
private |
Activation of (CRS/GRP) forum notification by mod/admin @access private.
Definition at line 67 of file class.ilForumProperties.php.
Referenced by getAdminForceNoti(), and isAdminForceNoti().
|
private |
Defines if a forum is anonymized or not @access private.
Definition at line 39 of file class.ilForumProperties.php.
Referenced by isAnonymized().
|
private |
DB Object @access private.
Definition at line 109 of file class.ilForumProperties.php.
|
private |
Default view ( 1 => 'order by answers', 2 => 'order by date ascending', 3 => 'order by date descending') @access private.
Definition at line 33 of file class.ilForumProperties.php.
Referenced by getDefaultView().
|
private |
Definition at line 122 of file class.ilForumProperties.php.
|
private |
Definition at line 114 of file class.ilForumProperties.php.
Referenced by getFileUploadAllowed().
|
staticprivate |
Definition at line 119 of file class.ilForumProperties.php.
|
private |
Definition at line 103 of file class.ilForumProperties.php.
Referenced by isIsThreadRatingEnabled(), and setIsThreadRatingEnabled().
|
private |
Definition at line 89 of file class.ilForumProperties.php.
Referenced by getMarkModeratorPosts().
|
private |
Global notification-type setting (CRS/GRP) possible values: 'all_users', 'per_user', null (default)
@access private
Definition at line 61 of file class.ilForumProperties.php.
Referenced by getNotificationType().
|
private |
Object id of current forum @access private.
Definition at line 27 of file class.ilForumProperties.php.
Referenced by getObjId().
|
private |
Activation of new posts @access private.
Definition at line 51 of file class.ilForumProperties.php.
Referenced by isPostActivationEnabled().
|
private |
Preset subject on reply.
If deactivated, user is forced to enter a new subject
@access private
Definition at line 80 of file class.ilForumProperties.php.
Referenced by getPresetSubject().
|
private |
Defines if a forum can show ranking statistics @access private.
Definition at line 45 of file class.ilForumProperties.php.
Referenced by isStatisticEnabled().
|
private |
sorting type for threads (manual sorting) 0 = default 1 = manual
@access private
Definition at line 98 of file class.ilForumProperties.php.
Referenced by getThreadSorting().
|
private |
Activation of allowing members to deactivate (CRS/GRP)forum notification @access private.
Definition at line 72 of file class.ilForumProperties.php.
Referenced by getUserToggleNoti(), and isUserToggleNoti().
| const ilForumProperties::FILE_UPLOAD_GLOBALLY_ALLOWED = 0 |
Definition at line 20 of file class.ilForumProperties.php.
Referenced by ilObjForumAdministrationGUI\getSettingsForm(), isFileUploadGloballyAllowed(), and ilObjForumAdministrationGUI\populateForm().
| const ilForumProperties::FILE_UPLOAD_INDIVIDUAL = 1 |
Definition at line 21 of file class.ilForumProperties.php.
Referenced by ilObjForumAdministrationGUI\getSettingsForm().
| const ilForumProperties::FORUM_OVERVIEW_NO_NEW_POSTS = 1 |
Definition at line 18 of file class.ilForumProperties.php.
| const ilForumProperties::FORUM_OVERVIEW_WITH_NEW_POSTS = 0 |
Definition at line 17 of file class.ilForumProperties.php.
Referenced by ilForum\getAllThreads(), ilObjForumListGUI\getProperties(), and ilObjForum\lookupStatisticsByRefId().
| const ilForumProperties::VIEW_DATE = 2 |
Definition at line 13 of file class.ilForumProperties.php.
| const ilForumProperties::VIEW_DATE_ASC = 2 |
Definition at line 14 of file class.ilForumProperties.php.
Referenced by ilObjForumGUI\checkUsersViewMode(), ilObjForum\create(), ilForumSettingsGUI\getCustomForm(), ilForumSettingsGUI\getCustomValues(), ilObjForumGUI\renderViewModeControl(), and ilForumSettingsGUI\updateCustomValues().
| const ilForumProperties::VIEW_DATE_DESC = 3 |
Definition at line 15 of file class.ilForumProperties.php.
Referenced by ilObjForumGUI\checkUsersViewMode(), ilForumSettingsGUI\getCustomForm(), ilForumSettingsGUI\getCustomValues(), ilForumPostDraft\getSortedDrafts(), and ilForumSettingsGUI\updateCustomValues().
| const ilForumProperties::VIEW_TREE = 1 |