C# Класс Sitecore.Modules.WeBlog.Managers.TagManager

Наследование: ITagManager
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
ExtractAndSortTags ( IEnumerable entries ) : Tag[]

Extracts the tags from a collection of

Приватные методы

Метод Описание
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

Описание методов

ExtractAndSortTags() защищенный Метод

Extracts the tags from a collection of
protected ExtractAndSortTags ( IEnumerable entries ) : Tag[]
entries IEnumerable The entries to get the tags from
Результат Tag[]

GetTagsForBlog() публичный Метод

Gets the tags for the blog
public GetTagsForBlog ( BlogHomeItem blog ) : Tag[]
blog Sitecore.Modules.WeBlog.Data.Items.BlogHomeItem
Результат Tag[]

GetTagsForEntry() публичный Метод

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
Результат Tag[]

TagManager() публичный Метод

public TagManager ( ) : System
Результат System

TagManager() публичный Метод

public TagManager ( IEntryManager entryManager = null ) : System
entryManager IEntryManager
Результат System