Room
Table of Contents
Constants
-
TYPE
= 'location'
Methods
-
create()
: $this
-
createInstance()
: Room
-
createInstanceFromParams()
: Room
-
delete()
: $this
-
getAccess()
: array<string|int, mixed>|null
-
getCapacity()
: int|null
-
getCategoryId()
: int|null
-
getColor()
: string|null
-
getCreatedBy()
: int|null
-
getError()
: Error|null
-
getId()
: int|null
-
getLocationId()
: int|null
-
getName()
: string|null
-
getNecessity()
: string|null
-
getOwnerId()
: int|null
-
getType()
: string|null
-
setAccess()
: Room
-
setCapacity()
: Room
-
setCategoryId()
: Room
-
setColor()
: Room
-
setCreatedBy()
: Room
-
setId()
: Room
-
setLocationId()
: Room
-
setName()
: $this
-
setNecessity()
: Room
-
setOwnerId()
: Room
-
update()
: $this
TYPE
public
mixed
TYPE
= 'location'
create()
public
create() : $this
-
throws
-
Exception
createInstance()
public
createInstance() : Room
createInstanceFromParams()
public
static createInstanceFromParams(mixed $params) : Room
Parameters
-
$params
: mixed
-
delete()
public
delete() : $this
-
throws
-
Exception
getAccess()
public
getAccess() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null
getCapacity()
public
getCapacity() : int|null
getCategoryId()
public
getCategoryId() : int|null
getColor()
public
getColor() : string|null
Return values
string|null
getCreatedBy()
public
getCreatedBy() : int|null
getError()
public
getError() : Error|null
getId()
public
getId() : int|null
getLocationId()
public
getLocationId() : int|null
getName()
public
getName() : string|null
Return values
string|null
getNecessity()
public
getNecessity() : string|null
Return values
string|null
getOwnerId()
public
getOwnerId() : int|null
getType()
public
getType() : string|null
Return values
string|null
setAccess()
public
setAccess([array<string|int, mixed>|null $access = [] ]) : Room
Parameters
-
$access
: array<string|int, mixed>|null
= []
-
setCapacity()
public
setCapacity([int|null $capacity = null ]) : Room
Parameters
-
$capacity
: int|null
= null
-
setCategoryId()
public
setCategoryId([int|null $categoryId = null ]) : Room
Parameters
-
$categoryId
: int|null
= null
-
setColor()
public
setColor([string|null $color = '' ]) : Room
Parameters
-
$color
: string|null
= ''
-
setCreatedBy()
public
setCreatedBy() : Room
setId()
public
setId([int|null $id = null ]) : Room
Parameters
-
$id
: int|null
= null
-
setLocationId()
public
setLocationId([int|null $locationId = null ]) : Room
Parameters
-
$locationId
: int|null
= null
-
setName()
public
setName([string|null $name = '' ]) : $this
Parameters
-
$name
: string|null
= ''
-
setNecessity()
public
setNecessity([string|null $necessity = 'N' ]) : Room
Parameters
-
$necessity
: string|null
= 'N'
-
setOwnerId()
public
setOwnerId([int|null $ownerId = null ]) : Room
Parameters
-
$ownerId
: int|null
= null
-
update()
public
update() : $this
-
throws
-
Exception