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

DOMDocument->createComment()

(no version information, might be only in CVS)

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

Popis

class DOMDocument {

DOMComment createComment ( string data )

}

This function creates a new instance of class DOMComment. Tento uzel se v dokumentu neobjeví, nebyl-li přidán např. funkcí DOMNode->appendChild().

Seznam parametrů

data

The content of the comment.

Návratové hodnoty

The new DOMComment or FALSE if an error occured.