Bitrix API

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.

internalize()

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
throws
ArgumentTypeException

setName()

Set item name.

public setName(string $name) : void
Parameters
$name : string

Item name.

Tags
throws
ArgumentTypeException

        
On this page

Search results