ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilSCORMPresentationGUI. More...
Public Member Functions | |
__construct () | |
executeCommand () | |
execute command More... | |
attrib2arr (&$a_attributes) | |
frameset () | |
Output main frameset. More... | |
get_max_attempts () | |
Get max. More... | |
get_actual_attempts () | |
Get number of actual attempts for the user. More... | |
increase_attemptAndsave_module_version () | |
Increases attempts by one for this package. More... | |
explorer ($a_target="sahs_content") | |
save the active module version to scorm_tracking More... | |
view () | |
SCORM content screen. More... | |
contentSelect () | |
apiInitData () | |
SCORM Data for Javascript-API. More... | |
api () | |
launchSahs () | |
This function is called by the API applet in the content frame when a SCO is started. More... | |
finishSahs () | |
unloadSahs () | |
launchAsset () | |
pingSession () | |
logMessage () | |
logWarning () | |
setSingleVariable ($a_var, $a_value) | |
set single value More... | |
setArray ($a_left, $a_value, $a_name, &$v_array) | |
set single value More... | |
downloadCertificate () | |
Download the certificate for the active user. More... | |
Data Fields | |
$ilias | |
$slm | |
$tpl | |
$lng | |
Class ilSCORMPresentationGUI.
GUI class for scorm learning module presentation
Definition at line 18 of file class.ilSCORMPresentationGUI.php.
ilSCORMPresentationGUI::__construct | ( | ) |
Definition at line 25 of file class.ilSCORMPresentationGUI.php.
References $_GET, $ilCtrl, $ilias, $lng, and $tpl.
ilSCORMPresentationGUI::api | ( | ) |
Definition at line 446 of file class.ilSCORMPresentationGUI.php.
References $_GET, $_SERVER, $ilias, ilSCORMResource\_lookupIdByIdRef(), ilSCORMResource\_lookupScormType(), and exit.
ilSCORMPresentationGUI::apiInitData | ( | ) |
SCORM Data for Javascript-API.
Definition at line 407 of file class.ilSCORMPresentationGUI.php.
References $_GET, ilObjSCORMInitData\getIliasScormData(), ilObjSCORMInitData\getIliasScormResources(), ilObjSCORMInitData\getIliasScormTree(), ilObjSCORMInitData\getIliasScormVars(), and header.
ilSCORMPresentationGUI::attrib2arr | ( | & | $a_attributes | ) |
ilSCORMPresentationGUI::contentSelect | ( | ) |
Definition at line 395 of file class.ilSCORMPresentationGUI.php.
References $lng, and ilUtil\getStyleSheetLocation().
ilSCORMPresentationGUI::downloadCertificate | ( | ) |
Download the certificate for the active user.
Definition at line 822 of file class.ilSCORMPresentationGUI.php.
References $_GET, $certificate, $ilCtrl, $ilUser, $params, $type, ilObjUser\_lookupFields(), ilObjSCORMLearningModule\_lookupLastAccess(), ilObjSCORM2004LearningModule\_lookupLastAccess(), ilObject\_lookupObjId(), ilObjSAHSLearningModule\_lookupSubType(), ilObjSAHSLearningModuleAccess\_lookupUserCertificate(), array, and exit.
ilSCORMPresentationGUI::executeCommand | ( | ) |
ilSCORMPresentationGUI::explorer | ( | $a_target = "sahs_content" | ) |
save the active module version to scorm_tracking
output table of content
Definition at line 328 of file class.ilSCORMPresentationGUI.php.
References $_GET, $ilBench, $ilLog, $output, $slm, ilUtil\getStyleSheetLocation(), ilTree\readRootId(), and ilExplorer\setTargetGet().
ilSCORMPresentationGUI::finishSahs | ( | ) |
Definition at line 690 of file class.ilSCORMPresentationGUI.php.
References $_GET, $lng, ilTree\fetchSuccessorNode(), ilUtil\getImagePath(), and ilUtil\getStyleSheetLocation().
ilSCORMPresentationGUI::frameset | ( | ) |
Output main frameset.
If only one SCO/Asset is given, it is displayed without the table of contents explorer frame on the left.
Definition at line 80 of file class.ilSCORMPresentationGUI.php.
References $debug, $lng, ilSCORMObject\_lookupPresentableItems(), exit, get_actual_attempts(), get_max_attempts(), header, increase_attemptAndsave_module_version(), and ilWACSignedPath\signFolderOfStartFile().
ilSCORMPresentationGUI::get_actual_attempts | ( | ) |
Get number of actual attempts for the user.
Definition at line 147 of file class.ilSCORMPresentationGUI.php.
References $ilDB, $ilUser, and array.
Referenced by frameset().
ilSCORMPresentationGUI::get_max_attempts | ( | ) |
Get max.
number of attempts allowed for this package
Definition at line 138 of file class.ilSCORMPresentationGUI.php.
References ilObjSCORMInitData\get_max_attempts().
Referenced by frameset().
ilSCORMPresentationGUI::increase_attemptAndsave_module_version | ( | ) |
Increases attempts by one for this package.
Increases attempts by one and saves module_version for this package
Definition at line 243 of file class.ilSCORMPresentationGUI.php.
References $ilDB, $ilUser, $res, ilLPStatusWrapper\_updateStatus(), array, and date.
Referenced by frameset().
ilSCORMPresentationGUI::launchAsset | ( | ) |
Definition at line 743 of file class.ilSCORMPresentationGUI.php.
References $_GET, $_POST, $ilDB, and $ilUser.
ilSCORMPresentationGUI::launchSahs | ( | ) |
This function is called by the API applet in the content frame when a SCO is started.
Definition at line 501 of file class.ilSCORMPresentationGUI.php.
References $_GET, $_POST, $i, $ilDB, $ilUser, $lng, ilObject\_lookupObjId(), ilSCORMObject\_lookupPresentableItems(), array, ilUtil\getImagePath(), setArray(), and setSingleVariable().
ilSCORMPresentationGUI::logMessage | ( | ) |
ilSCORMPresentationGUI::logWarning | ( | ) |
ilSCORMPresentationGUI::pingSession | ( | ) |
Definition at line 770 of file class.ilSCORMPresentationGUI.php.
References ilWACSignedPath\signFolderOfStartFile().
ilSCORMPresentationGUI::setArray | ( | $a_left, | |
$a_value, | |||
$a_name, | |||
& | $v_array | ||
) |
set single value
Definition at line 806 of file class.ilSCORMPresentationGUI.php.
References $i.
Referenced by launchSahs().
ilSCORMPresentationGUI::setSingleVariable | ( | $a_var, | |
$a_value | |||
) |
set single value
Definition at line 795 of file class.ilSCORMPresentationGUI.php.
Referenced by launchSahs().
ilSCORMPresentationGUI::unloadSahs | ( | ) |
Definition at line 734 of file class.ilSCORMPresentationGUI.php.
References $_GET, and ilUtil\getStyleSheetLocation().
ilSCORMPresentationGUI::view | ( | ) |
SCORM content screen.
Definition at line 383 of file class.ilSCORMPresentationGUI.php.
References $_GET, ilSCORMObjectGUI\getInstance(), and ilUtil\getStyleSheetLocation().
ilSCORMPresentationGUI::$ilias |
Definition at line 20 of file class.ilSCORMPresentationGUI.php.
Referenced by __construct(), api(), and executeCommand().
ilSCORMPresentationGUI::$lng |
Definition at line 23 of file class.ilSCORMPresentationGUI.php.
Referenced by __construct(), contentSelect(), executeCommand(), finishSahs(), frameset(), and launchSahs().
ilSCORMPresentationGUI::$slm |
Definition at line 21 of file class.ilSCORMPresentationGUI.php.
Referenced by explorer().
ilSCORMPresentationGUI::$tpl |
Definition at line 22 of file class.ilSCORMPresentationGUI.php.
Referenced by __construct().