ClusterDataSetEntity
extends Entity
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
AVAILABLE_CLUSTER_GROUP_TYPE
protected
mixed
AVAILABLE_CLUSTER_GROUP_TYPE
= ['minMax', 'value']
AVAILABLE_CLUSTER_TYPE
protected
mixed
AVAILABLE_CLUSTER_TYPE
= ['none', 'cluster', 'info']
$backgroundColor
private
string
$backgroundColor
= ''
$groups
private
array<string|int, mixed>
$groups
= []
$infoField
private
string
$infoField
= ''
$outsideGroup
private
array<string|int, mixed>
$outsideGroup
= []
$textColor
private
string
$textColor
= ''
$type
private
string
$type
__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
—
createFromArray()
public
static createFromArray(array<string|int, mixed> $data) : ClusterDataSetEntity
Parameters
-
$data
: array<string|int, mixed>
-
Return values
ClusterDataSetEntity
—
getBackgroundColor()
public
getBackgroundColor() : string
Return values
string
—
getGroups()
public
getGroups() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
getInfoField()
public
getInfoField() : string
Return values
string
—
getOutsideGroup()
public
getOutsideGroup() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
getTextColor()
public
getTextColor() : string
Return values
string
—
getType()
public
getType() : string
Return values
string
—
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
—