Access
extends Model
in package
Table of Contents
- $accessAdmin : bool
- $created : JsonDateTime
- $id : int
- $keysAdmin : bool
- $logsAdmin : bool
- $name : string
- $owner : bool
- $premisesAdmin : bool
- $reservationsAbility : bool
- $reservationsAdmin : bool
- $statsViewer : bool
- $updated : JsonDateTime
- __construct() : mixed
- __set() : mixed
- jsonSerialize() : array<string|int, mixed>
- Specify data which should be serialized to JSON
- update() : void
- Updates model properties with form data
- validate() : void
- Domain object save validation callback.
Properties
$accessAdmin
public
bool
$accessAdmin
$created
public
JsonDateTime
$created
$id
public
int
$id
$keysAdmin
public
bool
$keysAdmin
$logsAdmin
public
bool
$logsAdmin
$name
public
string
$name
$owner
public
bool
$owner
$premisesAdmin
public
bool
$premisesAdmin
$reservationsAbility
public
bool
$reservationsAbility
$reservationsAdmin
public
bool
$reservationsAdmin
$statsViewer
public
bool
$statsViewer
$updated
public
JsonDateTime
$updated
Methods
__construct()
public
__construct(int $id, string $name, bool $owner, bool $accessAdmin, bool $premisesAdmin, bool $keysAdmin, bool $reservationsAdmin, bool $reservationsAbility, bool $logsAdmin, bool $statsViewer, JsonDateTime $created, JsonDateTime $updated) : mixed
Parameters
- $id : int
- $name : string
- $owner : bool
- $accessAdmin : bool
- $premisesAdmin : bool
- $keysAdmin : bool
- $reservationsAdmin : bool
- $reservationsAbility : bool
- $logsAdmin : bool
- $statsViewer : bool
- $created : JsonDateTime
- $updated : JsonDateTime
Return values
mixed —__set()
public
__set(string $name, mixed $value) : mixed
Parameters
- $name : string
- $value : mixed
Tags
Return values
mixed —jsonSerialize()
Specify data which should be serialized to JSON
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed> —update()
Updates model properties with form data
public
update(stdClass $form) : void
Parameters
- $form : stdClass
Return values
void —validate()
Domain object save validation callback.
public
validate() : void