C# 클래스 RockWeb.Plugins.cc_newspring.AttendedCheckin.Admin

상속: Rock.CheckIn.CheckInBlock
파일 보기 프로젝트 열기: NewSpring/rock-attended-checkin

공개 메소드들

메소드 설명
GetCurrentKioskByGeoFencing ( string sLatitude, string sLongitude ) : Device

Returns a kiosk based on finding a geo location match for the given latitude and longitude.

보호된 메소드들

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

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

SendTestPrint ( ) : void

Prints a test label.

dlMinistry_ItemDataBound ( object sender, System.Web.UI.WebControls.DataListItemEventArgs e ) : void

Handles the ItemDataBound event of the dlMinistry control.

lbCheckGeoLocation_Click ( object sender, EventArgs e ) : void

Handles attempting to find a registered Device kiosk by it's latitude and longitude. This event method is called automatically when the GeoLocation script get's the client's location.

lbOk_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbOk control.

lbRefresh_Click ( object sender, EventArgs e ) : void

Used by the local storage script to rebind the group types if they were previously saved via local storage.

비공개 메소드들

메소드 설명
AddGeoLocationScript ( ) : void

Adds GeoLocation script and calls its init() to get client's latitude/longitude before firing the server side lbCheckGeoLocation_Click click event. Puts the two values into the two corresponding hidden varialbles, hfLatitude and hfLongitude.

AttemptKioskMatchByIpOrName ( ) : void

Attempts to match a known kiosk based on the IP address of the client.

BindGroupTypes ( RockContext rockContext = null ) : void

Binds the group types.

ClearMobileCookie ( ) : void

Clears the flag cookie that indicates this is a "mobile" device kiosk.

GetCheckinType ( GroupTypeCache groupType, int templateTypeId, List recursionControl = null ) : GroupTypeCache

Gets the primary check-in area to read settings from

GetCheckinType ( int groupTypeId ) : GroupTypeCache

Gets the primary check-in area to read settings from

GetDeviceGroupTypes ( int deviceId, RockContext rockContext = null ) : List

Gets the device group types.

RedirectToNewTheme ( string theme ) : void

Redirects to the new theme page.

SetDeviceIdCookie ( Device kiosk ) : void

Sets the "DeviceId" cookie to expire after TimeToCacheKioskGeoLocation minutes if IsMobile is set.

메소드 상세

GetCurrentKioskByGeoFencing() 공개 정적인 메소드

Returns a kiosk based on finding a geo location match for the given latitude and longitude.
public static GetCurrentKioskByGeoFencing ( string sLatitude, string sLongitude ) : Device
sLatitude string latitude as string
sLongitude string longitude as string
리턴 Device

OnLoad() 보호된 메소드

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

SendTestPrint() 보호된 메소드

Prints a test label.
protected SendTestPrint ( ) : void
리턴 void

dlMinistry_ItemDataBound() 보호된 메소드

Handles the ItemDataBound event of the dlMinistry control.
protected dlMinistry_ItemDataBound ( object sender, System.Web.UI.WebControls.DataListItemEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.DataListItemEventArgs The instance containing the event data.
리턴 void

lbCheckGeoLocation_Click() 보호된 메소드

Handles attempting to find a registered Device kiosk by it's latitude and longitude. This event method is called automatically when the GeoLocation script get's the client's location.
protected lbCheckGeoLocation_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

lbOk_Click() 보호된 메소드

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

lbRefresh_Click() 보호된 메소드

Used by the local storage script to rebind the group types if they were previously saved via local storage.
protected lbRefresh_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void