C# Class Sitecore.Modules.WeBlog.Managers.TagManager

Inheritance: ITagManager
Afficher le fichier Open project: WeTeam/WeBlog Class Usage Examples

Méthodes publiques

Méthode Description
GetTagsForBlog ( BlogHomeItem blog ) : Tag[]

Gets the tags for the blog

GetTagsForEntry ( EntryItem entry ) : Tag[]

Gets the tags for a blog entry and sorts by weight

TagManager ( ) : System
TagManager ( IEntryManager entryManager = null ) : System

Méthodes protégées

Méthode Description
ExtractAndSortTags ( IEnumerable entries ) : Tag[]

Extracts the tags from a collection of

Private Methods

Méthode Description
GetAllTags ( ) : int>.Dictionary
GetAllTags ( BlogHomeItem blog ) : int>.Dictionary
GetTagsByBlog ( ID blogId ) : string[]
GetTagsByBlog ( System.Item blogItem ) : string[]
GetTagsByEntry ( EntryItem entry ) : int>.Dictionary
SortByWeight ( IEnumerable tags ) : int>.Dictionary

Method Details

ExtractAndSortTags() protected méthode

Extracts the tags from a collection of
protected ExtractAndSortTags ( IEnumerable entries ) : Tag[]
entries IEnumerable The entries to get the tags from
Résultat Tag[]

GetTagsForBlog() public méthode

Gets the tags for the blog
public GetTagsForBlog ( BlogHomeItem blog ) : Tag[]
blog Sitecore.Modules.WeBlog.Data.Items.BlogHomeItem
Résultat Tag[]

GetTagsForEntry() public méthode

Gets the tags for a blog entry and sorts by weight
public GetTagsForEntry ( EntryItem entry ) : Tag[]
entry Sitecore.Modules.WeBlog.Data.Items.EntryItem The entry to get the tags for
Résultat Tag[]

TagManager() public méthode

public TagManager ( ) : System
Résultat System

TagManager() public méthode

public TagManager ( IEntryManager entryManager = null ) : System
entryManager IEntryManager
Résultat System