XML_Util::createComment

XML_Util::createComment() – XMLコメントを生成する

Synopsis

require_once 'XML/Util.php';

string XML_Util::createComment ( string $data )

Description

"<!--"と"-->"の間に 指定のーデータを埋め込むことで、XMLコメントを生成します。

Parameter

  • string $data - コメント用データを指定します。

Return value

string XMLコメントが返ります。

Note

This function should be called statically.