ILIAS
release_8 Revision v8.19
|
Class ilSCORMPresentationGUI. More...
Public Member Functions | |
__construct () | |
executeCommand () | |
execute command More... | |
attrib2arr (?array $a_attributes) | |
frameset () | |
Output main frameset. More... | |
get_actual_attempts () | |
Get max. More... | |
increase_attemptAndsave_module_version () | |
Increases attempts by one for this package. More... | |
explorer (string $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... | |
pingSession () | |
downloadCertificate () | |
Download the certificate for the active user. More... | |
Data Fields | |
ilObjSCORMLearningModule | $slm |
ilGlobalTemplate | $tpl |
ilLanguage | $lng |
Protected Attributes | |
int | $refId |
ilCtrlInterface | $ctrl |
Class ilSCORMPresentationGUI.
GUI class for scorm learning module presentation
Definition at line 31 of file class.ilSCORMPresentationGUI.php.
ilSCORMPresentationGUI::__construct | ( | ) |
Definition at line 39 of file class.ilSCORMPresentationGUI.php.
References $DIC, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilSCORMPresentationGUI::apiInitData | ( | ) |
SCORM Data for Javascript-API.
Definition at line 452 of file class.ilSCORMPresentationGUI.php.
References $DIC, ilObjSCORMInitData\getIliasScormData(), ilObjSCORMInitData\getIliasScormResources(), ilObjSCORMInitData\getIliasScormTree(), and ilObjSCORMInitData\getIliasScormVars().
ilSCORMPresentationGUI::attrib2arr | ( | ?array | $a_attributes | ) |
Definition at line 84 of file class.ilSCORMPresentationGUI.php.
ilSCORMPresentationGUI::contentSelect | ( | ) |
Definition at line 439 of file class.ilSCORMPresentationGUI.php.
References $DIC, ilUtil\getStyleSheetLocation(), and ilLanguage\txt().
ilSCORMPresentationGUI::downloadCertificate | ( | ) |
Download the certificate for the active user.
ilCtrlException |
Definition at line 498 of file class.ilSCORMPresentationGUI.php.
References $DIC, $ilUser, ilObject\_lookupObjId(), ilCertificatePdfAction\downloadPdf(), exit, and ILIAS\Repository\lng().
ilSCORMPresentationGUI::executeCommand | ( | ) |
execute command
ilCtrlException |
Definition at line 58 of file class.ilSCORMPresentationGUI.php.
References $DIC, $ilErr, ILIAS\Repository\ctrl(), ilLoggerFactory\getLogger(), and ilLanguage\txt().
ilSCORMPresentationGUI::explorer | ( | string | $a_target = "sahs_content" | ) |
save the active module version to scorm_tracking
output table of content
ilCtrlException | |
ilTemplateException |
Definition at line 360 of file class.ilSCORMPresentationGUI.php.
References $DIC, $slm, ILIAS\Repository\ctrl(), ilLoggerFactory\getLogger(), ilUtil\getStyleSheetLocation(), ILIAS\Repository\lng(), ilTree\readRootId(), and ilExplorer\setTargetGet().
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.
ilCtrlException |
Definition at line 103 of file class.ilSCORMPresentationGUI.php.
References $DIC, ilSCORMObject\_lookupPresentableItems(), ILIAS\Repository\ctrl(), exit, ilUtil\getImagePath(), increase_attemptAndsave_module_version(), and ilWACSignedPath\signFolderOfStartFile().
ilSCORMPresentationGUI::get_actual_attempts | ( | ) |
Get max.
number of attempts allowed for this package Get number of actual attempts for the user
Definition at line 168 of file class.ilSCORMPresentationGUI.php.
References $DIC, $ilDB, and $ilUser.
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 271 of file class.ilSCORMPresentationGUI.php.
References $DIC, $ilDB, $ilUser, $res, and ilLPStatusWrapper\_updateStatus().
Referenced by frameset().
ilSCORMPresentationGUI::pingSession | ( | ) |
Definition at line 488 of file class.ilSCORMPresentationGUI.php.
References ilWACSignedPath\signFolderOfStartFile().
ilSCORMPresentationGUI::view | ( | ) |
SCORM content screen.
Definition at line 425 of file class.ilSCORMPresentationGUI.php.
References $DIC, $objId, ilSCORMObjectGUI\getInstance(), and ilUtil\getStyleSheetLocation().
|
protected |
Definition at line 37 of file class.ilSCORMPresentationGUI.php.
ilLanguage ilSCORMPresentationGUI::$lng |
Definition at line 35 of file class.ilSCORMPresentationGUI.php.
|
protected |
Definition at line 36 of file class.ilSCORMPresentationGUI.php.
ilObjSCORMLearningModule ilSCORMPresentationGUI::$slm |
Definition at line 33 of file class.ilSCORMPresentationGUI.php.
Referenced by explorer().
ilGlobalTemplate ilSCORMPresentationGUI::$tpl |
Definition at line 34 of file class.ilSCORMPresentationGUI.php.