aboutsummaryrefslogtreecommitdiff
path: root/views/odd/export
diff options
context:
space:
mode:
Diffstat (limited to 'views/odd/export')
-rw-r--r--views/odd/export/entity.php5
-rw-r--r--views/odd/export/metadata.php8
-rw-r--r--views/odd/export/relationship.php8
3 files changed, 14 insertions, 7 deletions
diff --git a/views/odd/export/entity.php b/views/odd/export/entity.php
index d6efd413c..a147a707a 100644
--- a/views/odd/export/entity.php
+++ b/views/odd/export/entity.php
@@ -12,5 +12,8 @@
*/
$entity = $vars['entity'];
- echo export($entity->guid);
+ $serialised = exportAsArray($vars['entity']->guid);
+ foreach ($serialised as $s)
+ echo $s;
+
?> \ No newline at end of file
diff --git a/views/odd/export/metadata.php b/views/odd/export/metadata.php
index dff62086a..e6f74e2d2 100644
--- a/views/odd/export/metadata.php
+++ b/views/odd/export/metadata.php
@@ -14,8 +14,10 @@
$m = $vars['metadata'];
$uuid = $vars['uuid'];
- $odd = new ODDDocument();
- $odd->addElement($m->export());
+ //$odd = new ODDDocument();
+ //$odd->addElement($m->export());
- echo $odd;
+ //echo $odd;
+
+ echo $m->export();
?> \ No newline at end of file
diff --git a/views/odd/export/relationship.php b/views/odd/export/relationship.php
index 85387a273..28b3026d5 100644
--- a/views/odd/export/relationship.php
+++ b/views/odd/export/relationship.php
@@ -13,8 +13,10 @@
$r = $vars['relationship'];
- $odd = new ODDDocument();
- $odd->addElement($r->export());
+ //$odd = new ODDDocument();
+ //$odd->addElement($r->export());
- echo $odd;
+ //echo $odd;
+
+ echo $r->export();
?> \ No newline at end of file