aboutsummaryrefslogtreecommitdiff
path: root/views/opendd/export/entity.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/opendd/export/entity.php')
-rw-r--r--views/opendd/export/entity.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/views/opendd/export/entity.php b/views/opendd/export/entity.php
new file mode 100644
index 000000000..aaaf6bb8d
--- /dev/null
+++ b/views/opendd/export/entity.php
@@ -0,0 +1,14 @@
+<?php
+/**
+ * Elgg Entity export.
+ * Displays an entity as ODD
+ *
+ * @package Elgg
+ * @subpackage Core
+ */
+
+$entity = $vars['entity'];
+$serialised = exportAsArray($vars['entity']->guid);
+foreach ($serialised as $s) {
+ echo $s;
+} \ No newline at end of file