KMP PHP API Reference

CourtAgendaSegment extends BaseEntity
in package

Named court, break, or planning segment inside a court agenda.

Table of Contents

Constants

TYPE_BREAK  : mixed = 'break'
TYPE_BUSINESS  : mixed = 'business'
TYPE_COURT  : mixed = 'court'

Properties

$branch_id  : int|null
$court_agenda  : CourtAgenda
$court_agenda_id  : int
$court_agenda_items  : array<string|int, CourtAgendaItem>
$court_type  : string
$created  : DateTime|null
$gathering_scheduled_activity  : GatheringScheduledActivity|null
$gathering_scheduled_activity_id  : int|null
$id  : int
$modified  : DateTime|null
$name  : string
$notes  : string|null
$planned_duration_minutes  : int
$planned_start_time  : string|null
$sort_order  : int
$_accessible  : array<string, bool>

Methods

getBranchId()  : int|null
Get the branch ID for authorization checks.

Constants

Properties

$branch_id

public int|null $branch_id

Associated branch ID (when applicable)

$created

public DateTime|null $created

Creation timestamp

$gathering_scheduled_activity_id

public int|null $gathering_scheduled_activity_id

$modified

public DateTime|null $modified

Last modification timestamp

$_accessible

protected array<string, bool> $_accessible = ['court_agenda_id' => true, 'gathering_scheduled_activity_id' => true, 'name' => true, 'court_type' => true, 'sort_order' => true, 'planned_start_time' => true, 'planned_duration_minutes' => true, 'notes' => true, 'modified' => true, 'created' => true, 'created_by' => true, 'modified_by' => true, 'deleted' => true, 'court_agenda' => true, 'gathering_scheduled_activity' => true, 'court_agenda_items' => 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