PHP Manualen
forrige |  | næste

# DOMNode->cloneNode()

(no version information, might be only in CVS)

DOMNode->cloneNode() -- Clones a node

## Beskrivelse

class DOMNode {
DOMNode cloneNode ( [bool deep] )
}

Creates a copy of the node.

## Parameterliste

deep

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

## Returneringsværdier

The cloned node.

forrige | hjem | næste
DOMNode->appendChild() | op | DOMNode->hasAttributes()