Elgg
Version 2.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
json
page
default.php
Go to the documentation of this file.
1
<?php
11
elgg_set_http_header
(
"Content-Type: application/json;charset=utf-8"
);
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
}
elgg_set_http_header
elgg_set_http_header($header, $replace=true)
Set a response HTTP header.
Definition:
elgglib.php:114
echo
elgg echo
Translates a string.
Definition:
languages.js:48
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:1098
global
elgg global
Pointer to the global context.
Definition:
elgglib.js:12
$vars
if(!array_key_exists($size, $icon_sizes)) $vars['size']
Definition:
default.php:24
$jsonexport
global $jsonexport
Definition:
default.php:13
Generated on Sat Dec 21 2024 00:01:05 for Elgg by
1.8.11