KMP PHP API Reference

GatheringsGatheringActivity extends BaseEntity
in package

GatheringsGatheringActivity Entity

Join entity for the many-to-many relationship between Gatherings and GatheringActivities.

Table of Contents

Properties

$branch_id  : int|null
$created  : DateTime
$created_by  : int|null
$custom_description  : string|null
$gathering  : Gathering
$gathering_activity  : GatheringActivity
$gathering_activity_id  : int
$gathering_id  : int
$id  : int
$modified  : DateTime|null
$modified_by  : int|null
$not_removable  : bool
$sort_order  : int
$_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 = ['gathering_id' => true, 'gathering_activity_id' => true, 'sort_order' => true, 'not_removable' => false, 'custom_description' => true, 'created' => true, 'modified' => true, 'created_by' => true, 'modified_by' => true, 'gathering' => true, 'gathering_activity' => 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