AirLay backend

SystemCategory extends Category
in package

Table of Contents

AVAILABLE_GEOMETRY_TYPES  = ['Point', 'LineString', 'Polygon', 'MultiPoint', 'MultiLineString', 'MultiPolygon', 'GeometryCollection']
$_id  : ObjectId
$color  : string
$geometryTypes  : array<string|int, mixed>
$icon  : string
$name  : string
$type  : string
bsonSerialize()  : array<string|int, mixed>
bsonUnserialize()  : void
getGeometryTypes()  : array<string|int, string>
getId()  : ObjectId
getName()  : string
getProperties()  : array<string|int, mixed>
getType()  : string
jsonSerialize()  : array<string|int, mixed>
setGeometryTypes()  : self
toArray()  : array<string|int, mixed>
update()  : void

Constants

AVAILABLE_GEOMETRY_TYPES

public mixed AVAILABLE_GEOMETRY_TYPES = ['Point', 'LineString', 'Polygon', 'MultiPoint', 'MultiLineString', 'MultiPolygon', 'GeometryCollection']

Properties

$color

protected string $color = 'black'

$geometryTypes

protected array<string|int, mixed> $geometryTypes = self::AVAILABLE_GEOMETRY_TYPES

$icon

protected string $icon = 'default'

Methods

bsonSerialize()

public bsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

bsonUnserialize()

public bsonUnserialize(array<string|int, mixed> $data) : void
Parameters
$data : array<string|int, mixed>
Return values
void

getGeometryTypes()

public getGeometryTypes() : array<string|int, string>
Return values
array<string|int, string>

getId()

public getId() : ObjectId
Return values
ObjectId

getName()

public getName() : string
Return values
string

getProperties()

public getProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

setGeometryTypes()

public setGeometryTypes(array<string|int, mixed> $geometryTypes) : self
Parameters
$geometryTypes : array<string|int, mixed>
Return values
self

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

update()

public update(array<string|int, mixed> $data) : void
Parameters
$data : array<string|int, mixed>
Return values
void

Search results