WorkflowApprovalTriageState
extends BaseEntity
in package
Private workflow approval triage state for one approver.
Table of Contents
Constants
- STATE_NEEDS_RESEARCH : mixed = 'needs_research'
- STATE_NEW : mixed = 'new'
- STATE_ON_HOLD : mixed = 'on_hold'
- STATE_READY_TO_DECIDE : mixed = 'ready_to_decide'
- STATE_REVIEWING : mixed = 'reviewing'
Properties
- $branch_id : int|null
- $created : DateTime|null
- $created_by : int|null
- $id : int
- $member : Member
- $member_id : int
- $modified : DateTime|null
- $modified_by : int|null
- $note : string|null
- $state : string
- $workflow_approval : WorkflowApproval
- $workflow_approval_id : int
- $_accessible : array<string, bool>
- Fields that can be mass assigned.
Methods
- getBranchId() : int|null
- Get the branch ID for authorization checks.
- labels() : array<string, string>
- states() : array<int, string>
Constants
STATE_NEEDS_RESEARCH
public
mixed
STATE_NEEDS_RESEARCH
= 'needs_research'
STATE_NEW
public
mixed
STATE_NEW
= 'new'
STATE_ON_HOLD
public
mixed
STATE_ON_HOLD
= 'on_hold'
STATE_READY_TO_DECIDE
public
mixed
STATE_READY_TO_DECIDE
= 'ready_to_decide'
STATE_REVIEWING
public
mixed
STATE_REVIEWING
= 'reviewing'
Properties
$branch_id
public
int|null
$branch_id
Associated branch ID (when applicable)
$created
public
DateTime|null
$created
$created_by
public
int|null
$created_by
$id
public
int
$id
$member
public
Member
$member
$member_id
public
int
$member_id
$modified
public
DateTime|null
$modified
$modified_by
public
int|null
$modified_by
$note
public
string|null
$note
$state
public
string
$state
$workflow_approval
public
WorkflowApproval
$workflow_approval
$workflow_approval_id
public
int
$workflow_approval_id
$_accessible
Fields that can be mass assigned.
protected
array<string, bool>
$_accessible
= ['workflow_approval_id' => true, 'member_id' => true, 'state' => true, 'note' => true, 'created_by' => true, 'modified_by' => 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
labels()
public
static labels() : array<string, string>
Return values
array<string, string>states()
public
static states() : array<int, string>