aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hook/get_default_export_sections
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2017-02-01 17:08:46 -0500
committerAndrew Manning <tamanning@zoho.com>2017-02-01 17:08:46 -0500
commit61407ad6c833b67398736e04742f8e6ca0c17a2a (patch)
treec0290a76fea464e1e1bcf5aea1e3a99d82518420 /doc/hook/get_default_export_sections
parentd3d540a28b2dd0b4958d129cceeba162c271302b (diff)
parentec037abf92be6ac6495cabcd5d64821655f39e37 (diff)
downloadvolse-hubzilla-61407ad6c833b67398736e04742f8e6ca0c17a2a.tar.gz
volse-hubzilla-61407ad6c833b67398736e04742f8e6ca0c17a2a.tar.bz2
volse-hubzilla-61407ad6c833b67398736e04742f8e6ca0c17a2a.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'doc/hook/get_default_export_sections')
-rw-r--r--doc/hook/get_default_export_sections10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/hook/get_default_export_sections b/doc/hook/get_default_export_sections
new file mode 100644
index 000000000..09b146643
--- /dev/null
+++ b/doc/hook/get_default_export_sections
@@ -0,0 +1,10 @@
+[h3]get_default_export_sections[/h3]
+
+The get_default_export_sections call returns the basic functional groups of data to export using channel_export_basic().
+
+The hook is passed an array
+ [
+ 'sections' => [ 'channel', 'connections', 'config', 'apps', 'chatrooms', 'events', 'webpages', 'mail', 'wikis' ]
+ ]
+
+If you desire the export to contain three months of items, add 'items' to the 'sections' array