19 declare(strict_types=1);
48 $this->db = $DIC->database();
53 $provider->objPost->getPosAuthorId() === $DIC->user()->getId()
84 $next_id = $this->db->nextId(
'frm_posts_deleted');
86 $this->db->insert(
'frm_posts_deleted', [
87 'deleted_id' => [
'integer', $next_id],
96 'obj_id' => [
'integer', $this->
getObjId()],
97 'ref_id' => [
'integer', $this->
getRefId()],
99 'forum_id' => [
'integer', $this->
getForumId()],
108 $this->db->manipulateF(
'DELETE FROM frm_posts_deleted WHERE deleted_id > %s', [
'integer'], [0]);
__construct(?ilForumNotificationDataProvider $provider=null)
setPosUserAlias(string $pos_usr_alias)
setPostMessage(string $post_message)
setDeletedDate(string $deleted_date)
setDeletedBy(string $deleted_by)
setDeletedId(int $deleted_id)
Class ilForumNotificationDataProvider.
setThreadId(int $thread_id)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Class ilForumPostsDeleted.
setThreadDeleted(bool $thread_deleted)
setForumTitle(string $forum_title)
setPostDate(string $post_date)
setPostTitle(string $post_title)
setForumId(int $forum_id)
readonly ilDBInterface $db
setThreadTitle(string $thread_title)
setPosDisplayUserId(int $pos_display_user_id)