Class: ForumPostDrop
- Inherits:
-
Liquid::Simplero::Drop
- Object
- Liquid::Drop
- Liquid::Simplero::Drop
- ForumPostDrop
- 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
- #allow_comment_attachments? ⇒ Boolean
- #attachments ⇒ Array<SimpleAttachmentDrop>
- #category ⇒ ForumCategoryDrop
-
#category_has_other_new_posts? ⇒ Boolean
Returns true if this ForumPostDrop's ForumCategoryDrop has new (unread) posts other than this one.
- #file_attachments ⇒ Array<SimpleAttachmentDrop>
- #id ⇒ Integer
- #image_attachments ⇒ Array<SimpleAttachmentDrop>
-
#new? ⇒ Boolean
Returns true if this post has not been viewed by the current SiteMemberDrop.
- #notification_setting ⇒ NotificationSettingDrop
- #path ⇒ String
- #pinned? ⇒ Boolean
- #pinned_to_category? ⇒ Boolean
- #pinned_to_front_page? ⇒ Boolean
- #posted_at ⇒ DateTime
- #poster ⇒ SiteMemberDrop
- #title ⇒ String
- #url ⇒ String
Methods inherited from Liquid::Simplero::Drop
Instance Method Details
#allow_comment_attachments? ⇒ Boolean
#attachments ⇒ Array<SimpleAttachmentDrop>
#category ⇒ ForumCategoryDrop
#category_has_other_new_posts? ⇒ Boolean
Returns true if this ForumPostDrop's ForumCategoryDrop has new (unread) posts other than this one.
#file_attachments ⇒ Array<SimpleAttachmentDrop>
#id ⇒ Integer
#image_attachments ⇒ Array<SimpleAttachmentDrop>
#new? ⇒ Boolean
Returns true if this post has not been viewed by the current SiteMemberDrop.