KMP PHP API Reference

Note extends BaseEntity
in package

Note Entity

Table of Contents

Properties

$author_id  : int
$body  : string|null
$branch_id  : int|null
$created  : DateTime|null
$created_on  : DateTime
$entity_id  : int
$entity_type  : string|null
$id  : int
$modified  : DateTime|null
$private  : bool
$subject  : string|null
$_accessible  : array<string, bool>
Fields that can be mass assigned using newEntity() or patchEntity().

Methods

getBranchId()  : int|null
Get branch id.

Properties

$author_id

public int $author_id

$body

public string|null $body

$branch_id

public int|null $branch_id

Associated branch ID (when applicable)

$created

public DateTime|null $created

Creation timestamp

$created_on

public DateTime $created_on

$entity_id

public int $entity_id

$entity_type

public string|null $entity_type

$modified

public DateTime|null $modified

Last modification timestamp

$private

public bool $private

$subject

public string|null $subject

$_accessible

Fields that can be mass assigned using newEntity() or patchEntity().

protected array<string, bool> $_accessible = ['author_id' => true, 'created_on' => true, 'entity_type' => true, 'entity_id' => true, 'subject' => true, 'body' => true, 'private' => true]

Note that when '' is set to true, this allows all unspecified fields to be mass assigned. For security purposes, it is advised to set '' to false (or remove it), and explicitly make individual fields accessible as needed.

Methods

getBranchId()

Get branch id.

public getBranchId() : int|null
Return values
int|null

        
On this page

Search results