The DOMDocumentFragment class
(PHP 5, PHP 7, PHP 8)
类摘要
/* 继承的常量 */
/* 属性 */
/* 继承的属性 */
/* 方法 */
public __construct()
/* 继承的方法 */
public DOMNode::C14N(
bool
bool
?array
?array
): string|false
}bool
$exclusive = false,bool
$withComments = false,?array
$xpath = null,?array
$nsPrefixes = null): string|false
属性
更新日志
| 版本 | 说明 |
|---|---|
| 8.0.0 | The firstElementChild, lastElementChild, and childElementCount properties have been added. |
| 8.0.0 | DOMDocumentFragment implements DOMParentNode now. |
目录
- DOMDocumentFragment::append — Appends nodes after the last child node
- DOMDocumentFragment::appendXML — Append raw XML data
- DOMDocumentFragment::__construct — Constructs a DOMDocumentFragment object
- DOMDocumentFragment::prepend — Prepends nodes before the first child node
- DOMDocumentFragment::replaceChildren — Replace children in fragment