C# Класс Sitecore.Modules.WeBlog.WebForms.Layouts.Sidebar.BlogArchive

Наследование: BaseSublayout
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
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