diff options
Diffstat (limited to 'views/xml/api/output.php')
-rw-r--r-- | views/xml/api/output.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/views/xml/api/output.php b/views/xml/api/output.php new file mode 100644 index 000000000..42afd44bb --- /dev/null +++ b/views/xml/api/output.php @@ -0,0 +1,14 @@ +<?php +/** + * Elgg XML output + * This outputs the api as XML + * + * @package Elgg + * @subpackage Core + * + */ + +$result = $vars['result']; +$export = $result->export(); + +echo serialise_object_to_xml($export, "elgg");
\ No newline at end of file |