Node
class Node (View source)
Constants
DOCUMENT_POSITION_DISCONNECTED |
|
DOCUMENT_POSITION_PRECEDING |
|
DOCUMENT_POSITION_FOLLOWING |
|
DOCUMENT_POSITION_CONTAINS |
|
DOCUMENT_POSITION_CONTAINED_BY |
|
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC |
|
Properties
int | $nodeType | ||
string | $nodeName | ||
string | $baseURI | ||
bool | $isConnected | ||
Document|null | $ownerDocument | ||
Node|null | $parentNode | ||
Element|null | $parentElement | ||
Node> | $childNodes | ||
Node|null | $firstChild | ||
Node|null | $lastChild | ||
Node|null | $previousSibling | ||
Node|null | $nextSibling | ||
string|null | $nodeValue | ||
string|null | $textContent |
Methods
getRootNode(array $options = [])
No description
bool
hasChildNodes()
No description
void
normalize()
No description
bool
isEqualNode(Node|null $otherNode)
No description
bool
isSameNode(Node|null $otherNode)
No description
int
bool
contains(Node|null $other)
No description
string|null
lookupPrefix(string|null $namespace)
No description
string|null
lookupNamespaceURI(string|null $prefix)
No description
bool
isDefaultNamespace(string|null $namespace)
No description
int
getLineNo()
No description
string
getNodePath()
No description
string|false
C14N(bool $exclusive = false, bool $withComments = false, array|null $xpath = null, array|null $nsPrefixes = null)
No description
int|false
C14NFile(string $uri, bool $exclusive = false, bool $withComments = false, array|null $xpath = null, array|null $nsPrefixes = null)
No description
array
__sleep()
No description
void
__wakeup()
No description
Details
Node
getRootNode(array $options = [])
No description
bool
hasChildNodes()
No description
void
normalize()
No description
Node
cloneNode(bool $deep = false)
No description
bool
isEqualNode(Node|null $otherNode)
No description
bool
isSameNode(Node|null $otherNode)
No description
int
compareDocumentPosition(Node $other)
No description
bool
contains(Node|null $other)
No description
string|null
lookupPrefix(string|null $namespace)
No description
string|null
lookupNamespaceURI(string|null $prefix)
No description
bool
isDefaultNamespace(string|null $namespace)
No description
int
getLineNo()
No description
string
getNodePath()
No description
string|false
C14N(bool $exclusive = false, bool $withComments = false, array|null $xpath = null, array|null $nsPrefixes = null)
No description
int|false
C14NFile(string $uri, bool $exclusive = false, bool $withComments = false, array|null $xpath = null, array|null $nsPrefixes = null)
No description
array
__sleep()
No description
void
__wakeup()
No description