ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilForumCronNotificationDataProvider. More...
Public Member Functions | ||||
__construct ($row, ilForumNotificationCache $notificationCache=null) | ||||
addRecipient ($user_id) | ||||
getCronRecipients () | ||||
getRefId () | ||||
getObjId () | ||||
getForumId () | ||||
closestContainer () | ||||
providesClosestContainer () | ||||
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 | |
$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 | |
$closest_container = null | |
$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 146 of file class.ilForumCronNotificationDataProvider.php.
References $DIC, $notificationCache, and read().
ilForumCronNotificationDataProvider::addRecipient | ( | $user_id | ) |
int | $user_id |
Definition at line 220 of file class.ilForumCronNotificationDataProvider.php.
ilForumCronNotificationDataProvider::closestContainer | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 257 of file class.ilForumCronNotificationDataProvider.php.
References $closest_container.
ilForumCronNotificationDataProvider::getAttachments | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 358 of file class.ilForumCronNotificationDataProvider.php.
References $attachments.
|
private |
ilLanguage | $lng | |
$authorUsrId | ||
$displayUserId | ||
$usrAlias | ||
$importName |
Definition at line 504 of file class.ilForumCronNotificationDataProvider.php.
References ilLanguage\getLangKey().
ilForumCronNotificationDataProvider::getCensorshipComment | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 350 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 424 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 270 of file class.ilForumCronNotificationDataProvider.php.
References $forum_title.
ilForumCronNotificationDataProvider::getImportName | ( | ) |
Definition at line 432 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 408 of file class.ilForumCronNotificationDataProvider.php.
References $pos_author_id.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilForumCronNotificationDataProvider::getPosDisplayUserId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 374 of file class.ilForumCronNotificationDataProvider.php.
References $pos_display_user_id.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilForumCronNotificationDataProvider::getPostCensored | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 334 of file class.ilForumCronNotificationDataProvider.php.
References $post_censored.
ilForumCronNotificationDataProvider::getPostCensoredDate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 342 of file class.ilForumCronNotificationDataProvider.php.
References $post_censored_date.
ilForumCronNotificationDataProvider::getPostDate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 318 of file class.ilForumCronNotificationDataProvider.php.
References $post_date.
ilForumCronNotificationDataProvider::getPostId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 294 of file class.ilForumCronNotificationDataProvider.php.
References $post_id.
Referenced by readAttachments().
ilForumCronNotificationDataProvider::getPostMessage | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 310 of file class.ilForumCronNotificationDataProvider.php.
References $post_message.
ilForumCronNotificationDataProvider::getPostTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 302 of file class.ilForumCronNotificationDataProvider.php.
References $post_title.
ilForumCronNotificationDataProvider::getPostUpdate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 326 of file class.ilForumCronNotificationDataProvider.php.
References $post_update.
ilForumCronNotificationDataProvider::getPostUpdateUserId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 391 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 458 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 440 of file class.ilForumCronNotificationDataProvider.php.
References $post_user_name, getImportName(), getPosAuthorId(), getPosDisplayUserId(), getPosUserAlias(), and getPublicUserInformation().
ilForumCronNotificationDataProvider::getPosUserAlias | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 383 of file class.ilForumCronNotificationDataProvider.php.
References $pos_usr_alias.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilForumCronNotificationDataProvider::getPublicUserInformation | ( | ilForumAuthorInformation | $authorinfo | ) |
ilForumAuthorInformation | $authorinfo |
Definition at line 483 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 278 of file class.ilForumCronNotificationDataProvider.php.
References $thread_id.
ilForumCronNotificationDataProvider::getThreadTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 286 of file class.ilForumCronNotificationDataProvider.php.
References $thread_title.
ilForumCronNotificationDataProvider::isAnonymized | ( | ) |
Definition at line 416 of file class.ilForumCronNotificationDataProvider.php.
References $is_anonymized.
Referenced by getPublicUserInformation().
ilForumCronNotificationDataProvider::providesClosestContainer | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 262 of file class.ilForumCronNotificationDataProvider.php.
|
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 366 of file class.ilForumCronNotificationDataProvider.php.
References $notification_type.
ilForumCronNotificationDataProvider::setPosAuthorId | ( | $pos_author_id | ) |
Definition at line 404 of file class.ilForumCronNotificationDataProvider.php.
References $pos_author_id.
ilForumCronNotificationDataProvider::setPostUpdateUserId | ( | $post_update_user_id | ) |
int | $post_update_user_id |
Definition at line 399 of file class.ilForumCronNotificationDataProvider.php.
References $post_update_user_id.
|
protected |
Definition at line 105 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getAttachments().
|
staticprotected |
Definition at line 130 of file class.ilForumCronNotificationDataProvider.php.
|
private |
Definition at line 32 of file class.ilForumCronNotificationDataProvider.php.
Referenced by closestContainer().
|
protected |
Definition at line 110 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getCronRecipients().
ilForumCronNotificationDataProvider::$deleted_by = '' |
Definition at line 125 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 37 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getForumTitle().
|
protected |
Definition at line 100 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getImportName().
|
protected |
Definition at line 95 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 140 of file class.ilForumCronNotificationDataProvider.php.
Referenced by __construct().
|
protected |
Definition at line 24 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getObjId().
ilForumCronNotificationDataProvider::$pos_author_id = 0 |
Definition at line 120 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPosAuthorId(), and setPosAuthorId().
|
protected |
Definition at line 90 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPosDisplayUserId().
|
protected |
Definition at line 86 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPosUserAlias().
|
protected |
Definition at line 73 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostCensored().
|
protected |
Definition at line 81 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getCensorshipComment().
|
protected |
Definition at line 77 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostCensoredDate().
|
protected |
Definition at line 64 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostDate().
|
protected |
Definition at line 52 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostId().
|
protected |
Definition at line 60 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostMessage().
|
protected |
Definition at line 56 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostTitle().
|
protected |
Definition at line 68 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostUpdate().
ilForumCronNotificationDataProvider::$post_update_user_id = 0 |
Definition at line 115 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostUpdateUserId(), and setPostUpdateUserId().
|
private |
Definition at line 134 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 42 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getThreadId().
|
protected |
Definition at line 47 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getThreadTitle().
|
private |
Definition at line 137 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostUpdateUserName().