Configuration
extends Model
in package
Table of Contents
- $buildingImage : int
- $created : JsonDateTime
- $defaultUserAccess : int
- $id : int
- $maxImageSize : int
- $maxReservationTime : DateInterval
- $minReservationTime : DateInterval
- $requestHistory : int
- $reservationHistory : int
- $roomImage : int
- $updated : JsonDateTime
- $userImage : int
- __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
$buildingImage
public
int
$buildingImage
$created
public
JsonDateTime
$created
$defaultUserAccess
public
int
$defaultUserAccess
$id
public
int
$id
$maxImageSize
public
int
$maxImageSize
$maxReservationTime
public
DateInterval
$maxReservationTime
$minReservationTime
public
DateInterval
$minReservationTime
$requestHistory
public
int
$requestHistory
$reservationHistory
public
int
$reservationHistory
$roomImage
public
int
$roomImage
$updated
public
JsonDateTime
$updated
$userImage
public
int
$userImage
Methods
__construct()
public
__construct(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
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
Any rules checks on each update, can be implemented here.