PHP Manual
Function Reference
XML Manipulation
DOM
Introduction
Installing/Configuring
Predefined Constants
Examples
DOMAttr
DOMCdataSection
DOMCharacterData
DOMChildNode
DOMComment
DOMDocument
DOMDocumentFragment
DOMDocumentType
DOMElement
DOMEntity
DOMEntityReference
DOMException
DOMImplementation
DOMNamedNodeMap
DOMNameSpaceNode
DOMNode
DOMNodeList
DOMNotation
DOMParentNode
DOMProcessingInstruction
DOMText
DOMXPath
Dom\AdjacentPosition
Dom\Attr
Dom\CDATASection
Dom\CharacterData
Dom\ChildNode
Dom\Comment
Dom\Document
Dom\DocumentFragment
Dom\DocumentType
Dom\DtdNamedNodeMap
Dom\Element
Dom\Entity
Dom\EntityReference
Dom\HTMLCollection
Dom\HTMLDocument
Dom\HTMLElement
Dom\Implementation
Dom\NamedNodeMap
Dom\NamespaceInfo
Dom\Node
Dom\NodeList
Dom\Notation
Dom\ParentNode
Dom\ProcessingInstruction
Dom\Text
Dom\TokenList
Dom\XMLDocument
Dom\XPath
DOM Functions
DOMCharacterData::substringData
DOMChildNode::after
DOM
PHP Manual
The DOMChildNode interface
Interface synopsis
DOMChildNode
/* Methods */
public
void
DOMChildNode::after
(
DOMNode
string
...$nodes
)
public
void
DOMChildNode::before
(
DOMNode
string
...$nodes
)
public
void
DOMChildNode::remove
()
public
void
DOMChildNode::replaceWith
(
DOMNode
string
...$nodes
)
Table of Contents
DOMChildNode::after
— Adds nodes after the node
DOMChildNode::before
— Adds nodes before the node
DOMChildNode::remove
— Removes the node
DOMChildNode::replaceWith
— Replaces the node with new nodes