diff options
Diffstat (limited to 'views/opendd/export')
| -rw-r--r-- | views/opendd/export/entity.php | 29 | ||||
| -rw-r--r-- | views/opendd/export/metadata.php | 37 | ||||
| -rw-r--r-- | views/opendd/export/relationship.php | 35 |
3 files changed, 43 insertions, 58 deletions
diff --git a/views/opendd/export/entity.php b/views/opendd/export/entity.php index a147a707a..aaaf6bb8d 100644 --- a/views/opendd/export/entity.php +++ b/views/opendd/export/entity.php @@ -1,19 +1,14 @@ <?php - /** - * Elgg Entity export. - * Displays an entity as ODD - * - * @package Elgg - * @subpackage Core - * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 - * @author Marcus Povey - * @copyright Curverider Ltd 2008 - * @link http://elgg.org/ - */ +/** + * 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 +$entity = $vars['entity']; +$serialised = exportAsArray($vars['entity']->guid); +foreach ($serialised as $s) { + echo $s; +}
\ No newline at end of file diff --git a/views/opendd/export/metadata.php b/views/opendd/export/metadata.php index e6f74e2d2..03a8e2b42 100644 --- a/views/opendd/export/metadata.php +++ b/views/opendd/export/metadata.php @@ -1,23 +1,18 @@ <?php - /** - * Elgg metadata export. - * Displays a metadata item using the current view. - * - * @package Elgg - * @subpackage Core - * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 - * @author Marcus Povey - * @copyright Curverider Ltd 2008 - * @link http://elgg.org/ - */ +/** + * Elgg metadata export. + * Displays a metadata item using the current view. + * + * @package Elgg + * @subpackage Core + */ - $m = $vars['metadata']; - $uuid = $vars['uuid']; - - //$odd = new ODDDocument(); - //$odd->addElement($m->export()); - - //echo $odd; - - echo $m->export(); -?>
\ No newline at end of file +$m = $vars['metadata']; +$uuid = $vars['uuid']; + +//$odd = new ODDDocument(); +//$odd->addElement($m->export()); + +//echo $odd; + +echo $m->export();
\ No newline at end of file diff --git a/views/opendd/export/relationship.php b/views/opendd/export/relationship.php index 28b3026d5..f4ab779c4 100644 --- a/views/opendd/export/relationship.php +++ b/views/opendd/export/relationship.php @@ -1,22 +1,17 @@ <?php - /** - * Elgg relationship export. - * Displays a relationship using ODD. - * - * @package Elgg - * @subpackage Core - * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 - * @author Marcus Povey - * @copyright Curverider Ltd 2008 - * @link http://elgg.org/ - */ +/** + * Elgg relationship export. + * Displays a relationship using ODD. + * + * @package Elgg + * @subpackage Core + */ - $r = $vars['relationship']; - - //$odd = new ODDDocument(); - //$odd->addElement($r->export()); - - //echo $odd; - - echo $r->export(); -?>
\ No newline at end of file +$r = $vars['relationship']; + +//$odd = new ODDDocument(); +//$odd->addElement($r->export()); + +//echo $odd; + +echo $r->export(); |
