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