|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilSCORMPresentationGUI. More...
Collaboration diagram for ilSCORMPresentationGUI: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.
| ilSCORMPresentationGUI::api | ( | ) |
Definition at line 476 of file class.ilSCORMPresentationGUI.php.
References $_GET, $_SERVER, $DIC, $ilias, ilSCORMResource\_lookupIdByIdRef(), ilSCORMResource\_lookupScormType(), and exit.
Here is the call graph for this function:| ilSCORMPresentationGUI::apiInitData | ( | ) |
SCORM Data for Javascript-API.
Definition at line 432 of file class.ilSCORMPresentationGUI.php.
References $_GET, ilObjSCORMInitData\getIliasScormData(), ilObjSCORMInitData\getIliasScormResources(), ilObjSCORMInitData\getIliasScormTree(), ilObjSCORMInitData\getIliasScormVars(), and print.
Here is the call graph for this function:| ilSCORMPresentationGUI::attrib2arr | ( | & | $a_attributes | ) |
Definition at line 71 of file class.ilSCORMPresentationGUI.php.
| ilSCORMPresentationGUI::contentSelect | ( | ) |
Definition at line 419 of file class.ilSCORMPresentationGUI.php.
References $DIC, $lng, and ilUtil\getStyleSheetLocation().
Here is the call graph for this function:| ilSCORMPresentationGUI::downloadCertificate | ( | ) |
Download the certificate for the active user.
Definition at line 861 of file class.ilSCORMPresentationGUI.php.
References $_GET, $DIC, $ilUser, ilObject\_lookupObjId(), and exit.
Here is the call graph for this function:| ilSCORMPresentationGUI::executeCommand | ( | ) |
execute command
Definition at line 47 of file class.ilSCORMPresentationGUI.php.
| ilSCORMPresentationGUI::explorer | ( | $a_target = "sahs_content" | ) |
save the active module version to scorm_tracking
output table of content
Definition at line 350 of file class.ilSCORMPresentationGUI.php.
References $_GET, $DIC, $ilBench, and ilUtil\getStyleSheetLocation().
Here is the call graph for this function:| ilSCORMPresentationGUI::finishSahs | ( | ) |
Definition at line 724 of file class.ilSCORMPresentationGUI.php.
References $_GET, $DIC, $lng, ilUtil\getImagePath(), and ilUtil\getStyleSheetLocation().
Here is the call graph for this function:| 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 90 of file class.ilSCORMPresentationGUI.php.
References $DIC, $lng, ilSCORMObject\_lookupPresentableItems(), exit, get_actual_attempts(), get_max_attempts(), increase_attemptAndsave_module_version(), and ilWACSignedPath\signFolderOfStartFile().
Here is the call graph for this function:| ilSCORMPresentationGUI::get_actual_attempts | ( | ) |
Get number of actual attempts for the user.
Definition at line 159 of file class.ilSCORMPresentationGUI.php.
References $DIC, $ilDB, and $ilUser.
Referenced by frameset().
Here is the caller graph for this function:| ilSCORMPresentationGUI::get_max_attempts | ( | ) |
Get max.
number of attempts allowed for this package
Definition at line 150 of file class.ilSCORMPresentationGUI.php.
References ilObjSCORMInitData\get_max_attempts().
Referenced by frameset().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 261 of file class.ilSCORMPresentationGUI.php.
References $DIC, $ilDB, $ilUser, $res, and ilLPStatusWrapper\_updateStatus().
Referenced by frameset().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSCORMPresentationGUI::launchAsset | ( | ) |
Definition at line 778 of file class.ilSCORMPresentationGUI.php.
| ilSCORMPresentationGUI::launchSahs | ( | ) |
This function is called by the API applet in the content frame when a SCO is started.
Definition at line 532 of file class.ilSCORMPresentationGUI.php.
References $_GET, $_POST, $DIC, $i, $ilDB, $ilUser, $lng, ilObject\_lookupObjId(), ilSCORMObject\_lookupPresentableItems(), ilUtil\getImagePath(), setArray(), and setSingleVariable().
Here is the call graph for this function:| ilSCORMPresentationGUI::logMessage | ( | ) |
Definition at line 815 of file class.ilSCORMPresentationGUI.php.
References $DIC.
| ilSCORMPresentationGUI::logWarning | ( | ) |
Definition at line 823 of file class.ilSCORMPresentationGUI.php.
References $DIC.
| ilSCORMPresentationGUI::pingSession | ( | ) |
Definition at line 807 of file class.ilSCORMPresentationGUI.php.
References ilWACSignedPath\signFolderOfStartFile().
Here is the call graph for this function:| ilSCORMPresentationGUI::setArray | ( | $a_left, | |
| $a_value, | |||
| $a_name, | |||
| & | $v_array | ||
| ) |
set single value
Definition at line 845 of file class.ilSCORMPresentationGUI.php.
References $i.
Referenced by launchSahs().
Here is the caller graph for this function:| ilSCORMPresentationGUI::setSingleVariable | ( | $a_var, | |
| $a_value | |||
| ) |
set single value
Definition at line 834 of file class.ilSCORMPresentationGUI.php.
Referenced by launchSahs().
Here is the caller graph for this function:| ilSCORMPresentationGUI::unloadSahs | ( | ) |
Definition at line 769 of file class.ilSCORMPresentationGUI.php.
References $_GET, and ilUtil\getStyleSheetLocation().
Here is the call graph for this function:| ilSCORMPresentationGUI::view | ( | ) |
SCORM content screen.
Definition at line 407 of file class.ilSCORMPresentationGUI.php.
References $_GET, ilSCORMObjectGUI\getInstance(), and ilUtil\getStyleSheetLocation().
Here is the call graph for this function:| 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.
| ilSCORMPresentationGUI::$tpl |
Definition at line 22 of file class.ilSCORMPresentationGUI.php.
Referenced by __construct().