FileAccess Orion

BaseEvent extends BaseContent
in package

Define system maintenance object

Tags
category

Core content type

author

Tobias Teichner webmaster@teichner.biz

since

File available since v3.18.17

Table of Contents

$date_from  : string|null
$date_to  : string|null
$dbal  : CalendarDBAL|null
The database abstraction layer buffer
__construct()  : mixed
Maintenance constructor.
Assignees()  : Result
Delete()  : Result|null
Delete from database
Save()  : Result|null
loadFromSrc()  : void
Fetch from db
database()  : CalendarDBAL|null
Get the database instance

Properties

Methods

__construct()

Maintenance constructor.

public __construct([string|int|null $id = null ][, null|string $language = null ][, string $sub_type = 'maintenance' ]) : mixed
Parameters
$id : string|int|null = null

The maintenance id

$language : null|string = null

The local language or null

$sub_type : string = 'maintenance'
Return values
mixed

Assignees()

public Assignees(array<string|int, mixed> $assignees) : Result
Parameters
$assignees : array<string|int, mixed>
Return values
Result

Delete()

Delete from database

public Delete([false $skip = false ]) : Result|null
Parameters
$skip : false = false
Return values
Result|null

Save()

public Save([false $force_new_id = false ]) : Result|null
Parameters
$force_new_id : false = false
Return values
Result|null

loadFromSrc()

Fetch from db

protected loadFromSrc() : void
Return values
void

Search results