summaryrefslogtreecommitdiff
path: root/lib/xmloutputter.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xmloutputter.php')
-rw-r--r--lib/xmloutputter.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/xmloutputter.php b/lib/xmloutputter.php
index 5bbd35627..9ca0c91bd 100644
--- a/lib/xmloutputter.php
+++ b/lib/xmloutputter.php
@@ -226,4 +226,17 @@ class XMLOutputter
{
$this->xw->writeRaw($xml);
}
+
+ /**
+ * output a comment
+ *
+ * @param string $txt text of the comment
+ *
+ * @return void
+ */
+
+ function comment($txt)
+ {
+ $this->xw->writeComment($txt);
+ }
}