Свойство | Type | Description | |
---|---|---|---|
Settings | IWeBlogSettings |
Méthode | Description | |
---|---|---|
BlogManager ( IWeBlogSettings settings = null ) : System.Collections.Generic |
Creates a new instance.
|
|
EnableRSS ( ) : bool |
Checks if the current blog has RSS enabled
|
|
EnableRSS ( |
Checks if the current blog has RSS enabled
|
|
GetAllBlogs ( Database database = null ) : Sitecore.Modules.WeBlog.Data.Items.BlogHomeItem[] |
Gets all the blogs.
|
|
GetCurrentBlog ( ) : |
Gets the current blog for the context item
|
|
GetCurrentBlog ( Item item ) : |
Gets the current blog for the item
|
|
GetDictionaryItem ( ) : Item |
Returns the dictionary item.
|
|
GetUserBlogs ( string username ) : Sitecore.Modules.WeBlog.Data.Items.BlogHomeItem[] |
Get all blogs the user has write access to from the content database
|
|
ShowEmailWithinComments ( ) : bool |
Checks if emails should be displayed with comments
|
|
ShowEmailWithinComments ( |
Checks if emails should be displayed with comments
|
public BlogManager ( IWeBlogSettings settings = null ) : System.Collections.Generic | ||
settings | IWeBlogSettings | The settings to use. If null, the default settings will be used. |
Résultat | System.Collections.Generic |
public EnableRSS ( |
||
blog | The blog to read the setting from | |
Résultat | bool |
public GetAllBlogs ( Database database = null ) : Sitecore.Modules.WeBlog.Data.Items.BlogHomeItem[] | ||
database | Database | The database to get the blogs from. If null, use the context database |
Résultat | Sitecore.Modules.WeBlog.Data.Items.BlogHomeItem[] |
public GetCurrentBlog ( ) : |
||
Résultat |
public GetCurrentBlog ( Item item ) : |
||
item | Item | The item to find the current blog for |
Résultat |
public GetUserBlogs ( string username ) : Sitecore.Modules.WeBlog.Data.Items.BlogHomeItem[] | ||
username | string | The name of the user requiring write access to the blog |
Résultat | Sitecore.Modules.WeBlog.Data.Items.BlogHomeItem[] |
public ShowEmailWithinComments ( |
||
blog | The blog to read the setting from | |
Résultat | bool |