ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Static Public Member Functions | |
static | mergePosts (int $sourceThreadId, int $targetThreadId, array $excludedPostIds=[]) |
Private Member Functions | |
read () | |
Private Attributes | |
$id = 0 | |
$forum_id = 0 | |
$thread_id = 0 | |
$display_user_id = 0 | |
$user_alias = '' | |
$subject = '' | |
$message = '' | |
$createdate = '0000-00-00 00:00:00' | |
$changedate = '0000-00-00 00:00:00' | |
$user_id_update = 0 | |
$censored = 0 | |
$censorship_comment = '' | |
$censored_date = '0000-00-00 00:00:00' | |
$notification = 0 | |
$import_name = '' | |
$status = 1 | |
$tree_id = 0 | |
$parent_id = 0 | |
$lft = 0 | |
$rgt = 0 | |
$depth = 0 | |
$objThread = null | |
$db = null | |
$lng = null | |
$is_moderator = false | |
$is_author_moderator = null | |
$post_read = false | |
$pos_author_id = 0 | |
$post_activation_date = null | |
Definition at line 10 of file class.ilForumPost.php.
ilForumPost::__construct | ( | $a_id = 0 , |
|
$a_is_moderator = false , |
|||
$preventImplicitRead = false |
|||
) |
ilForumPost constructor.
int | $a_id | |
bool | $a_is_moderator | |
bool | $preventImplicitRead |
Definition at line 86 of file class.ilForumPost.php.
ilForumPost::__destruct | ( | ) |
Definition at line 99 of file class.ilForumPost.php.
ilForumPost::activateParentPosts | ( | ) |
Definition at line 298 of file class.ilForumPost.php.
References $query, and $result.
Referenced by activatePost(), and activatePostAndChildPosts().
ilForumPost::activatePost | ( | ) |
Definition at line 246 of file class.ilForumPost.php.
References activateParentPosts(), setPostActivationDate(), and setStatus().
ilForumPost::activatePostAndChildPosts | ( | ) |
Definition at line 266 of file class.ilForumPost.php.
References $query, $result, and activateParentPosts().
ilForumPost::assignData | ( | $row | ) |
$row |
Definition at line 624 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 470 of file class.ilForumPost.php.
References $censorship_comment.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getChangeDate | ( | ) |
Definition at line 446 of file class.ilForumPost.php.
References $changedate.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getCreateDate | ( | ) |
Definition at line 438 of file class.ilForumPost.php.
References $createdate.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getDepth | ( | ) |
Definition at line 545 of file class.ilForumPost.php.
References $depth.
Referenced by ilObjForumGUI\renderDraftContent(), and ilObjForumGUI\renderPostContent().
ilForumPost::getDisplayUserId | ( | ) |
Definition at line 406 of file class.ilForumPost.php.
References $display_user_id.
Referenced by ilObjForumGUI\doCaptchaCheck(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getForumId | ( | ) |
Definition at line 390 of file class.ilForumPost.php.
References $forum_id.
Referenced by ilObjForumGUI\renderSplitButton().
ilForumPost::getId | ( | ) |
Definition at line 382 of file class.ilForumPost.php.
References $id.
Referenced by ilObjForumGUI\checkUsersViewMode(), ilObjForumGUI\ensureValidPageForCurrentPosting(), ilObjForumGUI\renderDraftContent(), ilObjForumGUI\renderPostContent(), and ilObjForumGUI\renderSplitButton().
ilForumPost::getImportName | ( | ) |
Definition at line 486 of file class.ilForumPost.php.
References $import_name.
Referenced by ilObjForumGUI\doCaptchaCheck(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getIsAuthorModerator | ( | ) |
Definition at line 576 of file class.ilForumPost.php.
References $is_author_moderator.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getIsRead | ( | ) |
Definition at line 516 of file class.ilForumPost.php.
References $post_read.
Referenced by isPostRead().
ilForumPost::getLft | ( | ) |
Definition at line 529 of file class.ilForumPost.php.
References $lft.
Referenced by ilForumTopic\getPostTree().
ilForumPost::getMessage | ( | ) |
Definition at line 430 of file class.ilForumPost.php.
References $message.
Referenced by ilObjForumGUI\doCaptchaCheck(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getParentId | ( | ) |
ilForumPost::getPosAuthorId | ( | ) |
Definition at line 569 of file class.ilForumPost.php.
References $pos_author_id.
Referenced by ilObjForumGUI\doCaptchaCheck(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getPostActivationDate | ( | ) |
Definition at line 600 of file class.ilForumPost.php.
References $post_activation_date.
ilForumPost::getRgt | ( | ) |
Definition at line 537 of file class.ilForumPost.php.
References $rgt.
Referenced by ilForumTopic\getPostTree().
ilForumPost::getSubject | ( | ) |
Definition at line 422 of file class.ilForumPost.php.
References $subject.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getThread | ( | ) |
ilForumPost::getThreadId | ( | ) |
Definition at line 398 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 454 of file class.ilForumPost.php.
References $user_id_update.
Referenced by ilObjForumGUI\renderDraftContent(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getUserAlias | ( | ) |
Definition at line 414 of file class.ilForumPost.php.
References $user_alias.
Referenced by ilObjForumGUI\doCaptchaCheck(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::hasReplies | ( | ) |
Definition at line 349 of file class.ilForumPost.php.
References $res.
Referenced by ilObjForumGUI\renderSplitButton().
ilForumPost::insert | ( | ) |
Definition at line 105 of file class.ilForumPost.php.
References notification().
ilForumPost::isActivated | ( | ) |
Definition at line 494 of file class.ilForumPost.php.
Referenced by ilObjForumGUI\renderPostContent(), ilForumExportGUI\renderPostHtml(), and ilObjForumGUI\renderSplitButton().
ilForumPost::isAnyParentDeactivated | ( | ) |
ilForumPost::isCensored | ( | ) |
Definition at line 462 of file class.ilForumPost.php.
Referenced by ilObjForumGUI\doCaptchaCheck(), ilObjForumGUI\renderDraftContent(), ilObjForumGUI\renderPostContent(), ilForumExportGUI\renderPostHtml(), and ilObjForumGUI\renderSplitButton().
ilForumPost::isNotificationEnabled | ( | ) |
Definition at line 478 of file class.ilForumPost.php.
References notification().
ilForumPost::isOwner | ( | $a_user_id = 0 | ) |
Definition at line 367 of file class.ilForumPost.php.
Referenced by ilObjForumGUI\doCaptchaCheck(), ilObjForumGUI\renderPostContent(), ilForumExportGUI\renderPostHtml(), and ilObjForumGUI\renderSplitButton().
ilForumPost::isPostRead | ( | ) |
Definition at line 326 of file class.ilForumPost.php.
References getIsRead().
Referenced by ilObjForumGUI\renderPostContent(), and ilObjForumGUI\renderSplitButton().
ilForumPost::isRead | ( | $a_user_id = 0 | ) |
|
static |
int | $sourceThreadId | |
int | $targetThreadId | |
int[] | $excludedPostIds |
Definition at line 656 of file class.ilForumPost.php.
Referenced by ilForum\mergeThreads().
|
private |
Definition at line 171 of file class.ilForumPost.php.
References $res, and notification().
Referenced by __construct(), and reload().
ilForumPost::reload | ( | ) |
Definition at line 241 of file class.ilForumPost.php.
References read().
ilForumPost::setCensoredDate | ( | $censored_date | ) |
string | $censored_date |
Definition at line 616 of file class.ilForumPost.php.
References $censored_date.
Referenced by assignData().
ilForumPost::setCensorship | ( | $a_censorship | ) |
Definition at line 458 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setCensorshipComment | ( | $a_comment | ) |
Definition at line 466 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setChangeDate | ( | $a_changedate | ) |
Definition at line 442 of file class.ilForumPost.php.
Referenced by assignData(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::setCreateDate | ( | $a_createdate | ) |
Definition at line 434 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setDepth | ( | $a_depth | ) |
Definition at line 541 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setDisplayUserId | ( | $a_user_id | ) |
Definition at line 402 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setForumId | ( | $a_forum_id | ) |
Definition at line 386 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setId | ( | $a_id | ) |
Definition at line 378 of file class.ilForumPost.php.
ilForumPost::setImportName | ( | $a_import_name | ) |
Definition at line 482 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setIsAuthorModerator | ( | $is_author_moderator | ) |
int|null |
Definition at line 584 of file class.ilForumPost.php.
References $is_author_moderator.
Referenced by assignData().
ilForumPost::setIsRead | ( | $a_is_read | ) |
Definition at line 511 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setLft | ( | $a_lft | ) |
Definition at line 525 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setMessage | ( | $a_message | ) |
Definition at line 426 of file class.ilForumPost.php.
Referenced by assignData(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::setNotification | ( | $a_notification | ) |
Definition at line 474 of file class.ilForumPost.php.
References notification().
Referenced by assignData().
ilForumPost::setParentId | ( | $a_parent_id | ) |
Definition at line 506 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setPosAuthorId | ( | $pos_author_id | ) |
int | $pos_author_id |
Definition at line 561 of file class.ilForumPost.php.
References $pos_author_id.
Referenced by assignData().
ilForumPost::setPostActivationDate | ( | $post_activation_date | ) |
string | $post_activation_date |
Definition at line 608 of file class.ilForumPost.php.
References $post_activation_date.
Referenced by activatePost().
ilForumPost::setRgt | ( | $a_rgt | ) |
Definition at line 533 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setStatus | ( | $a_status | ) |
Definition at line 490 of file class.ilForumPost.php.
Referenced by activatePost(), and assignData().
ilForumPost::setSubject | ( | $a_subject | ) |
Definition at line 418 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setThread | ( | ilForumTopic | $thread | ) |
Definition at line 549 of file class.ilForumPost.php.
ilForumPost::setThreadId | ( | $a_thread_id | ) |
Definition at line 394 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setTreeId | ( | $a_tree_id | ) |
Definition at line 498 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setUpdateUserId | ( | $a_user_id_update | ) |
Definition at line 450 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setUserAlias | ( | $a_user_alias | ) |
Definition at line 410 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::update | ( | ) |
Definition at line 136 of file class.ilForumPost.php.
References $id, and notification().
|
private |
Definition at line 32 of file class.ilForumPost.php.
|
private |
Definition at line 36 of file class.ilForumPost.php.
Referenced by getCensoredDate(), and setCensoredDate().
|
private |
Definition at line 34 of file class.ilForumPost.php.
Referenced by getCensorshipComment().
|
private |
Definition at line 28 of file class.ilForumPost.php.
Referenced by getChangeDate().
|
private |
Definition at line 26 of file class.ilForumPost.php.
Referenced by getCreateDate().
|
private |
Definition at line 59 of file class.ilForumPost.php.
|
private |
Definition at line 52 of file class.ilForumPost.php.
Referenced by getDepth().
|
private |
Definition at line 18 of file class.ilForumPost.php.
Referenced by getDisplayUserId().
|
private |
Definition at line 14 of file class.ilForumPost.php.
Referenced by getForumId().
|
private |
Definition at line 12 of file class.ilForumPost.php.
|
private |
Definition at line 40 of file class.ilForumPost.php.
Referenced by getImportName().
|
private |
Definition at line 72 of file class.ilForumPost.php.
Referenced by getIsAuthorModerator(), and setIsAuthorModerator().
|
private |
Definition at line 66 of file class.ilForumPost.php.
|
private |
Definition at line 48 of file class.ilForumPost.php.
Referenced by getLft().
|
private |
Definition at line 60 of file class.ilForumPost.php.
|
private |
Definition at line 24 of file class.ilForumPost.php.
Referenced by getMessage().
|
private |
Definition at line 38 of file class.ilForumPost.php.
|
private |
Definition at line 57 of file class.ilForumPost.php.
Referenced by getThread().
|
private |
Definition at line 46 of file class.ilForumPost.php.
Referenced by getParentId().
|
private |
Definition at line 76 of file class.ilForumPost.php.
Referenced by getPosAuthorId(), and setPosAuthorId().
|
private |
Definition at line 78 of file class.ilForumPost.php.
Referenced by getPostActivationDate(), and setPostActivationDate().
|
private |
Definition at line 74 of file class.ilForumPost.php.
Referenced by getIsRead().
|
private |
Definition at line 50 of file class.ilForumPost.php.
Referenced by getRgt().
|
private |
Definition at line 42 of file class.ilForumPost.php.
|
private |
Definition at line 22 of file class.ilForumPost.php.
Referenced by getSubject().
|
private |
Definition at line 16 of file class.ilForumPost.php.
Referenced by getThreadId().
|
private |
Definition at line 44 of file class.ilForumPost.php.
Referenced by getTreeId().
|
private |
Definition at line 20 of file class.ilForumPost.php.
Referenced by getUserAlias().
|
private |
Definition at line 30 of file class.ilForumPost.php.
Referenced by getUpdateUserId().