aboutsummaryrefslogtreecommitdiff
path: root/views/xml/api/output.php
blob: c2385b6e3b3171f81e5830d7e56e4b3a11a52634 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
/**
 * Elgg XML output
 * This outputs the api as XML
 *
 * @package Elgg
 * @subpackage Core
 * @author Curverider Ltd
 * @link http://elgg.org/
 *
 */

$result = $vars['result'];
$export = $result->export();

echo serialise_object_to_xml($export, "elgg");