中文文档
English
Spanish
French
Japanese
Brazilian
German
Turkish
Russian
DOMChildNode::after »
« DOMCharacterData::substringData
Manual de PHP
Referencia de funciones
Manipulación de XML
DOM
The DOMChildNode interface
(PHP 8)
Sinopsis de la Interfaz
interface
DOMChildNode
{
public
after
(
DOMNode
|
string
...$nodes
):
void
public
before
(
DOMNode
|
string
...$nodes
):
void
public
remove
():
void
public
replaceWith
(
DOMNode
|
string
...$nodes
):
void
}
Tabla de contenidos
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