Elgg  Version 1.9
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 
21 $jsonexport['metadata'][] = $entity;
22 // echo json_encode($export);
$m
Definition: metadata.php:11
foreach($exportable_values as $v) global $jsonexport
Definition: metadata.php:16
elgg global
Pointer to the global context.
Definition: elgglib.js:12
$exportable_values
Definition: metadata.php:14
$export
Definition: metadata.php:13
$entity
Definition: delete.php:10
if(file_exists($welcome)) $vars
Definition: upgrade.php:93