DOMNode
PHP Manual

DOMNode::cloneNode

(PHP 5)

DOMNode::cloneNode Clones a node

Descrizione

public DOMNode DOMNode::cloneNode ([ bool $deep ] )

Creates a copy of the node.

Elenco dei parametri

deep

Indicates whether to copy all descendant nodes. This parameter is defaulted to FALSE.

Valori restituiti

The cloned node.


DOMNode
PHP Manual