Elgg
Version 3.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
json
group
default.php
Go to the documentation of this file.
1
<?php
9
$entity
=
elgg_extract
(
'entity'
,
$vars
);
10
if
(!
$entity
instanceof
ElggEntity
) {
11
return
;
12
}
13
14
echo
json_encode(
$entity
->toObject());
ElggEntity
echo
elgg echo
Translates a string.
Definition:
languages.js:43
$vars
if(!array_key_exists($size, $icon_sizes)) $vars['size']
Definition:
default.php:27
elgg_extract
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition:
elgglib.php:1131
$entity
$entity
Definition:
default.php:16
Generated on Fri Feb 26 2021 00:00:22 for Elgg by
1.8.11