ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilObjForumNotificationDataProvider. More...
Public Member Functions | ||||
__construct (ilForumPost $objPost, $ref_id) | ||||
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 = array() | |
$is_anonymized = false | |
Private Member Functions | |
readThreadTitle () | |
readForumData () | |
readAttachments () | |
shouldUsePseudonym () | |
Private Attributes | |
$db | |
$access | |
$user | |
Class ilObjForumNotificationDataProvider.
Definition at line 11 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::__construct | ( | ilForumPost | $objPost, |
$ref_id | |||
) |
ilForumPost | $objPost | |
int | $ref_id |
Definition at line 75 of file class.ilObjForumNotificationDataProvider.php.
References $DIC, $objPost, $ref_id, ilObject\_lookupObjId(), read(), and user().
ilObjForumNotificationDataProvider::getAttachments | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 207 of file class.ilObjForumNotificationDataProvider.php.
References $attachments.
ilObjForumNotificationDataProvider::getCensorshipComment | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 199 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getDeletedBy | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 485 of file class.ilObjForumNotificationDataProvider.php.
References $DIC, and shouldUsePseudonym().
ilObjForumNotificationDataProvider::getForumId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 123 of file class.ilObjForumNotificationDataProvider.php.
References $forum_id.
Referenced by getForumNotificationRecipients().
ilObjForumNotificationDataProvider::getForumNotificationRecipients | ( | ) |
Definition at line 378 of file class.ilObjForumNotificationDataProvider.php.
References $ref_id, $res, $row, ilObject\_getAllReferences(), array, getForumId(), getObjId(), and user().
Referenced by ilForumAppEventListener\delegateNotification().
ilObjForumNotificationDataProvider::getForumTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 131 of file class.ilObjForumNotificationDataProvider.php.
References $forum_title.
ilObjForumNotificationDataProvider::getImportName | ( | ) |
Definition at line 230 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilObjForumNotificationDataProvider::getObjId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 99 of file class.ilObjForumNotificationDataProvider.php.
References $obj_id.
Referenced by getForumNotificationRecipients(), getThreadNotificationRecipients(), readAttachments(), and readForumData().
ilObjForumNotificationDataProvider::getPosAuthorId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 477 of file class.ilObjForumNotificationDataProvider.php.
References $pos_author_id.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilObjForumNotificationDataProvider::getPosDisplayUserId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 163 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUserName().
ilObjForumNotificationDataProvider::getPostActivationRecipients | ( | ) |
Definition at line 458 of file class.ilObjForumNotificationDataProvider.php.
References ilForum\_getModerators(), array, and getRefId().
Referenced by ilForumAppEventListener\delegateNotification().
ilObjForumNotificationDataProvider::getPostAnsweredRecipients | ( | ) |
Definition at line 444 of file class.ilObjForumNotificationDataProvider.php.
References array, and ilForumPost\getPosAuthorId().
Referenced by ilForumAppEventListener\delegateNotification().
ilObjForumNotificationDataProvider::getPostCensored | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 186 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostCensoredDate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 194 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostDate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 171 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 115 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostMessage | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 155 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 147 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostUpdate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 179 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostUpdateUserId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 238 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUpdateUserName().
ilObjForumNotificationDataProvider::getPostUpdateUserName | ( | \ilLanguage | $user_lang | ) |
\ilLanguage | $user_lang |
Implements ilForumNotificationMailData.
Definition at line 266 of file class.ilObjForumNotificationDataProvider.php.
References $update_user_name, array, getImportName(), getPosAuthorId(), getPostUpdateUserId(), getPosUserAlias(), and getPublicUserInformation().
ilObjForumNotificationDataProvider::getPostUserName | ( | \ilLanguage | $user_lang | ) |
\ilLanguage | $user_lang |
Implements ilForumNotificationMailData.
Definition at line 246 of file class.ilObjForumNotificationDataProvider.php.
References $post_user_name, array, getImportName(), getPosAuthorId(), getPosDisplayUserId(), getPosUserAlias(), and getPublicUserInformation().
ilObjForumNotificationDataProvider::getPosUserAlias | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 215 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilObjForumNotificationDataProvider::getPublicUserInformation | ( | ilForumAuthorInformation | $authorinfo | ) |
ilForumAuthorInformation | $authorinfo |
Definition at line 293 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 91 of file class.ilObjForumNotificationDataProvider.php.
References $ref_id.
Referenced by getPostActivationRecipients().
ilObjForumNotificationDataProvider::getThreadId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 107 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getThreadNotificationRecipients().
ilObjForumNotificationDataProvider::getThreadNotificationRecipients | ( | ) |
Definition at line 410 of file class.ilObjForumNotificationDataProvider.php.
References $ref_id, $res, $row, ilObject\_getAllReferences(), array, getObjId(), getThreadId(), and user().
Referenced by ilForumAppEventListener\delegateNotification().
ilObjForumNotificationDataProvider::getThreadTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 139 of file class.ilObjForumNotificationDataProvider.php.
References $thread_title.
ilObjForumNotificationDataProvider::isAnonymized | ( | ) |
Definition at line 223 of file class.ilObjForumNotificationDataProvider.php.
References $is_anonymized.
Referenced by getPublicUserInformation().
|
protected |
Definition at line 311 of file class.ilObjForumNotificationDataProvider.php.
References readAttachments(), readForumData(), and readThreadTitle().
Referenced by __construct().
|
private |
Definition at line 358 of file class.ilObjForumNotificationDataProvider.php.
References getObjId(), and ilForumProperties\isSendAttachmentsByMailEnabled().
Referenced by read().
|
private |
Definition at line 338 of file class.ilObjForumNotificationDataProvider.php.
References $result, $row, array, and getObjId().
Referenced by read().
|
private |
ilObjForumNotificationDataProvider::setPosAuthorId | ( | $pos_author_id | ) |
$pos_author_id |
Definition at line 469 of file class.ilObjForumNotificationDataProvider.php.
References $pos_author_id.
|
private |
Definition at line 498 of file class.ilObjForumNotificationDataProvider.php.
References $DIC.
Referenced by getDeletedBy().
|
private |
Definition at line 63 of file class.ilObjForumNotificationDataProvider.php.
Definition at line 55 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getAttachments().
|
private |
Definition at line 62 of file class.ilObjForumNotificationDataProvider.php.
|
protected |
Definition at line 40 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getForumId().
|
protected |
Definition at line 45 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getForumTitle().
|
protected |
Definition at line 69 of file class.ilObjForumNotificationDataProvider.php.
Referenced by isAnonymized().
|
protected |
Definition at line 21 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getObjId().
ilObjForumNotificationDataProvider::$objPost |
Definition at line 60 of file class.ilObjForumNotificationDataProvider.php.
Referenced by __construct().
ilObjForumNotificationDataProvider::$pos_author_id = 0 |
Definition at line 36 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPosAuthorId(), and setPosAuthorId().
|
protected |
Definition at line 26 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUserName().
|
protected |
Definition at line 16 of file class.ilObjForumNotificationDataProvider.php.
Referenced by __construct(), getForumNotificationRecipients(), getRefId(), and getThreadNotificationRecipients().
|
protected |
Definition at line 50 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getThreadTitle().
|
protected |
Definition at line 31 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUpdateUserName().
|
private |
Definition at line 64 of file class.ilObjForumNotificationDataProvider.php.