aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2017-03-24 23:32:53 +0100
committerKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2017-03-30 23:06:00 +0200
commit2e2f984c459eabf83fc5bfdbd60c892d0f549895 (patch)
treeb34ca94d05d52ccdbd2ff951431ece624dfd09fb /include/text.php
parent3b6a0d8e5cb787bace27aee67f7ae0f4130e3132 (diff)
downloadvolse-hubzilla-2e2f984c459eabf83fc5bfdbd60c892d0f549895.tar.gz
volse-hubzilla-2e2f984c459eabf83fc5bfdbd60c892d0f549895.tar.bz2
volse-hubzilla-2e2f984c459eabf83fc5bfdbd60c892d0f549895.zip
Add some documentation for import functions.
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 0a2073272..fa9dadc31 100644
--- a/include/text.php
+++ b/include/text.php
@@ -3050,7 +3050,15 @@ function array2XML($obj, $array) {
}
}
-
+/**
+ * @brief Inserts an array into $table.
+ *
+ * @TODO Why is this function in include/text.php?
+ *
+ * @param string $table
+ * @param array $arr
+ * @return boolean|PDOStatement
+ */
function create_table_from_array($table, $arr) {
if(! ($arr && $table))