Class: ForumPostDrop

Inherits:
Liquid::Simplero::Drop show all
Includes:
CommentableDropConcerns, NotificationSettingProvidingDropConcern, ReactableDropConcerns, ShareableDropConcerns, UserRichContentConcerns
Defined in:
app/drops/forum_post_drop.rb

Overview

ForumPostDrop represents a forum post. It's available as post on a forum post page, and as a collection on ForumCategoryDrop and ForumDrop.

Instance Method Summary collapse

Methods inherited from Liquid::Simplero::Drop

#dom_id

Instance Method Details

#allow_comment_attachments?Boolean

Returns:

  • (Boolean)

#attachmentsArray<SimpleAttachmentDrop>

Returns:

#categoryForumCategoryDrop

Returns:

#category_has_other_new_posts?Boolean

Returns true if this ForumPostDrop's ForumCategoryDrop has new (unread) posts other than this one.

Returns:

  • (Boolean)

#file_attachmentsArray<SimpleAttachmentDrop>

Returns:

#idInteger

Returns:

  • (Integer)

#image_attachmentsArray<SimpleAttachmentDrop>

Returns:

#new?Boolean

Returns true if this post has not been viewed by the current SiteMemberDrop.

Returns:

  • (Boolean)

#notification_settingNotificationSettingDrop

#pathString

Returns:

  • (String)

#pinned?Boolean

Returns:

  • (Boolean)

#pinned_to_category?Boolean

Returns:

  • (Boolean)

#pinned_to_front_page?Boolean

Returns:

  • (Boolean)

#posted_atDateTime

Returns:

  • (DateTime)

#posterSiteMemberDrop

Returns:

#titleString

Returns:

  • (String)

#urlString

Returns:

  • (String)