diff options
Diffstat (limited to 'views/php/export/entity.php')
-rw-r--r-- | views/php/export/entity.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/views/php/export/entity.php b/views/php/export/entity.php index fbde3ef0d..d167a1df3 100644 --- a/views/php/export/entity.php +++ b/views/php/export/entity.php @@ -12,5 +12,12 @@ */ $entity = $vars['entity']; - echo serialize($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 |