ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilObjForumNotificationDataProvider. More...
Public Member Functions | ||||
__construct (ilForumPost $objPost, $ref_id, \ilForumNotificationCache $notificationCache) | ||||
getRefId () | ||||
getObjId () | ||||
getThreadId () | ||||
getPostId () | ||||
getForumId () | ||||
getForumTitle () | ||||
getThreadTitle () | ||||
getPostTitle () | ||||
getPostMessage () | ||||
getPosDisplayUserId () | ||||
getPostDate () | ||||
getPostUpdate () | ||||
getPostCensored () | ||||
getPostCensoredDate () | ||||
getCensorshipComment () | ||||
getAttachments () | ||||
getPosUserAlias () | ||||
isAnonymized () | ||||
getImportName () | ||||
getPostUpdateUserId () | ||||
| ||||
getPostUserName (\ilLanguage $user_lang) | ||||
| ||||
getPostUpdateUserName (\ilLanguage $user_lang) | ||||
| ||||
getPublicUserInformation (ilForumAuthorInformation $authorinfo) | ||||
getForumNotificationRecipients () | ||||
getThreadNotificationRecipients () | ||||
getPostAnsweredRecipients () | ||||
getPostActivationRecipients () | ||||
setPosAuthorId ($pos_author_id) | ||||
getPosAuthorId () | ||||
getDeletedBy () | ||||
Data Fields | |
$pos_author_id = 0 | |
$objPost | |
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_title = '' | |
$attachments = [] | |
$is_anonymized = false | |
Private Member Functions | |
readThreadTitle () | |
readForumData () | |
readAttachments () | |
getRefIdsByObjId (int $objId) | |
createRecipientArray (\ilPDOStatement $statement) | |
shouldUsePseudonym () | |
Private Attributes | |
$db | |
$access | |
$user | |
$notificationCache | |
Class ilObjForumNotificationDataProvider.
Definition at line 8 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::__construct | ( | ilForumPost | $objPost, |
$ref_id, | |||
\ilForumNotificationCache | $notificationCache | ||
) |
ilForumPost | $objPost | |
int | $ref_id | |
ilForumNotificationCache | $notificationCache |
Definition at line 47 of file class.ilObjForumNotificationDataProvider.php.
References $DIC, $notificationCache, $objPost, $ref_id, ilObject\_lookupObjId(), read(), and user().
|
private |
\ilPDOStatement | $statement | - statement to be executed by the database needs to a 'user_id' as result |
Definition at line 520 of file class.ilObjForumNotificationDataProvider.php.
References $row, getObjId(), and getRefIdsByObjId().
Referenced by getForumNotificationRecipients(), and getThreadNotificationRecipients().
ilObjForumNotificationDataProvider::getAttachments | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 181 of file class.ilObjForumNotificationDataProvider.php.
References $attachments.
ilObjForumNotificationDataProvider::getCensorshipComment | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 173 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getDeletedBy | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 539 of file class.ilObjForumNotificationDataProvider.php.
References $DIC, and shouldUsePseudonym().
ilObjForumNotificationDataProvider::getForumId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 97 of file class.ilObjForumNotificationDataProvider.php.
References $forum_id.
Referenced by getForumNotificationRecipients().
ilObjForumNotificationDataProvider::getForumNotificationRecipients | ( | ) |
Definition at line 372 of file class.ilObjForumNotificationDataProvider.php.
References $res, createRecipientArray(), getForumId(), and user().
Referenced by ilForumAppEventListener\delegateNotification().
ilObjForumNotificationDataProvider::getForumTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 105 of file class.ilObjForumNotificationDataProvider.php.
References $forum_title.
ilObjForumNotificationDataProvider::getImportName | ( | ) |
Definition at line 204 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilObjForumNotificationDataProvider::getObjId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 73 of file class.ilObjForumNotificationDataProvider.php.
References $obj_id.
Referenced by createRecipientArray(), readAttachments(), readForumData(), and readThreadTitle().
ilObjForumNotificationDataProvider::getPosAuthorId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 492 of file class.ilObjForumNotificationDataProvider.php.
References $pos_author_id.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilObjForumNotificationDataProvider::getPosDisplayUserId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 137 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUserName().
ilObjForumNotificationDataProvider::getPostActivationRecipients | ( | ) |
Definition at line 463 of file class.ilObjForumNotificationDataProvider.php.
References ilForum\_getModerators(), and getRefId().
Referenced by ilForumAppEventListener\delegateNotification().
ilObjForumNotificationDataProvider::getPostAnsweredRecipients | ( | ) |
Definition at line 440 of file class.ilObjForumNotificationDataProvider.php.
Referenced by ilForumAppEventListener\delegateNotification().
ilObjForumNotificationDataProvider::getPostCensored | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 160 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostCensoredDate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 168 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostDate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 145 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 89 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostMessage | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 129 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 121 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostUpdate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 153 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostUpdateUserId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 212 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUpdateUserName().
ilObjForumNotificationDataProvider::getPostUpdateUserName | ( | \ilLanguage | $user_lang | ) |
\ilLanguage | $user_lang |
Implements ilForumNotificationMailData.
Definition at line 240 of file class.ilObjForumNotificationDataProvider.php.
References $update_user_name, getImportName(), getPosAuthorId(), getPostUpdateUserId(), getPosUserAlias(), and getPublicUserInformation().
ilObjForumNotificationDataProvider::getPostUserName | ( | \ilLanguage | $user_lang | ) |
\ilLanguage | $user_lang |
Implements ilForumNotificationMailData.
Definition at line 220 of file class.ilObjForumNotificationDataProvider.php.
References $post_user_name, getImportName(), getPosAuthorId(), getPosDisplayUserId(), getPosUserAlias(), and getPublicUserInformation().
ilObjForumNotificationDataProvider::getPosUserAlias | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 189 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilObjForumNotificationDataProvider::getPublicUserInformation | ( | ilForumAuthorInformation | $authorinfo | ) |
ilForumAuthorInformation | $authorinfo |
Definition at line 267 of file class.ilObjForumNotificationDataProvider.php.
References ilForumAuthorInformation\getAuthorName(), ilForumAuthorInformation\getAuthorShortName(), ilForumAuthorInformation\hasSuffix(), and isAnonymized().
Referenced by getPostUpdateUserName(), and getPostUserName().
ilObjForumNotificationDataProvider::getRefId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 65 of file class.ilObjForumNotificationDataProvider.php.
References $ref_id.
Referenced by getPostActivationRecipients().
|
private |
int | $objId |
Definition at line 501 of file class.ilObjForumNotificationDataProvider.php.
References ilObject\_getAllReferences().
Referenced by createRecipientArray().
ilObjForumNotificationDataProvider::getThreadId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 81 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getThreadNotificationRecipients().
ilObjForumNotificationDataProvider::getThreadNotificationRecipients | ( | ) |
Definition at line 404 of file class.ilObjForumNotificationDataProvider.php.
References $res, createRecipientArray(), getThreadId(), and user().
Referenced by ilForumAppEventListener\delegateNotification().
ilObjForumNotificationDataProvider::getThreadTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 113 of file class.ilObjForumNotificationDataProvider.php.
References $thread_title.
ilObjForumNotificationDataProvider::isAnonymized | ( | ) |
Definition at line 197 of file class.ilObjForumNotificationDataProvider.php.
References $is_anonymized.
Referenced by getPublicUserInformation().
|
protected |
Definition at line 285 of file class.ilObjForumNotificationDataProvider.php.
References readAttachments(), readForumData(), and readThreadTitle().
Referenced by __construct().
|
private |
Definition at line 354 of file class.ilObjForumNotificationDataProvider.php.
References getObjId(), and ilForumProperties\isSendAttachmentsByMailEnabled().
Referenced by read().
|
private |
Definition at line 322 of file class.ilObjForumNotificationDataProvider.php.
References $result, $row, and getObjId().
Referenced by read().
|
private |
Definition at line 295 of file class.ilObjForumNotificationDataProvider.php.
References $result, $row, and getObjId().
Referenced by read().
ilObjForumNotificationDataProvider::setPosAuthorId | ( | $pos_author_id | ) |
$pos_author_id |
Definition at line 484 of file class.ilObjForumNotificationDataProvider.php.
References $pos_author_id.
|
private |
Definition at line 552 of file class.ilObjForumNotificationDataProvider.php.
References $DIC.
Referenced by getDeletedBy().
|
private |
Definition at line 31 of file class.ilObjForumNotificationDataProvider.php.
|
protected |
Definition at line 27 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getAttachments().
|
private |
Definition at line 30 of file class.ilObjForumNotificationDataProvider.php.
|
protected |
Definition at line 21 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getForumId().
|
protected |
Definition at line 23 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getForumTitle().
|
protected |
Definition at line 37 of file class.ilObjForumNotificationDataProvider.php.
Referenced by isAnonymized().
|
private |
Definition at line 40 of file class.ilObjForumNotificationDataProvider.php.
Referenced by __construct().
|
protected |
Definition at line 13 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getObjId().
ilObjForumNotificationDataProvider::$objPost |
Definition at line 29 of file class.ilObjForumNotificationDataProvider.php.
Referenced by __construct().
ilObjForumNotificationDataProvider::$pos_author_id = 0 |
Definition at line 19 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPosAuthorId(), and setPosAuthorId().
|
protected |
Definition at line 15 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUserName().
|
protected |
Definition at line 11 of file class.ilObjForumNotificationDataProvider.php.
Referenced by __construct(), and getRefId().
|
protected |
Definition at line 25 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getThreadTitle().
|
protected |
Definition at line 17 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUpdateUserName().
|
private |
Definition at line 32 of file class.ilObjForumNotificationDataProvider.php.