Elgg
Version 6.1
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
8
elgg_set_http_header
(
'Content-Type: application/json; charset=utf-8'
);
9
10
echo
elgg_extract
(
'body'
,
$vars
,
''
);
elgg_extract
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition:
elgglib.php:256
elgg_set_http_header
elgg_set_http_header(string $header, bool $replace=true)
Set a response HTTP header.
Definition:
elgglib.php:26
$vars
if(!array_key_exists($size, $icon_sizes)) $vars['size']
Definition:
default.php:25
Generated on Wed Dec 4 2024 00:00:22 for Elgg by
1.8.11