KMP PHP API Reference

ApprovalProcess extends BaseEntity
in package

Award approval process configuration.

Table of Contents

Properties

$approval_process_steps  : array<string|int, ApprovalProcessStep>
$branch_id  : int|null
$configuration_signature  : string
$created  : DateTime|null
$description  : string|null
$id  : int
$is_active  : bool
$modified  : DateTime|null
$name  : string
$_accessible  : array<string|int, mixed>

Methods

getBranchId()  : int|null
Get the branch ID for authorization checks.
_getConfigurationSignature()  : string
Produce a stable fingerprint of fields that affect recommendation approval behavior.
_getStepSummary()  : string
Summarize configured steps for grids and detail views.

Properties

$branch_id

public int|null $branch_id

Associated branch ID (when applicable)

$created

public DateTime|null $created

Creation timestamp

$modified

public DateTime|null $modified

Last modification timestamp

$_accessible

protected array<string|int, mixed> $_accessible = ['name' => true, 'description' => true, 'is_active' => true, 'created' => true, 'modified' => true, 'created_by' => true, 'modified_by' => true, 'deleted' => true, 'approval_process_steps' => 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

_getConfigurationSignature()

Produce a stable fingerprint of fields that affect recommendation approval behavior.

protected _getConfigurationSignature() : string
Return values
string

_getStepSummary()

Summarize configured steps for grids and detail views.

protected _getStepSummary() : string
Return values
string
On this page

Search results