ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
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 = '0000-00-00 00:00:00' | |
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 366 of file class.ilForumPost.php.
References $query, $result, and $row.
Referenced by activatePost(), and activatePostAndChildPosts().
ilForumPost::activatePost | ( | ) |
Definition at line 315 of file class.ilForumPost.php.
References activateParentPosts().
ilForumPost::activatePostAndChildPosts | ( | ) |
Definition at line 333 of file class.ilForumPost.php.
References $query, $result, $row, and activateParentPosts().
ilForumPost::assignData | ( | $row | ) |
$row |
Definition at line 694 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 540 of file class.ilForumPost.php.
References $censorship_comment.
Referenced by ilForumExportGUI\executeCommand().
ilForumPost::getChangeDate | ( | ) |
Definition at line 516 of file class.ilForumPost.php.
References $changedate.
Referenced by ilForumExportGUI\executeCommand().
ilForumPost::getCreateDate | ( | ) |
Definition at line 508 of file class.ilForumPost.php.
References $createdate.
Referenced by ilForumExportGUI\executeCommand().
ilForumPost::getDepth | ( | ) |
Definition at line 615 of file class.ilForumPost.php.
References $depth.
ilForumPost::getDisplayUserId | ( | ) |
Definition at line 476 of file class.ilForumPost.php.
References $display_user_id.
Referenced by ilForumExportGUI\executeCommand().
ilForumPost::getForumId | ( | ) |
ilForumPost::getFullname | ( | ) |
ilForumPost::getId | ( | ) |
Definition at line 452 of file class.ilForumPost.php.
References $id.
Referenced by ilForumExportGUI\executeCommand().
ilForumPost::getImportName | ( | ) |
Definition at line 556 of file class.ilForumPost.php.
References $import_name.
Referenced by ilForumExportGUI\executeCommand().
ilForumPost::getIsAuthorModerator | ( | ) |
Definition at line 646 of file class.ilForumPost.php.
References $is_author_moderator.
Referenced by ilForumExportGUI\executeCommand().
ilForumPost::getIsRead | ( | ) |
Definition at line 586 of file class.ilForumPost.php.
References $post_read.
Referenced by isPostRead().
ilForumPost::getLft | ( | ) |
Definition at line 599 of file class.ilForumPost.php.
References $lft.
Referenced by ilForumTopic\getPostTree().
ilForumPost::getLoginName | ( | ) |
ilForumPost::getMessage | ( | ) |
Definition at line 500 of file class.ilForumPost.php.
References $message.
Referenced by ilForumExportGUI\executeCommand().
ilForumPost::getParentId | ( | ) |
ilForumPost::getPosAuthorId | ( | ) |
Definition at line 639 of file class.ilForumPost.php.
References $pos_author_id.
Referenced by ilForumExportGUI\executeCommand(), and ilObjForumNotificationDataProvider\getPostAnsweredRecipients().
ilForumPost::getPostActivationDate | ( | ) |
Definition at line 670 of file class.ilForumPost.php.
References $post_activation_date.
ilForumPost::getRgt | ( | ) |
Definition at line 607 of file class.ilForumPost.php.
References $rgt.
Referenced by ilForumTopic\getPostTree().
ilForumPost::getSubject | ( | ) |
Definition at line 492 of file class.ilForumPost.php.
References $subject.
Referenced by ilForumExportGUI\executeCommand().
ilForumPost::getThread | ( | ) |
ilForumPost::getThreadId | ( | ) |
Definition at line 468 of file class.ilForumPost.php.
References $thread_id.
Referenced by ilForumTopic\getPostTree().
ilForumPost::getTreeId | ( | ) |
ilForumPost::getUpdateUserId | ( | ) |
Definition at line 524 of file class.ilForumPost.php.
References $user_id_update.
Referenced by ilForumExportGUI\executeCommand().
ilForumPost::getUserAlias | ( | ) |
Definition at line 484 of file class.ilForumPost.php.
References $user_alias.
Referenced by ilForumExportGUI\executeCommand().
|
private |
Definition at line 271 of file class.ilForumPost.php.
References $lng, and ilObjForumAccess\getCachedUserInstance().
Referenced by read().
ilForumPost::hasReplies | ( | ) |
ilForumPost::insert | ( | ) |
ilForumPost::isActivated | ( | ) |
Definition at line 564 of file class.ilForumPost.php.
Referenced by ilForumExportGUI\executeCommand(), and ilObjForumGUI\setTreeStateAsynchObject().
ilForumPost::isAnyParentDeactivated | ( | ) |
ilForumPost::isCensored | ( | ) |
Definition at line 532 of file class.ilForumPost.php.
Referenced by ilForumExportGUI\executeCommand().
ilForumPost::isNotificationEnabled | ( | ) |
Definition at line 548 of file class.ilForumPost.php.
ilForumPost::isOwner | ( | $a_user_id = 0 | ) |
Definition at line 435 of file class.ilForumPost.php.
Referenced by ilForumExportGUI\executeCommand().
ilForumPost::isPostRead | ( | ) |
Definition at line 395 of file class.ilForumPost.php.
References getIsRead().
ilForumPost::isRead | ( | $a_user_id = 0 | ) |
|
static |
$source_thread_id | |
$target_thread_id |
Definition at line 726 of file class.ilForumPost.php.
References $ilDB.
Referenced by ilForum\mergeThreads().
|
private |
Definition at line 182 of file class.ilForumPost.php.
References $res, $row, and getUserData().
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 686 of file class.ilForumPost.php.
References $censored_date.
Referenced by assignData().
ilForumPost::setCensorship | ( | $a_censorship | ) |
Definition at line 528 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setCensorshipComment | ( | $a_comment | ) |
Definition at line 536 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setChangeDate | ( | $a_changedate | ) |
Definition at line 512 of file class.ilForumPost.php.
Referenced by assignData(), and ilForumExportGUI\executeCommand().
ilForumPost::setCreateDate | ( | $a_createdate | ) |
Definition at line 504 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setDepth | ( | $a_depth | ) |
Definition at line 611 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setDisplayUserId | ( | $a_user_id | ) |
Definition at line 472 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setForumId | ( | $a_forum_id | ) |
Definition at line 456 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 448 of file class.ilForumPost.php.
ilForumPost::setImportName | ( | $a_import_name | ) |
Definition at line 552 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setIsAuthorModerator | ( | $is_author_moderator | ) |
int|null |
Definition at line 654 of file class.ilForumPost.php.
References $is_author_moderator.
Referenced by assignData().
ilForumPost::setIsRead | ( | $a_is_read | ) |
Definition at line 581 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setLft | ( | $a_lft | ) |
Definition at line 595 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 496 of file class.ilForumPost.php.
Referenced by assignData(), and ilForumExportGUI\executeCommand().
ilForumPost::setNotification | ( | $a_notification | ) |
Definition at line 544 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setParentId | ( | $a_parent_id | ) |
Definition at line 576 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setPosAuthorId | ( | $pos_author_id | ) |
int | $pos_author_id |
Definition at line 631 of file class.ilForumPost.php.
References $pos_author_id.
Referenced by assignData().
ilForumPost::setPostActivationDate | ( | $post_activation_date | ) |
string | $post_activation_date |
Definition at line 678 of file class.ilForumPost.php.
References $post_activation_date.
ilForumPost::setRgt | ( | $a_rgt | ) |
Definition at line 603 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setStatus | ( | $a_status | ) |
Definition at line 560 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setSubject | ( | $a_subject | ) |
Definition at line 488 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setThread | ( | ilForumTopic | $thread | ) |
Definition at line 619 of file class.ilForumPost.php.
ilForumPost::setThreadId | ( | $a_thread_id | ) |
Definition at line 464 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setTreeId | ( | $a_tree_id | ) |
Definition at line 568 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setUpdateUserId | ( | $a_user_id_update | ) |
Definition at line 520 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setUserAlias | ( | $a_user_alias | ) |
Definition at line 480 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::update | ( | ) |
Definition at line 144 of file class.ilForumPost.php.
|
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().