WaiverMobileService
in package
Waiver Mobile Service
Handles mobile-specific waiver workflows: gathering selection for mobile upload, mobile upload orchestration, and attestation (exemption) processing.
Table of Contents
Methods
- getAuthorizedGatherings() : array<string|int, mixed>
- Get gatherings accessible by the user for mobile waiver upload.
- processAttestation() : ServiceResult
- Process a waiver attestation (exemption).
Methods
getAuthorizedGatherings()
Get gatherings accessible by the user for mobile waiver upload.
public
getAuthorizedGatherings(array<string|int, mixed>|null $branchIds, array<string|int, mixed> $stewardGatheringIds) : array<string|int, mixed>
Parameters
- $branchIds : array<string|int, mixed>|null
-
Branch IDs user has permission for (null = global)
- $stewardGatheringIds : array<string|int, mixed>
-
Gathering IDs where user is a steward
Return values
array<string|int, mixed> —Authorized gatherings with waiver status
processAttestation()
Process a waiver attestation (exemption).
public
processAttestation(int $gatheringId, int $waiverTypeId, string $reason, string|null $notes, string|null $referer) : ServiceResult
Parameters
- $gatheringId : int
-
Gathering ID
- $waiverTypeId : int
-
Waiver type ID
- $reason : string
-
Exemption reason
- $notes : string|null
-
Optional notes
- $referer : string|null
-
HTTP referer for redirect URL