DOMDocument
PHP Manual

DOMDocument::createComment

(No version information available, might be only in CVS)

DOMDocument::createCommentCreate new comment node

Opis

DOMComment DOMDocument::createComment ( string $data )

This function creates a new instance of class DOMComment. Ten węzeł nie pojawi się w dokumencie dopóki nie zostanie wstawiony, np. metodą DOMNode->appendChild().

Parametry

data

The content of the comment.

Zwracane wartości

The new DOMComment or FALSE if an error occured.

Patrz także


DOMDocument
PHP Manual