Actions

Difference between revisions of "Developer Area/Import//Export/Export API"

From Mahara Wiki

< Developer Area‎ | Import//Export
(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/…")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="float: right"><span></span>
+
<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>

Latest revision as of 18:16, 12 May 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.

Further Information