Constructor
new GatheringsCalendarController()
Methods
connect()
Connect event - setup Bootstrap modal
disconnect()
Disconnect event - cleanup
getCsrfToken() → {string}
Get CSRF token from meta tag or form
CSRF token
- Type:
- string
initialize()
Initialize the calendar controller
(async) markAttendance(event)
Mark attendance for a gathering from quick view
| Name | Type | Description |
|---|---|---|
event | Event | Click event |
(async) showAttendanceModal(event)
Show attendance modal for marking or editing attendance Loads modal content dynamically from server to get full form UI
| Name | Type | Description |
|---|---|---|
event | Event | Click event |
showLocation(event)
Show location map for a gathering
| Name | Type | Description |
|---|---|---|
event | Event | Click event |
(async) showQuickView(event)
Show quick view modal for a gathering
| Name | Type | Description |
|---|---|---|
event | Event | Click event |
showToast(title, message, type)
Show toast notification
| Name | Type | Default | Description |
|---|---|---|---|
title | string | Toast title | |
message | string | Toast message | |
type | string | info | Bootstrap color type (success, danger, warning, info) |
(async) toggleAttendance(event)
Toggle attendance for a gathering (legacy method for list view)
| Name | Type | Description |
|---|---|---|
event | Event | Click event |
(async) updateAttendance(event)
Update attendance for a gathering from quick view
| Name | Type | Description |
|---|---|---|
event | Event | Click event |
updateFeedUrl()
Rebuild the subscribe feed URL from current browser URL filter params