ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilForumCronNotificationDataProvider. More...
Public Member Functions | ||||
__construct ($row) | ||||
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 () | ||||
setDeletedBy ($deleted_by) | ||||
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 | |
$post_user_name = null | |
$update_user_name = null | |
$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, $authorUsrId, $displayUserId, $usrAlias, $importName) | |
Class ilForumCronNotificationDataProvider.
Definition at line 13 of file class.ilForumCronNotificationDataProvider.php.
ilForumCronNotificationDataProvider::__construct | ( | $row | ) |
$row |
Definition at line 151 of file class.ilForumCronNotificationDataProvider.php.
References $DIC, $row, and read().
ilForumCronNotificationDataProvider::addRecipient | ( | $user_id | ) |
int | $user_id |
Definition at line 219 of file class.ilForumCronNotificationDataProvider.php.
ilForumCronNotificationDataProvider::getAttachments | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 347 of file class.ilForumCronNotificationDataProvider.php.
References $attachments.
|
private |
ilLanguage | $lng | |
$authorUsrId | ||
$displayUserId | ||
$usrAlias | ||
$importName |
Definition at line 442 of file class.ilForumCronNotificationDataProvider.php.
References array, ilLanguage\getLangKey(), and string.
ilForumCronNotificationDataProvider::getCensorshipComment | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 339 of file class.ilForumCronNotificationDataProvider.php.
References $post_censored_comment.
ilForumCronNotificationDataProvider::getCronRecipients | ( | ) |
Definition at line 227 of file class.ilForumCronNotificationDataProvider.php.
References $cron_recipients.
ilForumCronNotificationDataProvider::getDeletedBy | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 413 of file class.ilForumCronNotificationDataProvider.php.
References $deleted_by.
ilForumCronNotificationDataProvider::getForumId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 251 of file class.ilForumCronNotificationDataProvider.php.
References $forum_id.
ilForumCronNotificationDataProvider::getForumTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 259 of file class.ilForumCronNotificationDataProvider.php.
References $forum_title.
ilForumCronNotificationDataProvider::getImportName | ( | ) |
Definition at line 429 of file class.ilForumCronNotificationDataProvider.php.
References $import_name.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilForumCronNotificationDataProvider::getObjId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 243 of file class.ilForumCronNotificationDataProvider.php.
References $obj_id.
Referenced by readAttachments().
ilForumCronNotificationDataProvider::getPosAuthorId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 397 of file class.ilForumCronNotificationDataProvider.php.
References $pos_author_id.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilForumCronNotificationDataProvider::getPosDisplayUserId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 363 of file class.ilForumCronNotificationDataProvider.php.
References $pos_display_user_id.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilForumCronNotificationDataProvider::getPostCensored | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 323 of file class.ilForumCronNotificationDataProvider.php.
References $post_censored.
ilForumCronNotificationDataProvider::getPostCensoredDate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 331 of file class.ilForumCronNotificationDataProvider.php.
References $post_censored_date.
ilForumCronNotificationDataProvider::getPostDate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 307 of file class.ilForumCronNotificationDataProvider.php.
References $post_date.
ilForumCronNotificationDataProvider::getPostId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 283 of file class.ilForumCronNotificationDataProvider.php.
References $post_id.
Referenced by readAttachments().
ilForumCronNotificationDataProvider::getPostMessage | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 299 of file class.ilForumCronNotificationDataProvider.php.
References $post_message.
ilForumCronNotificationDataProvider::getPostTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 291 of file class.ilForumCronNotificationDataProvider.php.
References $post_title.
ilForumCronNotificationDataProvider::getPostUpdate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 315 of file class.ilForumCronNotificationDataProvider.php.
References $post_update.
ilForumCronNotificationDataProvider::getPostUpdateUserId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 380 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 489 of file class.ilForumCronNotificationDataProvider.php.
References $update_user_name, getImportName(), getPosAuthorId(), getPosDisplayUserId(), getPostUpdateUserId(), getPosUserAlias(), getPublicUserInformation(), and string.
ilForumCronNotificationDataProvider::getPostUserName | ( | \ilLanguage | $user_lang | ) |
\ilLanguage | $user_lang |
Implements ilForumNotificationMailData.
Definition at line 471 of file class.ilForumCronNotificationDataProvider.php.
References $post_user_name, getImportName(), getPosAuthorId(), getPosDisplayUserId(), getPosUserAlias(), and getPublicUserInformation().
ilForumCronNotificationDataProvider::getPosUserAlias | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 372 of file class.ilForumCronNotificationDataProvider.php.
References $pos_usr_alias.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilForumCronNotificationDataProvider::getPublicUserInformation | ( | ilForumAuthorInformation | $authorinfo | ) |
ilForumAuthorInformation | $authorinfo |
Definition at line 516 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 235 of file class.ilForumCronNotificationDataProvider.php.
References $ref_id.
ilForumCronNotificationDataProvider::getThreadId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 267 of file class.ilForumCronNotificationDataProvider.php.
References $thread_id.
ilForumCronNotificationDataProvider::getThreadTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 275 of file class.ilForumCronNotificationDataProvider.php.
References $thread_title.
ilForumCronNotificationDataProvider::isAnonymized | ( | ) |
Definition at line 405 of file class.ilForumCronNotificationDataProvider.php.
References $is_anonymized.
Referenced by getPublicUserInformation().
|
protected |
Definition at line 194 of file class.ilForumCronNotificationDataProvider.php.
References readAttachments().
Referenced by __construct().
|
private |
Definition at line 202 of file class.ilForumCronNotificationDataProvider.php.
References getObjId(), getPostId(), and ilForumProperties\isSendAttachmentsByMailEnabled().
Referenced by read().
ilForumCronNotificationDataProvider::setDeletedBy | ( | $deleted_by | ) |
int | $deleted_by |
Definition at line 421 of file class.ilForumCronNotificationDataProvider.php.
References $deleted_by.
ilForumCronNotificationDataProvider::setNotificationType | ( | $notification_type | ) |
null | $notification_type |
Definition at line 355 of file class.ilForumCronNotificationDataProvider.php.
References $notification_type.
ilForumCronNotificationDataProvider::setPosAuthorId | ( | $pos_author_id | ) |
Definition at line 393 of file class.ilForumCronNotificationDataProvider.php.
References $pos_author_id.
ilForumCronNotificationDataProvider::setPostUpdateUserId | ( | $post_update_user_id | ) |
int | $post_update_user_id |
Definition at line 388 of file class.ilForumCronNotificationDataProvider.php.
References $post_update_user_id.
Definition at line 116 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getAttachments().
|
staticprotected |
Definition at line 146 of file class.ilForumCronNotificationDataProvider.php.
|
protected |
Definition at line 121 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getCronRecipients().
ilForumCronNotificationDataProvider::$deleted_by = '' |
Definition at line 141 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getDeletedBy(), and setDeletedBy().
|
protected |
Definition at line 43 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getForumId().
|
protected |
Definition at line 48 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getForumTitle().
|
protected |
Definition at line 111 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getImportName().
|
protected |
Definition at line 106 of file class.ilForumCronNotificationDataProvider.php.
Referenced by isAnonymized().
ilForumCronNotificationDataProvider::$notification_type = null |
Definition at line 18 of file class.ilForumCronNotificationDataProvider.php.
Referenced by setNotificationType().
|
protected |
Definition at line 28 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getObjId().
ilForumCronNotificationDataProvider::$objPost = null |
Definition at line 126 of file class.ilForumCronNotificationDataProvider.php.
ilForumCronNotificationDataProvider::$pos_author_id = 0 |
Definition at line 136 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPosAuthorId(), and setPosAuthorId().
|
protected |
Definition at line 101 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPosDisplayUserId().
|
protected |
Definition at line 97 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPosUserAlias().
|
protected |
Definition at line 84 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostCensored().
|
protected |
Definition at line 92 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getCensorshipComment().
|
protected |
Definition at line 88 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostCensoredDate().
|
protected |
Definition at line 75 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostDate().
|
protected |
Definition at line 63 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostId().
|
protected |
Definition at line 71 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostMessage().
|
protected |
Definition at line 67 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostTitle().
|
protected |
Definition at line 79 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostUpdate().
ilForumCronNotificationDataProvider::$post_update_user_id = 0 |
Definition at line 131 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostUpdateUserId(), and setPostUpdateUserId().
|
protected |
Definition at line 33 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostUserName().
|
protected |
Definition at line 23 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getRefId().
|
protected |
Definition at line 53 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getThreadId().
|
protected |
Definition at line 58 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getThreadTitle().
|
protected |
Definition at line 38 of file class.ilForumCronNotificationDataProvider.php.
Referenced by getPostUpdateUserName().