C# 클래스 Sitecore.Modules.WeBlog.Components.ArchiveCore

상속: IArchiveCore
파일 보기 프로젝트 열기: WeTeam/WeBlog

보호된 프로퍼티들

프로퍼티 타입 설명
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