中文文档
English
Spanish
French
Japanese
Brazilian
German
Turkish
Russian
DOMChildNode::after »
« DOMCharacterData::substringData
PHP Manual
Function Reference
XML Manipulation
DOM
The DOMChildNode interface
(PHP 8)
Interface synopsis
interface
DOMChildNode
{
public
after
(
DOMNode
|
string
...$nodes
):
void
public
before
(
DOMNode
|
string
...$nodes
):
void
public
remove
():
void
public
replaceWith
(
DOMNode
|
string
...$nodes
):
void
}
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