ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Static Public Member Functions | |
static | mergePosts ($source_thread_id, $target_thread_id) |
Protected Member Functions | |
buildUserRelatedData ($row) | |
Private Member Functions | |
read () | |
getUserData () | |
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 | |
$fullname = '' | |
$loginname = '' | |
$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 12 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 92 of file class.ilForumPost.php.
ilForumPost::__destruct | ( | ) |
Definition at line 105 of file class.ilForumPost.php.
ilForumPost::activateParentPosts | ( | ) |
Definition at line 357 of file class.ilForumPost.php.
References $query, $result, $row, array, and date.
Referenced by activatePost(), and activatePostAndChildPosts().
ilForumPost::activatePost | ( | ) |
Definition at line 305 of file class.ilForumPost.php.
References activateParentPosts(), array, date, setPostActivationDate(), and setStatus().
ilForumPost::activatePostAndChildPosts | ( | ) |
Definition at line 325 of file class.ilForumPost.php.
References $query, $result, $row, activateParentPosts(), array, and date.
ilForumPost::assignData | ( | $row | ) |
$row |
Definition at line 683 of file class.ilForumPost.php.
References $row, buildUserRelatedData(), setCensoredDate(), setCensorship(), setCensorshipComment(), setChangeDate(), setCreateDate(), setDepth(), setDisplayUserId(), setForumId(), setImportName(), setIsAuthorModerator(), setIsRead(), setLft(), setMessage(), setNotification(), setParentId(), setPosAuthorId(), setRgt(), setStatus(), setSubject(), setThreadId(), setTreeId(), setUpdateUserId(), and setUserAlias().
|
protected |
Definition at line 248 of file class.ilForumPost.php.
References $row.
Referenced by assignData().
ilForumPost::getCensoredDate | ( | ) |
ilForumPost::getCensorshipComment | ( | ) |
Definition at line 529 of file class.ilForumPost.php.
References $censorship_comment.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getChangeDate | ( | ) |
Definition at line 505 of file class.ilForumPost.php.
References $changedate.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getCreateDate | ( | ) |
Definition at line 497 of file class.ilForumPost.php.
References $createdate.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getDepth | ( | ) |
Definition at line 604 of file class.ilForumPost.php.
References $depth.
ilForumPost::getDisplayUserId | ( | ) |
Definition at line 465 of file class.ilForumPost.php.
References $display_user_id.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getForumId | ( | ) |
Definition at line 449 of file class.ilForumPost.php.
References $forum_id.
Referenced by ilObjForumGUI\renderSplitButton().
ilForumPost::getFullname | ( | ) |
ilForumPost::getId | ( | ) |
Definition at line 441 of file class.ilForumPost.php.
References $id.
Referenced by ilObjForumGUI\renderPostContent(), and ilObjForumGUI\renderSplitButton().
ilForumPost::getImportName | ( | ) |
Definition at line 545 of file class.ilForumPost.php.
References $import_name.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getIsAuthorModerator | ( | ) |
Definition at line 635 of file class.ilForumPost.php.
References $is_author_moderator.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getIsRead | ( | ) |
Definition at line 575 of file class.ilForumPost.php.
References $post_read.
Referenced by isPostRead().
ilForumPost::getLft | ( | ) |
Definition at line 588 of file class.ilForumPost.php.
References $lft.
Referenced by ilForumTopic\getPostTree().
ilForumPost::getLoginName | ( | ) |
ilForumPost::getMessage | ( | ) |
Definition at line 489 of file class.ilForumPost.php.
References $message.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getParentId | ( | ) |
ilForumPost::getPosAuthorId | ( | ) |
Definition at line 628 of file class.ilForumPost.php.
References $pos_author_id.
Referenced by ilObjForumNotificationDataProvider\getPostAnsweredRecipients(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getPostActivationDate | ( | ) |
Definition at line 659 of file class.ilForumPost.php.
References $post_activation_date.
ilForumPost::getRgt | ( | ) |
Definition at line 596 of file class.ilForumPost.php.
References $rgt.
Referenced by ilForumTopic\getPostTree().
ilForumPost::getSubject | ( | ) |
Definition at line 481 of file class.ilForumPost.php.
References $subject.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getThread | ( | ) |
ilForumPost::getThreadId | ( | ) |
Definition at line 457 of file class.ilForumPost.php.
References $thread_id.
Referenced by ilForumTopic\getPostTree(), ilObjForumGUI\renderPostContent(), and ilObjForumGUI\renderSplitButton().
ilForumPost::getTreeId | ( | ) |
ilForumPost::getUpdateUserId | ( | ) |
Definition at line 513 of file class.ilForumPost.php.
References $user_id_update.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getUserAlias | ( | ) |
Definition at line 473 of file class.ilForumPost.php.
References $user_alias.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
|
private |
Definition at line 265 of file class.ilForumPost.php.
References ilObjForumAccess\getCachedUserInstance().
Referenced by read().
ilForumPost::hasReplies | ( | ) |
Definition at line 408 of file class.ilForumPost.php.
Referenced by ilObjForumGUI\renderSplitButton().
ilForumPost::insert | ( | ) |
Definition at line 111 of file class.ilForumPost.php.
References array, and notification().
ilForumPost::isActivated | ( | ) |
Definition at line 553 of file class.ilForumPost.php.
Referenced by ilObjForumGUI\renderPostContent(), ilForumExportGUI\renderPostHtml(), and ilObjForumGUI\renderSplitButton().
ilForumPost::isAnyParentDeactivated | ( | ) |
Definition at line 228 of file class.ilForumPost.php.
ilForumPost::isCensored | ( | ) |
Definition at line 521 of file class.ilForumPost.php.
Referenced by ilObjForumGUI\renderPostContent(), ilForumExportGUI\renderPostHtml(), and ilObjForumGUI\renderSplitButton().
ilForumPost::isNotificationEnabled | ( | ) |
Definition at line 537 of file class.ilForumPost.php.
References notification().
ilForumPost::isOwner | ( | $a_user_id = 0 | ) |
Definition at line 426 of file class.ilForumPost.php.
Referenced by ilObjForumGUI\renderPostContent(), ilForumExportGUI\renderPostHtml(), and ilObjForumGUI\renderSplitButton().
ilForumPost::isPostRead | ( | ) |
Definition at line 385 of file class.ilForumPost.php.
References getIsRead().
Referenced by ilObjForumGUI\renderPostContent(), and ilObjForumGUI\renderSplitButton().
ilForumPost::isRead | ( | $a_user_id = 0 | ) |
Definition at line 390 of file class.ilForumPost.php.
|
static |
$source_thread_id | |
$target_thread_id |
Definition at line 715 of file class.ilForumPost.php.
References $DIC, $ilDB, and array.
Referenced by ilForum\mergeThreads().
|
private |
Definition at line 177 of file class.ilForumPost.php.
References $res, $row, array, getUserData(), and notification().
Referenced by __construct(), and reload().
ilForumPost::reload | ( | ) |
Definition at line 283 of file class.ilForumPost.php.
References read().
ilForumPost::setCensoredDate | ( | $censored_date | ) |
string | $censored_date |
Definition at line 675 of file class.ilForumPost.php.
References $censored_date.
Referenced by assignData().
ilForumPost::setCensorship | ( | $a_censorship | ) |
Definition at line 517 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setCensorshipComment | ( | $a_comment | ) |
Definition at line 525 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setChangeDate | ( | $a_changedate | ) |
Definition at line 501 of file class.ilForumPost.php.
Referenced by assignData(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::setCreateDate | ( | $a_createdate | ) |
Definition at line 493 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setDepth | ( | $a_depth | ) |
Definition at line 600 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setDisplayUserId | ( | $a_user_id | ) |
Definition at line 461 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setForumId | ( | $a_forum_id | ) |
Definition at line 445 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setFullname | ( | $a_fullname | ) |
Definition at line 288 of file class.ilForumPost.php.
ilForumPost::setId | ( | $a_id | ) |
Definition at line 437 of file class.ilForumPost.php.
ilForumPost::setImportName | ( | $a_import_name | ) |
Definition at line 541 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setIsAuthorModerator | ( | $is_author_moderator | ) |
int|null |
Definition at line 643 of file class.ilForumPost.php.
References $is_author_moderator.
Referenced by assignData().
ilForumPost::setIsRead | ( | $a_is_read | ) |
Definition at line 570 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setLft | ( | $a_lft | ) |
Definition at line 584 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setLoginName | ( | $a_loginname | ) |
Definition at line 296 of file class.ilForumPost.php.
ilForumPost::setMessage | ( | $a_message | ) |
Definition at line 485 of file class.ilForumPost.php.
Referenced by assignData(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::setNotification | ( | $a_notification | ) |
Definition at line 533 of file class.ilForumPost.php.
References notification().
Referenced by assignData().
ilForumPost::setParentId | ( | $a_parent_id | ) |
Definition at line 565 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setPosAuthorId | ( | $pos_author_id | ) |
int | $pos_author_id |
Definition at line 620 of file class.ilForumPost.php.
References $pos_author_id.
Referenced by assignData().
ilForumPost::setPostActivationDate | ( | $post_activation_date | ) |
string | $post_activation_date |
Definition at line 667 of file class.ilForumPost.php.
References $post_activation_date.
Referenced by activatePost().
ilForumPost::setRgt | ( | $a_rgt | ) |
Definition at line 592 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setStatus | ( | $a_status | ) |
Definition at line 549 of file class.ilForumPost.php.
Referenced by activatePost(), and assignData().
ilForumPost::setSubject | ( | $a_subject | ) |
Definition at line 477 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setThread | ( | ilForumTopic | $thread | ) |
Definition at line 608 of file class.ilForumPost.php.
ilForumPost::setThreadId | ( | $a_thread_id | ) |
Definition at line 453 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setTreeId | ( | $a_tree_id | ) |
Definition at line 557 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setUpdateUserId | ( | $a_user_id_update | ) |
Definition at line 509 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setUserAlias | ( | $a_user_alias | ) |
Definition at line 469 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::update | ( | ) |
Definition at line 142 of file class.ilForumPost.php.
References $id, array, and notification().
|
private |
Definition at line 34 of file class.ilForumPost.php.
|
private |
Definition at line 38 of file class.ilForumPost.php.
Referenced by getCensoredDate(), and setCensoredDate().
|
private |
Definition at line 36 of file class.ilForumPost.php.
Referenced by getCensorshipComment().
|
private |
Definition at line 30 of file class.ilForumPost.php.
Referenced by getChangeDate().
|
private |
Definition at line 28 of file class.ilForumPost.php.
Referenced by getCreateDate().
|
private |
Definition at line 65 of file class.ilForumPost.php.
|
private |
Definition at line 54 of file class.ilForumPost.php.
Referenced by getDepth().
|
private |
Definition at line 20 of file class.ilForumPost.php.
Referenced by getDisplayUserId().
|
private |
Definition at line 16 of file class.ilForumPost.php.
Referenced by getForumId().
|
private |
Definition at line 56 of file class.ilForumPost.php.
Referenced by getFullname().
|
private |
Definition at line 14 of file class.ilForumPost.php.
|
private |
Definition at line 42 of file class.ilForumPost.php.
Referenced by getImportName().
|
private |
Definition at line 78 of file class.ilForumPost.php.
Referenced by getIsAuthorModerator(), and setIsAuthorModerator().
|
private |
Definition at line 72 of file class.ilForumPost.php.
|
private |
Definition at line 50 of file class.ilForumPost.php.
Referenced by getLft().
|
private |
Definition at line 66 of file class.ilForumPost.php.
|
private |
Definition at line 58 of file class.ilForumPost.php.
Referenced by getLoginName().
|
private |
Definition at line 26 of file class.ilForumPost.php.
Referenced by getMessage().
|
private |
Definition at line 40 of file class.ilForumPost.php.
|
private |
Definition at line 63 of file class.ilForumPost.php.
Referenced by getThread().
|
private |
Definition at line 48 of file class.ilForumPost.php.
Referenced by getParentId().
|
private |
Definition at line 82 of file class.ilForumPost.php.
Referenced by getPosAuthorId(), and setPosAuthorId().
|
private |
Definition at line 84 of file class.ilForumPost.php.
Referenced by getPostActivationDate(), and setPostActivationDate().
|
private |
Definition at line 80 of file class.ilForumPost.php.
Referenced by getIsRead().
|
private |
Definition at line 52 of file class.ilForumPost.php.
Referenced by getRgt().
|
private |
Definition at line 44 of file class.ilForumPost.php.
|
private |
Definition at line 24 of file class.ilForumPost.php.
Referenced by getSubject().
|
private |
Definition at line 18 of file class.ilForumPost.php.
Referenced by getThreadId().
|
private |
Definition at line 46 of file class.ilForumPost.php.
Referenced by getTreeId().
|
private |
Definition at line 22 of file class.ilForumPost.php.
Referenced by getUserAlias().
|
private |
Definition at line 32 of file class.ilForumPost.php.
Referenced by getUpdateUserId().