aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorKlaus <Klaus.Weidenbach@gmx.net>2017-03-30 23:10:53 +0200
committerGitHub <noreply@github.com>2017-03-30 23:10:53 +0200
commitdea487993828d00e7be9709752129e445a255171 (patch)
treea6d989b7cda859ede1c2ec8310e63384ea753ef5 /include/text.php
parentbb639b08f795f81ffb58787fd195c7a235d1637c (diff)
parent2e2f984c459eabf83fc5bfdbd60c892d0f549895 (diff)
downloadvolse-hubzilla-dea487993828d00e7be9709752129e445a255171.tar.gz
volse-hubzilla-dea487993828d00e7be9709752129e445a255171.tar.bz2
volse-hubzilla-dea487993828d00e7be9709752129e445a255171.zip
Merge pull request #709 from dawnbreak/docu
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))