C# Класс Sitecore.Modules.WeBlog.Components.ArchiveCore

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

Защищенные свойства (Protected)

Свойство Тип Описание
StartedDate System.DateTime

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

Метод Описание
ArchiveCore ( IBlogManager blogManagerInstance ) : System
GetFriendlyMonthName ( int yearAndMonth ) : string

Get the friendly name for a month index

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

Метод Описание
GetMonths ( int year ) : int[]

Get the months with entries for the given year

GetYears ( EntryItem entries ) : int[]

Gets the years from latest blog entry's year to oldest blog entry's year

LoadEntries ( System.Item blogItem ) : void
YearHasBlogEntries ( int year ) : bool

Check if we have blog entries for given year or not

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

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

public ArchiveCore ( IBlogManager blogManagerInstance ) : System
blogManagerInstance IBlogManager
Результат System

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

Get the friendly name for a month index
public GetFriendlyMonthName ( int yearAndMonth ) : string
yearAndMonth int The year and month in yyyyMM format
Результат string

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

Get the months with entries for the given year
protected GetMonths ( int year ) : int[]
year int The year to get the months for
Результат int[]

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

Gets the years from latest blog entry's year to oldest blog entry's year
protected GetYears ( EntryItem entries ) : int[]
entries Sitecore.Modules.WeBlog.Data.Items.EntryItem
Результат int[]

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

protected LoadEntries ( System.Item blogItem ) : void
blogItem System.Item
Результат void

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

Check if we have blog entries for given year or not
protected YearHasBlogEntries ( int year ) : bool
year int
Результат bool

Описание свойств

StartedDate защищенное свойство

protected DateTime,System StartedDate
Результат System.DateTime