Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс 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 строка 111

◆ getNodeProperties()

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

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

◆ getProperties()

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

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

◆ isBlockTag()

isBlockTag ( $tagName)
protected

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

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

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

◆ isBoldTag()

isBoldTag ( $tagName)
protected

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

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

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

◆ isDeletedTag()

isDeletedTag ( $tagName)
protected

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

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

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

◆ isDisplayBlock()

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

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

◆ isDisplayInline()

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

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

◆ isFontBold()

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

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

◆ isFontDeleted()

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

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

◆ isFontItalic()

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

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

◆ isFontUnderlined()

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

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

◆ 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 строка 125

◆ isItalicTag()

isItalicTag ( $tagName)
protected

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

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

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

◆ isUnderlinedTag()

isUnderlinedTag ( $tagName)
protected

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

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

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

Данные класса

◆ $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