previousXML_Util::createCDataSection (Previous) (Next) XML_Util::getDocTypeDeclarationnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

XML_Util::createComment

XML_Util::createComment() – create an XML comment

Synopsis

require_once 'XML/Util.php';

string XML_Util::createComment ( string $data )

Description

Creates an XML comment, by embedding the supplied data in <!-- and -->.

Parameter

  • string $data - data for the comment.

Return value

string comment

Note

This function should be called statically.

previousXML_Util::createCDataSection (Previous) (Next) XML_Util::getDocTypeDeclarationnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.