PHP Portal » PHP Handbuch » DOMNode::cloneNode

Werbung

DOMNode::cloneNode


(PHP 5)

DOMNode::cloneNode Clones a node

Beschreibung

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

Creates a copy of the node.

Parameter-Liste

deep

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

Rückgabewerte

The cloned node.