C# Class Sitecore.Modules.WeBlog.WebForms.Layouts.Sidebar.BlogArchive

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

Protected Properties

Свойство Type Description
PanelArchive global::System.Web.UI.WebControls.Panel
Years global::System.Web.UI.WebControls.Repeater

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
BlogArchive ( IArchiveCore archiveCore = null ) : System

Méthodes protégées

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

Method Details

BlogArchive() public méthode

public BlogArchive ( IArchiveCore archiveCore = null ) : System
archiveCore IArchiveCore
Résultat System

GetEntriesForYearAndMonth() protected méthode

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

GetEntryCountForYearAndMonth() protected méthode

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

GetFriendlyMonthName() protected méthode

protected GetFriendlyMonthName ( int yearAndMonth ) : string
yearAndMonth int
Résultat string

GetMonths() protected méthode

protected GetMonths ( int year ) : int[]
year int
Résultat int[]

MonthDataBound() protected méthode

protected MonthDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs args ) : void
sender object
args System.Web.UI.WebControls.RepeaterItemEventArgs
Résultat void

Page_Load() protected méthode

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Property Details

PanelArchive protected_oe property

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
Résultat global::System.Web.UI.WebControls.Panel

Years protected_oe property

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
Résultat global::System.Web.UI.WebControls.Repeater