ILIAS
Release_3_10_x_branch Revision 61812
|
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 () | |
setSingleVariable ($a_var, $a_value) | |
set single value | |
setArray ($a_left, $a_value, $a_name, &$v_array) | |
set single value |
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 311 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::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 245 of file class.ilSCORMPresentationGUI.php.
References $_GET, $ilBench, $ilLog, $slm, ilUtil\getStyleSheetLocation(), ilTree\readRootId(), and ilExplorer\setTargetGet().
ilSCORMPresentationGUI::finishSahs | ( | ) |
Definition at line 552 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 103 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 177 of file class.ilSCORMPresentationGUI.php.
References DB_FETCHMODE_ASSOC.
Referenced by frameset().
ilSCORMPresentationGUI::get_max_attempts | ( | ) |
Get max.
number of attempts allowed for this package
Definition at line 162 of file class.ilSCORMPresentationGUI.php.
References DB_FETCHMODE_ASSOC.
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 198 of file class.ilSCORMPresentationGUI.php.
References DB_FETCHMODE_ASSOC.
Referenced by frameset().
ilSCORMPresentationGUI::launchAsset | ( | ) |
Definition at line 601 of file class.ilSCORMPresentationGUI.php.
References $_GET, 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 362 of file class.ilSCORMPresentationGUI.php.
References $_GET, $lng, $ref_id, ilObject\_lookupObjId(), ilSCORMObject\_lookupPresentableItems(), DB_FETCHMODE_ASSOC, ilUtil\getImagePath(), setArray(), and setSingleVariable().
ilSCORMPresentationGUI::save_module_version | ( | ) |
save the active module version to scorm_tracking
Definition at line 230 of file class.ilSCORMPresentationGUI.php.
Referenced by frameset().
ilSCORMPresentationGUI::setArray | ( | $a_left, | |
$a_value, | |||
$a_name, | |||
& | $v_array | ||
) |
set single value
Definition at line 643 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 632 of file class.ilSCORMPresentationGUI.php.
Referenced by ilHACPPresentationGUI\launchSahs(), ilAICCPresentationGUI\launchSahs(), and launchSahs().
ilSCORMPresentationGUI::unloadSahs | ( | ) |
Definition at line 592 of file class.ilSCORMPresentationGUI.php.
References $_GET, and ilUtil\getStyleSheetLocation().
ilSCORMPresentationGUI::view | ( | ) |
SCORM content screen.
Reimplemented in ilAICCPresentationGUI.
Definition at line 298 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().