См. определение в файле theme.php строка 17
◆ convertHexToRgb()
convertHexToRgb |
( |
string | $hexColor | ) |
|
|
staticprotected |
- Аргументы
-
- Возвращает
- array
См. определение в файле theme.php строка 294
◆ convertRgbToHsl()
convertRgbToHsl |
( |
int | $red, |
|
|
int | $green, |
|
|
int | $blue ) |
|
staticprotected |
- Аргументы
-
integer | $red | |
integer | $green | |
integer | $blue | |
- Возвращает
- array [hue, saturation, lightness]
См. определение в файле theme.php строка 323
◆ enabled()
Enable or not the hook.
- Возвращает
- boolean
Переопределяет метод предка Page.
См. определение в файле theme.php строка 268
◆ exec()
Exec hook.
- Возвращает
- void
Переопределяет метод предка Page.
См. определение в файле theme.php строка 374
◆ getAllColorCodes()
Get hex for all colors.
- Возвращает
- array
См. определение в файле theme.php строка 213
◆ getColorCodes()
Get all themes colors.
- Возвращает
- array
См. определение в файле theme.php строка 52
◆ getMap()
Map of the field.
- Возвращает
- array
Переопределяет метод предка Page.
См. определение в файле theme.php строка 25
◆ getStartColorCodes()
Get hex for start colors.
- Возвращает
- array
См. определение в файле theme.php строка 231
◆ getThemeCodeByColor()
getThemeCodeByColor |
( |
string | $hexColor | ) |
|
|
staticprotected |
Find theme name (old format) by hex color
- Аргументы
-
string | $hexColor | (with lead #) |
- Возвращает
- string|null
См. определение в файле theme.php строка 250
◆ isHex()
◆ prepareColor()
prepareColor |
( |
string | $color | ) |
|
|
static |
◆ DEFAULT_COLOR
const DEFAULT_COLOR = '#34bcf2' |
|
protected |
Объявления и описания членов класса находятся в файле:
- C:/bitrix/modules/landing/lib/hook/page/theme.php