Actions

Developer Area/Import//Export/Export API: Difference between revisions

From Mahara Wiki

< Developer Area‎ | Import//Export
No edit summary
No edit summary
Line 1: Line 1:
http://git.mahara.org/?p=mahara.git;a=blob;f=htdocs/export/lib.php;hb=refs/heads/master
<div style="float: right">
<div style="float: right">



Revision as of 18:05, 12 Mayıs 2011

http://git.mahara.org/?p=mahara.git;a=blob;f=htdocs/export/lib.php;hb=refs/heads/master

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