From 3ce62aae1b1a0e176db32fac142218f05bc57731 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 14 Jan 2009 13:57:29 -0500 Subject: Add comment() method, have action use it --- lib/xmloutputter.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'lib/xmloutputter.php') 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); + } } -- cgit v1.2.3-54-g00ecf