diff options
Diffstat (limited to 'views/php/export/relationship.php')
-rw-r--r-- | views/php/export/relationship.php | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/views/php/export/relationship.php b/views/php/export/relationship.php index ef6482a64..8cb3c9d73 100644 --- a/views/php/export/relationship.php +++ b/views/php/export/relationship.php @@ -1,21 +1,21 @@ <?php - /** - * Elgg relationship export. - * Displays a relationship using PHP serialised data - * - * @package Elgg - * @subpackage Core - * @author Curverider Ltd - * @link http://elgg.org/ - */ +/** + * Elgg relationship export. + * Displays a relationship using PHP serialised data + * + * @package Elgg + * @subpackage Core + * @author Curverider Ltd + * @link http://elgg.org/ + */ - $r = $vars['relationship']; - - $export = new stdClass; - $exportable_values = $r->getExportableValues(); - - foreach ($exportable_values as $v) - $export->$v = $r->$v; - - echo serialize($export); -?>
\ No newline at end of file +$r = $vars['relationship']; + +$export = new stdClass; +$exportable_values = $r->getExportableValues(); + +foreach ($exportable_values as $v) { + $export->$v = $r->$v; +} + +echo serialize($export);
\ No newline at end of file |