ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilForumCronNotificationDataProvider. More...
Public Member Functions | ||||
__construct ($row, ilForumNotificationCache $notificationCache=null) | ||||
addRecipient ($user_id) | ||||
getCronRecipients () | ||||
getRefId () | ||||
getObjId () | ||||
getForumId () | ||||
getForumTitle () | ||||
getThreadId () | ||||
getThreadTitle () | ||||
getPostId () | ||||
getPostTitle () | ||||
getPostMessage () | ||||
getPostDate () | ||||
getPostUpdate () | ||||
getPostCensored () | ||||
getPostCensoredDate () | ||||
getCensorshipComment () | ||||
getAttachments () | ||||
setNotificationType ($notification_type) | ||||
getPosDisplayUserId () | ||||
getPosUserAlias () | ||||
getPostUpdateUserId () | ||||
setPostUpdateUserId ($post_update_user_id) | ||||
setPosAuthorId ($pos_author_id) | ||||
getPosAuthorId () | ||||
isAnonymized () | ||||
getDeletedBy () | ||||
getImportName () | ||||
getPostUserName (\ilLanguage $user_lang) | ||||
| ||||
getPostUpdateUserName (\ilLanguage $user_lang) | ||||
| ||||
getPublicUserInformation (ilForumAuthorInformation $authorinfo) | ||||
Data Fields | |
$notification_type = null | |
$objPost = null | |
$post_update_user_id = 0 | |
$pos_author_id = 0 | |
$deleted_by = '' | |
Protected Member Functions | |
read () | |
Protected Attributes | |
$ref_id = 0 | |
$obj_id = 0 | |
$forum_id = 0 | |
$forum_title = '' | |
$thread_id = 0 | |
$thread_title = '' | |
$post_id = 0 | |
$post_title = '' | |
$post_message = '' | |
$post_date = null | |
$post_update = null | |
$post_censored = false | |
$post_censored_date = null | |
$post_censored_comment = '' | |
$pos_usr_alias = '' | |
$pos_display_user_id = 0 | |
$is_anonymized = false | |
$import_name = '' | |
$attachments = array() | |
$cron_recipients = array() | |
Static Protected Attributes | |
static | $authorInformationCache = array() |
Private Member Functions | |
readAttachments () | |
getAuthorInformation (\ilLanguage $lng, int $authorUsrId, int $displayUserId, string $usrAlias, string $importName) | |
Private Attributes | |
$post_user_name = null | |
$update_user_name = null | |
$notificationCache | |
Class ilForumCronNotificationDataProvider.
Definition at line 9 of file class.ilForumCronNotificationDataProvider.php.
ilForumCronNotificationDataProvider::__construct | ( | $row, | |
ilForumNotificationCache | $notificationCache = null |
||
) |
$row | ||
ilForumNotificationCache | null | $notificationCache |
Definition at line 148 of file class.ilForumCronNotificationDataProvider.php.
References $DIC, $notificationCache, $row, and read().
ilForumCronNotificationDataProvider::addRecipient | ( | $user_id | ) |
int | $user_id |
Definition at line 220 of file class.ilForumCronNotificationDataProvider.php.
ilForumCronNotificationDataProvider::getAttachments | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 348 of file class.ilForumCronNotificationDataProvider.php.
References $attachments.
|
private |
ilLanguage | $lng | |
$authorUsrId | ||
$displayUserId | ||
$usrAlias | ||
$importName |
Definition at line 496 of file class.ilForumCronNotificationDataProvider.php.
References ilLanguage\getLangKey().
ilForumCronNotificationDataProvider::getCensorshipComment | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 340 of file class.ilForumCronNotificationDataProvider.php.
References $post_censored_comment.
ilForumCronNotificationDataProvider::getCronRecipients | ( | ) |
Definition at line 228 of file class.ilForumCronNotificationDataProvider.php.
References $cron_recipients.
ilForumCronNotificationDataProvider::getDeletedBy | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 414 of file class.ilForumCronNotificationDataProvider.php.
References $deleted_by.
ilForumCronNotificationDataProvider::getForumId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 252 of file class.ilForumCronNotificationDataProvider.php.
References $forum_id.
ilForumCronNotificationDataProvider::getForumTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 260 of file class.ilForumCronNotificationDataProvider.php.
References $forum_title.
ilForumCronNotificationDataProvider::getImportName | ( | ) |
Definition at line 422 of file class.ilForumCronNotificationDataProvider.php.
References $import_name.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilForumCronNotificationDataProvider::getObjId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 244 of file class.ilForumCronNotificationDataProvider.php.
References $obj_id.
Referenced by readAttachments().
ilForumCronNotificationDataProvider::getPosAuthorId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 398 of file class.ilForumCronNotificationDataProvider.php.
References $pos_author_id.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilForumCronNotificationDataProvider::getPosDisplayUserId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 364 of file class.ilForumCronNotificationDataProvider.php.
References $pos_display_user_id.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilForumCronNotificationDataProvider::getPostCensored | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 324 of file class.ilForumCronNotificationDataProvider.php.
References $post_censored.
ilForumCronNotificationDataProvider::getPostCensoredDate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 332 of file class.ilForumCronNotificationDataProvider.php.
References $post_censored_date.
ilForumCronNotificationDataProvider::getPostDate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 308 of file class.ilForumCronNotificationDataProvider.php.
References $post_date.
ilForumCronNotificationDataProvider::getPostId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 284 of file class.ilForumCronNotificationDataProvider.php.
References $post_id.
Referenced by readAttachments().
ilForumCronNotificationDataProvider::getPostMessage | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 300 of file class.ilForumCronNotificationDataProvider.php.
References $post_message.
ilForumCronNotificationDataProvider::getPostTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 292 of file class.ilForumCronNotificationDataProvider.php.
References $post_title.
ilForumCronNotificationDataProvider::getPostUpdate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 316 of file class.ilForumCronNotificationDataProvider.php.
References $post_update.
ilForumCronNotificationDataProvider::getPostUpdateUserId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 381 of file class.ilForumCronNotificationDataProvider.php.
References $post_update_user_id.
Referenced by getPostUpdateUserName().
ilForumCronNotificationDataProvider::getPostUpdateUserName | ( | \ilLanguage | $user_lang | ) |
\ilLanguage | $user_lang |
Implements ilForumNotificationMailData.
Definition at line 448 of file class.ilForumCronNotificationDataProvider.php.
References $update_user_name, getImportName(), getPosAuthorId(), getPosDisplayUserId(), getPostUpdateUserId(), getPosUserAlias(), and getPublicUserInformation().
ilForumCronNotificationDataProvider::getPostUserName | ( | \ilLanguage | $user_lang | ) |
\ilLanguage | $user_lang |
Implements ilForumNotificationMailData.
Definition at line 430 of file class.ilForumCronNotificationDataProvider.php.
References $post_user_name, getImportName(), getPosAuthorId(), getPosDisplayUserId(), getPosUserAlias(), and getPublicUserInformation().
ilForumCronNotificationDataProvider::getPosUserAlias | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 373 of file class.ilForumCronNotificationDataProvider.php.
References $pos_usr_alias.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilForumCronNotificationDataProvider::getPublicUserInformation | ( | ilForumAuthorInformation | $authorinfo | ) |
ilForumAuthorInformation | $authorinfo |
Definition at line 475 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 236 of file class.ilForumCronNotificationDataProvider.php.
References $ref_id.
ilForumCronNotificationDataProvider::getThreadId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 268 of file class.ilForumCronNotificationDataProvider.php.
References $thread_id.
ilForumCronNotificationDataProvider::getThreadTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 276 of file class.ilForumCronNotificationDataProvider.php.
References $thread_title.
ilForumCronNotificationDataProvider::isAnonymized | ( | ) |
Definition at line 406 of file class.ilForumCronNotificationDataProvider.php.
References $is_anonymized.
Referenced by getPublicUserInformation().
|
protected |
Definition at line 196 of file class.ilForumCronNotificationDataProvider.php.
References readAttachments().
Referenced by __construct().
|
private |
Definition at line 204 of file class.ilForumCronNotificationDataProvider.php.
References getObjId(), getPostId(), and ilForumProperties\isSendAttachmentsByMailEnabled().
Referenced by read().
ilForumCronNotificationDataProvider::setNotificationType | ( | $notification_type | ) |
null | $notification_type |
Definition at line 356 of file class.ilForumCronNotificationDataProvider.php.
References $notification_type.
ilForumCronNotificationDataProvider::setPosAuthorId | ( | $pos_author_id | ) |
Definition at line 394 of file class.ilForumCronNotificationDataProvider.php.
References $pos_author_id.
ilForumCronNotificationDataProvider::setPostUpdateUserId | ( | $post_update_user_id | ) |
int | $post_update_user_id |
Definition at line 389 of file class.ilForumCronNotificationDataProvider.php.
References $post_update_user_id.
|
protected |
Definition at line 102 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getAttachments().
|
staticprotected |
Definition at line 132 of file class.ilForumCronNotificationDataProvider.php.
|
protected |
Definition at line 107 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getCronRecipients().
ilForumCronNotificationDataProvider::$deleted_by = '' |
Definition at line 127 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getDeletedBy().
|
protected |
Definition at line 29 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getForumId().
|
protected |
Definition at line 34 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getForumTitle().
|
protected |
Definition at line 97 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getImportName().
|
protected |
Definition at line 92 of file class.ilForumCronNotificationDataProvider.php.
Referenced by isAnonymized().
ilForumCronNotificationDataProvider::$notification_type = null |
Definition at line 14 of file class.ilForumCronNotificationDataProvider.php.
Referenced by setNotificationType().
|
private |
Definition at line 142 of file class.ilForumCronNotificationDataProvider.php.
Referenced by __construct().
|
protected |
Definition at line 24 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getObjId().
ilForumCronNotificationDataProvider::$objPost = null |
Definition at line 112 of file class.ilForumCronNotificationDataProvider.php.
ilForumCronNotificationDataProvider::$pos_author_id = 0 |
Definition at line 122 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPosAuthorId(), and setPosAuthorId().
|
protected |
Definition at line 87 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPosDisplayUserId().
|
protected |
Definition at line 83 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPosUserAlias().
|
protected |
Definition at line 70 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostCensored().
|
protected |
Definition at line 78 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getCensorshipComment().
|
protected |
Definition at line 74 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostCensoredDate().
|
protected |
Definition at line 61 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostDate().
|
protected |
Definition at line 49 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostId().
|
protected |
Definition at line 57 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostMessage().
|
protected |
Definition at line 53 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostTitle().
|
protected |
Definition at line 65 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostUpdate().
ilForumCronNotificationDataProvider::$post_update_user_id = 0 |
Definition at line 117 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostUpdateUserId(), and setPostUpdateUserId().
|
private |
Definition at line 136 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostUserName().
|
protected |
Definition at line 19 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getRefId().
|
protected |
Definition at line 39 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getThreadId().
|
protected |
Definition at line 44 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getThreadTitle().
|
private |
Definition at line 139 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostUpdateUserName().