aboutsummaryrefslogtreecommitdiff
path: root/views/php/export/entity.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/php/export/entity.php')
-rw-r--r--views/php/export/entity.php38
1 files changed, 19 insertions, 19 deletions
diff --git a/views/php/export/entity.php b/views/php/export/entity.php
index a23f2c1d8..ecceb5fd3 100644
--- a/views/php/export/entity.php
+++ b/views/php/export/entity.php
@@ -1,21 +1,21 @@
<?php
- /**
- * Elgg Entity export.
- * Displays an entity as PHP serialised data
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
+/**
+ * Elgg Entity export.
+ * Displays an entity as PHP serialised data
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ */
- $entity = $vars['entity'];
-
- $export = new stdClass;
- $exportable_values = $entity->getExportableValues();
-
- foreach ($exportable_values as $v)
- $export->$v = $entity->$v;
-
- echo serialize($export);
-?> \ No newline at end of file
+$entity = $vars['entity'];
+
+$export = new stdClass;
+$exportable_values = $entity->getExportableValues();
+
+foreach ($exportable_values as $v) {
+ $export->$v = $entity->$v;
+}
+
+echo serialize($export);