GatheringWaiverClosure
extends BaseEntity
in package
GatheringWaiverClosure Entity
Represents closure status for waiver collection on a gathering. Supports two states: "ready to close" (event staff signals completion) and "closed" (waiver secretary confirms and closes).
Table of Contents
Properties
- $branch_id : int|null
- $closed_at : DateTime|null
- $closed_by : int|null
- $closed_by_member : Member|null
- $created : DateTime|null
- $gathering : Gathering
- $gathering_id : int
- $id : int
- $modified : DateTime|null
- $ready_to_close_at : DateTime|null
- $ready_to_close_by : int|null
- $ready_to_close_by_member : Member|null
- $_accessible : array<string, bool>
- Fields that can be mass assigned using newEntity() or patchEntity().
Methods
- getBranchId() : int|null
- Get the branch ID for authorization checks.
- isClosed() : bool
- Check if this gathering is fully closed.
- isReadyToClose() : bool
- Check if this gathering is marked ready to close.
Properties
$branch_id
public
int|null
$branch_id
Associated branch ID (when applicable)
$closed_at
public
DateTime|null
$closed_at
$closed_by
public
int|null
$closed_by
$closed_by_member
public
Member|null
$closed_by_member
$created
public
DateTime|null
$created
$gathering
public
Gathering
$gathering
$gathering_id
public
int
$gathering_id
$id
public
int
$id
$modified
public
DateTime|null
$modified
$ready_to_close_at
public
DateTime|null
$ready_to_close_at
$ready_to_close_by
public
int|null
$ready_to_close_by
$ready_to_close_by_member
public
Member|null
$ready_to_close_by_member
$_accessible
Fields that can be mass assigned using newEntity() or patchEntity().
protected
array<string, bool>
$_accessible
= ['gathering_id' => true, 'closed_at' => true, 'closed_by' => true, 'ready_to_close_at' => true, 'ready_to_close_by' => true, 'created' => true, 'modified' => true, 'gathering' => true, 'closed_by_member' => true, 'ready_to_close_by_member' => true]
Methods
getBranchId()
Get the branch ID for authorization checks.
public
getBranchId() : int|null
Child classes should override for complex branch relationships.
Return values
int|null —The branch ID, or null if no association
isClosed()
Check if this gathering is fully closed.
public
isClosed() : bool
Return values
boolisReadyToClose()
Check if this gathering is marked ready to close.
public
isReadyToClose() : bool