См. определение в файле fonts.php строка 10
◆ enabled()
Enable or not the hook.
- Возвращает
- boolean
Переопределяет метод предка Page.
См. определение в файле fonts.php строка 92
◆ exec()
Exec hook.
- Возвращает
- void
Переопределяет метод предка Page.
См. определение в файле fonts.php строка 114
◆ generateFontTags()
generateFontTags |
( |
string | $fontName | ) |
|
|
static |
Generates HTML and CSS tags to load and apply a specified font.
- Аргументы
-
string | $fontName | The name of the font to be loaded and applied. |
- Возвращает
- string HTML and CSS tags for embedding the specified font.
См. определение в файле fonts.php строка 212
◆ getMap()
Map of the field.
- Возвращает
- array
Переопределяет метод предка Page.
См. определение в файле fonts.php строка 78
◆ outputDefaultFont()
outputDefaultFont |
( |
string | $code | ) |
|
|
static |
Outputs default font.
- Аргументы
-
- Возвращает
- string
См. определение в файле fonts.php строка 179
◆ outputFonts()
outputFonts |
( |
array | $fonts | ) |
|
|
protected |
Sets fonts data to the page.
- Аргументы
-
array | $fonts | Fonts data ([fontCode => fontStyle]). |
- Возвращает
- void
См. определение в файле fonts.php строка 146
◆ setFontCode()
setFontCode |
( |
string | $fontCode | ) |
|
|
static |
Sets font code as using on the page.
- Аргументы
-
string | $fontCode | Font code. |
- Возвращает
- void
См. определение в файле fonts.php строка 102
◆ $setFonts
◆ DEFAULT_FONTS
Default font for backward compatibility.
См. определение в файле fonts.php строка 15
Объявления и описания членов класса находятся в файле:
- C:/bitrix/modules/landing/lib/hook/page/fonts.php