AirLay backend

ClusterDataSetEntity extends Entity
in package

Table of Contents

AVAILABLE_CLUSTER_GROUP_TYPE  = ['minMax', 'value']
AVAILABLE_CLUSTER_TYPE  = ['none', 'cluster', 'info']
$backgroundColor  : string
$groups  : array<string|int, mixed>
$infoField  : string
$outsideGroup  : array<string|int, mixed>
$textColor  : string
$type  : string
__construct()  : mixed
addGroup()  : self
bsonSerialize()  : array<string|int, mixed>
bsonUnserialize()  : void
createFromArray()  : ClusterDataSetEntity
getBackgroundColor()  : string
getGroups()  : array<string|int, mixed>
getInfoField()  : string
getOutsideGroup()  : array<string|int, mixed>
getTextColor()  : string
getType()  : string
jsonSerialize()  : array<string|int, mixed>
setBackgroundColor()  : self
setGroups()  : self
setInfoField()  : self
setOutsideGroup()  : self
setTextColor()  : self
setType()  : self
toArray()  : array<string|int, mixed>
validateGroup()  : bool

Constants

AVAILABLE_CLUSTER_GROUP_TYPE

protected mixed AVAILABLE_CLUSTER_GROUP_TYPE = ['minMax', 'value']

AVAILABLE_CLUSTER_TYPE

protected mixed AVAILABLE_CLUSTER_TYPE = ['none', 'cluster', 'info']

Properties

Methods

__construct()

public __construct(string $type) : mixed
Parameters
$type : string
Return values
mixed

addGroup()

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

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

getGroups()

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

getOutsideGroup()

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

jsonSerialize()

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

setBackgroundColor()

public setBackgroundColor(string $backgroundColor) : self
Parameters
$backgroundColor : string
Return values
self

setGroups()

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

setInfoField()

public setInfoField(string $infoField) : self
Parameters
$infoField : string
Return values
self

setOutsideGroup()

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

setTextColor()

public setTextColor(string $textColor) : self
Parameters
$textColor : string
Return values
self

setType()

public setType(string $type) : self
Parameters
$type : string
Return values
self

toArray()

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

validateGroup()

private validateGroup(array<string|int, mixed> $group) : bool
Parameters
$group : array<string|int, mixed>
Return values
bool

Search results