ILIAS
release_8 Revision v8.19
|
Class ilForumCronNotificationDataProvider. More...
Public Member Functions | |
__construct (array $row, 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 () | |
setNotificationType (int $notification_type) | |
getPosDisplayUserId () | |
getPosUserAlias () | |
getPostUpdateUserId () | |
setPostUpdateUserId (int $post_update_user_id) | |
setPosAuthorId (int $pos_author_id) | |
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 | |
int | $notification_type = null |
int | $ref_id |
int | $obj_id |
int | $forum_id |
string | $forum_title |
ilObject | $closest_container = null |
int | $thread_id |
string | $thread_title |
int | $post_id |
string | $post_title |
string | $post_message |
string | $post_date = null |
string | $post_update = null |
bool | $post_censored |
string | $post_censored_date = null |
string | $post_censored_comment |
string | $pos_usr_alias |
int | $pos_display_user_id |
bool | $is_anonymized = false |
string | $import_name |
array | $attachments = [] |
array | $cron_recipients = [] |
int | $post_update_user_id |
int | $pos_author_id |
string | $deleted_by = '' |
string | $post_user_name = null |
string | $update_user_name = null |
ilForumNotificationCache | $notificationCache |
Class ilForumCronNotificationDataProvider.
Definition at line 25 of file class.ilForumCronNotificationDataProvider.php.
ilForumCronNotificationDataProvider::__construct | ( | array | $row, |
int | $notification_type, | ||
ilForumNotificationCache | $notificationCache = null |
||
) |
Definition at line 58 of file class.ilForumCronNotificationDataProvider.php.
References $DIC, $notification_type, $notificationCache, ILIAS\Repository\int(), and read().
ilForumCronNotificationDataProvider::addRecipient | ( | int | $user_id | ) |
Definition at line 118 of file class.ilForumCronNotificationDataProvider.php.
ilForumCronNotificationDataProvider::closestContainer | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 146 of file class.ilForumCronNotificationDataProvider.php.
References $closest_container.
ilForumCronNotificationDataProvider::getAttachments | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 211 of file class.ilForumCronNotificationDataProvider.php.
References $attachments.
|
private |
Definition at line 317 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 256 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 261 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 246 of file class.ilForumCronNotificationDataProvider.php.
References $pos_author_id.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilForumCronNotificationDataProvider::getPosDisplayUserId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 221 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 231 of file class.ilForumCronNotificationDataProvider.php.
References $post_update_user_id.
Referenced by getPostUpdateUserName().
ilForumCronNotificationDataProvider::getPostUpdateUserName | ( | ilLanguage | $user_lang | ) |
Implements ilForumNotificationMailData.
Definition at line 281 of file class.ilForumCronNotificationDataProvider.php.
References $update_user_name, getAuthorInformation(), getImportName(), getPosAuthorId(), getPosDisplayUserId(), getPostUpdateUserId(), getPosUserAlias(), and getPublicUserInformation().
ilForumCronNotificationDataProvider::getPostUserName | ( | ilLanguage | $user_lang | ) |
Implements ilForumNotificationMailData.
Definition at line 266 of file class.ilForumCronNotificationDataProvider.php.
References $post_user_name, getAuthorInformation(), getImportName(), getPosAuthorId(), getPosDisplayUserId(), getPosUserAlias(), and getPublicUserInformation().
ilForumCronNotificationDataProvider::getPosUserAlias | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 226 of file class.ilForumCronNotificationDataProvider.php.
References $pos_usr_alias.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilForumCronNotificationDataProvider::getPublicUserInformation | ( | ilForumAuthorInformation | $authorinfo | ) |
Definition at line 304 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 251 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.
|
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().
ilForumCronNotificationDataProvider::setNotificationType | ( | int | $notification_type | ) |
Definition at line 216 of file class.ilForumCronNotificationDataProvider.php.
References $notification_type.
ilForumCronNotificationDataProvider::setPosAuthorId | ( | int | $pos_author_id | ) |
Definition at line 241 of file class.ilForumCronNotificationDataProvider.php.
References $pos_author_id.
ilForumCronNotificationDataProvider::setPostUpdateUserId | ( | int | $post_update_user_id | ) |
Definition at line 236 of file class.ilForumCronNotificationDataProvider.php.
References $post_update_user_id.
|
private |
Definition at line 48 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getAttachments().
|
private |
Definition at line 33 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 30 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getForumId().
|
private |
Definition at line 31 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getForumTitle().
|
private |
Definition at line 47 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getImportName().
|
private |
Definition at line 46 of file class.ilForumCronNotificationDataProvider.php.
Referenced by isAnonymized().
|
private |
Definition at line 27 of file class.ilForumCronNotificationDataProvider.php.
Referenced by __construct(), and setNotificationType().
|
private |
Definition at line 56 of file class.ilForumCronNotificationDataProvider.php.
Referenced by __construct().
|
private |
Definition at line 29 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getObjId().
|
private |
Definition at line 52 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPosAuthorId(), and setPosAuthorId().
|
private |
Definition at line 45 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPosDisplayUserId().
|
private |
Definition at line 44 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPosUserAlias().
|
private |
Definition at line 41 of file class.ilForumCronNotificationDataProvider.php.
Referenced by isPostCensored().
|
private |
Definition at line 43 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getCensorshipComment().
|
private |
Definition at line 42 of file class.ilForumCronNotificationDataProvider.php.
|
private |
Definition at line 39 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostDate().
|
private |
Definition at line 36 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostId().
|
private |
Definition at line 38 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostMessage().
|
private |
Definition at line 37 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostTitle().
|
private |
Definition at line 40 of file class.ilForumCronNotificationDataProvider.php.
|
private |
Definition at line 51 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostUpdateUserId(), and setPostUpdateUserId().
|
private |
Definition at line 54 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostUserName().
|
private |
Definition at line 28 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getRefId().
|
private |
Definition at line 34 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getThreadId().
|
private |
Definition at line 35 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getThreadTitle().
|
private |
Definition at line 55 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostUpdateUserName().