|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilSCORMPresentationGUI. More...
Inheritance diagram for ilSCORMPresentationGUI:
Collaboration diagram for ilSCORMPresentationGUI:Public Member Functions | |
| ilSCORMPresentationGUI () | |
| & | 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::api | ( | ) |
Definition at line 480 of file class.ilSCORMPresentationGUI.php.
References $_GET, $_SERVER, $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 445 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 63 of file class.ilSCORMPresentationGUI.php.
| ilSCORMPresentationGUI::contentSelect | ( | ) |
Definition at line 434 of file class.ilSCORMPresentationGUI.php.
References $lng, and ilUtil\getStyleSheetLocation().
Here is the call graph for this function:| ilSCORMPresentationGUI::downloadCertificate | ( | ) |
Download the certificate for the active user.
Definition at line 860 of file class.ilSCORMPresentationGUI.php.
References $_GET, $certificate, $ilCtrl, $ilUser, $params, ilObjUser\_lookupFields(), ilObjSCORM2004LearningModule\_lookupLastAccess(), ilObjSCORMLearningModule\_lookupLastAccess(), ilObject\_lookupObjId(), ilObjSAHSLearningModule\_lookupSubType(), ilObjSAHSLearningModuleAccess\_lookupUserCertificate(), and exit.
Here is the call graph for this function:| & 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 365 of file class.ilSCORMPresentationGUI.php.
References $_GET, $ilBench, $ilLog, and ilUtil\getStyleSheetLocation().
Here is the call graph for this function:| ilSCORMPresentationGUI::finishSahs | ( | ) |
Definition at line 731 of file class.ilSCORMPresentationGUI.php.
References $_GET, $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 84 of file class.ilSCORMPresentationGUI.php.
References $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 194 of file class.ilSCORMPresentationGUI.php.
References $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 186 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::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 285 of file class.ilSCORMPresentationGUI.php.
References $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 781 of file class.ilSCORMPresentationGUI.php.
| 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 539 of file class.ilSCORMPresentationGUI.php.
References $_GET, $_POST, $ilDB, $ilUser, $lng, $ref_id, ilObject\_lookupObjId(), ilSCORMObject\_lookupPresentableItems(), ilUtil\getImagePath(), setArray(), and setSingleVariable().
Here is the call graph for this function:| ilSCORMPresentationGUI::logMessage | ( | ) |
Definition at line 816 of file class.ilSCORMPresentationGUI.php.
References $ilLog.
| ilSCORMPresentationGUI::logWarning | ( | ) |
Definition at line 822 of file class.ilSCORMPresentationGUI.php.
References $ilLog.
| ilSCORMPresentationGUI::pingSession | ( | ) |
Definition at line 808 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 842 of file class.ilSCORMPresentationGUI.php.
Referenced by ilAICCPresentationGUI\launchSahs(), ilHACPPresentationGUI\launchSahs(), and launchSahs().
Here is the caller graph for this function:| ilSCORMPresentationGUI::setSingleVariable | ( | $a_var, | |
| $a_value | |||
| ) |
set single value
Definition at line 831 of file class.ilSCORMPresentationGUI.php.
Referenced by ilAICCPresentationGUI\launchSahs(), ilHACPPresentationGUI\launchSahs(), and launchSahs().
Here is the caller graph for this function:| ilSCORMPresentationGUI::unloadSahs | ( | ) |
Definition at line 772 of file class.ilSCORMPresentationGUI.php.
References $_GET, and ilUtil\getStyleSheetLocation().
Here is the call graph for this function:| ilSCORMPresentationGUI::view | ( | ) |
SCORM content screen.
Reimplemented in ilAICCPresentationGUI.
Definition at line 421 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 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.
| ilSCORMPresentationGUI::$tpl |
Definition at line 22 of file class.ilSCORMPresentationGUI.php.
Referenced by ilSCORMPresentationGUI().