ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Public Member Functions | |
__construct (private int $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 () | |
getRCID () | |
setRCID (string $rcid) | |
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) |
Data Fields | |
const | NO_RCID = '-' |
Private Member Functions | |
read () | |
Private Attributes | |
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 |
readonly 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 |
string | $rcid = self::NO_RCID |
Definition at line 25 of file class.ilForumPost.php.
ilForumPost::__construct | ( | private int | $id = 0 , |
bool | $a_is_moderator = false , |
||
bool | $preventImplicitRead = false |
||
) |
ilForumPost::activateParentPosts | ( | ) |
Definition at line 253 of file class.ilForumPost.php.
Referenced by activatePost(), and activatePostAndChildPosts().
ilForumPost::activatePost | ( | ) |
Definition at line 200 of file class.ilForumPost.php.
References activateParentPosts(), setPostActivationDate(), and setStatus().
ilForumPost::activatePostAndChildPosts | ( | ) |
Definition at line 219 of file class.ilForumPost.php.
References activateParentPosts().
ilForumPost::assignData | ( | array | $row | ) |
Definition at line 597 of file class.ilForumPost.php.
References null, setCensoredDate(), setCensorship(), setCensorshipComment(), setChangeDate(), setCreateDate(), setDepth(), setDisplayUserId(), setForumId(), setImportName(), setIsAuthorModerator(), setIsRead(), setLft(), setMessage(), setNotification(), setParentId(), setPosAuthorId(), setRCID(), setRgt(), setStatus(), setSubject(), setThreadId(), setTreeId(), setUpdateUserId(), and setUserAlias().
ilForumPost::getCensoredDate | ( | ) |
ilForumPost::getCensorshipComment | ( | ) |
Definition at line 452 of file class.ilForumPost.php.
References $censorship_comment.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getChangeDate | ( | ) |
Definition at line 422 of file class.ilForumPost.php.
References $changedate.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getCreateDate | ( | ) |
Definition at line 412 of file class.ilForumPost.php.
References $createdate.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getDepth | ( | ) |
Definition at line 542 of file class.ilForumPost.php.
References $depth.
Referenced by ilObjForumGUI\renderDraftContent(), and ilObjForumGUI\renderPostContent().
ilForumPost::getDisplayUserId | ( | ) |
Definition at line 372 of file class.ilForumPost.php.
References $display_user_id.
Referenced by ilObjForumGUI\renderPostContent(), ilForumExportGUI\renderPostHtml(), and ilObjForumGUI\renderPostingForm().
ilForumPost::getForumId | ( | ) |
Definition at line 342 of file class.ilForumPost.php.
References $forum_id.
Referenced by ilObjForumGUI\renderSplitButton().
ilForumPost::getId | ( | ) |
Definition at line 332 of file class.ilForumPost.php.
References $id.
Referenced by ilObjForumGUI\addActivationFormModal(), ilObjForumGUI\ensureValidPageForCurrentPosting(), ilObjForumGUI\renderDraftContent(), ilObjForumGUI\renderPostContent(), ilObjForumGUI\renderSplitButton(), and ilObjForumGUI\viewThreadObject().
ilForumPost::getImportName | ( | ) |
Definition at line 472 of file class.ilForumPost.php.
References $import_name.
Referenced by ilObjForumGUI\renderPostContent(), ilForumExportGUI\renderPostHtml(), and ilObjForumGUI\renderPostingForm().
ilForumPost::getIsRead | ( | ) |
Definition at line 507 of file class.ilForumPost.php.
References $post_read.
Referenced by isPostRead().
ilForumPost::getLft | ( | ) |
Definition at line 522 of file class.ilForumPost.php.
References $lft.
Referenced by ilForumTopic\getPostTree(), and ilForum\getSubPathIdsForNode().
ilForumPost::getMessage | ( | ) |
Definition at line 402 of file class.ilForumPost.php.
References $message.
Referenced by ilObjForumGUI\renderPostContent(), ilForumExportGUI\renderPostHtml(), and ilObjForumGUI\renderPostingForm().
ilForumPost::getParentId | ( | ) |
ilForumPost::getPosAuthorId | ( | ) |
Definition at line 562 of file class.ilForumPost.php.
References $pos_author_id.
Referenced by ilForumNotificationDataProvider\getThreadNotificationRecipients(), ilObjForumGUI\renderPostContent(), ilForumExportGUI\renderPostHtml(), and ilObjForumGUI\renderPostingForm().
ilForumPost::getPostActivationDate | ( | ) |
ilForumPost::getRCID | ( | ) |
Definition at line 357 of file class.ilForumPost.php.
References $rcid.
Referenced by ilFileDataForumRCImplementation\importFileToCollection().
ilForumPost::getRgt | ( | ) |
Definition at line 532 of file class.ilForumPost.php.
References $rgt.
Referenced by ilForumTopic\getPostTree(), and ilForum\getSubPathIdsForNode().
ilForumPost::getSubject | ( | ) |
Definition at line 392 of file class.ilForumPost.php.
References $subject.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getThread | ( | ) |
ilForumPost::getThreadId | ( | ) |
Definition at line 352 of file class.ilForumPost.php.
References $thread_id.
Referenced by ilObjForumGUI\addActivationFormModal(), ilForumTopic\getPostTree(), ilObjForumGUI\renderDraftContent(), ilObjForumGUI\renderPostContent(), and ilObjForumGUI\renderSplitButton().
ilForumPost::getTreeId | ( | ) |
Definition at line 492 of file class.ilForumPost.php.
References $tree_id.
Referenced by ilForum\getSubPathIdsForNode().
ilForumPost::getUpdateUserId | ( | ) |
Definition at line 432 of file class.ilForumPost.php.
References $user_id_update.
Referenced by ilObjForumGUI\renderDraftContent(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::getUserAlias | ( | ) |
Definition at line 382 of file class.ilForumPost.php.
References $user_alias.
Referenced by ilObjForumGUI\renderPostContent(), ilForumExportGUI\renderPostHtml(), and ilObjForumGUI\renderPostingForm().
ilForumPost::hasReplies | ( | ) |
Definition at line 303 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 482 of file class.ilForumPost.php.
References $status.
Referenced by ilObjForumGUI\renderPostContent(), ilForumExportGUI\renderPostHtml(), and ilObjForumGUI\renderSplitButton().
ilForumPost::isAnyParentDeactivated | ( | ) |
ilForumPost::isAuthorModerator | ( | ) |
Definition at line 567 of file class.ilForumPost.php.
References $is_author_moderator.
Referenced by ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::isCensored | ( | ) |
Definition at line 442 of file class.ilForumPost.php.
References $censored.
Referenced by ilObjForumGUI\renderDraftContent(), ilObjForumGUI\renderPostContent(), ilForumExportGUI\renderPostHtml(), ilObjForumGUI\renderPostingForm(), and ilObjForumGUI\renderSplitButton().
ilForumPost::isNotificationEnabled | ( | ) |
ilForumPost::isOwner | ( | int | $a_user_id = 0 | ) |
Definition at line 318 of file class.ilForumPost.php.
Referenced by ilObjForumGUI\renderPostContent(), ilForumExportGUI\renderPostHtml(), ilObjForumGUI\renderPostingForm(), and ilObjForumGUI\renderSplitButton().
ilForumPost::isPostRead | ( | ) |
Definition at line 283 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 645 of file class.ilForumPost.php.
|
static |
|
static |
int[] | $excludedPostIds |
Definition at line 628 of file class.ilForumPost.php.
Referenced by ilForum\mergeThreads().
|
private |
Definition at line 131 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 195 of file class.ilForumPost.php.
References read().
ilForumPost::setCensoredDate | ( | ?string | $censored_date | ) |
Definition at line 592 of file class.ilForumPost.php.
References $censored_date.
Referenced by assignData().
ilForumPost::setCensorship | ( | bool | $a_censorship | ) |
Definition at line 437 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setCensorshipComment | ( | ?string | $a_comment | ) |
Definition at line 447 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setChangeDate | ( | ?string | $a_changedate | ) |
Definition at line 417 of file class.ilForumPost.php.
Referenced by assignData(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::setCreateDate | ( | ?string | $a_createdate | ) |
Definition at line 407 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setDepth | ( | int | $a_depth | ) |
Definition at line 537 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setDisplayUserId | ( | int | $a_user_id | ) |
Definition at line 367 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setForumId | ( | int | $a_forum_id | ) |
Definition at line 337 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setId | ( | int | $a_id | ) |
Definition at line 327 of file class.ilForumPost.php.
ilForumPost::setImportName | ( | ?string | $a_import_name | ) |
Definition at line 467 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setIsAuthorModerator | ( | ?bool | $is_author_moderator | ) |
Definition at line 572 of file class.ilForumPost.php.
References $is_author_moderator.
Referenced by assignData().
ilForumPost::setIsRead | ( | bool | $a_is_read | ) |
Definition at line 502 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setLft | ( | int | $a_lft | ) |
Definition at line 517 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setMessage | ( | string | $a_message | ) |
Definition at line 397 of file class.ilForumPost.php.
Referenced by assignData(), ilObjForumGUI\renderPostContent(), and ilForumExportGUI\renderPostHtml().
ilForumPost::setNotification | ( | bool | $a_notification | ) |
Definition at line 457 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 497 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setPosAuthorId | ( | int | $pos_author_id | ) |
Definition at line 557 of file class.ilForumPost.php.
References $pos_author_id.
Referenced by assignData().
ilForumPost::setPostActivationDate | ( | ?string | $post_activation_date | ) |
Definition at line 587 of file class.ilForumPost.php.
References $post_activation_date.
Referenced by activatePost().
ilForumPost::setRCID | ( | string | $rcid | ) |
Definition at line 362 of file class.ilForumPost.php.
References $rcid.
Referenced by assignData(), and ilFileDataForumRCImplementation\importFileToCollection().
ilForumPost::setRgt | ( | int | $a_rgt | ) |
Definition at line 527 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setStatus | ( | bool | $a_status | ) |
Definition at line 477 of file class.ilForumPost.php.
Referenced by activatePost(), and assignData().
ilForumPost::setSubject | ( | string | $a_subject | ) |
Definition at line 387 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setThread | ( | ilForumTopic | $thread | ) |
Definition at line 547 of file class.ilForumPost.php.
ilForumPost::setThreadId | ( | int | $a_thread_id | ) |
Definition at line 347 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setTreeId | ( | int | $a_tree_id | ) |
Definition at line 487 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setUpdateUserId | ( | int | $a_user_id_update | ) |
Definition at line 427 of file class.ilForumPost.php.
Referenced by assignData().
ilForumPost::setUserAlias | ( | ?string | $a_user_alias | ) |
Definition at line 377 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().
Referenced by ilFileDataForumRCImplementation\importFileToCollection().
|
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 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 55 of file class.ilForumPost.php.
|
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().
const ilForumPost::NO_RCID = '-' |
Definition at line 27 of file class.ilForumPost.php.
Referenced by ilFileDataForumRCImplementation\importFileToCollection().