Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Element
+ Граф наследования:Element:

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

 __construct ($name)
 
 getTagName ()
 
 getId ()
 
 setId ($id)
 
 getName ()
 
 setName ($id)
 
 getStyle ()
 
 setStyle ($style)
 
 getClassName ()
 
 setClassName ($className)
 
 getClassList ()
 
 setClassList (array $classList)
 
 getParentElement ()
 
 getTextContent ()
 
 getAttributesArray ()
 
 setAttributeNode (Attr $attr)
 
 getAttributeNode ($name)
 
 removeAttributeNode (Attr $oldNode)
 
 setAttribute ($name, $value)
 
 hasAttribute ($attributeName)
 
 getAttribute ($name)
 
 removeAttribute ($name)
 
- Открытые члены унаследованные от Node
 __construct ()
 
 getNodeType ()
 
 getParentNode ()
 
 setParentNode (Node $node=null)
 
 hasAttributes ()
 
 getAttributes ()
 
 getNodeName ()
 
 setNodeName ($a)
 
 getNodeValue ()
 
 getOwnerDocument ()
 
 setOwnerDocument (Document $owner)
 
 getFirstChild ()
 
 getLastChild ()
 
 getPreviousSibling ()
 
 getNextSibling ()
 
 getChildNodes ()
 
 getChildNodesArray ()
 
 setChildNodesArray ($childList)
 
 hasChildNodes ()
 
 appendChild (Node $newChild)
 
 insertBefore (Node $newChild, Node $refChild=null, $removeExist=true)
 
 removeChild (Node $oldChild)
 
 replaceChild (Node $newChild, Node $oldChild)
 
 isEqual (Node $node=null)
 
 getOuterHTML ()
 
 getInnerHTML ()
 
 setInnerHTML ($html)
 
 querySelectorAll ($queryString)
 
 querySelector ($queryString)
 
 closest ($queryString)
 
 toString ()
 
 toArray ()
 

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

 setParentElement (Element $parentElement)
 
- Защищенные члены унаследованные от Node
 init ()
 
 haveChild ($checkingChild)
 

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

 $parentElement
 
 $attributes
 
 $tagName
 
 $classList
 
 $id
 
 $name
 
 $className
 
 $style
 
- Защищенные данные унаследованные от Node
 $ownerDocument = null
 
 $nodeType = null
 
 $nodeName = null
 
 $nodeValue = null
 
 $childNodes = null
 
 $parentNode = null
 
 $attributes = null
 
 $textContent = null
 

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

- Открытые атрибуты унаследованные от Node
const ELEMENT_NODE = 1
 
const ATTRIBUTE_NODE = 2
 
const TEXT_NODE = 3
 
const CDATA_SECTION_NODE = 4
 
const ENTITY_REFERENCE_NODE = 5
 
const ENTITY_NODE = 6
 
const PROCESSING_INSTRUCTION_NODE = 7
 
const COMMENT_NODE = 8
 
const DOCUMENT_FRAGMENT_NODE = 11
 
const DOCUMENT_NODE = 9
 
const DOCUMENT_TYPE_NODE = 10
 
const NOTATION_NODE = 12
 
 $bxIsAlreadyClosed = false
 
 $bxClosable = true
 
 $bxNodeFoundCloseTag = false
 
- Статические открытые данные унаследованные от Node
static $isNodeListAsArray = true
 

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

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

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

◆ __construct()

__construct ( $name)

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

Методы

◆ getAttribute()

getAttribute ( $name)

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

◆ getAttributeNode()

getAttributeNode ( $name)

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

◆ getAttributesArray()

getAttributesArray ( )

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

◆ getClassList()

getClassList ( )

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

◆ getClassName()

getClassName ( )

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

◆ getId()

getId ( )

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

◆ getName()

getName ( )

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

◆ getParentElement()

getParentElement ( )

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

◆ getStyle()

getStyle ( )

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

◆ getTagName()

getTagName ( )

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

◆ getTextContent()

getTextContent ( )

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

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

◆ hasAttribute()

hasAttribute ( $attributeName)
Аргументы
string$attributeName
Возвращает
bool

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

◆ removeAttribute()

removeAttribute ( $name)

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

◆ removeAttributeNode()

removeAttributeNode ( Attr $oldNode)

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

◆ setAttribute()

setAttribute ( $name,
$value )

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

◆ setAttributeNode()

setAttributeNode ( Attr $attr)

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

◆ setClassList()

setClassList ( array $classList)

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

◆ setClassName()

setClassName ( $className)

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

◆ setId()

setId ( $id)

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

◆ setName()

setName ( $id)

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

◆ setParentElement()

setParentElement ( Element $parentElement)
protected

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

◆ setStyle()

setStyle ( $style)

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

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

◆ $attributes

NamedNodeMap $attributes
protected

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

◆ $classList

array $classList
protected

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

◆ $className

string $className
protected

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

◆ $id

string $id
protected

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

◆ $name

string $name
protected

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

◆ $parentElement

Element $parentElement
protected

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

◆ $style

string $style
protected

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

◆ $tagName

string $tagName
protected

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