Elgg
Version 1.9
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
json
export
entity.php
Go to the documentation of this file.
1
<?php
11
$entity
=
$vars
[
'entity'
];
12
13
$export
=
new
stdClass;
14
$exportable_values
=
$entity
->getExportableValues();
15
16
foreach
(
$exportable_values
as $v) {
17
$export
->$v =
$entity
->$v;
18
}
19
20
$export
->url =
$entity
->getURL();
21
22
global
$jsonexport
;
23
$jsonexport[
$entity
->getType()][
$entity
->getSubtype()][] =
$export
;
$entity
$entity
Definition:
entity.php:11
$jsonexport
global $jsonexport
Definition:
entity.php:22
$exportable_values
$exportable_values
Definition:
entity.php:23
$export
$export
Definition:
entity.php:13
global
elgg global
Pointer to the global context.
Definition:
elgglib.js:12
$vars
if(file_exists($welcome)) $vars
Definition:
upgrade.php:93
Generated on Sat Dec 21 2024 00:00:36 for Elgg by
1.8.11