KMP PHP API Reference

BestowalRecommendation extends BaseEntity
in package

BestowalRecommendation Entity - Join record linking a bestowal to a recommendation.

Table of Contents

Properties

$bestowal  : Bestowal
$bestowal_id  : int
$branch_id  : int|null
$created  : DateTime
$id  : int
$modified  : DateTime|null
$recommendation  : Recommendation
$recommendation_id  : int
$_accessible  : array<string, bool>

Methods

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

Properties

$branch_id

public int|null $branch_id

Associated branch ID (when applicable)

$modified

public DateTime|null $modified

Last modification timestamp

$_accessible

protected array<string, bool> $_accessible = ['bestowal_id' => true, 'recommendation_id' => true, 'created' => true, 'bestowal' => true, 'recommendation' => 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