ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilObjForumNotificationDataProvider. More...
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 | |
$closest_container = null | |
$forum_title = '' | |
$thread_title = '' | |
$attachments = [] | |
$is_anonymized = false | |
Private Member Functions | |
readThreadTitle () | |
readForumData () | |
readAttachments () | |
getRefIdsByObjId (int $objId) | |
createRecipientArray (\ilPDOStatement $statement) | |
Private Attributes | |
$db | |
$access | |
$user | |
$tree | |
$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 51 of file class.ilObjForumNotificationDataProvider.php.
References $DIC, $notificationCache, $objPost, $ref_id, ilObject\_lookupObjId(), read(), and user().
ilObjForumNotificationDataProvider::closestContainer | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 107 of file class.ilObjForumNotificationDataProvider.php.
References $closest_container.
|
private |
\ilPDOStatement | $statement | - statement to be executed by the database needs to a 'user_id' as result |
Definition at line 566 of file class.ilObjForumNotificationDataProvider.php.
References $refId, getObjId(), and getRefIdsByObjId().
Referenced by getForumNotificationRecipients(), and getThreadNotificationRecipients().
ilObjForumNotificationDataProvider::determineClosestContainer | ( | int | $frm_ref_id | ) |
Definition at line 374 of file class.ilObjForumNotificationDataProvider.php.
References $container, $ref_id, and ilObjectFactory\getInstanceByRefId().
Referenced by readForumData().
ilObjForumNotificationDataProvider::getAttachments | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 196 of file class.ilObjForumNotificationDataProvider.php.
References $attachments.
ilObjForumNotificationDataProvider::getCensorshipComment | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 188 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getDeletedBy | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 585 of file class.ilObjForumNotificationDataProvider.php.
References $DIC.
ilObjForumNotificationDataProvider::getForumId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 102 of file class.ilObjForumNotificationDataProvider.php.
References $forum_id.
Referenced by getForumNotificationRecipients().
ilObjForumNotificationDataProvider::getForumNotificationRecipients | ( | ) |
Definition at line 418 of file class.ilObjForumNotificationDataProvider.php.
References $res, createRecipientArray(), getForumId(), and user().
Referenced by ilForumAppEventListener\delegateNotification().
ilObjForumNotificationDataProvider::getForumTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 120 of file class.ilObjForumNotificationDataProvider.php.
References $forum_title.
ilObjForumNotificationDataProvider::getImportName | ( | ) |
Definition at line 219 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilObjForumNotificationDataProvider::getObjId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 78 of file class.ilObjForumNotificationDataProvider.php.
References $obj_id.
Referenced by createRecipientArray(), readAttachments(), readForumData(), and readThreadTitle().
ilObjForumNotificationDataProvider::getPosAuthorId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 538 of file class.ilObjForumNotificationDataProvider.php.
References $pos_author_id.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilObjForumNotificationDataProvider::getPosDisplayUserId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 152 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUserName().
ilObjForumNotificationDataProvider::getPostActivationRecipients | ( | ) |
Definition at line 509 of file class.ilObjForumNotificationDataProvider.php.
References ilForum\_getModerators(), and getRefId().
Referenced by ilForumAppEventListener\delegateNotification().
ilObjForumNotificationDataProvider::getPostAnsweredRecipients | ( | ) |
Definition at line 486 of file class.ilObjForumNotificationDataProvider.php.
Referenced by ilForumAppEventListener\delegateNotification().
ilObjForumNotificationDataProvider::getPostCensored | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 175 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostCensoredDate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 183 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostDate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 160 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 94 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostMessage | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 144 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 136 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostUpdate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 168 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostUpdateUserId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 227 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUpdateUserName().
ilObjForumNotificationDataProvider::getPostUpdateUserName | ( | \ilLanguage | $user_lang | ) |
\ilLanguage | $user_lang |
Implements ilForumNotificationMailData.
Definition at line 255 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 235 of file class.ilObjForumNotificationDataProvider.php.
References $post_user_name, getImportName(), getPosAuthorId(), getPosDisplayUserId(), getPosUserAlias(), and getPublicUserInformation().
ilObjForumNotificationDataProvider::getPosUserAlias | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 204 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilObjForumNotificationDataProvider::getPublicUserInformation | ( | ilForumAuthorInformation | $authorinfo | ) |
ilForumAuthorInformation | $authorinfo |
Definition at line 282 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 70 of file class.ilObjForumNotificationDataProvider.php.
References $ref_id.
Referenced by getPostActivationRecipients(), and readForumData().
|
private |
int | $objId |
Definition at line 547 of file class.ilObjForumNotificationDataProvider.php.
References ilObject\_getAllReferences().
Referenced by createRecipientArray().
ilObjForumNotificationDataProvider::getThreadId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 86 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getThreadNotificationRecipients().
ilObjForumNotificationDataProvider::getThreadNotificationRecipients | ( | ) |
Definition at line 450 of file class.ilObjForumNotificationDataProvider.php.
References $res, createRecipientArray(), getThreadId(), and user().
Referenced by ilForumAppEventListener\delegateNotification().
ilObjForumNotificationDataProvider::getThreadTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 128 of file class.ilObjForumNotificationDataProvider.php.
References $thread_title.
ilObjForumNotificationDataProvider::isAnonymized | ( | ) |
Definition at line 212 of file class.ilObjForumNotificationDataProvider.php.
References $is_anonymized.
Referenced by getPublicUserInformation().
ilObjForumNotificationDataProvider::providesClosestContainer | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 112 of file class.ilObjForumNotificationDataProvider.php.
|
protected |
Definition at line 300 of file class.ilObjForumNotificationDataProvider.php.
References readAttachments(), readForumData(), and readThreadTitle().
Referenced by __construct().
|
private |
Definition at line 400 of file class.ilObjForumNotificationDataProvider.php.
References ANONYMOUS_USER_ID, ilFileDataForum\getFilesOfPost(), getObjId(), and ilForumProperties\isSendAttachmentsByMailEnabled().
Referenced by read().
|
private |
Definition at line 337 of file class.ilObjForumNotificationDataProvider.php.
References $container, $result, determineClosestContainer(), getObjId(), and getRefId().
Referenced by read().
|
private |
Definition at line 310 of file class.ilObjForumNotificationDataProvider.php.
References $result, and getObjId().
Referenced by read().
ilObjForumNotificationDataProvider::setPosAuthorId | ( | $pos_author_id | ) |
$pos_author_id |
Definition at line 530 of file class.ilObjForumNotificationDataProvider.php.
References $pos_author_id.
|
private |
Definition at line 33 of file class.ilObjForumNotificationDataProvider.php.
|
protected |
Definition at line 29 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getAttachments().
|
protected |
Definition at line 23 of file class.ilObjForumNotificationDataProvider.php.
Referenced by closestContainer().
|
private |
Definition at line 32 of file class.ilObjForumNotificationDataProvider.php.
|
protected |
Definition at line 21 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getForumId().
|
protected |
Definition at line 25 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getForumTitle().
|
protected |
Definition at line 41 of file class.ilObjForumNotificationDataProvider.php.
Referenced by isAnonymized().
|
private |
Definition at line 44 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 31 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(), determineClosestContainer(), and getRefId().
|
protected |
Definition at line 27 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getThreadTitle().
|
private |
Definition at line 36 of file class.ilObjForumNotificationDataProvider.php.
|
protected |
Definition at line 17 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUpdateUserName().
|
private |
Definition at line 34 of file class.ilObjForumNotificationDataProvider.php.