1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Fonts
Граф наследования:Fonts:
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 setFontCode (string $fontCode)
static outputDefaultFont (string $code)
static generateFontTags (string $fontName)

Поля данных

const DEFAULT_FONTS

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

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

Статические защищенные данные

static $setFonts = []

Дополнительные унаследованные члены

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

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

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

Методы

◆ enabled()

enabled ( )

Enable or not the hook.

Возвращает
boolean

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

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

◆ exec()

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$fontNameThe name of the font to be loaded and applied.
Возвращает
string HTML and CSS tags for embedding the specified font.

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

◆ getMap()

getMap ( )
protected

Map of the field.

Возвращает
array

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

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

◆ outputDefaultFont()

outputDefaultFont ( string $code)
static

Outputs default font.

Аргументы
string$codeFont code.
Возвращает
string

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

◆ outputFonts()

outputFonts ( array $fonts)
protected

Sets fonts data to the page.

Аргументы
array$fontsFonts data ([fontCode => fontStyle]).
Возвращает
void

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

◆ setFontCode()

setFontCode ( string $fontCode)
static

Sets font code as using on the page.

Аргументы
string$fontCodeFont code.
Возвращает
void

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

Поля

◆ $setFonts

$setFonts = []
staticprotected

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

◆ DEFAULT_FONTS

const DEFAULT_FONTS

Default font for backward compatibility.

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


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