KMP PHP API Reference

Backup extends BaseEntity
in package

Backup entity — tracks backup metadata.

Table of Contents

Properties

$branch_id  : int|null
$created  : DateTime
$filename  : string
$id  : int
$modified  : DateTime
$notes  : string|null
$row_count  : int|null
$size_bytes  : int|null
$status  : string
$storage_type  : string
$table_count  : int|null
$_accessible  : array<string|int, mixed>

Methods

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

Properties

$branch_id

public int|null $branch_id

Associated branch ID (when applicable)

$created

public DateTime $created

$filename

public string $filename

$modified

public DateTime $modified

$row_count

public int|null $row_count

$size_bytes

public int|null $size_bytes

$storage_type

public string $storage_type

$table_count

public int|null $table_count

$_accessible

protected array<string|int, mixed> $_accessible = ['filename' => true, 'size_bytes' => true, 'table_count' => true, 'row_count' => true, 'storage_type' => true, 'status' => true, 'notes' => 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