From c7d7e00062174f014661a3d38d096d508a1867fa Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 15 Feb 2013 13:36:39 +0000 Subject: better docs --- it_xml.class | 13 ++++++------- 1 file 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()) { -- cgit v1.2.3