dokeos-learnpath
[ class tree: dokeos-learnpath ] [ index: dokeos-learnpath ] [ all elements ]

Procedural File: lp_export.php

Source Location: /main/newscorm/lp_export.php



Page Details:

Script to export the current path as a SCORM zip package.

This script cannot use the common controller lp_controller.php because we need to keep the headers clean of any session prior to output-ing the resulting file. As we still need to check the user's credentials (because he might not have access to this file), we need to get some ID proof. Once the ID is checked with the database info, generate the file, send the corresponding headers to force the download and let the user do the rest. This script should not change the screen at all, so the user will still be able to continue what he was doing.




Tags:

author:  Yannick Warnier <ywarnier@beeznest.org>
todo:  get some ID proof
filesource:  Source Code for this file








Documentation generated on Thu, 12 Jun 2008 14:02:46 -0500 by phpDocumentor 1.4.1