1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Theme
Граф наследования:Theme:
Page

Открытые члены

 enabled ()
 exec ()
Открытые члены унаследованные от Page
 __construct ($editMode=false, $isPage=true)
 isPage ()
 getTitle ()
 getDescription ()
 getSort ()
 isFree ()
 isLocked ()
 getLockedMessage ()
 isNeedPublication ()
 getCode ()
 setData (array $data)
 getPageFields ()
 getFields ()
 enabledInEditMode ()
 enabledInIntranetMode ()
 fieldsHash ()
 dataExist ()
 setCustomExec (callable $callback)
 issetCustomExec ()

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

static getColorCodes ()
static getAllColorCodes ()
static getStartColorCodes ()
static prepareColor (string $color)
static isHex (string $color)

Защищенные члены

 getMap ()
Защищенные члены унаследованные от Page
 isEditMode ()
 execCustom ()

Защищенные статические члены

static getThemeCodeByColor (string $hexColor)
static convertHexToRgb (string $hexColor)
static convertRgbToHsl (int $red, int $green, int $blue)

Защищенные данные

const DEFAULT_COLOR = '#34bcf2'
Защищенные данные унаследованные от Page
 $editMode = false
 $fields = array()
 $fieldsPage = array()
 $isPage = true
 $customExec = null
 $isNeedPublication = false

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

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

Методы

◆ convertHexToRgb()

convertHexToRgb ( string $hexColor)
staticprotected
Аргументы
string$hexColor
Возвращает
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()

enabled ( )

Enable or not the hook.

Возвращает
boolean

Переопределяет метод предка Page.

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

◆ exec()

exec ( )

Exec hook.

Возвращает
void

Переопределяет метод предка Page.

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

◆ getAllColorCodes()

getAllColorCodes ( )
static

Get hex for all colors.

Возвращает
array

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

◆ getColorCodes()

getColorCodes ( )
static

Get all themes colors.

Возвращает
array

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

◆ getMap()

getMap ( )
protected

Map of the field.

Возвращает
array

Переопределяет метод предка Page.

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

◆ getStartColorCodes()

getStartColorCodes ( )
static

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()

isHex ( string $color)
static

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

◆ prepareColor()

prepareColor ( string $color)
static

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

Поля

◆ DEFAULT_COLOR

const DEFAULT_COLOR = '#34bcf2'
protected

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/landing/lib/hook/page/theme.php