10 include_once
"Services/Context/classes/class.ilContext.php";
13 require_once(
"Services/Init/classes/class.ilInitialisation.php");
16 include_once
'Modules/Scorm2004/classes/class.ilSCORM2004StoreData.php';
21 $lm_set =
$ilDB->queryF(
'SELECT default_lesson_mode, interactions, objectives, time_from_lms, comments FROM sahs_lm WHERE id = %s',
25 $defaultLessonMode=($lm_rec[
"default_lesson_mode"]);
32 if ((
string)
$_GET[
'do'] ==
"unload") {
36 $data = file_get_contents(
'php://input');
37 $ilUser->setId(
$data->p);
static scormPlayerUnload($userId=null, $packageId, $time_from_lms)
static initILIAS()
ilias initialisation
static persistCMIData($userId=null, $packageId, $defaultLessonMode, $comments, $interactions, $objectives, $time_from_lms, $data=null)
Create styles array
The data for the language used.
static init($a_type)
Init context by type.
static yn2tf($a_yn)
convert "y"/"n" to true/false