aboutsummaryrefslogtreecommitdiff
path: root/views/php/api/output.php
blob: 14259564c1b8427a7bd581981fc0cc397d71a690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
/**
 * Elgg PHP output
 * This outputs the api results as serialized PHP
 *
 * @package Elgg
 * @subpackage Core
 */

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

echo serialize($export);