From 9caa09ee888d7884e22cc46089e6e0fb6579732c Mon Sep 17 00:00:00 2001 From: icewing Date: Tue, 20 May 2008 11:38:25 +0000 Subject: Marcus Povey * 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 --- engine/lib/export.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engine/lib/export.php') 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); } /** -- cgit v1.2.3