ManageContactRequests
in package
Admin page controller for managing contact requests.
Table of Contents
Properties
- $service : ContactRequestService|null
Methods
- render() : void
- Render.
- isBoothAccessible() : bool
- Is Booth Accessible.
- loadBoothIdsForUser() : array<string|int, mixed>
- Load Booth Ids For User.
- service() : ContactRequestService
- Service.
Properties
$service
private
static ContactRequestService|null
$service
= null
Methods
render()
Render.
public
static render() : void
isBoothAccessible()
Is Booth Accessible.
private
static isBoothAccessible(int $boothId, int $currentUserId, bool $isAdmin) : bool
Parameters
- $boothId : int
- $currentUserId : int
- $isAdmin : bool
Return values
boolloadBoothIdsForUser()
Load Booth Ids For User.
private
static loadBoothIdsForUser(int $userId, bool $isAdmin) : array<string|int, mixed>
Parameters
- $userId : int
- $isAdmin : bool
Return values
array<string|int, mixed>service()
Service.
private
static service() : ContactRequestService