aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/export.php
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-20 11:38:25 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-20 11:38:25 +0000
commit9caa09ee888d7884e22cc46089e6e0fb6579732c (patch)
tree6ee22ea1104a337fce3a64d0b519073a4ffbabbd /engine/lib/export.php
parent6258b38d2e274df93333ce36696bcbf49fb8ea2e (diff)
downloadelgg-9caa09ee888d7884e22cc46089e6e0fb6579732c.tar.gz
elgg-9caa09ee888d7884e22cc46089e6e0fb6579732c.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Committed abortive Atom wrapper... we need to support different import/export git-svn-id: https://code.elgg.org/elgg/trunk@657 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/export.php')
-rw-r--r--engine/lib/export.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/engine/lib/export.php b/engine/lib/export.php
index e389613e8..815fc5819 100644
--- a/engine/lib/export.php
+++ b/engine/lib/export.php
@@ -161,9 +161,10 @@
*
* @see ElggEntity for an example of its usage.
* @param int $guid The GUID.
+ * @param ODDWrapperFactory $wrapper Optional wrapper permitting the export process to embed ODD in other document formats.
* @return xml
*/
- function export($guid)
+ function export($guid, ODDWrapperFactory $wrapper = null)
{
$guid = (int)$guid;
@@ -178,7 +179,7 @@
$odd = new ODDDocument($to_be_serialised);
- return "$odd";
+ return ODD_Export($odd, $wrapper);
}
/**