Node
AbstractYes
Table of Contents
Constants
- ATTRIBUTE_NODE = 2
- CDATA_SECTION_NODE = 4
- COMMENT_NODE = 8
- DOCUMENT_FRAGMENT_NODE = 11
- DOCUMENT_NODE = 9
- DOCUMENT_TYPE_NODE = 10
- ELEMENT_NODE = 1
- ENTITY_NODE = 6
- ENTITY_REFERENCE_NODE = 5
- NOTATION_NODE = 12
- PROCESSING_INSTRUCTION_NODE = 7
- TEXT_NODE = 3
Properties
- $bxClosable : mixed
- $bxIsAlreadyClosed : mixed
- $bxNodeFoundCloseTag : mixed
- $isNodeListAsArray : mixed
Methods
- __construct() : mixed
- appendChild() : mixed
- Adds the node newChild to the end of the list of children of this node.
- closest() : mixed
- getAttributes() : mixed
- getChildNodes() : mixed
- getChildNodesArray() : mixed
- getFirstChild() : mixed
- getInnerHTML() : mixed
- getLastChild() : mixed
- getNextSibling() : mixed
- getNodeName() : mixed
- getNodeType() : mixed
- getNodeValue() : mixed
- getOuterHTML() : mixed
- getOwnerDocument() : mixed
- getParentNode() : mixed
- getPreviousSibling() : mixed
- getTextContent() : mixed
- hasAttributes() : mixed
- hasChildNodes() : mixed
- insertBefore() : mixed
- isEqual() : mixed
- querySelector() : Node|null
- querySelectorAll() : array<string|int, Node>
- removeChild() : mixed
- replaceChild() : mixed
- setChildNodesArray() : mixed
- setInnerHTML() : mixed
- setNodeName() : mixed
- setOwnerDocument() : mixed
- setParentNode() : mixed
- toArray() : mixed
- toString() : mixed
Constants
ATTRIBUTE_NODE
public
mixed
ATTRIBUTE_NODE
= 2
CDATA_SECTION_NODE
public
mixed
CDATA_SECTION_NODE
= 4
COMMENT_NODE
public
mixed
COMMENT_NODE
= 8
DOCUMENT_FRAGMENT_NODE
public
mixed
DOCUMENT_FRAGMENT_NODE
= 11
DOCUMENT_NODE
public
mixed
DOCUMENT_NODE
= 9
DOCUMENT_TYPE_NODE
public
mixed
DOCUMENT_TYPE_NODE
= 10
ELEMENT_NODE
public
mixed
ELEMENT_NODE
= 1
ENTITY_NODE
public
mixed
ENTITY_NODE
= 6
ENTITY_REFERENCE_NODE
public
mixed
ENTITY_REFERENCE_NODE
= 5
NOTATION_NODE
public
mixed
NOTATION_NODE
= 12
PROCESSING_INSTRUCTION_NODE
public
mixed
PROCESSING_INSTRUCTION_NODE
= 7
TEXT_NODE
public
mixed
TEXT_NODE
= 3
Properties
$bxClosable
public
mixed
$bxClosable
= true
$bxIsAlreadyClosed
public
mixed
$bxIsAlreadyClosed
= false
$bxNodeFoundCloseTag
public
mixed
$bxNodeFoundCloseTag
= false
$isNodeListAsArray
public
static mixed
$isNodeListAsArray
= true
Methods
__construct()
public
__construct() : mixed
appendChild()
Adds the node newChild to the end of the list of children of this node.
public
appendChild(Node $newChild) : mixed
If the newChild is already in the tree, it is first removed.
Parameters
- $newChild : Node
closest()
public
closest(mixed $queryString) : mixed
Parameters
- $queryString : mixed
getAttributes()
public
getAttributes() : mixed
getChildNodes()
public
getChildNodes() : mixed
getChildNodesArray()
public
getChildNodesArray() : mixed
getFirstChild()
public
getFirstChild() : mixed
getInnerHTML()
public
getInnerHTML() : mixed
getLastChild()
public
getLastChild() : mixed
getNextSibling()
public
getNextSibling() : mixed
getNodeName()
public
getNodeName() : mixed
getNodeType()
public
getNodeType() : mixed
getNodeValue()
public
getNodeValue() : mixed
getOuterHTML()
public
getOuterHTML() : mixed
getOwnerDocument()
public
getOwnerDocument() : mixed
getParentNode()
public
getParentNode() : mixed
getPreviousSibling()
public
getPreviousSibling() : mixed
getTextContent()
public
getTextContent() : mixed
hasAttributes()
public
hasAttributes() : mixed
hasChildNodes()
public
hasChildNodes() : mixed
insertBefore()
public
insertBefore(Node $newChild[, Node $refChild = null ][, mixed $removeExist = true ]) : mixed
Parameters
isEqual()
public
isEqual([Node $node = null ]) : mixed
Parameters
- $node : Node = null
querySelector()
public
querySelector(string $queryString) : Node|null
Parameters
- $queryString : string
Return values
Node|nullquerySelectorAll()
public
querySelectorAll(string $queryString) : array<string|int, Node>
Parameters
- $queryString : string
Return values
array<string|int, Node>removeChild()
public
removeChild(Node $oldChild) : mixed
Parameters
- $oldChild : Node
replaceChild()
public
replaceChild(Node $newChild, Node $oldChild) : mixed
Parameters
setChildNodesArray()
public
setChildNodesArray(mixed $childList) : mixed
Parameters
- $childList : mixed
setInnerHTML()
public
setInnerHTML(mixed $html) : mixed
Parameters
- $html : mixed
setNodeName()
public
setNodeName(mixed $a) : mixed
Parameters
- $a : mixed
setOwnerDocument()
public
setOwnerDocument(Document $owner) : mixed
Parameters
- $owner : Document
setParentNode()
public
setParentNode([Node $node = null ]) : mixed
Parameters
- $node : Node = null
toArray()
public
toArray() : mixed
toString()
public
toString() : mixed