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

Inheritance: IArchiveCore
ファイルを表示 Open project: WeTeam/WeBlog

Protected Properties

Property Type Description
StartedDate System.DateTime

Public Methods

Method Description
ArchiveCore ( IBlogManager blogManagerInstance ) : System
GetFriendlyMonthName ( int yearAndMonth ) : string

Get the friendly name for a month index

Protected Methods

Method 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 method

public ArchiveCore ( IBlogManager blogManagerInstance ) : System
blogManagerInstance IBlogManager
return System

GetFriendlyMonthName() public method

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

GetMonths() protected method

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

GetYears() protected method

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
return int[]

LoadEntries() protected method

protected LoadEntries ( System.Item blogItem ) : void
blogItem System.Item
return void

YearHasBlogEntries() protected method

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

Property Details

StartedDate protected_oe property

protected DateTime,System StartedDate
return System.DateTime