ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 | |
$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 91 of file class.ilForumPost.php.
ilForumPost::__destruct | ( | ) |
Definition at line 104 of file class.ilForumPost.php.
ilForumPost::activateParentPosts | ( | ) |
Definition at line 368 of file class.ilForumPost.php.
References $query, $result, $row, array, and date.
Referenced by activatePost(), and activatePostAndChildPosts().
ilForumPost::activatePost | ( | ) |
Definition at line 315 of file class.ilForumPost.php.
References activateParentPosts(), array, date, setPostActivationDate(), and setStatus().
ilForumPost::activatePostAndChildPosts | ( | ) |
Definition at line 335 of file class.ilForumPost.php.
References $query, $result, $row, activateParentPosts(), array, and date.
ilForumPost::assignData | ( | $row | ) |
$row |
Definition at line 696 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 251 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::getCensoredDate | ( | ) |
ilForumPost::getCensorshipComment | ( | ) |
Definition at line 542 of file class.ilForumPost.php.
References $censorship_comment.
Referenced by ilForumExportGUI\executeCommand(), and ilObjForumGUI\getSubTabs().
ilForumPost::getChangeDate | ( | ) |
Definition at line 518 of file class.ilForumPost.php.
References $changedate.
Referenced by ilForumExportGUI\executeCommand(), and ilObjForumGUI\getSubTabs().
ilForumPost::getCreateDate | ( | ) |
Definition at line 510 of file class.ilForumPost.php.
References $createdate.
Referenced by ilForumExportGUI\executeCommand(), and ilObjForumGUI\getSubTabs().
ilForumPost::getDepth | ( | ) |
Definition at line 617 of file class.ilForumPost.php.
References $depth.
ilForumPost::getDisplayUserId | ( | ) |
Definition at line 478 of file class.ilForumPost.php.
References $display_user_id.
Referenced by ilForumExportGUI\executeCommand(), and ilObjForumGUI\getSubTabs().
ilForumPost::getForumId | ( | ) |
Definition at line 462 of file class.ilForumPost.php.
References $forum_id.
Referenced by ilObjForumGUI\autosaveThreadDraftAsyncObject().
ilForumPost::getFullname | ( | ) |
ilForumPost::getId | ( | ) |
Definition at line 454 of file class.ilForumPost.php.
References $id.
Referenced by ilObjForumGUI\autosaveThreadDraftAsyncObject(), ilForumExportGUI\executeCommand(), and ilObjForumGUI\getSubTabs().
ilForumPost::getImportName | ( | ) |
Definition at line 558 of file class.ilForumPost.php.
References $import_name.
Referenced by ilForumExportGUI\executeCommand(), and ilObjForumGUI\getSubTabs().
ilForumPost::getIsAuthorModerator | ( | ) |
Definition at line 648 of file class.ilForumPost.php.
References $is_author_moderator.
Referenced by ilForumExportGUI\executeCommand(), and ilObjForumGUI\getSubTabs().
ilForumPost::getIsRead | ( | ) |
Definition at line 588 of file class.ilForumPost.php.
References $post_read.
Referenced by isPostRead().
ilForumPost::getLft | ( | ) |
Definition at line 601 of file class.ilForumPost.php.
References $lft.
Referenced by ilForumTopic\getPostTree().
ilForumPost::getLoginName | ( | ) |
ilForumPost::getMessage | ( | ) |
Definition at line 502 of file class.ilForumPost.php.
References $message.
Referenced by ilForumExportGUI\executeCommand(), and ilObjForumGUI\getSubTabs().
ilForumPost::getParentId | ( | ) |
ilForumPost::getPosAuthorId | ( | ) |
Definition at line 641 of file class.ilForumPost.php.
References $pos_author_id.
Referenced by ilForumExportGUI\executeCommand(), ilObjForumNotificationDataProvider\getPostAnsweredRecipients(), and ilObjForumGUI\getSubTabs().
ilForumPost::getPostActivationDate | ( | ) |
Definition at line 672 of file class.ilForumPost.php.
References $post_activation_date.
ilForumPost::getRgt | ( | ) |
Definition at line 609 of file class.ilForumPost.php.
References $rgt.
Referenced by ilForumTopic\getPostTree().
ilForumPost::getSubject | ( | ) |
Definition at line 494 of file class.ilForumPost.php.
References $subject.
Referenced by ilForumExportGUI\executeCommand(), and ilObjForumGUI\getSubTabs().
ilForumPost::getThread | ( | ) |
ilForumPost::getThreadId | ( | ) |
Definition at line 470 of file class.ilForumPost.php.
References $thread_id.
Referenced by ilObjForumGUI\autosaveThreadDraftAsyncObject(), ilForumTopic\getPostTree(), and ilObjForumGUI\getSubTabs().
ilForumPost::getTreeId | ( | ) |
ilForumPost::getUpdateUserId | ( | ) |
Definition at line 526 of file class.ilForumPost.php.
References $user_id_update.
Referenced by ilForumExportGUI\executeCommand(), and ilObjForumGUI\getSubTabs().
ilForumPost::getUserAlias | ( | ) |
Definition at line 486 of file class.ilForumPost.php.
References $user_alias.
Referenced by ilForumExportGUI\executeCommand(), and ilObjForumGUI\getSubTabs().
|
private |
Definition at line 271 of file class.ilForumPost.php.
References $lng, and ilObjForumAccess\getCachedUserInstance().
Referenced by read().
ilForumPost::hasReplies | ( | ) |
Definition at line 420 of file class.ilForumPost.php.
Referenced by ilObjForumGUI\autosaveThreadDraftAsyncObject().
ilForumPost::insert | ( | ) |
Definition at line 110 of file class.ilForumPost.php.
References $ilDB, array, and notification().
ilForumPost::isActivated | ( | ) |
Definition at line 566 of file class.ilForumPost.php.
Referenced by ilObjForumGUI\autosaveThreadDraftAsyncObject(), ilForumExportGUI\executeCommand(), and ilObjForumGUI\getSubTabs().
ilForumPost::isAnyParentDeactivated | ( | ) |
Definition at line 232 of file class.ilForumPost.php.
ilForumPost::isCensored | ( | ) |
Definition at line 534 of file class.ilForumPost.php.
Referenced by ilObjForumGUI\autosaveThreadDraftAsyncObject(), ilForumExportGUI\executeCommand(), and ilObjForumGUI\getSubTabs().
ilForumPost::isNotificationEnabled | ( | ) |
Definition at line 550 of file class.ilForumPost.php.
References notification().
ilForumPost::isOwner | ( | $a_user_id = 0 | ) |
Definition at line 437 of file class.ilForumPost.php.
Referenced by ilObjForumGUI\autosaveThreadDraftAsyncObject(), ilForumExportGUI\executeCommand(), and ilObjForumGUI\getSubTabs().
ilForumPost::isPostRead | ( | ) |
Definition at line 397 of file class.ilForumPost.php.
References getIsRead().
Referenced by ilObjForumGUI\autosaveThreadDraftAsyncObject(), and ilObjForumGUI\getSubTabs().
ilForumPost::isRead | ( | $a_user_id = 0 | ) |
Definition at line 402 of file class.ilForumPost.php.
|
static |
$source_thread_id | |
$target_thread_id |
Definition at line 728 of file class.ilForumPost.php.
Referenced by ilForum\mergeThreads().
|
private |
Definition at line 182 of file class.ilForumPost.php.
References $res, $row, array, getUserData(), and notification().
Referenced by __construct(), and reload().
ilForumPost::reload | ( | ) |
Definition at line 293 of file class.ilForumPost.php.
References read().
ilForumPost::setCensoredDate | ( | $censored_date | ) |
string | $censored_date |
Definition at line 688 of file class.ilForumPost.php.
References $censored_date.
Referenced by assignData().
ilForumPost::setCensorship | ( | $a_censorship | ) |
Definition at line 530 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setCensorshipComment | ( | $a_comment | ) |
Definition at line 538 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setChangeDate | ( | $a_changedate | ) |
Definition at line 514 of file class.ilForumPost.php.
Referenced by assignData(), ilForumExportGUI\executeCommand(), and ilObjForumGUI\getSubTabs().
ilForumPost::setCreateDate | ( | $a_createdate | ) |
Definition at line 506 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setDepth | ( | $a_depth | ) |
Definition at line 613 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setDisplayUserId | ( | $a_user_id | ) |
Definition at line 474 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setForumId | ( | $a_forum_id | ) |
Definition at line 458 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setFullname | ( | $a_fullname | ) |
Definition at line 298 of file class.ilForumPost.php.
ilForumPost::setId | ( | $a_id | ) |
Definition at line 450 of file class.ilForumPost.php.
ilForumPost::setImportName | ( | $a_import_name | ) |
Definition at line 554 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setIsAuthorModerator | ( | $is_author_moderator | ) |
int|null |
Definition at line 656 of file class.ilForumPost.php.
References $is_author_moderator.
Referenced by assignData().
ilForumPost::setIsRead | ( | $a_is_read | ) |
Definition at line 583 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setLft | ( | $a_lft | ) |
Definition at line 597 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setLoginName | ( | $a_loginname | ) |
Definition at line 306 of file class.ilForumPost.php.
ilForumPost::setMessage | ( | $a_message | ) |
Definition at line 498 of file class.ilForumPost.php.
Referenced by assignData(), ilForumExportGUI\executeCommand(), and ilObjForumGUI\getSubTabs().
ilForumPost::setNotification | ( | $a_notification | ) |
Definition at line 546 of file class.ilForumPost.php.
References notification().
Referenced by assignData().
ilForumPost::setParentId | ( | $a_parent_id | ) |
Definition at line 578 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setPosAuthorId | ( | $pos_author_id | ) |
int | $pos_author_id |
Definition at line 633 of file class.ilForumPost.php.
References $pos_author_id.
Referenced by assignData().
ilForumPost::setPostActivationDate | ( | $post_activation_date | ) |
string | $post_activation_date |
Definition at line 680 of file class.ilForumPost.php.
References $post_activation_date.
Referenced by activatePost().
ilForumPost::setRgt | ( | $a_rgt | ) |
Definition at line 605 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setStatus | ( | $a_status | ) |
Definition at line 562 of file class.ilForumPost.php.
Referenced by activatePost(), and assignData().
ilForumPost::setSubject | ( | $a_subject | ) |
Definition at line 490 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setThread | ( | ilForumTopic | $thread | ) |
Definition at line 621 of file class.ilForumPost.php.
ilForumPost::setThreadId | ( | $a_thread_id | ) |
Definition at line 466 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setTreeId | ( | $a_tree_id | ) |
Definition at line 570 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setUpdateUserId | ( | $a_user_id_update | ) |
Definition at line 522 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setUserAlias | ( | $a_user_alias | ) |
Definition at line 482 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::update | ( | ) |
Definition at line 144 of file class.ilForumPost.php.
References $id, $ilDB, 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 77 of file class.ilForumPost.php.
Referenced by getIsAuthorModerator(), and setIsAuthorModerator().
|
private |
Definition at line 71 of file class.ilForumPost.php.
|
private |
Definition at line 50 of file class.ilForumPost.php.
Referenced by getLft().
|
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 81 of file class.ilForumPost.php.
Referenced by getPosAuthorId(), and setPosAuthorId().
|
private |
Definition at line 83 of file class.ilForumPost.php.
Referenced by getPostActivationDate(), and setPostActivationDate().
|
private |
Definition at line 79 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().