Свойство | Тип | Описание | |
---|---|---|---|
Settings | IWeBlogSettings |
Метод | Описание | |
---|---|---|
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. |
Результат | System.Collections.Generic |
public EnableRSS ( |
||
blog | The blog to read the setting from | |
Результат | 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 |
Результат | Sitecore.Modules.WeBlog.Data.Items.BlogHomeItem[] |
public GetCurrentBlog ( ) : |
||
Результат |
public GetCurrentBlog ( Item item ) : |
||
item | Item | The item to find the current blog for |
Результат |
public GetUserBlogs ( string username ) : Sitecore.Modules.WeBlog.Data.Items.BlogHomeItem[] | ||
username | string | The name of the user requiring write access to the blog |
Результат | Sitecore.Modules.WeBlog.Data.Items.BlogHomeItem[] |
public ShowEmailWithinComments ( |
||
blog | The blog to read the setting from | |
Результат | bool |