Click or drag to resize
BlogHelper Class
Class providing blog helper methods.
Inheritance Hierarchy
SystemObject
  CMS.BlogsBlogHelper

Namespace: CMS.Blogs
Assembly: CMS.Blogs (in CMS.Blogs.dll) Version: 12.0.0
Syntax
C#
public static class BlogHelper

The BlogHelper type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberBLOG_CLASS_NAME
Class name for Blog page type
Public fieldStatic memberBLOG_OBJECT_TYPE
Object type for Blog page type
Top
Methods
  NameDescription
Public methodStatic memberBlogOptInEnabled
Indicates if opt-in is enabled for blog
Public methodStatic memberCreateMacroResolver
Creates macro resolver
Public methodStatic memberGetBlogDoubleOptInInterval
Get blog double opt-in interval from settings
Public methodStatic memberGetBlogPosts
Returns DataSet with all posts from all blogs.
Public methodStatic memberGetBlogs
Returns all blogs from specified site, optionally owned by specified user or moderated by specified user.
Public methodStatic memberGetBlogsWhere
Returns combined where condition using given ownerId, moderator name and custom where condition.
Public methodStatic memberGetCommentParentBlog
Returns parent blog of the specified comment.
Public methodStatic memberGetParentBlog(Int32, Boolean)
Returns parent blog of the specified document.
Public methodStatic memberGetParentBlog(String, String, Boolean)
Returns parent blog of the specified document.
Public methodStatic memberIsUserAuthorizedToManageComments
Checks if the current user is allowed to manage comments of the blog placed on specified node.
Public methodStatic memberIsUserBlogModerator
Determines if user is moderator of the specified blog.
Public methodStatic memberIsUserBlogOwner
Determines if user is owner of the specified blog.
Top
See Also