summaryrefslogtreecommitdiff
path: root/it_xml.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_xml.class')
-rw-r--r--it_xml.class13
1 files changed, 6 insertions, 7 deletions
diff --git a/it_xml.class b/it_xml.class
index c98b6eb..fdc97f2 100644
--- a/it_xml.class
+++ b/it_xml.class
@@ -239,13 +239,12 @@ function character_data($dummy_parser, $cdata)
/**
* Convert XML object tree back to string representation
- * @param $p Associative array
- * tag Name of root XML tag (otherwise determined by get_class)
- * indent String to indent with (default: " ")
- * lineseparator String to start new line with (default: "\n")
- * prefix String to prefix class names with (default: "")
- * sort value true causes to_xml() to output elements sorted
- * @return XML string representation of this object
+ * @param $p['tag'] Name of root XML tag (otherwise determined by get_class)
+ * @param $p['indent'] String to indent with (default: " ")
+ * @param $p['lineseparator'] String to start new line with (default: "\n")
+ * @param $p['prefix'] String to prefix class names with (default: "")
+ * @param $p['sort'] value true causes to_xml() to output elements sorted
+ * @return XML string representation of this object (only attributes with is_a == it_xml and no leading _)
*/
function to_xml($p = array())
{