C# Class RockWeb.Plugins.org_newpointe.Reporting.AttendanceEmail

Inheritance: Rock.Web.UI.RockBlock
Datei anzeigen Open project: NewPointe/Rockit

Public Properties

Property Type Description
attendancePercentage string
currentDateString string
currentSundayDate string
currentYear int
date2YrsAgo string
dateLastYear string
dateThisYear string
dictionary decimal>.Dictionary
emailContent string
lastYear int
weeknumber int

Public Methods

Method Description
FirstDateOfWeekISO8601 ( int year, int weekOfYear ) : System.DateTime

Protected Methods

Method Description
GenerateHTML ( decimal>.Dictionary attendanceDictionary ) : string
GetAttendance ( ) : void
Page_Load ( object sender, EventArgs e ) : void
btnSend_Click ( object sender, EventArgs e ) : void

Private Methods

Method Description
SendEmail ( string recipient, string from, string subject, string body, RockContext rockContext ) : void

Method Details

FirstDateOfWeekISO8601() public static method

public static FirstDateOfWeekISO8601 ( int year, int weekOfYear ) : System.DateTime
year int
weekOfYear int
return System.DateTime

GenerateHTML() protected method

protected GenerateHTML ( decimal>.Dictionary attendanceDictionary ) : string
attendanceDictionary decimal>.Dictionary
return string

GetAttendance() protected method

protected GetAttendance ( ) : void
return void

Page_Load() protected method

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

btnSend_Click() protected method

protected btnSend_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Property Details

attendancePercentage public_oe property

public string attendancePercentage
return string

currentDateString public_oe property

public string currentDateString
return string

currentSundayDate public_oe property

public string currentSundayDate
return string

currentYear public_oe property

public int currentYear
return int

date2YrsAgo public_oe property

public string date2YrsAgo
return string

dateLastYear public_oe property

public string dateLastYear
return string

dateThisYear public_oe property

public string dateThisYear
return string

dictionary public_oe property

public Dictionary dictionary
return decimal>.Dictionary

emailContent public_oe property

public string emailContent
return string

lastYear public_oe property

public int lastYear
return int

weeknumber public_oe property

public int weeknumber
return int