KMP PHP API Reference

GatheringActivity extends BaseEntity
in package

GatheringActivity Entity

Represents an activity at a gathering (e.g., Heavy Combat, Archery, A&S Display). Activities can have associated waiver requirements.

Table of Contents

Properties

$branch_id  : int|null
$created  : DateTime
$description  : string|null
$gathering  : Gathering
$gathering_activity_waivers  : array<string|int, GatheringActivityWaiver>
$gathering_id  : int
$id  : int
$instructions  : string|null
$modified  : DateTime
$name  : string
$_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.

Properties

$branch_id

public int|null $branch_id

Associated branch ID (when applicable)

$_accessible

Fields that can be mass assigned using newEntity() or patchEntity().

protected array<string, bool> $_accessible = ['name' => true, 'description' => true, 'created' => true, 'modified' => 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


        
On this page

Search results