ILIAS
Release_4_2_x_branch Revision 61807
|
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_attempt () | |
Increases attempts by one for this package. | |
save_module_version () | |
save the active module version to scorm_tracking | |
explorer ($a_target="sahs_content") | |
output table of content | |
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 20 of file class.ilSCORMPresentationGUI.php.
ilSCORMPresentationGUI::api | ( | ) |
Definition at line 566 of file class.ilSCORMPresentationGUI.php.
References $_GET, $ilias, ilSCORMResource\_lookupIdByIdRef(), ilSCORMResource\_lookupScormType(), and exit.
ilSCORMPresentationGUI::apiInitData | ( | ) |
SCORM Data for Javascript-API.
Definition at line 389 of file class.ilSCORMPresentationGUI.php.
References $_GET, $ilDB, $ilias, $ilLog, $lng, and ilUtil\getImagePath().
ilSCORMPresentationGUI::attrib2arr | ( | & | $a_attributes | ) |
Definition at line 65 of file class.ilSCORMPresentationGUI.php.
ilSCORMPresentationGUI::contentSelect | ( | ) |
Definition at line 378 of file class.ilSCORMPresentationGUI.php.
References $lng, and ilUtil\getStyleSheetLocation().
ilSCORMPresentationGUI::downloadCertificate | ( | ) |
Download the certificate for the active user.
Definition at line 943 of file class.ilSCORMPresentationGUI.php.
References $_GET, ilObjUser\_lookupFields(), ilObjSCORMLearningModule\_lookupLastAccess(), ilObjSCORM2004LearningModule\_lookupLastAccess(), ilObject\_lookupObjId(), ilObjSAHSLearningModule\_lookupSubType(), ilObjSAHSLearningModuleAccess\_lookupUserCertificate(), exit, and ilUtil\redirect().
& ilSCORMPresentationGUI::executeCommand | ( | ) |
execute command
Reimplemented in ilAICCPresentationGUI, and ilHACPPresentationGUI.
Definition at line 43 of file class.ilSCORMPresentationGUI.php.
ilSCORMPresentationGUI::explorer | ( | $a_target = "sahs_content" | ) |
output table of content
Reimplemented in ilAICCPresentationGUI, and ilHACPPresentationGUI.
Definition at line 310 of file class.ilSCORMPresentationGUI.php.
References $_GET, $ilBench, $ilLog, $slm, ilUtil\getStyleSheetLocation(), ilTree\readRootId(), and ilExplorer\setTargetGet().
ilSCORMPresentationGUI::finishSahs | ( | ) |
Definition at line 817 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 86 of file class.ilSCORMPresentationGUI.php.
References $lng, ilSCORMObject\_lookupPresentableItems(), exit, get_actual_attempts(), get_max_attempts(), increase_attempt(), and save_module_version().
ilSCORMPresentationGUI::get_actual_attempts | ( | ) |
Get number of actual attempts for the user.
Definition at line 179 of file class.ilSCORMPresentationGUI.php.
References $ilDB.
Referenced by frameset().
ilSCORMPresentationGUI::get_max_attempts | ( | ) |
Get max.
number of attempts allowed for this package
Definition at line 165 of file class.ilSCORMPresentationGUI.php.
References $ilDB.
Referenced by frameset().
ilSCORMPresentationGUI::ilSCORMPresentationGUI | ( | ) |
Definition at line 27 of file class.ilSCORMPresentationGUI.php.
ilSCORMPresentationGUI::increase_attempt | ( | ) |
Increases attempts by one for this package.
Definition at line 204 of file class.ilSCORMPresentationGUI.php.
References $ilDB, ilLPStatusWrapper\_updateStatus(), and ilUtil\now().
Referenced by frameset().
ilSCORMPresentationGUI::launchAsset | ( | ) |
Definition at line 867 of file class.ilSCORMPresentationGUI.php.
References $_GET, $_POST, $ilDB, 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 625 of file class.ilSCORMPresentationGUI.php.
References $_GET, $_POST, $ilDB, $lng, $ref_id, ilObject\_lookupObjId(), ilSCORMObject\_lookupPresentableItems(), ilUtil\getImagePath(), setArray(), and setSingleVariable().
ilSCORMPresentationGUI::logMessage | ( | ) |
Definition at line 899 of file class.ilSCORMPresentationGUI.php.
References $ilLog.
ilSCORMPresentationGUI::logWarning | ( | ) |
Definition at line 905 of file class.ilSCORMPresentationGUI.php.
References $ilLog.
ilSCORMPresentationGUI::pingSession | ( | ) |
Definition at line 894 of file class.ilSCORMPresentationGUI.php.
ilSCORMPresentationGUI::save_module_version | ( | ) |
save the active module version to scorm_tracking
Definition at line 261 of file class.ilSCORMPresentationGUI.php.
References $ilDB, ilLPStatusWrapper\_updateStatus(), and ilUtil\now().
Referenced by frameset().
ilSCORMPresentationGUI::setArray | ( | $a_left, | |
$a_value, | |||
$a_name, | |||
& | $v_array | ||
) |
set single value
Definition at line 925 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 914 of file class.ilSCORMPresentationGUI.php.
Referenced by ilHACPPresentationGUI\launchSahs(), ilAICCPresentationGUI\launchSahs(), and launchSahs().
ilSCORMPresentationGUI::unloadSahs | ( | ) |
Definition at line 858 of file class.ilSCORMPresentationGUI.php.
References $_GET, and ilUtil\getStyleSheetLocation().
ilSCORMPresentationGUI::view | ( | ) |
SCORM content screen.
Reimplemented in ilAICCPresentationGUI.
Definition at line 365 of file class.ilSCORMPresentationGUI.php.
References $_GET, ilSCORMObjectGUI\getInstance(), and ilUtil\getStyleSheetLocation().
ilSCORMPresentationGUI::$ilias |
Definition at line 22 of file class.ilSCORMPresentationGUI.php.
Referenced by api(), apiInitData(), executeCommand(), and ilSCORMPresentationGUI().
ilSCORMPresentationGUI::$lng |
Definition at line 25 of file class.ilSCORMPresentationGUI.php.
Referenced by apiInitData(), contentSelect(), executeCommand(), finishSahs(), frameset(), ilSCORMPresentationGUI(), and launchSahs().
ilSCORMPresentationGUI::$slm |
Definition at line 23 of file class.ilSCORMPresentationGUI.php.
Referenced by explorer().
ilSCORMPresentationGUI::$tpl |
Definition at line 24 of file class.ilSCORMPresentationGUI.php.
Referenced by ilSCORMPresentationGUI().