summaryrefslogtreecommitdiff
path: root/lib/xmloutputter.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-14 13:57:29 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-01-14 13:57:29 -0500
commit3ce62aae1b1a0e176db32fac142218f05bc57731 (patch)
tree1c5f94b8a1e54c14637a350d7f14f042746ee994 /lib/xmloutputter.php
parentb72322b9e786a0e1fd0eecb2705fee0bf470ac8a (diff)
Add comment() method, have action use it
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);
+ }
}