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

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

 __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
 

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

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

Методы

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

◆ closest()

closest (   $queryString)

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

◆ getAttributes()

getAttributes ( )

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

◆ getChildNodes()

getChildNodes ( )

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

◆ getChildNodesArray()

getChildNodesArray ( )

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

◆ getFirstChild()

getFirstChild ( )

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

◆ getInnerHTML()

getInnerHTML ( )

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

◆ getLastChild()

getLastChild ( )

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

◆ getNextSibling()

getNextSibling ( )

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

◆ getNodeName()

getNodeName ( )

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

◆ getNodeType()

getNodeType ( )

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

◆ getNodeValue()

getNodeValue ( )

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

◆ getOuterHTML()

getOuterHTML ( )

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

◆ getOwnerDocument()

getOwnerDocument ( )

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

◆ getParentNode()

getParentNode ( )

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

◆ getPreviousSibling()

getPreviousSibling ( )

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

◆ getTextContent()

getTextContent ( )

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

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

◆ hasAttributes()

hasAttributes ( )

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

◆ hasChildNodes()

hasChildNodes ( )

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

◆ haveChild()

haveChild (   $checkingChild)
protected

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

◆ init()

init ( )
protected

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

◆ insertBefore()

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

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

◆ isEqual()

isEqual ( Node  $node = null)

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

◆ querySelector()

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

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

◆ querySelectorAll()

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

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

◆ removeChild()

removeChild ( Node  $oldChild)

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

◆ replaceChild()

replaceChild ( Node  $newChild,
Node  $oldChild 
)

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

◆ setChildNodesArray()

setChildNodesArray (   $childList)

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

◆ setInnerHTML()

setInnerHTML (   $html)

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

◆ setNodeName()

setNodeName (   $a)

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

◆ setOwnerDocument()

setOwnerDocument ( Document  $owner)

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

◆ setParentNode()

setParentNode ( Node  $node = null)

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

◆ toArray()

toArray ( )

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

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

◆ toString()

toString ( )

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

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

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

◆ $attributes

$attributes = null
protected

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

◆ $bxClosable

$bxClosable = true

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

◆ $bxIsAlreadyClosed

$bxIsAlreadyClosed = false

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

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