You are here

function oa_export_json_export in Open Atrium Export 7.2

Export callback.

Parameters

array $export: An array of multiple entities and their dependencies.

Return value

string A json object.

1 call to oa_export_json_export()
oa_export_create_json_export in formats/oa_export.file.inc
Creates a json representation of the entities.
1 string reference to 'oa_export_json_export'
oa_export_format_handlers in formats/oa_export.formats.inc
Returns an array of format handlers for file export.

File

formats/json.inc, line 60
The OA export JSON format handler.

Code

function oa_export_json_export($export) {
  return drupal_json_pretty_print(oa_export_json_encode_objects($export));
}