Table of Contents
Constants
-
ATTRIBUTE_NODE
= 2
-
CDATA_SECTION_NODE
= 4
-
COMMENT_NODE
= 8
-
DOCUMENT_FRAGMENT_NODE
= 11
-
DOCUMENT_NODE
= 9
-
DOCUMENT_POSITION_CONTAINED_BY
= 0x10
-
DOCUMENT_POSITION_CONTAINS
= 0x8
-
DOCUMENT_POSITION_DISCONNECTED
= 0x1
-
DOCUMENT_POSITION_FOLLOWING
= 0x4
-
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
= 0x20
-
DOCUMENT_POSITION_PRECEDING
= 0x2
-
DOCUMENT_TYPE_NODE
= 10
-
ELEMENT_NODE
= 1
-
ENTITY_NODE
= 6
-
ENTITY_REFERENCE_NODE
= 5
-
NOTATION_NODE
= 12
-
PROCESSING_INSTRUCTION_NODE
= 7
-
TEXT_NODE
= 3
Methods
-
adoptNode()
: Node
-
appendChild()
: Node
-
cloneNode()
: Node
-
compareDocumentPosition()
: int
-
createAttribute()
: Attr
-
createAttributeNS()
: Attr
-
createCDATASection()
: CDATASection
-
createComment()
: Comment
-
createDocumentFragment()
: DocumentFragment
-
createElement()
: Element
-
createElementNS()
: Element
-
createEntityReference()
: EntityReference
-
createProcessingInstruction()
: ProcessingInstruction
-
createTextNode()
: Text
-
getAttributes()
: array<string|int, mixed>
-
getBaseURI()
: string
-
getChildNodes()
: array<string|int, mixed>
-
getDoctype()
: DocumentType
-
getDocumentElement()
: Element
-
getDocumentURI()
: string
-
getDomConfig()
: DOMConfiguration
-
getElementById()
: Element
-
getElementsByTagName()
: array<string|int, mixed>
-
getElementsByTagNameNS()
: array<string|int, mixed>
-
getFeature()
: Node
-
getFirstChild()
: Node
-
getImplementation()
: DOMImplementation
-
getInputEncoding()
: string
-
getLastChild()
: Node
-
getLocalName()
: string
-
getNamespaceURI()
: string
-
getNextSibling()
: Node
-
getNodeName()
: string
-
getNodeType()
: int
-
getNodeValue()
: string
-
getOwnerDocument()
: Document
-
getParentNode()
: Node
-
getPrefix()
: string
-
getPreviousSibling()
: Node
-
getStrictErrorChecking()
: bool
-
getTextContent()
: string
-
getUserData()
: object
-
getXmlEncoding()
: string
-
getXmlStandalone()
: bool
-
getXmlVersion()
: string
-
hasAttributes()
: bool
-
hasChildNodes()
: bool
-
importNode()
: Node
-
insertBefore()
: Node
-
isDefaultNamespace()
: bool
-
isEqualNode()
: bool
-
isSameNode()
: bool
-
isSupported()
: bool
-
lookupNamespaceURI()
: string
-
lookupPrefix()
: string
-
normalize()
: void
-
normalizeDocument()
: void
-
removeChild()
: Node
-
renameNode()
: Node
-
replaceChild()
: Node
-
setDocumentURI()
: void
-
setNodeValue()
: void
-
setPrefix()
: void
-
setStrictErrorChecking()
: void
-
setTextContent()
: void
-
setUserData()
: object
-
setXmlStandalone()
: void
-
setXmlVersion()
: void
ATTRIBUTE_NODE
public
mixed
ATTRIBUTE_NODE
= 2
CDATA_SECTION_NODE
public
mixed
CDATA_SECTION_NODE
= 4
public
mixed
COMMENT_NODE
= 8
DOCUMENT_FRAGMENT_NODE
public
mixed
DOCUMENT_FRAGMENT_NODE
= 11
DOCUMENT_NODE
public
mixed
DOCUMENT_NODE
= 9
DOCUMENT_POSITION_CONTAINED_BY
public
mixed
DOCUMENT_POSITION_CONTAINED_BY
= 0x10
DOCUMENT_POSITION_CONTAINS
public
mixed
DOCUMENT_POSITION_CONTAINS
= 0x8
DOCUMENT_POSITION_DISCONNECTED
public
mixed
DOCUMENT_POSITION_DISCONNECTED
= 0x1
DOCUMENT_POSITION_FOLLOWING
public
mixed
DOCUMENT_POSITION_FOLLOWING
= 0x4
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
public
mixed
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
= 0x20
DOCUMENT_POSITION_PRECEDING
public
mixed
DOCUMENT_POSITION_PRECEDING
= 0x2
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
adoptNode()
public
adoptNode(Node $source) : Node
Parameters
-
$source
: Node
-
appendChild()
public
appendChild(Node $newChild) : Node
Parameters
-
$newChild
: Node
-
cloneNode()
public
cloneNode(bool $deep) : Node
Parameters
-
$deep
: bool
-
compareDocumentPosition()
public
compareDocumentPosition(Node $other) : int
Parameters
-
$other
: Node
-
createAttribute()
public
createAttribute(string $name) : Attr
Parameters
-
$name
: string
-
createAttributeNS()
public
createAttributeNS(string $namespaceURI, string $qualifiedName) : Attr
Parameters
-
$namespaceURI
: string
-
-
$qualifiedName
: string
-
createCDATASection()
public
createCDATASection(string $data) : CDATASection
Parameters
-
$data
: string
-
public
createComment(string $data) : Comment
Parameters
-
$data
: string
-
createDocumentFragment()
public
createDocumentFragment() : DocumentFragment
createElement()
public
createElement(string $tagName) : Element
Parameters
-
$tagName
: string
-
createElementNS()
public
createElementNS(string $namespaceURI, string $qualifiedName) : Element
Parameters
-
$namespaceURI
: string
-
-
$qualifiedName
: string
-
createEntityReference()
public
createEntityReference(string $name) : EntityReference
Parameters
-
$name
: string
-
createProcessingInstruction()
public
createProcessingInstruction(string $target, string $data) : ProcessingInstruction
Parameters
-
$target
: string
-
-
$data
: string
-
createTextNode()
public
createTextNode(string $data) : Text
Parameters
-
$data
: string
-
getAttributes()
public
getAttributes() : array<string|int, mixed>
Return values
array<string|int, mixed>
getBaseURI()
public
getBaseURI() : string
getChildNodes()
public
getChildNodes() : array<string|int, mixed>
Return values
array<string|int, mixed>
getDoctype()
public
getDoctype() : DocumentType
getDocumentElement()
public
getDocumentElement() : Element
getDocumentURI()
public
getDocumentURI() : string
getDomConfig()
public
getDomConfig() : DOMConfiguration
getElementById()
public
getElementById(string $elementId) : Element
Parameters
-
$elementId
: string
-
getElementsByTagName()
public
getElementsByTagName(string $tagname) : array<string|int, mixed>
Parameters
-
$tagname
: string
-
Return values
array<string|int, mixed>
getElementsByTagNameNS()
public
getElementsByTagNameNS(string $namespaceURI, string $localName) : array<string|int, mixed>
Parameters
-
$namespaceURI
: string
-
-
$localName
: string
-
Return values
array<string|int, mixed>
getFeature()
public
getFeature(string $feature, string $version) : Node
Parameters
-
$feature
: string
-
-
$version
: string
-
getFirstChild()
public
getFirstChild() : Node
getImplementation()
public
getImplementation() : DOMImplementation
public
getInputEncoding() : string
getLastChild()
public
getLastChild() : Node
getLocalName()
public
getLocalName() : string
getNamespaceURI()
public
getNamespaceURI() : string
getNextSibling()
public
getNextSibling() : Node
getNodeName()
public
getNodeName() : string
getNodeType()
public
getNodeType() : int
getNodeValue()
public
getNodeValue() : string
getOwnerDocument()
public
getOwnerDocument() : Document
getParentNode()
public
getParentNode() : Node
getPrefix()
public
getPrefix() : string
getPreviousSibling()
public
getPreviousSibling() : Node
getStrictErrorChecking()
public
getStrictErrorChecking() : bool
getTextContent()
public
getTextContent() : string
getUserData()
public
getUserData(string $key) : object
Parameters
-
$key
: string
-
getXmlEncoding()
public
getXmlEncoding() : string
getXmlStandalone()
public
getXmlStandalone() : bool
getXmlVersion()
public
getXmlVersion() : string
hasAttributes()
public
hasAttributes() : bool
hasChildNodes()
public
hasChildNodes() : bool
importNode()
public
importNode(Node $importedNode, bool $deep) : Node
Parameters
-
$importedNode
: Node
-
-
$deep
: bool
-
insertBefore()
public
insertBefore(Node $newChild, Node $refChild) : Node
Parameters
-
$newChild
: Node
-
-
$refChild
: Node
-
isDefaultNamespace()
public
isDefaultNamespace(string $namespaceURI) : bool
Parameters
-
$namespaceURI
: string
-
isEqualNode()
public
isEqualNode(Node $arg) : bool
Parameters
-
$arg
: Node
-
isSameNode()
public
isSameNode(Node $other) : bool
Parameters
-
$other
: Node
-
isSupported()
public
isSupported(string $feature, string $version) : bool
Parameters
-
$feature
: string
-
-
$version
: string
-
lookupNamespaceURI()
public
lookupNamespaceURI(string $prefix) : string
Parameters
-
$prefix
: string
-
lookupPrefix()
public
lookupPrefix(string $namespaceURI) : string
Parameters
-
$namespaceURI
: string
-
normalize()
public
normalize() : void
normalizeDocument()
public
normalizeDocument() : void
removeChild()
public
removeChild(Node $oldChild) : Node
Parameters
-
$oldChild
: Node
-
renameNode()
public
renameNode(Node $n, string $namespaceURI, string $qualifiedName) : Node
Parameters
-
$n
: Node
-
-
$namespaceURI
: string
-
-
$qualifiedName
: string
-
replaceChild()
public
replaceChild(Node $newChild, Node $oldChild) : Node
Parameters
-
$newChild
: Node
-
-
$oldChild
: Node
-
setDocumentURI()
public
setDocumentURI(string $documentURI) : void
Parameters
-
$documentURI
: string
-
setNodeValue()
public
setNodeValue(string $nodeValue) : void
Parameters
-
$nodeValue
: string
-
setPrefix()
public
setPrefix(string $prefix) : void
Parameters
-
$prefix
: string
-
setStrictErrorChecking()
public
setStrictErrorChecking(bool $strictErrorChecking) : void
Parameters
-
$strictErrorChecking
: bool
-
setTextContent()
public
setTextContent(string $textContent) : void
Parameters
-
$textContent
: string
-
setUserData()
public
setUserData(string $key, object $data, UserDataHandler $handler) : object
Parameters
-
$key
: string
-
-
$data
: object
-
-
$handler
: UserDataHandler
-
setXmlStandalone()
public
setXmlStandalone(bool $xmlStandalone) : void
Parameters
-
$xmlStandalone
: bool
-
setXmlVersion()
public
setXmlVersion(string $xmlVersion) : void
Parameters
-
$xmlVersion
: string
-