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
TYPE_BREAK
public
mixed
TYPE_BREAK
= 'break'
TYPE_BUSINESS
public
mixed
TYPE_BUSINESS
= 'business'
TYPE_COURT
public
mixed
TYPE_COURT
= 'court'
Properties
$branch_id
public
int|null
$branch_id
Associated branch ID (when applicable)
$court_agenda
public
CourtAgenda
$court_agenda
$court_agenda_id
public
int
$court_agenda_id
$court_agenda_items
public
array<string|int, CourtAgendaItem>
$court_agenda_items
$court_type
public
string
$court_type
$created
public
DateTime|null
$created
Creation timestamp
$gathering_scheduled_activity
public
GatheringScheduledActivity|null
$gathering_scheduled_activity
$gathering_scheduled_activity_id
public
int|null
$gathering_scheduled_activity_id
$id
public
int
$id
$modified
public
DateTime|null
$modified
Last modification timestamp
$name
public
string
$name
$notes
public
string|null
$notes
$planned_duration_minutes
public
int
$planned_duration_minutes
$planned_start_time
public
string|null
$planned_start_time
$sort_order
public
int
$sort_order
$_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