DomNode¶
-
php\xml\DomNode abstract class
Children
- abstract class php\xml\DomElement
Methods
get($xpathExpression)¶
Parameters:
- $xpathExpression – string
Returns: string
find($xpathExpression)¶
Parameters:
- $xpathExpression – string
Returns:
findAll($xpathExpression)¶
Parameters:
- $xpathExpression – string
Returns:
getBaseURI()¶
Returns: string
getNamespaceURI()¶
Returns: string
getLocalName()¶
Returns: string
getNodeType()¶
Returns: int
getNodeName()¶
Returns: string
getNodeValue()¶
Returns: string
getPrefix()¶
Returns: string
getTextContent()¶
Returns: string
getFirstChild()¶
Returns: php\xml\DomNode
getLastChild()¶
Returns: php\xml\DomNode
getNextSibling()¶
Returns: php\xml\DomNode
getPreviousSibling()¶
Returns: php\xml\DomNode
getParentNode()¶
Returns: php\xml\DomNode
getOwnerDocument()¶
Returns: php\xml\DomDocument
hasAttributes()¶
Returns: bool
hasChildNodes()¶
Returns: bool
isDefaultNamespace($namespace)¶
Parameters:
- $namespace – string
isEqualNode($node)¶
Parameters:
- $node – php\xml\DomNode
Returns: bool
isSameNode($node)¶
Parameters:
- $node – php\xml\DomNode
Returns: bool
isSupported($feature, $version)¶
Parameters:
- $feature – string
- $version – string
Returns: bool
lookupNamespaceURI($prefix)¶
Parameters:
- $prefix – string
Returns: string
lookupPrefix($namespaceURI)¶
Parameters:
- $namespaceURI – string
Returns: string
normalize()¶
setTextContent($content)¶
Parameters:
- $content – string
setPrefix($prefix)¶
Parameters:
- $prefix – string
cloneNode($deep)¶
Parameters:
- $deep – bool
Returns:
appendChild($node)¶
Parameters:
- $node – php\xml\DomNode
Returns: php\xml\$this
removeChild($node)¶
Parameters:
- $node – php\xml\DomNode
Returns: php\xml\$this
replaceChild($newNode, $oldNode)¶
Parameters:
- $newNode – php\xml\DomNode
- $oldNode – php\xml\DomNode
Returns: php\xml\$this
insertBefore($newNode, $refNode)¶
Parameters:
- $newNode – php\xml\DomNode
- $refNode – php\xml\DomNode
Returns: php\xml\$this
toModel()¶
Returns: array