PhaseColorSchemeElement
Table of Contents
Methods
- __construct() : mixed
- externalize() : void
- Get external representation of this object
- getColor() : string
- Get item color.
- getName() : string
- Get item name.
- internalize() : void
- Setup this object from external representation.
- setColor() : void
- Set item color.
- setName() : void
- Set item name.
Methods
__construct()
public
__construct([string $name = '' ][, string $color = '' ]) : mixed
Parameters
- $name : string = ''
-
Name.
- $color : string = ''
-
Color.
externalize()
Get external representation of this object
public
externalize(array<string|int, mixed> &$params) : void
Parameters
- $params : array<string|int, mixed>
-
Destination.
getColor()
Get item color.
public
getColor() : string
Return values
stringgetName()
Get item name.
public
getName() : string
Return values
stringinternalize()
Setup this object from external representation.
public
internalize(string $name, array<string|int, mixed> $params) : void
Parameters
- $name : string
-
Name.
- $params : array<string|int, mixed>
-
Source.
setColor()
Set item color.
public
setColor(string $color) : void
Parameters
- $color : string
-
Item color.
Tags
setName()
Set item name.
public
setName(string $name) : void
Parameters
- $name : string
-
Item name.