From 1c99d9159afec8a3dc8fe8f36aba5f392a3eebb7 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Thu, 2 Apr 2009 17:59:13 +0200 Subject: [PATCH] [svn r19503] Minor - updated phpdoc --- main/inc/lib/export.lib.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main/inc/lib/export.lib.inc.php b/main/inc/lib/export.lib.inc.php index 7cd5b84d4b..627e3c13bb 100644 --- a/main/inc/lib/export.lib.inc.php +++ b/main/inc/lib/export.lib.inc.php @@ -123,6 +123,7 @@ class Export * @param string Name of common tag to place each line in * @param string Name of the root element. A root element should always be given. * @param string Encoding in which the data is provided + * @return void Prompts the user for a file download */ function export_complex_table_xml($data, $filename = 'export', $wrapper_tagname, $encoding='ISO-8859-1') { @@ -146,6 +147,9 @@ class Export } /** * Helper for the hierarchical XML exporter + * @param array Hierarhical array composed of elements of type ('name'=>'xyz','value'=>'...') + * @param int Level of recursivity. Allows the XML to be finely presented + * @return string The XML string to be inserted into the root element */ function _export_complex_table_xml_helper($data,$level=1) { if (count($data)<1) { return '';}