ILIAS
Release_4_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_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. | |
api () | |
launchSahs () | |
This function is called by the API applet in the content frame when a SCO is started. | |
finishSahs () | |
unloadSahs () | |
launchAsset () | |
pingSession () | |
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 39 of file class.ilSCORMPresentationGUI.php.
ilSCORMPresentationGUI::api | ( | ) |
Definition at line 367 of file class.ilSCORMPresentationGUI.php.
References $_GET, $ilias, ilSCORMResource\_lookupIdByIdRef(), ilSCORMResource\_lookupScormType(), and exit.
ilSCORMPresentationGUI::attrib2arr | ( | & | $a_attributes | ) |
Definition at line 84 of file class.ilSCORMPresentationGUI.php.
ilSCORMPresentationGUI::downloadCertificate | ( | ) |
Download the certificate for the active user.
Definition at line 731 of file class.ilSCORMPresentationGUI.php.
References $_GET, $params, $type, 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 62 of file class.ilSCORMPresentationGUI.php.
ilSCORMPresentationGUI::explorer | ( | $a_target = "sahs_content" | ) |
output table of content
Reimplemented in ilAICCPresentationGUI, and ilHACPPresentationGUI.
Definition at line 301 of file class.ilSCORMPresentationGUI.php.
References $_GET, $ilBench, $ilLog, $slm, ilUtil\getStyleSheetLocation(), ilTree\readRootId(), and ilExplorer\setTargetGet().
ilSCORMPresentationGUI::finishSahs | ( | ) |
Definition at line 618 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 105 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 178 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 164 of file class.ilSCORMPresentationGUI.php.
References $ilDB.
Referenced by frameset().
ilSCORMPresentationGUI::ilSCORMPresentationGUI | ( | ) |
Definition at line 46 of file class.ilSCORMPresentationGUI.php.
ilSCORMPresentationGUI::increase_attempt | ( | ) |
Increases attempts by one for this package.
Definition at line 203 of file class.ilSCORMPresentationGUI.php.
References $ilDB, and ilUtil\now().
Referenced by frameset().
ilSCORMPresentationGUI::launchAsset | ( | ) |
Definition at line 667 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 426 of file class.ilSCORMPresentationGUI.php.
References $_GET, $_POST, $ilDB, $lng, $ref_id, ilObject\_lookupObjId(), ilSCORMObject\_lookupPresentableItems(), ilUtil\getImagePath(), setArray(), and setSingleVariable().
ilSCORMPresentationGUI::pingSession | ( | ) |
Definition at line 694 of file class.ilSCORMPresentationGUI.php.
ilSCORMPresentationGUI::save_module_version | ( | ) |
save the active module version to scorm_tracking
Definition at line 256 of file class.ilSCORMPresentationGUI.php.
References $ilDB, and ilUtil\now().
Referenced by frameset().
ilSCORMPresentationGUI::setArray | ( | $a_left, | |
$a_value, | |||
$a_name, | |||
& | $v_array | ||
) |
set single value
Definition at line 713 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 702 of file class.ilSCORMPresentationGUI.php.
Referenced by ilHACPPresentationGUI\launchSahs(), ilAICCPresentationGUI\launchSahs(), and launchSahs().
ilSCORMPresentationGUI::unloadSahs | ( | ) |
Definition at line 658 of file class.ilSCORMPresentationGUI.php.
References $_GET, and ilUtil\getStyleSheetLocation().
ilSCORMPresentationGUI::view | ( | ) |
SCORM content screen.
Reimplemented in ilAICCPresentationGUI.
Definition at line 354 of file class.ilSCORMPresentationGUI.php.
References $_GET, ilSCORMObjectGUI\getInstance(), and ilUtil\getStyleSheetLocation().
ilSCORMPresentationGUI::$ilias |
Definition at line 41 of file class.ilSCORMPresentationGUI.php.
Referenced by api(), executeCommand(), and ilSCORMPresentationGUI().
ilSCORMPresentationGUI::$lng |
Definition at line 44 of file class.ilSCORMPresentationGUI.php.
Referenced by executeCommand(), finishSahs(), frameset(), ilSCORMPresentationGUI(), and launchSahs().
ilSCORMPresentationGUI::$slm |
Definition at line 42 of file class.ilSCORMPresentationGUI.php.
Referenced by explorer().
ilSCORMPresentationGUI::$tpl |
Definition at line 43 of file class.ilSCORMPresentationGUI.php.
Referenced by ilSCORMPresentationGUI().