Elgg
Version 1.11
views
json
page
default.php
Go to the documentation of this file.
1
<?php
11
header
(
"Content-Type: application/json"
);
12
13
echo
$vars
[
'body'
];
14
15
// backward compatibility
16
global
$jsonexport
;
17
if
(isset(
$jsonexport
)) {
18
elgg_deprecated_notice
(
"Using \$jsonexport to produce json output has been deprecated"
, 1.9);
19
echo json_encode(
$jsonexport
);
20
}
$vars
if(!array_key_exists($size, $icon_sizes)) $vars['size']
Definition:
default.php:23
elgg_deprecated_notice
elgg_deprecated_notice($msg, $dep_version, $backtrace_level=1)
Log a notice about deprecated use of a function, view, etc.
Definition:
elgglib.php:1006
$jsonexport
global $jsonexport
Definition:
default.php:13
header
clearfix elgg elgg elgg elgg page header
Definition:
admin.php:131
Generated on Fri Aug 29 2025 00:00:38 for Elgg by
1.9.1