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

Inheritance: Rock.Web.UI.RockBlock
Show file 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 property

public string attendancePercentage
return string

currentDateString public property

public string currentDateString
return string

currentSundayDate public property

public string currentSundayDate
return string

currentYear public property

public int currentYear
return int

date2YrsAgo public property

public string date2YrsAgo
return string

dateLastYear public property

public string dateLastYear
return string

dateThisYear public property

public string dateThisYear
return string

dictionary public property

public Dictionary dictionary
return decimal>.Dictionary

emailContent public property

public string emailContent
return string

lastYear public property

public int lastYear
return int

weeknumber public property

public int weeknumber
return int