ILIAS
Release_4_4_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 | |
deleteTrackingForUser () | |
display deletion confirmation screen | |
cancelDelete () | |
cancel deletion of export files | |
confirmedDelete () | |
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 | |
_goto ($a_target) | |
goto target course | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
editContent () | |
List files. | |
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 | |
showTrackingItems () | |
Show tracking table ilTabs $ilTabs $global ilToolbar $ilToolbar. | |
applyUserTableFilter () | |
Apply table filter. | |
resetUserTableFilter () | |
Reset table filter. | |
import () | |
gui functions for GUI export | |
importForm () | |
Show import form. | |
initImportForm () | |
Init import form. | |
exportSelectionAll () | |
Show export section for all users. | |
exportSelectionUsers () | |
Export selection for selected users. | |
exportSelection ($a_type) | |
Show export selection. | |
initExportForm ($a_type) | |
Init export form. | |
export () | |
Do export. | |
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 ilObjectGUI | |
static | _gotoRepositoryRoot ($a_raise_error=false) |
Goto repository root. | |
static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
Goto repository root. |
Class ilObjSCORMLearningModuleGUI.
ilObjSCORMLearningModuleGUI: ilFileSystemGUI, ilMDEditorGUI, ilPermissionGUI, ilLearningProgressGUI ilObjSCORMLearningModuleGUI: ilInfoScreenGUI ilObjSCORMLearningModuleGUI: ilCertificateGUI ilObjSCORMLearningModuleGUI: ilLicenseGUI ilObjSCORMLearningModuleGUI: ilSCORMOfflineModeUsersTableGUI
Definition at line 26 of file class.ilObjSCORMLearningModuleGUI.php.
|
protected |
Apply table filter.
Definition at line 593 of file class.ilObjSCORMLearningModuleGUI.php.
References showTrackingItems(), and ilTable2GUI\writeFilterToSession().
ilObjSCORMLearningModuleGUI::assignObject | ( | ) |
assign scorm object to scorm gui object
Reimplemented from ilObjectGUI.
Reimplemented in ilObjSCORM2004LearningModuleGUI, ilObjAICCLearningModuleGUI, and ilObjHACPLearningModuleGUI.
Definition at line 54 of file class.ilObjSCORMLearningModuleGUI.php.
ilObjSCORMLearningModuleGUI::cancel | ( | ) |
overwrite..jump back to trackingdata not parent
Definition at line 690 of file class.ilObjSCORMLearningModuleGUI.php.
References ilUtil\sendInfo().
ilObjSCORMLearningModuleGUI::cancelDelete | ( | ) |
cancel deletion of export files
Reimplemented in ilObjSCORM2004LearningModuleGUI.
Definition at line 653 of file class.ilObjSCORMLearningModuleGUI.php.
References ilUtil\sendInfo().
ilObjSCORMLearningModuleGUI::cancelStopUserOfflineMode | ( | ) |
Definition at line 1045 of file class.ilObjSCORMLearningModuleGUI.php.
References ilUtil\sendInfo().
ilObjSCORMLearningModuleGUI::confirmedDelete | ( | ) |
Definition at line 659 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, and ilLPStatusWrapper\_updateStatus().
ilObjSCORMLearningModuleGUI::confirmedStopUserOfflineMode | ( | ) |
Definition at line 1051 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, offlineModeManager(), and ilSCORMOfflineMode\stopOfflineModeForUser().
ilObjSCORMLearningModuleGUI::decreaseAttempts | ( | ) |
Definition at line 875 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, $ilUser, ilLPStatusWrapper\_updateStatus(), and ilUtil\sendInfo().
ilObjSCORMLearningModuleGUI::deleteTrackingForUser | ( | ) |
display deletion confirmation screen
Reimplemented in ilObjSCORM2004LearningModuleGUI.
Definition at line 617 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, ilObject\_exists(), and ilUtil\getImageTagByType().
|
protected |
Do export.
Definition at line 841 of file class.ilObjSCORMLearningModuleGUI.php.
References EXPORT_ALL, EXPORT_TYPE_RAW, initExportForm(), and ilUtil\sendFailure().
|
protected |
Show export selection.
int | $a_type |
Definition at line 783 of file class.ilObjSCORMLearningModuleGUI.php.
References initExportForm().
Referenced by exportSelectionAll(), and exportSelectionUsers().
|
protected |
Show export section for all users.
Definition at line 760 of file class.ilObjSCORMLearningModuleGUI.php.
References exportSelection().
|
protected |
Export selection for selected users.
Definition at line 768 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, exportSelection(), and ilUtil\sendFailure().
ilObjSCORMLearningModuleGUI::getMaxFileSize | ( | ) |
Definition at line 349 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 40 of file class.ilObjSCORMLearningModuleGUI.php.
References ilObjectGUI\$lng, and ilObjectGUI\ilObjectGUI().
|
protected |
gui functions for GUI export
Definition at line 699 of file class.ilObjSCORMLearningModuleGUI.php.
References importForm(), initImportForm(), and ilUtil\sendInfo().
|
protected |
Show import form.
Definition at line 726 of file class.ilObjSCORMLearningModuleGUI.php.
References initImportForm().
Referenced by import().
|
protected |
Init export form.
int | $a_type |
Definition at line 801 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, EXPORT_TYPE_RAW, EXPORT_TYPE_SUCCESS, and ilFormPropertyGUI\setRequired().
Referenced by export(), and exportSelection().
|
protected |
Init import form.
Definition at line 740 of file class.ilObjSCORMLearningModuleGUI.php.
References ilFormPropertyGUI\setRequired().
Referenced by import(), and importForm().
ilObjSCORMLearningModuleGUI::newModuleVersion | ( | ) |
upload new version of module
Definition at line 295 of file class.ilObjSCORMLearningModuleGUI.php.
References $_GET, $file, ilObjectGUI\$obj_id, ilFrameTargetInfo\_getFrame(), ilUploadFiles\_getUploadDirectory(), ilUploadFiles\_getUploadFiles(), ilObject\_lookupObjectId(), ilObjSAHSLearningModule\_lookupSubType(), ilUtil\getImagePath(), and getMaxFileSize().
Referenced by newModuleVersionUpload().
ilObjSCORMLearningModuleGUI::newModuleVersionUpload | ( | ) |
Definition at line 375 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 998 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 72 of file class.ilObjSCORMLearningModuleGUI.php.
References $ilCtrl, $ilSetting, ilObjectGUI\$lng, $options, $si, ilObjectGUI\$tpl, ilObjectGUI\$tree, ilObjSAHSLearningModule\_lookupSubType(), ilSCORMOfflineMode\checkIfAnyoneIsInOfflineMode(), ilNumberInputGUI\setMaxLength(), ilSelectInputGUI\setOptions(), ilCheckboxInputGUI\setValue(), and ilNonEditableValueGUI\setValue().
|
protected |
Reset table filter.
Definition at line 605 of file class.ilObjSCORMLearningModuleGUI.php.
References ilTable2GUI\resetFilter(), and showTrackingItems().
ilObjSCORMLearningModuleGUI::saveProperties | ( | ) |
save properties
Reimplemented from ilObjSAHSLearningModuleGUI.
Reimplemented in ilObjSCORM2004LearningModuleGUI.
Definition at line 499 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, ilUtil\sendInfo(), and ilUtil\yn2tf().
ilObjSCORMLearningModuleGUI::setSubTabs | ( | ) |
Definition at line 980 of file class.ilObjSCORMLearningModuleGUI.php.
References $ilCtrl, and ilObjectGUI\$lng.
Referenced by ilObjSCORM2004LearningModuleGUI\initStylePropertiesForm(), ilObjSCORM2004LearningModuleGUI\properties(), showTrackingItem(), showTrackingItemPerUser(), showTrackingItems(), showTrackingItemsBySco(), and showTrackingItemSco().
|
protected |
show tracking data of item
Reimplemented in ilObjSCORM2004LearningModuleGUI, and ilObjAICCLearningModuleGUI.
Definition at line 915 of file class.ilObjSCORMLearningModuleGUI.php.
References $_REQUEST, setSubTabs(), and ilSCORMTrackingItemsPerUserTableGUI\setUserId().
|
protected |
show tracking data of item per user
Definition at line 957 of file class.ilObjSCORMLearningModuleGUI.php.
References $_REQUEST, setSubTabs(), and ilSCORMTrackingItemPerUserTableGUI\setUserId().
|
protected |
Show tracking table ilTabs $ilTabs $global ilToolbar $ilToolbar.
Reimplemented in ilObjSCORM2004LearningModuleGUI, and ilObjAICCLearningModuleGUI.
Definition at line 558 of file class.ilObjSCORMLearningModuleGUI.php.
References ilPrivacySettings\_getInstance(), ilSCORMTrackingUsersTableGUI\parse(), and setSubTabs().
Referenced by applyUserTableFilter(), and resetUserTableFilter().
|
protected |
show tracking data
Definition at line 535 of file class.ilObjSCORMLearningModuleGUI.php.
References ilSCORMTrackingItemsPerScoTableGUI\parse(), and setSubTabs().
|
protected |
show tracking data of item
Definition at line 936 of file class.ilObjSCORMLearningModuleGUI.php.
References $_GET, ilSCORMTrackingItemsScoTableGUI\setScoId(), and setSubTabs().
|
protected |
Stop offline mode for selected users.
Definition at line 1017 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, ilObject\_exists(), ilUtil\getImageTagByType(), and ilUtil\sendFailure().
const ilObjSCORMLearningModuleGUI::EXPORT_ALL = 1 |
Definition at line 29 of file class.ilObjSCORMLearningModuleGUI.php.
Referenced by export().
const ilObjSCORMLearningModuleGUI::EXPORT_SELECTED = 2 |
Definition at line 30 of file class.ilObjSCORMLearningModuleGUI.php.
const ilObjSCORMLearningModuleGUI::EXPORT_TYPE_RAW = 1 |
Definition at line 32 of file class.ilObjSCORMLearningModuleGUI.php.
Referenced by export(), and initExportForm().
const ilObjSCORMLearningModuleGUI::EXPORT_TYPE_SUCCESS = 2 |
Definition at line 33 of file class.ilObjSCORMLearningModuleGUI.php.
Referenced by initExportForm().
const ilObjSCORMLearningModuleGUI::EXPORT_UNDEF = 0 |
Definition at line 28 of file class.ilObjSCORMLearningModuleGUI.php.