DOMDocument::createDocumentFragment

(PHP 5, PHP 7, PHP 8)

DOMDocument::createDocumentFragment新しい文書片を作成する

説明

public DOMDocument::createDocumentFragment(): DOMDocumentFragment|false

この関数は、DOMDocumentFragment クラスの新しいインスタンスを作成します。このノードは、( DOMNode::appendChild() などで) 挿入されない限り、ドキュメント内にあらわれません。

パラメータ

この関数にはパラメータはありません。

返り値

新しい DOMDocumentFragment、あるいはエラーが発生した場合は false を返します。

参考

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top