From 84e2ddd9244a70b19e597e8eaee031761f35de06 Mon Sep 17 00:00:00 2001 From: icewing Date: Fri, 25 Apr 2008 16:10:20 +0000 Subject: Marcus Povey * JSON & PHP Export modes git-svn-id: https://code.elgg.org/elgg/trunk@537 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/json/export/entity.php | 22 ++++++++++++++++++++++ views/json/export/metadata.php | 22 ++++++++++++++++++++++ views/json/export/relationship.php | 22 ++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 views/json/export/entity.php create mode 100644 views/json/export/metadata.php create mode 100644 views/json/export/relationship.php (limited to 'views/json/export') diff --git a/views/json/export/entity.php b/views/json/export/entity.php new file mode 100644 index 000000000..cf7e19c05 --- /dev/null +++ b/views/json/export/entity.php @@ -0,0 +1,22 @@ + $v) + $export->$k = $v; + + echo json_encode($export); +?> \ No newline at end of file diff --git a/views/json/export/metadata.php b/views/json/export/metadata.php new file mode 100644 index 000000000..30caf8b85 --- /dev/null +++ b/views/json/export/metadata.php @@ -0,0 +1,22 @@ + $v) + $export->$k = $v; + + echo json_encode($export); +?> \ No newline at end of file diff --git a/views/json/export/relationship.php b/views/json/export/relationship.php new file mode 100644 index 000000000..e582cc898 --- /dev/null +++ b/views/json/export/relationship.php @@ -0,0 +1,22 @@ + $v) + $export->$k = $v; + + echo json_encode($export); +?> \ No newline at end of file -- cgit v1.2.3