1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс DisplayProperties

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

 __construct (Node $node, array $properties=[], array $defaultProperties=[])
 isHidden ()
 isDisplayBlock ()
 isDisplayInline ()
 isFontBold ()
 isFontItalic ()
 isFontUnderlined ()
 isFontDeleted ()
 getProperties ()

Поля данных

const DISPLAY = 'display'
const FONT = 'font'
const DISPLAY_HIDDEN = 'hidden'
const DISPLAY_BLOCK = 'block'
const DISPLAY_INLINE = 'inline'
const FONT_NORMAL = 'normal'
const FONT_BOLD = 'bold'
const FONT_ITALIC = 'italic'
const FONT_UNDERLINED = 'underlined'
const FONT_DELETED = 'deleted'

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

 getDefaultProperties ()
 isHiddenNode (Node $node)
 isBlockTag ($tagName)
 isBoldTag ($tagName)
 isItalicTag ($tagName)
 isUnderlinedTag ($tagName)
 isDeletedTag ($tagName)
 getNodeProperties (Node $node)

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

 $properties = []

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

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

Конструктор(ы)

◆ __construct()

__construct ( Node $node,
array $properties = [],
array $defaultProperties = [] )

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

Методы

◆ getDefaultProperties()

getDefaultProperties ( )
protected
Возвращает
array

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

◆ getNodeProperties()

getNodeProperties ( Node $node)
protected
Аргументы
Node$node
Возвращает
array

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

◆ getProperties()

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

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

◆ isBlockTag()

isBlockTag ( $tagName)
protected

Returns true if html-tag with this $tagName displays as block by default.

Аргументы
string$tagName
Возвращает
bool

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

◆ isBoldTag()

isBoldTag ( $tagName)
protected

Returns true if html-tag with this $tagName has bold font-weight by default.

Аргументы
string$tagName
Возвращает
bool

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

◆ isDeletedTag()

isDeletedTag ( $tagName)
protected

Returns true if html-tag with this $tagName renders as 'deleted' by default.

Аргументы
string$tagName
Возвращает
bool

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

◆ isDisplayBlock()

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

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

◆ isDisplayInline()

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

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

◆ isFontBold()

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

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

◆ isFontDeleted()

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

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

◆ isFontItalic()

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

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

◆ isFontUnderlined()

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

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

◆ isHidden()

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

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

◆ isHiddenNode()

isHiddenNode ( Node $node)
protected

Returns true if this node should be rendered.

Аргументы
\Bitrix\Main\Web\DOM\Node$node
Возвращает
bool

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

◆ isItalicTag()

isItalicTag ( $tagName)
protected

Returns true if html-tag with this $tagName has italic font-style by default.

Аргументы
string$tagName
Возвращает
bool

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

◆ isUnderlinedTag()

isUnderlinedTag ( $tagName)
protected

Returns true if html-tag with this $tagName has underlined font-decoration by default.

Аргументы
string$tagName
Возвращает
bool

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

Поля

◆ $properties

$properties = []
protected

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

◆ DISPLAY

const DISPLAY = 'display'

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

◆ DISPLAY_BLOCK

const DISPLAY_BLOCK = 'block'

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

◆ DISPLAY_HIDDEN

const DISPLAY_HIDDEN = 'hidden'

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

◆ DISPLAY_INLINE

const DISPLAY_INLINE = 'inline'

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

◆ FONT

const FONT = 'font'

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

◆ FONT_BOLD

const FONT_BOLD = 'bold'

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

◆ FONT_DELETED

const FONT_DELETED = 'deleted'

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

◆ FONT_ITALIC

const FONT_ITALIC = 'italic'

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

◆ FONT_NORMAL

const FONT_NORMAL = 'normal'

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

◆ FONT_UNDERLINED

const FONT_UNDERLINED = 'underlined'

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


Объявления и описания членов класса находятся в файле: