C# 클래스 RockWeb.Blocks.Prayer.PrayerRequestDetail

상속: Rock.Web.UI.RockBlock, IDetailBlock
파일 보기 프로젝트 열기: NewSpring/Rock

공개 메소드들

메소드 설명
ScrubHtmlAndConvertCrLfToBr ( string str ) : string

Scrubs any html from the string but converts carriage returns into html <br/> suitable for web display.

ShowDetail ( int prayerId ) : void

Shows the prayer request's detail.

보호된 메소드들

메소드 설명
OnInit ( EventArgs e ) : void

Handles the E:System.Web.UI.Control.Init event.

OnLoad ( EventArgs e ) : void

Handles the E:System.Web.UI.Control.Load event.

lbCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbCancel control.

lbEdit_Click ( object sender, EventArgs e ) : void

Handles the edit Click event of the lbEdit control.

lbSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSave control.

ppRequestor_SelectPerson ( object sender, EventArgs e ) : void

Handles the SelectPerson event of the ppRequestor control.

비공개 메소드들

메소드 설명
SaveRequest ( ) : void

Saves the prayer request.

SetEditMode ( bool enableEdit ) : void

Sets the edit mode.

ShowApproval ( PrayerRequest prayerRequest ) : void

Shows the approval.

ShowEditDetails ( PrayerRequest prayerRequest ) : void

Shows the edit details.

ShowPrayerCount ( PrayerRequest prayerRequest ) : void

Shows the prayer count.

ShowReadonlyDetails ( PrayerRequest prayerRequest ) : void

Shows the readonly details.

ShowStatus ( PrayerRequest prayerRequest, Person person, HighlightLabel lFlagged ) : void

Shows the status flags

메소드 상세

OnInit() 보호된 메소드

Handles the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
리턴 void

OnLoad() 보호된 메소드

Handles the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
리턴 void

ScrubHtmlAndConvertCrLfToBr() 공개 정적인 메소드

Scrubs any html from the string but converts carriage returns into html <br/> suitable for web display.
public static ScrubHtmlAndConvertCrLfToBr ( string str ) : string
str string a string that may contain unsanitized html and carriage returns
리턴 string

ShowDetail() 공개 메소드

Shows the prayer request's detail.
public ShowDetail ( int prayerId ) : void
prayerId int The prayer identifier.
리턴 void

lbCancel_Click() 보호된 메소드

Handles the Click event of the lbCancel control.
protected lbCancel_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
리턴 void

lbEdit_Click() 보호된 메소드

Handles the edit Click event of the lbEdit control.
protected lbEdit_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
리턴 void

lbSave_Click() 보호된 메소드

Handles the Click event of the lbSave control.
protected lbSave_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
리턴 void

ppRequestor_SelectPerson() 보호된 메소드

Handles the SelectPerson event of the ppRequestor control.
protected ppRequestor_SelectPerson ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
리턴 void