ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Public Member Functions | |
__construct (int $a_id=0, bool $a_is_moderator=false, bool $preventImplicitRead=false) | |
insert () | |
update () | |
isAnyParentDeactivated () | |
reload () | |
activatePost () | |
activatePostAndChildPosts () | |
activateParentPosts () | |
isPostRead () | |
isRead (int $a_user_id=0) | |
hasReplies () | |
isOwner (int $a_user_id=0) | |
setId (int $a_id) | |
getId () | |
setForumId (int $a_forum_id) | |
getForumId () | |
setThreadId (int $a_thread_id) | |
getThreadId () | |
setDisplayUserId (int $a_user_id) | |
getDisplayUserId () | |
setUserAlias (?string $a_user_alias) | |
getUserAlias () | |
setSubject (string $a_subject) | |
getSubject () | |
setMessage (string $a_message) | |
getMessage () | |
setCreateDate (?string $a_createdate) | |
getCreateDate () | |
setChangeDate (?string $a_changedate) | |
getChangeDate () | |
setUpdateUserId (int $a_user_id_update) | |
getUpdateUserId () | |
setCensorship (bool $a_censorship) | |
isCensored () | |
setCensorshipComment (?string $a_comment) | |
getCensorshipComment () | |
setNotification (bool $a_notification) | |
isNotificationEnabled () | |
setImportName (?string $a_import_name) | |
getImportName () | |
setStatus (bool $a_status) | |
isActivated () | |
setTreeId (int $a_tree_id) | |
getTreeId () | |
setParentId (int $a_parent_id) | |
setIsRead (bool $a_is_read) | |
getIsRead () | |
getParentId () | |
setLft (int $a_lft) | |
getLft () | |
setRgt (int $a_rgt) | |
getRgt () | |
setDepth (int $a_depth) | |
getDepth () | |
setThread (ilForumTopic $thread) | |
getThread () | |
setPosAuthorId (int $pos_author_id) | |
getPosAuthorId () | |
isAuthorModerator () | |
setIsAuthorModerator (?bool $is_author_moderator) | |
getCensoredDate () | |
getPostActivationDate () | |
setPostActivationDate (?string $post_activation_date) | |
setCensoredDate (?string $censored_date) | |
assignData (array $row) | |
Static Public Member Functions | |
static | mergePosts (int $sourceThreadId, int $targetThreadId, array $excludedPostIds=[]) |
static | lookupNotificationStatusByPostId (int $post_id) |
static | lookupPostMessage (int $post_id) |
Private Member Functions | |
read () | |
Private Attributes | |
int | $id |
int | $forum_id = 0 |
int | $thread_id = 0 |
int | $display_user_id = 0 |
string | $user_alias = null |
string | $subject = '' |
string | $message = '' |
string | $createdate = null |
string | $changedate = null |
int | $user_id_update = 0 |
bool | $censored = false |
string | $censorship_comment = null |
string | $censored_date = null |
bool | $notification = false |
string | $import_name = null |
bool | $status = true |
int | $tree_id = 0 |
int | $parent_id = 0 |
int | $lft = 0 |
int | $rgt = 0 |
int | $depth = 0 |
ilForumTopic | $objThread = null |
ilDBInterface | $db |
bool | $is_moderator = false |
bool | $is_author_moderator = false |
bool | $post_read = false |
int | $pos_author_id = 0 |
string | $post_activation_date = null |
Definition at line 25 of file class.ilForumPost.php.
ilForumPost::__construct | ( | int | $a_id = 0 , |
bool | $a_is_moderator = false , |
||
bool | $preventImplicitRead = false |
||
) |
ilForumPost::activateParentPosts | ( | ) |
Definition at line 252 of file class.ilForumPost.php.
References $query.
Referenced by activatePost(), and activatePostAndChildPosts().
ilForumPost::activatePost | ( | ) |
Definition at line 199 of file class.ilForumPost.php.
References activateParentPosts(), setPostActivationDate(), and setStatus().
ilForumPost::activatePostAndChildPosts | ( | ) |
Definition at line 218 of file class.ilForumPost.php.
References $query, and activateParentPosts().
ilForumPost::assignData | ( | array | $row | ) |
Definition at line 586 of file class.ilForumPost.php.
References setCensoredDate(), setCensorship(), setCensorshipComment(), setChangeDate(), setCreateDate(), setDepth(), setDisplayUserId(), setForumId(), setImportName(), setIsAuthorModerator(), setIsRead(), setLft(), setMessage(), setNotification(), setParentId(), setPosAuthorId(), setRgt(), setStatus(), setSubject(), setThreadId(), setTreeId(), setUpdateUserId(), and setUserAlias().
ilForumPost::getCensoredDate | ( | ) |
ilForumPost::getCensorshipComment | ( | ) |
Definition at line 441 of file class.ilForumPost.php.
References $censorship_comment.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getChangeDate | ( | ) |
Definition at line 411 of file class.ilForumPost.php.
References $changedate.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getCreateDate | ( | ) |
Definition at line 401 of file class.ilForumPost.php.
References $createdate.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getDepth | ( | ) |
Definition at line 531 of file class.ilForumPost.php.
References $depth.
Referenced by ilObjForumGUI\renderDraftContent(), and ilObjForumGUI\renderPostContent().
ilForumPost::getDisplayUserId | ( | ) |
Definition at line 361 of file class.ilForumPost.php.
References $display_user_id.
Referenced by ilObjForumGUI\doHistoryCheck(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getForumId | ( | ) |
Definition at line 341 of file class.ilForumPost.php.
References $forum_id.
Referenced by ilObjForumGUI\renderSplitButton().
ilForumPost::getId | ( | ) |
Definition at line 331 of file class.ilForumPost.php.
References $id.
Referenced by ilObjForumGUI\ensureValidPageForCurrentPosting(), ilObjForumGUI\renderDraftContent(), ilObjForumGUI\renderPostContent(), ilObjForumGUI\renderSplitButton(), and ilObjForumGUI\viewThreadObject().
ilForumPost::getImportName | ( | ) |
Definition at line 461 of file class.ilForumPost.php.
References $import_name.
Referenced by ilObjForumGUI\doHistoryCheck(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getIsRead | ( | ) |
Definition at line 496 of file class.ilForumPost.php.
References $post_read.
Referenced by isPostRead().
ilForumPost::getLft | ( | ) |
Definition at line 511 of file class.ilForumPost.php.
References $lft.
Referenced by ilForumTopic\getPostTree().
ilForumPost::getMessage | ( | ) |
Definition at line 391 of file class.ilForumPost.php.
References $message.
Referenced by ilObjForumGUI\doHistoryCheck(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getParentId | ( | ) |
ilForumPost::getPosAuthorId | ( | ) |
Definition at line 551 of file class.ilForumPost.php.
References $pos_author_id.
Referenced by ilObjForumGUI\doHistoryCheck(), ilForumNotificationDataProvider\getThreadNotificationRecipients(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getPostActivationDate | ( | ) |
ilForumPost::getRgt | ( | ) |
Definition at line 521 of file class.ilForumPost.php.
References $rgt.
Referenced by ilForumTopic\getPostTree().
ilForumPost::getSubject | ( | ) |
Definition at line 381 of file class.ilForumPost.php.
References $subject.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getThread | ( | ) |
Definition at line 541 of file class.ilForumPost.php.
References $objThread.
ilForumPost::getThreadId | ( | ) |
Definition at line 351 of file class.ilForumPost.php.
References $thread_id.
Referenced by ilForumTopic\getPostTree(), ilObjForumGUI\renderDraftContent(), ilObjForumGUI\renderPostContent(), and ilObjForumGUI\renderSplitButton().
ilForumPost::getTreeId | ( | ) |
ilForumPost::getUpdateUserId | ( | ) |
Definition at line 421 of file class.ilForumPost.php.
References $user_id_update.
Referenced by ilObjForumGUI\renderDraftContent(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getUserAlias | ( | ) |
Definition at line 371 of file class.ilForumPost.php.
References $user_alias.
Referenced by ilObjForumGUI\doHistoryCheck(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::hasReplies | ( | ) |
Definition at line 302 of file class.ilForumPost.php.
References $res.
Referenced by ilObjForumGUI\renderSplitButton().
ilForumPost::insert | ( | ) |
Definition at line 68 of file class.ilForumPost.php.
References ILIAS\UI\examples\Symbol\Glyph\Notification\notification().
ilForumPost::isActivated | ( | ) |
Definition at line 471 of file class.ilForumPost.php.
References $status.
Referenced by ilObjForumGUI\renderPostContent(), ilForumExportGUI\renderPostHtml(), and ilObjForumGUI\renderSplitButton().
ilForumPost::isAnyParentDeactivated | ( | ) |
ilForumPost::isAuthorModerator | ( | ) |
Definition at line 556 of file class.ilForumPost.php.
References $is_author_moderator.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::isCensored | ( | ) |
Definition at line 431 of file class.ilForumPost.php.
References $censored.
Referenced by ilObjForumGUI\doHistoryCheck(), ilObjForumGUI\renderDraftContent(), ilObjForumGUI\renderPostContent(), ilForumExportGUI\renderPostHtml(), and ilObjForumGUI\renderSplitButton().
ilForumPost::isNotificationEnabled | ( | ) |
ilForumPost::isOwner | ( | int | $a_user_id = 0 | ) |
Definition at line 317 of file class.ilForumPost.php.
Referenced by ilObjForumGUI\doHistoryCheck(), ilObjForumGUI\renderPostContent(), ilForumExportGUI\renderPostHtml(), and ilObjForumGUI\renderSplitButton().
ilForumPost::isPostRead | ( | ) |
Definition at line 282 of file class.ilForumPost.php.
References getIsRead().
Referenced by ilObjForumGUI\renderPostContent(), and ilObjForumGUI\renderSplitButton().
ilForumPost::isRead | ( | int | $a_user_id = 0 | ) |
|
static |
Definition at line 635 of file class.ilForumPost.php.
|
static |
|
static |
int | $sourceThreadId | |
int | $targetThreadId | |
int[] | $excludedPostIds |
Definition at line 618 of file class.ilForumPost.php.
Referenced by ilForum\mergeThreads().
|
private |
Definition at line 130 of file class.ilForumPost.php.
References $res, ILIAS\Repository\int(), and ILIAS\UI\examples\Symbol\Glyph\Notification\notification().
Referenced by __construct(), and reload().
ilForumPost::reload | ( | ) |
Definition at line 194 of file class.ilForumPost.php.
References read().
ilForumPost::setCensoredDate | ( | ?string | $censored_date | ) |
Definition at line 581 of file class.ilForumPost.php.
References $censored_date.
Referenced by assignData().
ilForumPost::setCensorship | ( | bool | $a_censorship | ) |
Definition at line 426 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setCensorshipComment | ( | ?string | $a_comment | ) |
Definition at line 436 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setChangeDate | ( | ?string | $a_changedate | ) |
Definition at line 406 of file class.ilForumPost.php.
Referenced by assignData(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::setCreateDate | ( | ?string | $a_createdate | ) |
Definition at line 396 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setDepth | ( | int | $a_depth | ) |
Definition at line 526 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setDisplayUserId | ( | int | $a_user_id | ) |
Definition at line 356 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setForumId | ( | int | $a_forum_id | ) |
Definition at line 336 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setId | ( | int | $a_id | ) |
Definition at line 326 of file class.ilForumPost.php.
ilForumPost::setImportName | ( | ?string | $a_import_name | ) |
Definition at line 456 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setIsAuthorModerator | ( | ?bool | $is_author_moderator | ) |
Definition at line 561 of file class.ilForumPost.php.
References $is_author_moderator.
Referenced by assignData().
ilForumPost::setIsRead | ( | bool | $a_is_read | ) |
Definition at line 491 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setLft | ( | int | $a_lft | ) |
Definition at line 506 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setMessage | ( | string | $a_message | ) |
Definition at line 386 of file class.ilForumPost.php.
Referenced by assignData(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::setNotification | ( | bool | $a_notification | ) |
Definition at line 446 of file class.ilForumPost.php.
References ILIAS\UI\examples\Symbol\Glyph\Notification\notification().
Referenced by assignData().
ilForumPost::setParentId | ( | int | $a_parent_id | ) |
Definition at line 486 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setPosAuthorId | ( | int | $pos_author_id | ) |
Definition at line 546 of file class.ilForumPost.php.
References $pos_author_id.
Referenced by assignData().
ilForumPost::setPostActivationDate | ( | ?string | $post_activation_date | ) |
Definition at line 576 of file class.ilForumPost.php.
References $post_activation_date.
Referenced by activatePost().
ilForumPost::setRgt | ( | int | $a_rgt | ) |
Definition at line 516 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setStatus | ( | bool | $a_status | ) |
Definition at line 466 of file class.ilForumPost.php.
Referenced by activatePost(), and assignData().
ilForumPost::setSubject | ( | string | $a_subject | ) |
Definition at line 376 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setThread | ( | ilForumTopic | $thread | ) |
Definition at line 536 of file class.ilForumPost.php.
ilForumPost::setThreadId | ( | int | $a_thread_id | ) |
Definition at line 346 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setTreeId | ( | int | $a_tree_id | ) |
Definition at line 476 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setUpdateUserId | ( | int | $a_user_id_update | ) |
Definition at line 416 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setUserAlias | ( | ?string | $a_user_alias | ) |
Definition at line 366 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::update | ( | ) |
Definition at line 95 of file class.ilForumPost.php.
References $id, and ILIAS\UI\examples\Symbol\Glyph\Notification\notification().
|
private |
Definition at line 37 of file class.ilForumPost.php.
Referenced by isCensored().
|
private |
Definition at line 39 of file class.ilForumPost.php.
Referenced by getCensoredDate(), and setCensoredDate().
|
private |
Definition at line 38 of file class.ilForumPost.php.
Referenced by getCensorshipComment().
|
private |
Definition at line 35 of file class.ilForumPost.php.
Referenced by getChangeDate().
|
private |
Definition at line 34 of file class.ilForumPost.php.
Referenced by getCreateDate().
|
private |
Definition at line 49 of file class.ilForumPost.php.
|
private |
Definition at line 47 of file class.ilForumPost.php.
Referenced by getDepth().
|
private |
Definition at line 30 of file class.ilForumPost.php.
Referenced by getDisplayUserId().
|
private |
Definition at line 28 of file class.ilForumPost.php.
Referenced by getForumId().
|
private |
Definition at line 27 of file class.ilForumPost.php.
|
private |
Definition at line 41 of file class.ilForumPost.php.
Referenced by getImportName().
|
private |
Definition at line 51 of file class.ilForumPost.php.
Referenced by isAuthorModerator(), and setIsAuthorModerator().
|
private |
Definition at line 50 of file class.ilForumPost.php.
|
private |
Definition at line 45 of file class.ilForumPost.php.
Referenced by getLft().
|
private |
Definition at line 33 of file class.ilForumPost.php.
Referenced by getMessage().
|
private |
Definition at line 40 of file class.ilForumPost.php.
Referenced by isNotificationEnabled().
|
private |
Definition at line 48 of file class.ilForumPost.php.
Referenced by getThread().
|
private |
Definition at line 44 of file class.ilForumPost.php.
Referenced by getParentId().
|
private |
Definition at line 53 of file class.ilForumPost.php.
Referenced by getPosAuthorId(), and setPosAuthorId().
|
private |
Definition at line 54 of file class.ilForumPost.php.
Referenced by getPostActivationDate(), and setPostActivationDate().
|
private |
Definition at line 52 of file class.ilForumPost.php.
Referenced by getIsRead().
|
private |
Definition at line 46 of file class.ilForumPost.php.
Referenced by getRgt().
|
private |
Definition at line 42 of file class.ilForumPost.php.
Referenced by isActivated().
|
private |
Definition at line 32 of file class.ilForumPost.php.
Referenced by getSubject().
|
private |
Definition at line 29 of file class.ilForumPost.php.
Referenced by getThreadId().
|
private |
Definition at line 43 of file class.ilForumPost.php.
Referenced by getTreeId().
|
private |
Definition at line 31 of file class.ilForumPost.php.
Referenced by getUserAlias().
|
private |
Definition at line 36 of file class.ilForumPost.php.
Referenced by getUpdateUserId().