|
ILIAS
release_8 Revision v8.24
|
Class ilForumNotificationDataProvider. More...
Inheritance diagram for ilForumNotificationDataProvider:
Collaboration diagram for ilForumNotificationDataProvider:Data Fields | |
| int | $pos_author_id = 0 |
| ilForumPost | $objPost |
Protected Member Functions | |
| read () | |
Protected Attributes | |
| int | $ref_id = 0 |
| int | $obj_id = 0 |
| string | $post_user_name = null |
| string | $update_user_name = null |
| int | $forum_id = 0 |
| ilObject | $closest_container = null |
| string | $forum_title = '' |
| string | $thread_title = '' |
| array | $attachments = [] |
| bool | $is_anonymized = false |
Private Member Functions | |
| readThreadTitle () | |
| readForumData () | |
| readAttachments () | |
| getRefIdsByObjId (int $objId) | |
| createRecipientArray (ilDBStatement $statement) | |
| getEventType (int $notification_type) | |
Private Attributes | |
| ilDBInterface | $db |
| ilAccessHandler | $access |
| ilObjUser | $user |
| ilTree | $tree |
| ilForumNotificationCache | $notificationCache |
Class ilForumNotificationDataProvider.
Definition at line 25 of file class.ilForumNotificationDataProvider.php.
| ilForumNotificationDataProvider::__construct | ( | ilForumPost | $objPost, |
| int | $ref_id, | ||
| ilForumNotificationCache | $notificationCache | ||
| ) |
Definition at line 46 of file class.ilForumNotificationDataProvider.php.
References $DIC, $notificationCache, $objPost, $ref_id, ilObject\_lookupObjId(), ILIAS\Repository\access(), read(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilForumNotificationDataProvider::closestContainer | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 87 of file class.ilForumNotificationDataProvider.php.
References $closest_container.
|
private |
| ilDBStatement | $statement |
Definition at line 492 of file class.ilForumNotificationDataProvider.php.
References $refId, ILIAS\Repository\access(), getObjId(), getRefIdsByObjId(), and ILIAS\Repository\int().
Referenced by getForumNotificationRecipients(), and getThreadNotificationRecipients().
Here is the call graph for this function:
Here is the caller graph for this function:| ilForumNotificationDataProvider::determineClosestContainer | ( | int | $frm_ref_id | ) |
Definition at line 293 of file class.ilForumNotificationDataProvider.php.
References $container, $ref_id, and ilObjectFactory\getInstanceByRefId().
Referenced by readForumData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilForumNotificationDataProvider::getAttachments | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 147 of file class.ilForumNotificationDataProvider.php.
References $attachments.
| ilForumNotificationDataProvider::getCensorshipComment | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 142 of file class.ilForumNotificationDataProvider.php.
| ilForumNotificationDataProvider::getDeletedBy | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 508 of file class.ilForumNotificationDataProvider.php.
References ILIAS\Repository\user().
Here is the call graph for this function:
|
private |
Definition at line 518 of file class.ilForumNotificationDataProvider.php.
References ilForumNotificationEvents\CENSORED, ilForumNotificationEvents\POST_DELETED, ilForumNotificationEvents\THREAD_DELETED, ilForumMailNotification\TYPE_POST_CENSORED, ilForumMailNotification\TYPE_POST_DELETED, ilForumMailNotification\TYPE_POST_UNCENSORED, ilForumMailNotification\TYPE_POST_UPDATED, ilForumMailNotification\TYPE_THREAD_DELETED, ilForumNotificationEvents\UNCENSORED, and ilForumNotificationEvents\UPDATED.
Referenced by getForumNotificationRecipients(), and getThreadNotificationRecipients().
Here is the caller graph for this function:| ilForumNotificationDataProvider::getForumId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 82 of file class.ilForumNotificationDataProvider.php.
References $forum_id.
Referenced by getForumNotificationRecipients().
Here is the caller graph for this function:| ilForumNotificationDataProvider::getForumNotificationRecipients | ( | int | $notification_type | ) |
| int | $notification_type |
Definition at line 335 of file class.ilForumNotificationDataProvider.php.
References $res, createRecipientArray(), getEventType(), getForumId(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilForumNotificationDataProvider::getForumTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 97 of file class.ilForumNotificationDataProvider.php.
References $forum_title.
| ilForumNotificationDataProvider::getImportName | ( | ) |
Definition at line 162 of file class.ilForumNotificationDataProvider.php.
Referenced by getPostUpdateUserName(), and getPostUserName().
Here is the caller graph for this function:| ilForumNotificationDataProvider::getObjId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 67 of file class.ilForumNotificationDataProvider.php.
References $obj_id.
Referenced by createRecipientArray(), readAttachments(), readForumData(), and readThreadTitle().
Here is the caller graph for this function:| ilForumNotificationDataProvider::getPosAuthorId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 465 of file class.ilForumNotificationDataProvider.php.
References $pos_author_id.
Referenced by getPostUpdateUserName(), and getPostUserName().
Here is the caller graph for this function:| ilForumNotificationDataProvider::getPosDisplayUserId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 117 of file class.ilForumNotificationDataProvider.php.
Referenced by getPostUserName().
Here is the caller graph for this function:| ilForumNotificationDataProvider::getPostActivationRecipients | ( | ) |
Definition at line 442 of file class.ilForumNotificationDataProvider.php.
References ilForum\_getModerators(), and getRefId().
Here is the call graph for this function:| ilForumNotificationDataProvider::getPostCensoredDate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 137 of file class.ilForumNotificationDataProvider.php.
| ilForumNotificationDataProvider::getPostDate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 122 of file class.ilForumNotificationDataProvider.php.
| ilForumNotificationDataProvider::getPostId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 77 of file class.ilForumNotificationDataProvider.php.
| ilForumNotificationDataProvider::getPostMessage | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 112 of file class.ilForumNotificationDataProvider.php.
| ilForumNotificationDataProvider::getPostTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 107 of file class.ilForumNotificationDataProvider.php.
| ilForumNotificationDataProvider::getPostUpdate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 127 of file class.ilForumNotificationDataProvider.php.
| ilForumNotificationDataProvider::getPostUpdateUserId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 167 of file class.ilForumNotificationDataProvider.php.
Referenced by getPostUpdateUserName().
Here is the caller graph for this function:| ilForumNotificationDataProvider::getPostUpdateUserName | ( | ilLanguage | $user_lang | ) |
Implements ilForumNotificationMailData.
Definition at line 189 of file class.ilForumNotificationDataProvider.php.
References $update_user_name, getImportName(), getPosAuthorId(), getPostUpdateUserId(), getPosUserAlias(), and getPublicUserInformation().
Here is the call graph for this function:| ilForumNotificationDataProvider::getPostUserName | ( | ilLanguage | $user_lang | ) |
Implements ilForumNotificationMailData.
Definition at line 172 of file class.ilForumNotificationDataProvider.php.
References $post_user_name, getImportName(), getPosAuthorId(), getPosDisplayUserId(), getPosUserAlias(), and getPublicUserInformation().
Here is the call graph for this function:| ilForumNotificationDataProvider::getPosUserAlias | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 152 of file class.ilForumNotificationDataProvider.php.
Referenced by getPostUpdateUserName(), and getPostUserName().
Here is the caller graph for this function:| ilForumNotificationDataProvider::getPublicUserInformation | ( | ilForumAuthorInformation | $authorinfo | ) |
Definition at line 212 of file class.ilForumNotificationDataProvider.php.
References ilForumAuthorInformation\getAuthorName(), ilForumAuthorInformation\getAuthorShortName(), and ilForumAuthorInformation\hasSuffix().
Referenced by getPostUpdateUserName(), and getPostUserName().
Here is the call graph for this function:
Here is the caller graph for this function:| ilForumNotificationDataProvider::getRefId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 62 of file class.ilForumNotificationDataProvider.php.
References $ref_id.
Referenced by getPostActivationRecipients(), and readForumData().
Here is the caller graph for this function:
|
private |
| int | $objId |
Definition at line 474 of file class.ilForumNotificationDataProvider.php.
References $objId, and ilObject\_getAllReferences().
Referenced by createRecipientArray().
Here is the call graph for this function:
Here is the caller graph for this function:| ilForumNotificationDataProvider::getThreadId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 72 of file class.ilForumNotificationDataProvider.php.
Referenced by getThreadNotificationRecipients().
Here is the caller graph for this function:| ilForumNotificationDataProvider::getThreadNotificationRecipients | ( | int | $notification_type | ) |
| int | $notification_type |
Definition at line 376 of file class.ilForumNotificationDataProvider.php.
References $res, createRecipientArray(), getEventType(), getThreadId(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilForumNotificationDataProvider::getThreadTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 102 of file class.ilForumNotificationDataProvider.php.
References $thread_title.
| ilForumNotificationDataProvider::isAnonymized | ( | ) |
Definition at line 157 of file class.ilForumNotificationDataProvider.php.
References $is_anonymized.
| ilForumNotificationDataProvider::isPostCensored | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 132 of file class.ilForumNotificationDataProvider.php.
| ilForumNotificationDataProvider::providesClosestContainer | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 92 of file class.ilForumNotificationDataProvider.php.
|
protected |
Definition at line 227 of file class.ilForumNotificationDataProvider.php.
References readAttachments(), readForumData(), and readThreadTitle().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 316 of file class.ilForumNotificationDataProvider.php.
References ANONYMOUS_USER_ID, getObjId(), and ilForumProperties\isSendAttachmentsByMailEnabled().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 258 of file class.ilForumNotificationDataProvider.php.
References $container, determineClosestContainer(), getObjId(), getRefId(), and ILIAS\Repository\int().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 234 of file class.ilForumNotificationDataProvider.php.
References getObjId().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilForumNotificationDataProvider::setPosAuthorId | ( | int | $pos_author_id | ) |
Definition at line 460 of file class.ilForumNotificationDataProvider.php.
References $pos_author_id.
|
private |
Definition at line 40 of file class.ilForumNotificationDataProvider.php.
|
protected |
Definition at line 37 of file class.ilForumNotificationDataProvider.php.
Referenced by getAttachments().
|
protected |
Definition at line 34 of file class.ilForumNotificationDataProvider.php.
Referenced by closestContainer().
|
private |
Definition at line 39 of file class.ilForumNotificationDataProvider.php.
|
protected |
Definition at line 32 of file class.ilForumNotificationDataProvider.php.
Referenced by getForumId().
|
protected |
Definition at line 35 of file class.ilForumNotificationDataProvider.php.
Referenced by getForumTitle().
|
protected |
Definition at line 43 of file class.ilForumNotificationDataProvider.php.
Referenced by isAnonymized().
|
private |
Definition at line 44 of file class.ilForumNotificationDataProvider.php.
Referenced by __construct().
|
protected |
Definition at line 28 of file class.ilForumNotificationDataProvider.php.
Referenced by getObjId().
| ilForumPost ilForumNotificationDataProvider::$objPost |
Definition at line 38 of file class.ilForumNotificationDataProvider.php.
Referenced by __construct().
| int ilForumNotificationDataProvider::$pos_author_id = 0 |
Definition at line 31 of file class.ilForumNotificationDataProvider.php.
Referenced by getPosAuthorId(), and setPosAuthorId().
|
protected |
Definition at line 29 of file class.ilForumNotificationDataProvider.php.
Referenced by getPostUserName().
|
protected |
Definition at line 27 of file class.ilForumNotificationDataProvider.php.
Referenced by __construct(), determineClosestContainer(), and getRefId().
|
protected |
Definition at line 36 of file class.ilForumNotificationDataProvider.php.
Referenced by getThreadTitle().
|
private |
Definition at line 42 of file class.ilForumNotificationDataProvider.php.
|
protected |
Definition at line 30 of file class.ilForumNotificationDataProvider.php.
Referenced by getPostUpdateUserName().
|
private |
Definition at line 41 of file class.ilForumNotificationDataProvider.php.