C# 클래스 Sitecore.Modules.WeBlog.WebForms.Layouts.Sidebar.BlogArchive

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

보호된 프로퍼티들

프로퍼티 타입 설명
PanelArchive global::System.Web.UI.WebControls.Panel
Years global::System.Web.UI.WebControls.Repeater

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
BlogArchive ( IArchiveCore archiveCore = null ) : System

보호된 메소드들

메소드 설명
GetEntriesForYearAndMonth ( int yearAndMonth ) : List

Get the entries for the given year and month

GetEntryCountForYearAndMonth ( int yearAndMonth ) : int

Get the count of entries for the given year and month

GetFriendlyMonthName ( int yearAndMonth ) : string
GetMonths ( int year ) : int[]
MonthDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs args ) : void
Page_Load ( object sender, EventArgs e ) : void

메소드 상세

BlogArchive() 공개 메소드

public BlogArchive ( IArchiveCore archiveCore = null ) : System
archiveCore IArchiveCore
리턴 System

GetEntriesForYearAndMonth() 보호된 메소드

Get the entries for the given year and month
protected GetEntriesForYearAndMonth ( int yearAndMonth ) : List
yearAndMonth int The year and month in yyyyMM format
리턴 List

GetEntryCountForYearAndMonth() 보호된 메소드

Get the count of entries for the given year and month
protected GetEntryCountForYearAndMonth ( int yearAndMonth ) : int
yearAndMonth int The year and month in yyyyMM format
리턴 int

GetFriendlyMonthName() 보호된 메소드

protected GetFriendlyMonthName ( int yearAndMonth ) : string
yearAndMonth int
리턴 string

GetMonths() 보호된 메소드

protected GetMonths ( int year ) : int[]
year int
리턴 int[]

MonthDataBound() 보호된 메소드

protected MonthDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs args ) : void
sender object
args System.Web.UI.WebControls.RepeaterItemEventArgs
리턴 void

Page_Load() 보호된 메소드

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

프로퍼티 상세

PanelArchive 보호되어 있는 프로퍼티

PanelArchive control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel PanelArchive
리턴 global::System.Web.UI.WebControls.Panel

Years 보호되어 있는 프로퍼티

Years control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Repeater Years
리턴 global::System.Web.UI.WebControls.Repeater