createDocumentFragment()"HREF="function.dom-domdocument-createdocumentfragment.html"> P..."/>
Forum und email
DOMDocument->createComment()

DOMDocument->createComment()

(no version information, might be only in CVS)

DOMDocument->createComment() -- Create new comment node

Opis

class DOMDocument {

DOMComment 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.