MR File Export
Manages exporting of data to files and the different export formats.
Located in /file/export.php (line 37)
Loaded exporters, only these can be used
Flag for if exporting is currently underway or not
Export file name
Exporter instance
Moodle URL - used for rendering
Exporter setup
There are many ways to define which exporters are available. The $exporters param can be a string or an array of strings that get sent to the mr_helper_load class.
Examples:
Calls the exporters cleanup.
If the exporter generates a file, then the file is deleted.
Stop exporting and if the exporter returns a file, then the file is returned, otherwise, always returns false.
To remove the export file from the file system, you must call mr_file_export::cleanup()
Get select options for the currently available exporters
Get the URL
Get URL select options for the currently available exporters
Start exporting process
Can be manually called.
Once an export has started, you can get access to the current exporter through this method.
Are we currently exporting?
Closes, cleans and sends the exported file to the browser for download.
If a file is sent, this method will kill the PHP script!
Change the export file name
Documentation generated on Thu, 28 Jun 2012 16:33:48 -0700 by phpDocumentor 1.4.3