KMP PHP API Reference

GatheringTypeGatheringActivity extends BaseEntity
in package

GatheringTypeGatheringActivity Entity

Join entity for the many-to-many relationship between GatheringTypes and GatheringActivities. This defines template activities that should be automatically added to gatherings.

Table of Contents

Properties

$branch_id  : int|null
$created  : DateTime
$created_by  : int|null
$gathering_activity  : GatheringActivity
$gathering_activity_id  : int
$gathering_type  : GatheringType
$gathering_type_id  : int
$id  : int
$modified  : DateTime|null
$modified_by  : int|null
$not_removable  : bool
$_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_type_id' => true, 'gathering_activity_id' => true, 'not_removable' => true, 'created' => true, 'modified' => true, 'created_by' => true, 'modified_by' => true, 'gathering_type' => 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