编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « DOMNode::C14NFile
  • DOMNode::getLineNo »
  • PHP Manual
  • DOMNode
  • Clones a node

DOMNode::cloneNode

(PHP 5, PHP 7)

DOMNode::cloneNode — Clones a node

说明

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

Creates a copy of the node.

参数

deep

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

返回值

The cloned node.

相关文章
php commonmark blockquote concrete commonmark nodephp commonmark paragraph concrete commonmark nodephp commonmark node ast manipulationphp domcharacterdata remove a range of characters from the nodephp domnamednodemap retrieves a node specified by indexphp domnode clones a nodephp domnode get line number for a nodephp domnode get an xpath for a nodephp domnode checks if node has attributesphp domnode checks if node has childrenphp domnode adds a new child before a reference nodephp domnode indicates if two nodes are the same nodephp domnode gets the namespace uri of the node based on the prefixphp domnode gets the namespace prefix of the node based on the namespace uriphp domnode normalizes the nodephp domnode removes child from list of childrenphp hyperwave api 函数 clones objectphp spldoublylinkedlist peeks at the node from the beginning of the doubly linked listphp splpriorityqueue extracts a node from top of the heap and sift upphp tidynode checks if this node is asp
关注编程学问公众号
编程学问网 湘ICP备20001732号