From 732065bf13af96f680bc9874afee71c07f74e40a Mon Sep 17 00:00:00 2001 From: zotlabs Date: Tue, 31 Jan 2017 15:28:25 -0800 Subject: channel export - use a selected list of functional data categories to export; this allows one to export single data sets instead of always exporting everything we know about --- doc/hook/get_default_export_sections | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/hook/get_default_export_sections (limited to 'doc/hook/get_default_export_sections') 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 -- cgit v1.2.3