Elgg  Version 6.0
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($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:254
elgg_set_http_header(string $header, bool $replace=true)
Set a response HTTP header.
Definition: elgglib.php:26
if(!array_key_exists($size, $icon_sizes)) $vars['size']
Definition: default.php:25