Developer Area/Import//Export/Export API: Difference between revisions
From Mahara Wiki
< Developer Area | Import//Export
Brettwilkins (talk | contribs) (Created page with "<div style="float: right"><span></span> A demonstration of the Export user interface </div> Mahara's export API is implemented as a plugin type. It lives in the <code>/export/…") |
No edit summary |
||
Line 1: | Line 1: | ||
<div style="float: right" | <div style="float: right"> | ||
A demonstration of the Export user interface | A demonstration of the Export user interface | ||
Line 13: | Line 13: | ||
<div id="section_1"> | <div id="section_1"> | ||
=== Further Information === | ===Further Information=== | ||
* [http://git.mahara.org/?p=mahara.git;a=blob;f=htdocs/export/lib.php;hb=refs/heads/master export/lib.php in source control] | * [http://git.mahara.org/?p=mahara.git;a=blob;f=htdocs/export/lib.php;hb=refs/heads/master export/lib.php in source control] | ||
</div> | </div> |
Revision as of 16:14, 11 Mayıs 2011
A demonstration of the Export user interface
Mahara's export API is implemented as a plugin type. It lives in the /export/
directory.
The API is extremely simple, leaving most of the heavy lifiting to the plugins themselves. It gathers information about exactly what Views and Artefacts need to be exported, and provides an API through which each plugin can report its progress when exporting data.
A UI is also provided through which users can generate their own exports. This UI allows users to select what export format they want, as well as if they just want to export some Views instead of their entire portfolio. It then provides a screen that shows the progress in generating the export, and serves it to the user once it has been made.