Bitrix-D7 23.9
 
Указатель Классы Пространства имен Функции Переменные
Загрузка...
Поиск...
Не найдено
Класс 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()

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

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

◆ getCodeByNumber()

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

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

◆ getColor()

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

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

◆ getColorByNumber()

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

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

◆ getColors()

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

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

◆ getName()

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

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

◆ getNameByNumber()

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

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

◆ getNames()

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

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

◆ getRandomCode()

static getRandomCode ( )
static

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

◆ getRandomColor()

static getRandomColor ( )
static

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

◆ getReplaceColors()

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

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

◆ getSafeColorNames()

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

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

◆ getSafeColors()

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

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

◆ isEnabled()

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

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

◆ isSafeColor()

static isSafeColor ( $code)
static

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

Данные класса

◆ MAX_COLOR_COUNT

const MAX_COLOR_COUNT = 99

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