| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Class ilSCORMPresentationGUI. More...
 Inheritance diagram for ilSCORMPresentationGUI:
 Inheritance diagram for ilSCORMPresentationGUI: Collaboration diagram for ilSCORMPresentationGUI:
 Collaboration diagram for ilSCORMPresentationGUI:| 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. | |
| contentSelect () | |
| apiInitData () | |
| SCORM Data for Javascript-API. | |
| api () | |
| launchSahs () | |
| This function is called by the API applet in the content frame when a SCO is started. | |
| finishSahs () | |
| unloadSahs () | |
| launchAsset () | |
| pingSession () | |
| logMessage () | |
| logWarning () | |
| 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 20 of file class.ilSCORMPresentationGUI.php.
| ilSCORMPresentationGUI::api | ( | ) | 
Definition at line 567 of file class.ilSCORMPresentationGUI.php.
References $_GET, $ilias, ilSCORMResource\_lookupIdByIdRef(), ilSCORMResource\_lookupScormType(), and exit.
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSCORMPresentationGUI::apiInitData | ( | ) | 
SCORM Data for Javascript-API.
Definition at line 389 of file class.ilSCORMPresentationGUI.php.
References $_GET, $ilDB, $ilias, $ilLog, $lng, and ilUtil\getImagePath().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSCORMPresentationGUI::attrib2arr | ( | & | $a_attributes | ) | 
Definition at line 65 of file class.ilSCORMPresentationGUI.php.
| ilSCORMPresentationGUI::contentSelect | ( | ) | 
Definition at line 378 of file class.ilSCORMPresentationGUI.php.
References $lng, and ilUtil\getStyleSheetLocation().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSCORMPresentationGUI::downloadCertificate | ( | ) | 
Download the certificate for the active user.
Definition at line 944 of file class.ilSCORMPresentationGUI.php.
References $_GET, ilObjUser\_lookupFields(), ilObjSCORMLearningModule\_lookupLastAccess(), ilObjSCORM2004LearningModule\_lookupLastAccess(), ilObject\_lookupObjId(), ilObjSAHSLearningModule\_lookupSubType(), ilObjSAHSLearningModuleAccess\_lookupUserCertificate(), exit, and ilUtil\redirect().
 Here is the call graph for this function:
 Here is the call graph for this function:| & ilSCORMPresentationGUI::executeCommand | ( | ) | 
execute command
Reimplemented in ilAICCPresentationGUI, and ilHACPPresentationGUI.
Definition at line 43 of file class.ilSCORMPresentationGUI.php.
| ilSCORMPresentationGUI::explorer | ( | $a_target = "sahs_content" | ) | 
output table of content
Reimplemented in ilAICCPresentationGUI, and ilHACPPresentationGUI.
Definition at line 310 of file class.ilSCORMPresentationGUI.php.
References $_GET, $ilBench, $ilLog, $slm, ilUtil\getStyleSheetLocation(), ilTree\readRootId(), and ilExplorer\setTargetGet().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSCORMPresentationGUI::finishSahs | ( | ) | 
Definition at line 818 of file class.ilSCORMPresentationGUI.php.
References $_GET, $lng, ilTree\fetchSuccessorNode(), ilUtil\getImagePath(), and ilUtil\getStyleSheetLocation().
 Here is the call graph for this function:
 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 86 of file class.ilSCORMPresentationGUI.php.
References $lng, ilSCORMObject\_lookupPresentableItems(), exit, get_actual_attempts(), get_max_attempts(), increase_attempt(), and save_module_version().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSCORMPresentationGUI::get_actual_attempts | ( | ) | 
Get number of actual attempts for the user.
Definition at line 179 of file class.ilSCORMPresentationGUI.php.
References $ilDB.
Referenced by frameset().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSCORMPresentationGUI::get_max_attempts | ( | ) | 
Get max.
number of attempts allowed for this package
Definition at line 165 of file class.ilSCORMPresentationGUI.php.
References $ilDB.
Referenced by frameset().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSCORMPresentationGUI::ilSCORMPresentationGUI | ( | ) | 
Definition at line 27 of file class.ilSCORMPresentationGUI.php.
| ilSCORMPresentationGUI::increase_attempt | ( | ) | 
Increases attempts by one for this package.
Definition at line 204 of file class.ilSCORMPresentationGUI.php.
References $ilDB, ilLPStatusWrapper\_updateStatus(), and ilUtil\now().
Referenced by frameset().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSCORMPresentationGUI::launchAsset | ( | ) | 
Definition at line 868 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 626 of file class.ilSCORMPresentationGUI.php.
References $_GET, $_POST, $ilDB, $lng, $ref_id, ilObject\_lookupObjId(), ilSCORMObject\_lookupPresentableItems(), ilUtil\getImagePath(), setArray(), and setSingleVariable().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSCORMPresentationGUI::logMessage | ( | ) | 
Definition at line 900 of file class.ilSCORMPresentationGUI.php.
References $ilLog.
| ilSCORMPresentationGUI::logWarning | ( | ) | 
Definition at line 906 of file class.ilSCORMPresentationGUI.php.
References $ilLog.
| ilSCORMPresentationGUI::pingSession | ( | ) | 
Definition at line 895 of file class.ilSCORMPresentationGUI.php.
| ilSCORMPresentationGUI::save_module_version | ( | ) | 
save the active module version to scorm_tracking
Definition at line 261 of file class.ilSCORMPresentationGUI.php.
References $ilDB, ilLPStatusWrapper\_updateStatus(), and ilUtil\now().
Referenced by frameset().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSCORMPresentationGUI::setArray | ( | $a_left, | |
| $a_value, | |||
| $a_name, | |||
| & | $v_array | ||
| ) | 
set single value
Definition at line 926 of file class.ilSCORMPresentationGUI.php.
Referenced by ilHACPPresentationGUI\launchSahs(), ilAICCPresentationGUI\launchSahs(), and launchSahs().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSCORMPresentationGUI::setSingleVariable | ( | $a_var, | |
| $a_value | |||
| ) | 
set single value
Definition at line 915 of file class.ilSCORMPresentationGUI.php.
Referenced by ilHACPPresentationGUI\launchSahs(), ilAICCPresentationGUI\launchSahs(), and launchSahs().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSCORMPresentationGUI::unloadSahs | ( | ) | 
Definition at line 859 of file class.ilSCORMPresentationGUI.php.
References $_GET, and ilUtil\getStyleSheetLocation().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSCORMPresentationGUI::view | ( | ) | 
SCORM content screen.
Reimplemented in ilAICCPresentationGUI.
Definition at line 365 of file class.ilSCORMPresentationGUI.php.
References $_GET, ilSCORMObjectGUI\getInstance(), and ilUtil\getStyleSheetLocation().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSCORMPresentationGUI::$ilias | 
Definition at line 22 of file class.ilSCORMPresentationGUI.php.
Referenced by api(), apiInitData(), executeCommand(), and ilSCORMPresentationGUI().
| ilSCORMPresentationGUI::$lng | 
Definition at line 25 of file class.ilSCORMPresentationGUI.php.
Referenced by apiInitData(), contentSelect(), executeCommand(), finishSahs(), frameset(), ilSCORMPresentationGUI(), and launchSahs().
| ilSCORMPresentationGUI::$slm | 
Definition at line 23 of file class.ilSCORMPresentationGUI.php.
Referenced by explorer().
| ilSCORMPresentationGUI::$tpl | 
Definition at line 24 of file class.ilSCORMPresentationGUI.php.
Referenced by ilSCORMPresentationGUI().