aboutsummaryrefslogtreecommitdiff
path: root/views/json/export/metadata.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/json/export/metadata.php')
-rw-r--r--views/json/export/metadata.php42
1 files changed, 21 insertions, 21 deletions
diff --git a/views/json/export/metadata.php b/views/json/export/metadata.php
index 10aceb9df..bde62de57 100644
--- a/views/json/export/metadata.php
+++ b/views/json/export/metadata.php
@@ -1,23 +1,23 @@
<?php
- /**
- * Elgg metadata export.
- * Displays a metadata item using json
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
+/**
+ * Elgg metadata export.
+ * Displays a metadata item using json
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ */
- $m = $vars['metadata'];
-
- $export = new stdClass;
- $exportable_values = $entity->getExportableValues();
-
- foreach ($exportable_values as $v)
- $export->$v = $m->$v;
-
- global $jsonexport;
- $jsonexport['metadata'][] = $entity;
- // echo json_encode($export);
-?> \ No newline at end of file
+$m = $vars['metadata'];
+
+$export = new stdClass;
+$exportable_values = $entity->getExportableValues();
+
+foreach ($exportable_values as $v) {
+ $export->$v = $m->$v;
+}
+
+global $jsonexport;
+$jsonexport['metadata'][] = $entity;
+// echo json_encode($export); \ No newline at end of file