Class: ForumCategoryDrop
- Inherits:
-
Liquid::Simplero::Drop
- Object
- Liquid::Drop
- Liquid::Simplero::Drop
- ForumCategoryDrop
- Includes:
- NotificationSettingProvidingDropConcern
- Defined in:
- app/drops/forum_category_drop.rb
Overview
ForumCategoryDrop represents a category for ForumPostDrops. It's available as category
on forum-specific pages, as a reference on ForumPostDrop, and as a collection on ForumDrop.
Instance Method Summary collapse
-
#active? ⇒ Boolean
Returns true if this forum category is the one currently being displayed.
- #archived? ⇒ Boolean
- #forum_posts ⇒ ForumPostDrop
- #id ⇒ Integer
- #intro_text ⇒ String
- #label ⇒ String
-
#new_posts? ⇒ Boolean
Returns
true
if the current request is from a SiteMemberDrop and they have not read all the ForumCategoryDrop's ForumPostDrops. - #notification_setting ⇒ NotificationSettingDrop
- #path ⇒ String
- #posts_count ⇒ Integer
- #url ⇒ String
-
#visited_since_newest_post? ⇒ Boolean
Returns true if the current SiteMemberDrop has visited the ForumCategoryDrop since its latest #ForumPostDrop.
Methods inherited from Liquid::Simplero::Drop
Instance Method Details
#active? ⇒ Boolean
Returns true if this forum category is the one currently being displayed.
#archived? ⇒ Boolean
#forum_posts ⇒ ForumPostDrop
#id ⇒ Integer
#intro_text ⇒ String
#label ⇒ String
#new_posts? ⇒ Boolean
Returns true
if the current request is from a SiteMemberDrop and they have not read all the ForumCategoryDrop's ForumPostDrops.
#notification_setting ⇒ NotificationSettingDrop
#path ⇒ String
#posts_count ⇒ Integer
#url ⇒ String
#visited_since_newest_post? ⇒ Boolean
Returns true if the current SiteMemberDrop has visited the ForumCategoryDrop since its latest #ForumPostDrop.