1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Color

Открытые статические члены

static isEnabled ()
static getColors ()
static getNames ()
static getSafeColors ()
static getSafeColorNames ()
static getCode ($color)
static getReplaceColors ()
static getColor ($code)
static getName ($code)
static getColorByNumber ($number)
static getNameByNumber ($number)
static getCodeByNumber ($number)
static isSafeColor ($code)
static getRandomColor ()
static getRandomCode ()

Поля данных

const MAX_COLOR_COUNT = 99

Подробное описание

См. определение в файле color.php строка 14

Методы

◆ getCode()

getCode ( $color)
static
Аргументы
string$color
Возвращает
string|null

См. определение в файле color.php строка 103

◆ getCodeByNumber()

getCodeByNumber ( $number)
static
Аргументы
int$number
Возвращает
string

См. определение в файле color.php строка 166

◆ getColor()

getColor ( $code)
static
Аргументы
string$code
Возвращает
string|null

См. определение в файле color.php строка 121

◆ getColorByNumber()

getColorByNumber ( $number)
static
Аргументы
int$number
Возвращает
string

См. определение в файле color.php строка 144

◆ getColors()

getColors ( )
static
Возвращает
array

См. определение в файле color.php строка 58

◆ getName()

getName ( $code)
static
Аргументы
string$code
Возвращает
string|null

См. определение в файле color.php строка 135

◆ getNameByNumber()

getNameByNumber ( $number)
static
Аргументы
int$number
Возвращает
string

См. определение в файле color.php строка 155

◆ getNames()

getNames ( )
static
Возвращает
array

См. определение в файле color.php строка 66

◆ getRandomCode()

getRandomCode ( )
static

См. определение в файле color.php строка 200

◆ getRandomColor()

getRandomColor ( )
static

См. определение в файле color.php строка 193

◆ getReplaceColors()

getReplaceColors ( )
static
Возвращает
array

См. определение в файле color.php строка 112

◆ getSafeColorNames()

getSafeColorNames ( )
static
Возвращает
array

См. определение в файле color.php строка 88

◆ getSafeColors()

getSafeColors ( )
static
Возвращает
array

См. определение в файле color.php строка 80

◆ isEnabled()

isEnabled ( )
static
Возвращает
bool

См. определение в файле color.php строка 50

◆ isSafeColor()

isSafeColor ( $code)
static

См. определение в файле color.php строка 186

Поля

◆ MAX_COLOR_COUNT

const MAX_COLOR_COUNT = 99

См. определение в файле color.php строка 16


Объявления и описания членов класса находятся в файле: