ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Class ilForumCronNotificationDataProvider. More...
Public Member Functions | |
__construct (array $row, private readonly int $notification_type, ?ilForumNotificationCache $notificationCache=null) | |
addRecipient (int $user_id) | |
getCronRecipients () | |
getRefId () | |
getObjId () | |
getForumId () | |
closestContainer () | |
providesClosestContainer () | |
getForumTitle () | |
getThreadId () | |
getThreadTitle () | |
getPostId () | |
getPostTitle () | |
getPostMessage () | |
getPostDate () | |
getPostUpdate () | |
isPostCensored () | |
getPostCensoredDate () | |
getCensorshipComment () | |
getAttachments () | |
getPosDisplayUserId () | |
getPosUserAlias () | |
getPostUpdateUserId () | |
getPosAuthorId () | |
isAnonymized () | |
getDeletedBy () | |
getImportName () | |
getPostUserName (ilLanguage $user_lang) | |
getPostUpdateUserName (ilLanguage $user_lang) | |
getPublicUserInformation (ilForumAuthorInformation $authorinfo) | |
Protected Member Functions | |
read () | |
Private Member Functions | |
readAttachments () | |
getAuthorInformation (ilLanguage $lng, int $authorUsrId, int $displayUserId, string $usrAlias, string $importName) | |
Private Attributes | |
readonly int | $ref_id |
readonly int | $obj_id |
readonly int | $forum_id |
readonly string | $forum_title |
ilObject | $closest_container = null |
readonly int | $thread_id |
readonly string | $thread_title |
readonly int | $post_id |
readonly string | $post_title |
readonly string | $post_message |
string | $post_date = null |
string | $post_update = null |
readonly bool | $post_censored |
string | $post_censored_date = null |
readonly string | $post_censored_comment |
readonly string | $pos_usr_alias |
readonly int | $pos_display_user_id |
bool | $is_anonymized = false |
readonly string | $import_name |
array | $attachments = [] |
array | $cron_recipients = [] |
readonly int | $post_update_user_id |
readonly int | $pos_author_id |
string | $deleted_by = '' |
string | $post_user_name = null |
string | $update_user_name = null |
readonly ilForumNotificationCache | $notificationCache |
Class ilForumCronNotificationDataProvider.
Definition at line 25 of file class.ilForumCronNotificationDataProvider.php.
ilForumCronNotificationDataProvider::__construct | ( | array | $row, |
private readonly int | $notification_type, | ||
?ilForumNotificationCache | $notificationCache = null |
||
) |
Definition at line 58 of file class.ilForumCronNotificationDataProvider.php.
References $DIC, $notificationCache, ILIAS\Repository\int(), null, and read().
ilForumCronNotificationDataProvider::addRecipient | ( | int | $user_id | ) |
ilForumCronNotificationDataProvider::closestContainer | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 146 of file class.ilForumCronNotificationDataProvider.php.
References $closest_container.
ilForumCronNotificationDataProvider::getAttachments | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 214 of file class.ilForumCronNotificationDataProvider.php.
References $attachments.
|
private |
Definition at line 305 of file class.ilForumCronNotificationDataProvider.php.
References ilLanguage\getLangKey().
Referenced by getPostUpdateUserName(), and getPostUserName().
ilForumCronNotificationDataProvider::getCensorshipComment | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 206 of file class.ilForumCronNotificationDataProvider.php.
References $post_censored_comment.
ilForumCronNotificationDataProvider::getCronRecipients | ( | ) |
Definition at line 126 of file class.ilForumCronNotificationDataProvider.php.
References $cron_recipients.
ilForumCronNotificationDataProvider::getDeletedBy | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 244 of file class.ilForumCronNotificationDataProvider.php.
References $deleted_by.
ilForumCronNotificationDataProvider::getForumId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 141 of file class.ilForumCronNotificationDataProvider.php.
References $forum_id.
ilForumCronNotificationDataProvider::getForumTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 156 of file class.ilForumCronNotificationDataProvider.php.
References $forum_title.
ilForumCronNotificationDataProvider::getImportName | ( | ) |
Definition at line 249 of file class.ilForumCronNotificationDataProvider.php.
References $import_name.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilForumCronNotificationDataProvider::getObjId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 136 of file class.ilForumCronNotificationDataProvider.php.
References $obj_id.
Referenced by readAttachments().
ilForumCronNotificationDataProvider::getPosAuthorId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 234 of file class.ilForumCronNotificationDataProvider.php.
References $pos_author_id.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilForumCronNotificationDataProvider::getPosDisplayUserId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 219 of file class.ilForumCronNotificationDataProvider.php.
References $pos_display_user_id.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilForumCronNotificationDataProvider::getPostCensoredDate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 201 of file class.ilForumCronNotificationDataProvider.php.
ilForumCronNotificationDataProvider::getPostDate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 186 of file class.ilForumCronNotificationDataProvider.php.
References $post_date.
ilForumCronNotificationDataProvider::getPostId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 171 of file class.ilForumCronNotificationDataProvider.php.
References $post_id.
Referenced by readAttachments().
ilForumCronNotificationDataProvider::getPostMessage | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 181 of file class.ilForumCronNotificationDataProvider.php.
References $post_message.
ilForumCronNotificationDataProvider::getPostTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 176 of file class.ilForumCronNotificationDataProvider.php.
References $post_title.
ilForumCronNotificationDataProvider::getPostUpdate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 191 of file class.ilForumCronNotificationDataProvider.php.
ilForumCronNotificationDataProvider::getPostUpdateUserId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 229 of file class.ilForumCronNotificationDataProvider.php.
References $post_update_user_id.
Referenced by getPostUpdateUserName().
ilForumCronNotificationDataProvider::getPostUpdateUserName | ( | ilLanguage | $user_lang | ) |
Implements ilForumNotificationMailData.
Definition at line 269 of file class.ilForumCronNotificationDataProvider.php.
References $update_user_name, getAuthorInformation(), getImportName(), getPosAuthorId(), getPosDisplayUserId(), getPostUpdateUserId(), getPosUserAlias(), getPublicUserInformation(), and null.
ilForumCronNotificationDataProvider::getPostUserName | ( | ilLanguage | $user_lang | ) |
Implements ilForumNotificationMailData.
Definition at line 254 of file class.ilForumCronNotificationDataProvider.php.
References $post_user_name, getAuthorInformation(), getImportName(), getPosAuthorId(), getPosDisplayUserId(), getPosUserAlias(), getPublicUserInformation(), and null.
ilForumCronNotificationDataProvider::getPosUserAlias | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 224 of file class.ilForumCronNotificationDataProvider.php.
References $pos_usr_alias.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilForumCronNotificationDataProvider::getPublicUserInformation | ( | ilForumAuthorInformation | $authorinfo | ) |
Definition at line 292 of file class.ilForumCronNotificationDataProvider.php.
References ilForumAuthorInformation\getAuthorName(), ilForumAuthorInformation\getAuthorShortName(), ilForumAuthorInformation\hasSuffix(), and isAnonymized().
Referenced by getPostUpdateUserName(), and getPostUserName().
ilForumCronNotificationDataProvider::getRefId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 131 of file class.ilForumCronNotificationDataProvider.php.
References $ref_id.
ilForumCronNotificationDataProvider::getThreadId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 161 of file class.ilForumCronNotificationDataProvider.php.
References $thread_id.
ilForumCronNotificationDataProvider::getThreadTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 166 of file class.ilForumCronNotificationDataProvider.php.
References $thread_title.
ilForumCronNotificationDataProvider::isAnonymized | ( | ) |
Definition at line 239 of file class.ilForumCronNotificationDataProvider.php.
References $is_anonymized.
Referenced by getPublicUserInformation().
ilForumCronNotificationDataProvider::isPostCensored | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 196 of file class.ilForumCronNotificationDataProvider.php.
References $post_censored.
ilForumCronNotificationDataProvider::providesClosestContainer | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 151 of file class.ilForumCronNotificationDataProvider.php.
References null.
|
protected |
Definition at line 101 of file class.ilForumCronNotificationDataProvider.php.
References readAttachments().
Referenced by __construct().
|
private |
Definition at line 106 of file class.ilForumCronNotificationDataProvider.php.
References getObjId(), getPostId(), and ilForumProperties\isSendAttachmentsByMailEnabled().
Referenced by read().
|
private |
Definition at line 48 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getAttachments().
Definition at line 32 of file class.ilForumCronNotificationDataProvider.php.
Referenced by closestContainer().
|
private |
Definition at line 50 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getCronRecipients().
|
private |
Definition at line 53 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getDeletedBy().
|
private |
Definition at line 29 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getForumId().
|
private |
Definition at line 30 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getForumTitle().
|
private |
Definition at line 46 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getImportName().
|
private |
Definition at line 45 of file class.ilForumCronNotificationDataProvider.php.
Referenced by isAnonymized().
|
private |
Definition at line 56 of file class.ilForumCronNotificationDataProvider.php.
Referenced by __construct().
|
private |
Definition at line 28 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getObjId().
|
private |
Definition at line 52 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPosAuthorId().
|
private |
Definition at line 44 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPosDisplayUserId().
|
private |
Definition at line 43 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPosUserAlias().
|
private |
Definition at line 40 of file class.ilForumCronNotificationDataProvider.php.
Referenced by isPostCensored().
|
private |
Definition at line 42 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getCensorshipComment().
|
private |
Definition at line 41 of file class.ilForumCronNotificationDataProvider.php.
|
private |
Definition at line 38 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostDate().
|
private |
Definition at line 35 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostId().
|
private |
Definition at line 37 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostMessage().
|
private |
Definition at line 36 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostTitle().
|
private |
Definition at line 39 of file class.ilForumCronNotificationDataProvider.php.
|
private |
Definition at line 51 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostUpdateUserId().
|
private |
Definition at line 54 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostUserName().
|
private |
Definition at line 27 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getRefId().
|
private |
Definition at line 33 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getThreadId().
|
private |
Definition at line 34 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getThreadTitle().
|
private |
Definition at line 55 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostUpdateUserName().