ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 () | ||||
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 () | |
Class ilObjForumNotificationDataProvider.
Definition at line 12 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::__construct | ( | ilForumPost | $objPost, |
$ref_id | |||
) |
ilForumPost | $objPost | |
int | $ref_id |
Definition at line 71 of file class.ilObjForumNotificationDataProvider.php.
References $objPost, $ref_id, ilObject\_lookupObjId(), and read().
ilObjForumNotificationDataProvider::getAttachments | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 198 of file class.ilObjForumNotificationDataProvider.php.
References $attachments.
ilObjForumNotificationDataProvider::getCensorshipComment | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 190 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getForumId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 114 of file class.ilObjForumNotificationDataProvider.php.
References $forum_id.
Referenced by getForumNotificationRecipients().
ilObjForumNotificationDataProvider::getForumNotificationRecipients | ( | ) |
Definition at line 367 of file class.ilObjForumNotificationDataProvider.php.
References $ilDB, $ilUser, $ref_id, $res, $row, ilObject\_getAllReferences(), array, getForumId(), and getObjId().
Referenced by ilForumAppEventListener\delegateNotification().
ilObjForumNotificationDataProvider::getForumTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 122 of file class.ilObjForumNotificationDataProvider.php.
References $forum_title.
ilObjForumNotificationDataProvider::getImportName | ( | ) |
Definition at line 221 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilObjForumNotificationDataProvider::getObjId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 90 of file class.ilObjForumNotificationDataProvider.php.
References $obj_id.
Referenced by getForumNotificationRecipients(), getThreadNotificationRecipients(), readAttachments(), and readForumData().
ilObjForumNotificationDataProvider::getPosAuthorId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 466 of file class.ilObjForumNotificationDataProvider.php.
References $pos_author_id.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilObjForumNotificationDataProvider::getPosDisplayUserId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 154 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUserName().
ilObjForumNotificationDataProvider::getPostActivationRecipients | ( | ) |
Definition at line 447 of file class.ilObjForumNotificationDataProvider.php.
References ilForum\_getModerators(), array, and getRefId().
Referenced by ilForumAppEventListener\delegateNotification().
ilObjForumNotificationDataProvider::getPostAnsweredRecipients | ( | ) |
Definition at line 433 of file class.ilObjForumNotificationDataProvider.php.
References array, and ilForumPost\getPosAuthorId().
Referenced by ilForumAppEventListener\delegateNotification().
ilObjForumNotificationDataProvider::getPostCensored | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 177 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostCensoredDate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 185 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostDate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 162 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 106 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostMessage | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 146 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 138 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostUpdate | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 170 of file class.ilObjForumNotificationDataProvider.php.
ilObjForumNotificationDataProvider::getPostUpdateUserId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 229 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUpdateUserName().
ilObjForumNotificationDataProvider::getPostUpdateUserName | ( | \ilLanguage | $user_lang | ) |
\ilLanguage | $user_lang |
Implements ilForumNotificationMailData.
Definition at line 257 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 237 of file class.ilObjForumNotificationDataProvider.php.
References $post_user_name, array, getImportName(), getPosAuthorId(), getPosDisplayUserId(), getPosUserAlias(), and getPublicUserInformation().
ilObjForumNotificationDataProvider::getPosUserAlias | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 206 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUpdateUserName(), and getPostUserName().
ilObjForumNotificationDataProvider::getPublicUserInformation | ( | ilForumAuthorInformation | $authorinfo | ) |
ilForumAuthorInformation | $authorinfo |
Definition at line 278 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 82 of file class.ilObjForumNotificationDataProvider.php.
References $ref_id.
Referenced by getPostActivationRecipients().
ilObjForumNotificationDataProvider::getThreadId | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 98 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getThreadNotificationRecipients().
ilObjForumNotificationDataProvider::getThreadNotificationRecipients | ( | ) |
Definition at line 401 of file class.ilObjForumNotificationDataProvider.php.
References $GLOBALS, $ilDB, $ilUser, $ref_id, $res, $row, ilObject\_getAllReferences(), array, getObjId(), and getThreadId().
Referenced by ilForumAppEventListener\delegateNotification().
ilObjForumNotificationDataProvider::getThreadTitle | ( | ) |
Implements ilForumNotificationMailData.
Definition at line 130 of file class.ilObjForumNotificationDataProvider.php.
References $thread_title.
ilObjForumNotificationDataProvider::isAnonymized | ( | ) |
Definition at line 214 of file class.ilObjForumNotificationDataProvider.php.
References $is_anonymized.
Referenced by getPublicUserInformation().
|
protected |
Definition at line 300 of file class.ilObjForumNotificationDataProvider.php.
References readAttachments(), readForumData(), and readThreadTitle().
Referenced by __construct().
|
private |
Definition at line 345 of file class.ilObjForumNotificationDataProvider.php.
References getObjId().
Referenced by read().
|
private |
Definition at line 326 of file class.ilObjForumNotificationDataProvider.php.
References $ilDB, $result, $row, array, and getObjId().
Referenced by read().
|
private |
ilObjForumNotificationDataProvider::setPosAuthorId | ( | $pos_author_id | ) |
$pos_author_id |
Definition at line 458 of file class.ilObjForumNotificationDataProvider.php.
References $pos_author_id.
Definition at line 56 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getAttachments().
|
protected |
Definition at line 41 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getForumId().
|
protected |
Definition at line 46 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getForumTitle().
|
protected |
Definition at line 65 of file class.ilObjForumNotificationDataProvider.php.
Referenced by isAnonymized().
|
protected |
Definition at line 22 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getObjId().
ilObjForumNotificationDataProvider::$objPost |
Definition at line 61 of file class.ilObjForumNotificationDataProvider.php.
Referenced by __construct().
ilObjForumNotificationDataProvider::$pos_author_id = 0 |
Definition at line 37 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPosAuthorId(), and setPosAuthorId().
|
protected |
Definition at line 27 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUserName().
|
protected |
Definition at line 17 of file class.ilObjForumNotificationDataProvider.php.
Referenced by __construct(), getForumNotificationRecipients(), getRefId(), and getThreadNotificationRecipients().
|
protected |
Definition at line 51 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getThreadTitle().
|
protected |
Definition at line 32 of file class.ilObjForumNotificationDataProvider.php.
Referenced by getPostUpdateUserName().