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