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

Методы

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

◆ closest()

closest ( $queryString)

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

◆ getAttributes()

getAttributes ( )

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

◆ getChildNodes()

getChildNodes ( )

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

◆ getChildNodesArray()

getChildNodesArray ( )

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

◆ getFirstChild()

getFirstChild ( )

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

◆ getInnerHTML()

getInnerHTML ( )

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

◆ getLastChild()

getLastChild ( )

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

◆ getNextSibling()

getNextSibling ( )

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

◆ getNodeName()

getNodeName ( )

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

◆ getNodeType()

getNodeType ( )

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

◆ getNodeValue()

getNodeValue ( )

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

◆ getOuterHTML()

getOuterHTML ( )

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

◆ getOwnerDocument()

getOwnerDocument ( )

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

◆ getParentNode()

getParentNode ( )

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

◆ getPreviousSibling()

getPreviousSibling ( )

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

◆ getTextContent()

getTextContent ( )

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

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

◆ hasAttributes()

hasAttributes ( )

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

◆ hasChildNodes()

hasChildNodes ( )

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

◆ haveChild()

haveChild ( $checkingChild)
protected

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

◆ init()

init ( )
protected

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

◆ insertBefore()

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

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

◆ isEqual()

isEqual ( Node $node = null)

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

◆ querySelector()

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

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

◆ querySelectorAll()

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

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

◆ removeChild()

removeChild ( Node $oldChild)

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

◆ replaceChild()

replaceChild ( Node $newChild,
Node $oldChild )

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

◆ setChildNodesArray()

setChildNodesArray ( $childList)

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

◆ setInnerHTML()

setInnerHTML ( $html)

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

◆ setNodeName()

setNodeName ( $a)

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

◆ setOwnerDocument()

setOwnerDocument ( Document $owner)

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

◆ setParentNode()

setParentNode ( Node $node = null)

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

◆ toArray()

toArray ( )

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

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

◆ toString()

toString ( )

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

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

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

◆ $attributes

$attributes = null
protected

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

◆ $bxClosable

$bxClosable = true

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

◆ $bxIsAlreadyClosed

$bxIsAlreadyClosed = false

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

◆ $bxNodeFoundCloseTag

$bxNodeFoundCloseTag = false

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

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