aboutsummaryrefslogtreecommitdiff
path: root/views/xml/api/output.php
blob: 42afd44bbce7f5b6a809df2df24f617ba310a1d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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");