diff options
author | Urban Müller | 2013-02-15 13:36:39 +0000 |
---|---|---|
committer | Urban Müller | 2013-02-15 13:36:39 +0000 |
commit | c7d7e00062174f014661a3d38d096d508a1867fa (patch) | |
tree | 027436d716a0881dcc689cda43229fd2dbdd56a8 | |
parent | 093d9ed045c922e16ee1c12704718f51b40d1e8f (diff) | |
download | itools-c7d7e00062174f014661a3d38d096d508a1867fa.tar.gz itools-c7d7e00062174f014661a3d38d096d508a1867fa.tar.bz2 itools-c7d7e00062174f014661a3d38d096d508a1867fa.zip |
better docs
-rw-r--r-- | it_xml.class | 13 |
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()) { |