ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilSCORMPresentationGUI. More...
Public Member Functions | |
ilSCORMPresentationGUI () | |
& | executeCommand () |
execute command | |
attrib2arr (&$a_attributes) | |
frameset () | |
Output main frameset. | |
get_max_attempts () | |
Get max. | |
get_actual_attempts () | |
Get number of actual attempts for the user. | |
increase_attemptAndsave_module_version () | |
Increases attempts by one for this package. | |
explorer ($a_target="sahs_content") | |
save the active module version to scorm_tracking | |
view () | |
SCORM content screen. | |
contentSelect () | |
apiInitData () | |
SCORM Data for Javascript-API. | |
api () | |
launchSahs () | |
This function is called by the API applet in the content frame when a SCO is started. | |
finishSahs () | |
unloadSahs () | |
launchAsset () | |
pingSession () | |
logMessage () | |
logWarning () | |
setSingleVariable ($a_var, $a_value) | |
set single value | |
setArray ($a_left, $a_value, $a_name, &$v_array) | |
set single value | |
downloadCertificate () | |
Download the certificate for the active user. |
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::api | ( | ) |
Definition at line 475 of file class.ilSCORMPresentationGUI.php.
References $_GET, $ilias, ilSCORMResource\_lookupIdByIdRef(), ilSCORMResource\_lookupScormType(), and exit.
ilSCORMPresentationGUI::apiInitData | ( | ) |
SCORM Data for Javascript-API.
Definition at line 440 of file class.ilSCORMPresentationGUI.php.
References $_GET, ilObjSCORMInitData\getIliasScormData(), ilObjSCORMInitData\getIliasScormResources(), ilObjSCORMInitData\getIliasScormTree(), and ilObjSCORMInitData\getIliasScormVars().
ilSCORMPresentationGUI::attrib2arr | ( | & | $a_attributes | ) |
Definition at line 63 of file class.ilSCORMPresentationGUI.php.
ilSCORMPresentationGUI::contentSelect | ( | ) |
Definition at line 429 of file class.ilSCORMPresentationGUI.php.
References $lng, and ilUtil\getStyleSheetLocation().
ilSCORMPresentationGUI::downloadCertificate | ( | ) |
Download the certificate for the active user.
Definition at line 852 of file class.ilSCORMPresentationGUI.php.
References $_GET, $ilCtrl, $ilUser, ilObjUser\_lookupFields(), ilObjSCORMLearningModule\_lookupLastAccess(), ilObjSCORM2004LearningModule\_lookupLastAccess(), ilObject\_lookupObjId(), ilObjSAHSLearningModule\_lookupSubType(), ilObjSAHSLearningModuleAccess\_lookupUserCertificate(), and exit.
& ilSCORMPresentationGUI::executeCommand | ( | ) |
execute command
Reimplemented in ilAICCPresentationGUI, and ilHACPPresentationGUI.
Definition at line 41 of file class.ilSCORMPresentationGUI.php.
ilSCORMPresentationGUI::explorer | ( | $a_target = "sahs_content" | ) |
save the active module version to scorm_tracking
output table of content
Reimplemented in ilAICCPresentationGUI, and ilHACPPresentationGUI.
Definition at line 361 of file class.ilSCORMPresentationGUI.php.
References $_GET, $ilBench, $ilLog, $slm, ilUtil\getStyleSheetLocation(), ilTree\readRootId(), and ilExplorer\setTargetGet().
ilSCORMPresentationGUI::finishSahs | ( | ) |
Definition at line 726 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 84 of file class.ilSCORMPresentationGUI.php.
References $lng, ilSCORMObject\_lookupPresentableItems(), exit, get_actual_attempts(), get_max_attempts(), and increase_attemptAndsave_module_version().
ilSCORMPresentationGUI::get_actual_attempts | ( | ) |
Get number of actual attempts for the user.
Definition at line 190 of file class.ilSCORMPresentationGUI.php.
References $ilDB, and $ilUser.
Referenced by frameset().
ilSCORMPresentationGUI::get_max_attempts | ( | ) |
Get max.
number of attempts allowed for this package
Definition at line 182 of file class.ilSCORMPresentationGUI.php.
Referenced by frameset().
ilSCORMPresentationGUI::ilSCORMPresentationGUI | ( | ) |
Definition at line 25 of file class.ilSCORMPresentationGUI.php.
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 281 of file class.ilSCORMPresentationGUI.php.
References $ilDB, $ilUser, $res, and ilLPStatusWrapper\_updateStatus().
Referenced by frameset().
ilSCORMPresentationGUI::launchAsset | ( | ) |
Definition at line 776 of file class.ilSCORMPresentationGUI.php.
References $_GET, $_POST, $ilDB, $ilUser, and $ref_id.
ilSCORMPresentationGUI::launchSahs | ( | ) |
This function is called by the API applet in the content frame when a SCO is started.
Reimplemented in ilAICCPresentationGUI, and ilHACPPresentationGUI.
Definition at line 534 of file class.ilSCORMPresentationGUI.php.
References $_GET, $_POST, $ilDB, $ilUser, $lng, $ref_id, ilObject\_lookupObjId(), ilSCORMObject\_lookupPresentableItems(), ilUtil\getImagePath(), setArray(), and setSingleVariable().
ilSCORMPresentationGUI::logMessage | ( | ) |
Definition at line 808 of file class.ilSCORMPresentationGUI.php.
References $ilLog.
ilSCORMPresentationGUI::logWarning | ( | ) |
Definition at line 814 of file class.ilSCORMPresentationGUI.php.
References $ilLog.
ilSCORMPresentationGUI::pingSession | ( | ) |
Definition at line 803 of file class.ilSCORMPresentationGUI.php.
ilSCORMPresentationGUI::setArray | ( | $a_left, | |
$a_value, | |||
$a_name, | |||
& | $v_array | ||
) |
set single value
Definition at line 834 of file class.ilSCORMPresentationGUI.php.
Referenced by ilHACPPresentationGUI\launchSahs(), ilAICCPresentationGUI\launchSahs(), and launchSahs().
ilSCORMPresentationGUI::setSingleVariable | ( | $a_var, | |
$a_value | |||
) |
set single value
Definition at line 823 of file class.ilSCORMPresentationGUI.php.
Referenced by ilHACPPresentationGUI\launchSahs(), ilAICCPresentationGUI\launchSahs(), and launchSahs().
ilSCORMPresentationGUI::unloadSahs | ( | ) |
Definition at line 767 of file class.ilSCORMPresentationGUI.php.
References $_GET, and ilUtil\getStyleSheetLocation().
ilSCORMPresentationGUI::view | ( | ) |
SCORM content screen.
Reimplemented in ilAICCPresentationGUI.
Definition at line 416 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 api(), executeCommand(), and ilSCORMPresentationGUI().
ilSCORMPresentationGUI::$lng |
Definition at line 23 of file class.ilSCORMPresentationGUI.php.
Referenced by contentSelect(), executeCommand(), finishSahs(), frameset(), ilSCORMPresentationGUI(), 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 ilSCORMPresentationGUI().