C# Class Sitecore.Modules.WeBlog.Components.ArchiveCore

Inheritance: IArchiveCore
Afficher le fichier Open project: WeTeam/WeBlog

Protected Properties

Свойство Type Description
StartedDate System.DateTime

Méthodes publiques

Méthode Description
ArchiveCore ( IBlogManager blogManagerInstance ) : System
GetFriendlyMonthName ( int yearAndMonth ) : string

Get the friendly name for a month index

Méthodes protégées

Méthode Description
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

Method Details

ArchiveCore() public méthode

public ArchiveCore ( IBlogManager blogManagerInstance ) : System
blogManagerInstance IBlogManager
Résultat System

GetFriendlyMonthName() public méthode

Get the friendly name for a month index
public GetFriendlyMonthName ( int yearAndMonth ) : string
yearAndMonth int The year and month in yyyyMM format
Résultat string

GetMonths() protected méthode

Get the months with entries for the given year
protected GetMonths ( int year ) : int[]
year int The year to get the months for
Résultat int[]

GetYears() protected méthode

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
Résultat int[]

LoadEntries() protected méthode

protected LoadEntries ( System.Item blogItem ) : void
blogItem System.Item
Résultat void

YearHasBlogEntries() protected méthode

Check if we have blog entries for given year or not
protected YearHasBlogEntries ( int year ) : bool
year int
Résultat bool

Property Details

StartedDate protected_oe property

protected DateTime,System StartedDate
Résultat System.DateTime