KMP PHP API Reference

GatheringWaiverClosuresTable extends Table
in package

GatheringWaiverClosures Model

Tracks waiver collection status for gatherings. Supports two states:

  • Ready to close: Event staff signals waivers are complete
  • Closed: Waiver secretary reviews and confirms closure

Table of Contents

Properties

$ClosedByMembers  : MembersTable|BelongsTo
$Gatherings  : GatheringsTable|BelongsTo
$ReadyToCloseByMembers  : MembersTable|BelongsTo

Methods

buildRules()  : RulesChecker
Returns a rules checker object that will be used for validating application integrity.
getClosedGatheringIds()  : array<string|int, int>
Get closed gathering IDs, optionally filtered to a subset.
getClosureForGathering()  : GatheringWaiverClosure|null
Get the closure record for a gathering.
getReadyToCloseGatheringIds()  : array<string|int, int>
Get gathering IDs that are marked ready to close but not yet closed.
initialize()  : void
Initialize method
isGatheringClosed()  : bool
Check if waiver collection is closed for a gathering.
isGatheringReadyToClose()  : bool
Check if gathering is marked ready to close.
markReadyToClose()  : GatheringWaiverClosure|false
Mark a gathering as ready to close.
unmarkReadyToClose()  : bool
Unmark a gathering as ready to close.
validationDefault()  : Validator
Default validation rules.

Properties

Methods

buildRules()

Returns a rules checker object that will be used for validating application integrity.

public buildRules(RulesChecker $rules) : RulesChecker
Parameters
$rules : RulesChecker

The rules object to be modified.

Return values
RulesChecker

getClosedGatheringIds()

Get closed gathering IDs, optionally filtered to a subset.

public getClosedGatheringIds([array<string|int, int>|null $gatheringIds = null ]) : array<string|int, int>
Parameters
$gatheringIds : array<string|int, int>|null = null

Optional list of gathering IDs to filter.

Return values
array<string|int, int>

getReadyToCloseGatheringIds()

Get gathering IDs that are marked ready to close but not yet closed.

public getReadyToCloseGatheringIds([array<string|int, int>|null $gatheringIds = null ]) : array<string|int, int>
Parameters
$gatheringIds : array<string|int, int>|null = null

Optional list of gathering IDs to filter.

Return values
array<string|int, int>

initialize()

Initialize method

public initialize(array<string, mixed> $config) : void
Parameters
$config : array<string, mixed>

The configuration for the Table.

isGatheringClosed()

Check if waiver collection is closed for a gathering.

public isGatheringClosed(int $gatheringId) : bool
Parameters
$gatheringId : int

Gathering ID

Return values
bool

isGatheringReadyToClose()

Check if gathering is marked ready to close.

public isGatheringReadyToClose(int $gatheringId) : bool
Parameters
$gatheringId : int

Gathering ID

Return values
bool

unmarkReadyToClose()

Unmark a gathering as ready to close.

public unmarkReadyToClose(int $gatheringId) : bool
Parameters
$gatheringId : int

Gathering ID

Return values
bool

validationDefault()

Default validation rules.

public validationDefault(Validator $validator) : Validator
Parameters
$validator : Validator

Validator instance.

Return values
Validator

        
On this page

Search results