1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Node
Граф наследования:Node:
Icon Img Link Text Component Embed Icon Img Link Map StyleImg Text Attr Comment Document DocumentType Element Text

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

 __construct ()
 getNodeType ()
 getParentNode ()
 setParentNode (Node $node=null)
 hasAttributes ()
 getAttributes ()
 getNodeName ()
 setNodeName ($a)
 getNodeValue ()
 getTextContent ()
 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 ()

Поля данных

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

Статические открытые данные

static $isNodeListAsArray = true

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

 init ()
 haveChild ($checkingChild)

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

 $ownerDocument = null
 $nodeType = null
 $nodeName = null
 $nodeValue = null
 $childNodes = null
 $parentNode = null
 $attributes = null
 $textContent = null

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

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

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

◆ __construct()

__construct ( )

Переопределяется в Document и DocumentType.

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

Методы

◆ appendChild()

appendChild ( Node $newChild)

Adds the node newChild to the end of the list of children of this node. If the newChild is already in the tree, it is first removed.

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

◆ closest()

closest ( $queryString)

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

◆ getAttributes()

getAttributes ( )

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

◆ getChildNodes()

getChildNodes ( )

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

◆ getChildNodesArray()

getChildNodesArray ( )

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

◆ getFirstChild()

getFirstChild ( )

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

◆ getInnerHTML()

getInnerHTML ( )

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

◆ getLastChild()

getLastChild ( )

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

◆ getNextSibling()

getNextSibling ( )

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

◆ getNodeName()

getNodeName ( )

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

◆ getNodeType()

getNodeType ( )

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

◆ getNodeValue()

getNodeValue ( )

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

◆ getOuterHTML()

getOuterHTML ( )

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

◆ getOwnerDocument()

getOwnerDocument ( )

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

◆ getParentNode()

getParentNode ( )

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

◆ getPreviousSibling()

getPreviousSibling ( )

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

◆ getTextContent()

getTextContent ( )

Переопределяется в Comment, Document, DocumentType и Element.

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

◆ hasAttributes()

hasAttributes ( )

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

◆ hasChildNodes()

hasChildNodes ( )

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

◆ haveChild()

haveChild ( $checkingChild)
protected

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

◆ init()

init ( )
protected

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

◆ insertBefore()

insertBefore ( Node $newChild,
Node $refChild = null,
$removeExist = true )

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

◆ isEqual()

isEqual ( Node $node = null)

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

◆ querySelector()

querySelector ( $queryString)
Аргументы
string$queryString
Возвращает
Node|null

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

◆ querySelectorAll()

querySelectorAll ( $queryString)
Аргументы
string$queryString
Возвращает
Node[]

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

◆ removeChild()

removeChild ( Node $oldChild)

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

◆ replaceChild()

replaceChild ( Node $newChild,
Node $oldChild )

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

◆ setChildNodesArray()

setChildNodesArray ( $childList)

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

◆ setInnerHTML()

setInnerHTML ( $html)

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

◆ setNodeName()

setNodeName ( $a)

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

◆ setOwnerDocument()

setOwnerDocument ( Document $owner)

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

◆ setParentNode()

setParentNode ( Node $node = null)

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

◆ toArray()

toArray ( )

Переопределяется в Img, Link, Text и Attr.

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

◆ toString()

toString ( )

Переопределяется в Attr.

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

Поля

◆ $attributes

$attributes = null
protected

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

◆ $bxClosable

$bxClosable = true

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

◆ $bxIsAlreadyClosed

$bxIsAlreadyClosed = false

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

◆ $bxNodeFoundCloseTag

$bxNodeFoundCloseTag = false

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

◆ $childNodes

$childNodes = null
protected

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

◆ $isNodeListAsArray

$isNodeListAsArray = true
static

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

◆ $nodeName

$nodeName = null
protected

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

◆ $nodeType

$nodeType = null
protected

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

◆ $nodeValue

$nodeValue = null
protected

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

◆ $ownerDocument

$ownerDocument = null
protected

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

◆ $parentNode

$parentNode = null
protected

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

◆ $textContent

$textContent = null
protected

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

◆ ATTRIBUTE_NODE

const ATTRIBUTE_NODE = 2

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

◆ CDATA_SECTION_NODE

const CDATA_SECTION_NODE = 4

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

◆ COMMENT_NODE

const COMMENT_NODE = 8

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

◆ DOCUMENT_FRAGMENT_NODE

const DOCUMENT_FRAGMENT_NODE = 11

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

◆ DOCUMENT_NODE

const DOCUMENT_NODE = 9

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

◆ DOCUMENT_TYPE_NODE

const DOCUMENT_TYPE_NODE = 10

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

◆ ELEMENT_NODE

const ELEMENT_NODE = 1

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

◆ ENTITY_NODE

const ENTITY_NODE = 6

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

◆ ENTITY_REFERENCE_NODE

const ENTITY_REFERENCE_NODE = 5

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

◆ NOTATION_NODE

const NOTATION_NODE = 12

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

◆ PROCESSING_INSTRUCTION_NODE

const PROCESSING_INSTRUCTION_NODE = 7

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

◆ TEXT_NODE

const TEXT_NODE = 3

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/main/lib/web/dom/node.php