ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilObjSCORMLearningModuleGUI. More...
Public Member Functions | |
ilObjSCORMLearningModuleGUI ($a_data, $a_id, $a_call_by_reference, $a_prepare_output=true) | |
Constructor. | |
assignObject () | |
assign scorm object to scorm gui object | |
properties () | |
scorm module properties | |
newModuleVersion () | |
upload new version of module | |
getMaxFileSize () | |
newModuleVersionUpload () | |
saveProperties () | |
save properties | |
showTrackingItems () | |
Show tracking table ilTabs $ilTabs $global ilToolbar $ilToolbar. | |
deleteTrackingForUser () | |
display deletion confirmation screen | |
cancelDeleteTracking () | |
cancel deletion of export files | |
confirmedDeleteTracking () | |
cancel () | |
overwrite..jump back to trackingdata not parent | |
decreaseAttempts () | |
setSubTabs () | |
cancelStopUserOfflineMode () | |
confirmedStopUserOfflineMode () | |
Public Member Functions inherited from ilObjSAHSLearningModuleGUI | |
ilObjSAHSLearningModuleGUI ($a_data, $a_id, $a_call_by_reference, $a_prepare_output=true) | |
Constructor. | |
& | executeCommand () |
execute command | |
viewObject () | |
list childs of current object | |
initCreationForms ($a_new_type) | |
no manual SCORM creation, only import at the time | |
initCreationForm () | |
Init form. | |
initUploadForm () | |
Init upload form. | |
uploadObject () | |
display status information or report errors messages in case of error | |
upload () | |
saveObject () | |
save new learning module to db | |
info () | |
permission form | |
owner () | |
show owner of learning module | |
getTemplate () | |
output main header (title and locator) | |
setTabs () | |
output main frameset of media pool left frame: explorer tree of folders right frame: media pool content | |
certificate () | |
Shows the certificate editor. | |
getTabs (&$tabs_gui) | |
adds tabs to tab gui object | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
editContent () | |
List files. | |
setSettingsSubTabs () | |
set Tabs for settings | |
Public Member Functions inherited from ilObjectGUI | |
ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. | |
withReferences () | |
determines wether objects are referenced or not (got ref ids or not) | |
setCreationMode ($a_mode=true) | |
if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui | |
getCreationMode () | |
get creation mode | |
getAdminTabs (&$tabs_gui) | |
administration tabs show only permissions and trash folder | |
getHTML () | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
cancelDeleteObject () | |
cancel deletion of object | |
cancelObject ($in_rep=false) | |
cancel action and go back to previous page public | |
createObject () | |
create new object form | |
cancelCreation () | |
cancel create action and go back to repository parent | |
editObject () | |
edit object | |
updateObject () | |
updates object entry in object_data | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. | |
isVisible ($a_ref_id, $a_type) | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. |
Data Fields | |
const | EXPORT_UNDEF = 0 |
const | EXPORT_ALL = 1 |
const | EXPORT_SELECTED = 2 |
const | EXPORT_TYPE_RAW = 1 |
const | EXPORT_TYPE_SUCCESS = 2 |
Protected Member Functions | |
showTrackingItemsBySco () | |
show tracking data | |
modifyTrackingItems () | |
applyUserTableFilter () | |
Apply table filter. | |
resetUserTableFilter () | |
Reset table filter. | |
import () | |
gui functions for GUI export | |
importForm () | |
Show import form. | |
initImportForm () | |
Init import form. | |
exportAll () | |
Show export section for all users. | |
exportSelectionUsers () | |
Export selection for selected users. | |
showTrackingItem () | |
show tracking data of item | |
showTrackingItemSco () | |
show tracking data of item | |
showTrackingItemPerUser () | |
show tracking data of item per user | |
offlineModeManager () | |
Manage offline mode for users ilTabs $ilTabs $global ilToolbar $ilToolbar. | |
stopUserOfflineMode () | |
Stop offline mode for selected users. |
Additional Inherited Members | |
Static Public Member Functions inherited from ilObjSAHSLearningModuleGUI | |
static | _goto ($a_target) |
goto target course |
Class ilObjSCORMLearningModuleGUI.
ilObjSCORMLearningModuleGUI: ilFileSystemGUI, ilMDEditorGUI, ilPermissionGUI, ilLearningProgressGUI ilObjSCORMLearningModuleGUI: ilInfoScreenGUI ilObjSCORMLearningModuleGUI: ilCertificateGUI ilObjSCORMLearningModuleGUI: ilLicenseGUI ilObjSCORMLearningModuleGUI: ilSCORMOfflineModeUsersTableGUI ilObjSCORMLearningModuleGUI: ilSCORMTrackingItemsPerScoFilterGUI, ilSCORMTrackingItemsPerUserFilterGUI, ilSCORMTrackingItemsTableGUI
Definition at line 27 of file class.ilObjSCORMLearningModuleGUI.php.
|
protected |
Apply table filter.
Definition at line 687 of file class.ilObjSCORMLearningModuleGUI.php.
References modifyTrackingItems(), and ilTable2GUI\writeFilterToSession().
ilObjSCORMLearningModuleGUI::assignObject | ( | ) |
assign scorm object to scorm gui object
Reimplemented from ilObjectGUI.
Reimplemented in ilObjSCORM2004LearningModuleGUI, ilObjAICCLearningModuleGUI, and ilObjHACPLearningModuleGUI.
Definition at line 55 of file class.ilObjSCORMLearningModuleGUI.php.
ilObjSCORMLearningModuleGUI::cancel | ( | ) |
overwrite..jump back to trackingdata not parent
Definition at line 762 of file class.ilObjSCORMLearningModuleGUI.php.
References ilUtil\sendInfo().
ilObjSCORMLearningModuleGUI::cancelDeleteTracking | ( | ) |
cancel deletion of export files
Definition at line 747 of file class.ilObjSCORMLearningModuleGUI.php.
References ilUtil\sendInfo().
ilObjSCORMLearningModuleGUI::cancelStopUserOfflineMode | ( | ) |
Definition at line 1004 of file class.ilObjSCORMLearningModuleGUI.php.
References ilUtil\sendInfo().
ilObjSCORMLearningModuleGUI::confirmedDeleteTracking | ( | ) |
Reimplemented in ilObjSCORM2004LearningModuleGUI.
Definition at line 753 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST.
ilObjSCORMLearningModuleGUI::confirmedStopUserOfflineMode | ( | ) |
Definition at line 1010 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, offlineModeManager(), and ilSCORMOfflineMode\stopOfflineModeForUser().
ilObjSCORMLearningModuleGUI::decreaseAttempts | ( | ) |
Definition at line 853 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, and ilUtil\sendInfo().
ilObjSCORMLearningModuleGUI::deleteTrackingForUser | ( | ) |
display deletion confirmation screen
Definition at line 711 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, ilObject\_exists(), and ilUtil\getImageTagByType().
|
protected |
Show export section for all users.
Definition at line 832 of file class.ilObjSCORMLearningModuleGUI.php.
|
protected |
Export selection for selected users.
Definition at line 840 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, and ilUtil\sendInfo().
ilObjSCORMLearningModuleGUI::getMaxFileSize | ( | ) |
Definition at line 351 of file class.ilObjSCORMLearningModuleGUI.php.
Referenced by newModuleVersion().
ilObjSCORMLearningModuleGUI::ilObjSCORMLearningModuleGUI | ( | $a_data, | |
$a_id, | |||
$a_call_by_reference, | |||
$a_prepare_output = true |
|||
) |
Constructor.
public
Definition at line 41 of file class.ilObjSCORMLearningModuleGUI.php.
References ilObjectGUI\$lng, and ilObjectGUI\ilObjectGUI().
|
protected |
gui functions for GUI export
Definition at line 771 of file class.ilObjSCORMLearningModuleGUI.php.
References importForm(), initImportForm(), and ilUtil\sendInfo().
|
protected |
Show import form.
Definition at line 798 of file class.ilObjSCORMLearningModuleGUI.php.
References initImportForm().
Referenced by import().
|
protected |
Init import form.
Definition at line 812 of file class.ilObjSCORMLearningModuleGUI.php.
References ilFormPropertyGUI\setRequired().
Referenced by import(), and importForm().
|
protected |
Definition at line 649 of file class.ilObjSCORMLearningModuleGUI.php.
References $_GET, ilPrivacySettings\_getInstance(), ilSCORMTrackingUsersTableGUI\parse(), and setSubTabs().
Referenced by applyUserTableFilter(), ilObjSCORM2004LearningModuleGUI\deleteTrackingData(), resetUserTableFilter(), showTrackingItems(), and ilObjSCORM2004LearningModuleGUI\showTrackingItems().
ilObjSCORMLearningModuleGUI::newModuleVersion | ( | ) |
upload new version of module
Definition at line 293 of file class.ilObjSCORMLearningModuleGUI.php.
References $_GET, $file, ilObjectGUI\$obj_id, ilFrameTargetInfo\_getFrame(), ilUploadFiles\_getUploadDirectory(), ilUploadFiles\_getUploadFiles(), ilObject\_lookupObjectId(), ilObjSAHSLearningModule\_lookupSubType(), ilUtil\getImagePath(), getMaxFileSize(), and ilObjSAHSLearningModuleGUI\setSettingsSubTabs().
Referenced by newModuleVersionUpload().
ilObjSCORMLearningModuleGUI::newModuleVersionUpload | ( | ) |
Definition at line 377 of file class.ilObjSCORMLearningModuleGUI.php.
References $_GET, $_POST, $file, ilUploadFiles\_checkUploadFile(), ilUploadFiles\_copyUploadFile(), ilUtil\escapeShellArg(), exit, ilUtil\moveUploadedFile(), newModuleVersion(), ilUtil\redirect(), ilUtil\renameExecutables(), ilUtil\sendInfo(), and ilUtil\unzip().
|
protected |
Manage offline mode for users ilTabs $ilTabs $global ilToolbar $ilToolbar.
Definition at line 957 of file class.ilObjSCORMLearningModuleGUI.php.
References $ilCtrl, $ilSetting, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjectGUI\$tree, ilLearningProgressAccess\checkAccess(), and ilSCORMOfflineModeUsersTableGUI\parse().
Referenced by confirmedStopUserOfflineMode().
ilObjSCORMLearningModuleGUI::properties | ( | ) |
scorm module properties
Reimplemented from ilObjSAHSLearningModuleGUI.
Reimplemented in ilObjSCORM2004LearningModuleGUI.
Definition at line 73 of file class.ilObjSCORMLearningModuleGUI.php.
References $ilCtrl, $ilSetting, ilObjectGUI\$lng, $options, $si, ilObjectGUI\$tpl, ilObjectGUI\$tree, ilObjSAHSLearningModule\_lookupSubType(), ilSCORMOfflineMode\checkIfAnyoneIsInOfflineMode(), ilNumberInputGUI\setMaxLength(), ilSelectInputGUI\setOptions(), ilObjSAHSLearningModuleGUI\setSettingsSubTabs(), ilCheckboxInputGUI\setValue(), and ilNonEditableValueGUI\setValue().
|
protected |
Reset table filter.
Definition at line 699 of file class.ilObjSCORMLearningModuleGUI.php.
References modifyTrackingItems(), and ilTable2GUI\resetFilter().
ilObjSCORMLearningModuleGUI::saveProperties | ( | ) |
save properties
Reimplemented from ilObjSAHSLearningModuleGUI.
Reimplemented in ilObjSCORM2004LearningModuleGUI.
Definition at line 501 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, ilUtil\sendInfo(), and ilUtil\yn2tf().
ilObjSCORMLearningModuleGUI::setSubTabs | ( | ) |
Definition at line 931 of file class.ilObjSCORMLearningModuleGUI.php.
References $_GET, $ilCtrl, and ilObjectGUI\$lng.
Referenced by ilObjSCORM2004LearningModuleGUI\initStylePropertiesForm(), modifyTrackingItems(), ilObjSCORM2004LearningModuleGUI\properties(), showTrackingItem(), showTrackingItemPerUser(), showTrackingItems(), ilObjSCORM2004LearningModuleGUI\showTrackingItems(), showTrackingItemsBySco(), ilObjSCORM2004LearningModuleGUI\showTrackingItemsBySco(), and showTrackingItemSco().
|
protected |
show tracking data of item
Reimplemented in ilObjAICCLearningModuleGUI.
Definition at line 866 of file class.ilObjSCORMLearningModuleGUI.php.
References $_REQUEST, setSubTabs(), and ilSCORMTrackingItemsPerUserTableGUI\setUserId().
|
protected |
show tracking data of item per user
Definition at line 908 of file class.ilObjSCORMLearningModuleGUI.php.
References $_REQUEST, setSubTabs(), and ilSCORMTrackingItemPerUserTableGUI\setUserId().
ilObjSCORMLearningModuleGUI::showTrackingItems | ( | ) |
Show tracking table ilTabs $ilTabs $global ilToolbar $ilToolbar.
Reimplemented in ilObjSCORM2004LearningModuleGUI, and ilObjAICCLearningModuleGUI.
Definition at line 588 of file class.ilObjSCORMLearningModuleGUI.php.
References $_GET, $_POST, $row, ilObject\_exists(), ilTrQuery\getParticipantsForObject(), modifyTrackingItems(), setSubTabs(), and ilUtil\stripSlashes().
|
protected |
show tracking data
Reimplemented in ilObjSCORM2004LearningModuleGUI.
Definition at line 537 of file class.ilObjSCORMLearningModuleGUI.php.
References $_GET, $_POST, $row, ilTrQuery\getParticipantsForObject(), setSubTabs(), and ilUtil\stripSlashes().
|
protected |
show tracking data of item
Definition at line 887 of file class.ilObjSCORMLearningModuleGUI.php.
References $_GET, ilSCORMTrackingItemsScoTableGUI\setScoId(), and setSubTabs().
|
protected |
Stop offline mode for selected users.
Definition at line 976 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, ilObject\_exists(), ilUtil\getImageTagByType(), and ilUtil\sendFailure().
const ilObjSCORMLearningModuleGUI::EXPORT_ALL = 1 |
Definition at line 30 of file class.ilObjSCORMLearningModuleGUI.php.
const ilObjSCORMLearningModuleGUI::EXPORT_SELECTED = 2 |
Definition at line 31 of file class.ilObjSCORMLearningModuleGUI.php.
const ilObjSCORMLearningModuleGUI::EXPORT_TYPE_RAW = 1 |
Definition at line 33 of file class.ilObjSCORMLearningModuleGUI.php.
const ilObjSCORMLearningModuleGUI::EXPORT_TYPE_SUCCESS = 2 |
Definition at line 34 of file class.ilObjSCORMLearningModuleGUI.php.
const ilObjSCORMLearningModuleGUI::EXPORT_UNDEF = 0 |
Definition at line 29 of file class.ilObjSCORMLearningModuleGUI.php.