aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/export.php
diff options
context:
space:
mode:
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);
}
/**