ILIAS
Release_4_2_x_branch Revision 61807
|
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 () | |
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. | |
cancelObject ($in_rep=false) | |
Cancel action and go back to previous page. | |
uploadObject () | |
display dialogue for importing SCORM package | |
upload () | |
saveObject () | |
save new learning module to db | |
info () | |
permission form | |
owner () | |
show owner of learning module | |
getTemplate () | |
output main header (title and locator) | |
frameset () | |
output main frameset of media pool left frame: explorer tree of folders right frame: media pool content | |
setTabs () | |
output tabs | |
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) | |
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 () | |
undeleteObject () | |
Get objects back from trash. | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
cancelDeleteObject () | |
cancel deletion of object | |
removeFromSystemObject () | |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
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. | |
trashObject () | |
Show trash content of object. | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. | |
copyWizardHasOptions ($a_mode) | |
Check if there is any modules specific option. |
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 |
Class ilObjSCORMLearningModuleGUI.
ilObjSCORMLearningModuleGUI: ilFileSystemGUI, ilMDEditorGUI, ilPermissionGUI, ilLearningProgressGUI ilObjSCORMLearningModuleGUI: ilInfoScreenGUI ilObjSCORMLearningModuleGUI: ilCertificateGUI ilObjSCORMLearningModuleGUI: ilLicenseGUI
Definition at line 26 of file class.ilObjSCORMLearningModuleGUI.php.
|
protected |
Apply table filter.
Definition at line 514 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 57 of file class.ilObjSCORMLearningModuleGUI.php.
ilObjSCORMLearningModuleGUI::cancel | ( | ) |
overwrite..jump back to trackingdata not parent
Definition at line 653 of file class.ilObjSCORMLearningModuleGUI.php.
References ilUtil\sendInfo().
ilObjSCORMLearningModuleGUI::cancelDelete | ( | ) |
cancel deletion of export files
Reimplemented in ilObjSCORM2004LearningModuleGUI.
Definition at line 622 of file class.ilObjSCORMLearningModuleGUI.php.
References ilUtil\sendInfo().
ilObjSCORMLearningModuleGUI::confirmedDelete | ( | ) |
Definition at line 629 of file class.ilObjSCORMLearningModuleGUI.php.
References $_SESSION, $ilDB, and ilLPStatusWrapper\_updateStatus().
ilObjSCORMLearningModuleGUI::decreaseAttempts | ( | ) |
Reimplemented in ilObjSCORM2004LearningModuleGUI.
Definition at line 838 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, $ilDB, $res, ilLPStatusWrapper\_updateStatus(), and ilUtil\sendInfo().
ilObjSCORMLearningModuleGUI::deleteTrackingForUser | ( | ) |
display deletion confirmation screen
Reimplemented in ilObjSCORM2004LearningModuleGUI.
Definition at line 538 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, $_SESSION, ilObject\_exists(), ilUtil\getImageTagByType(), ilObjectGUI\getTemplateFile(), ilUtil\sendInfo(), and ilUtil\switchColor().
|
protected |
Do export.
Definition at line 804 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 747 of file class.ilObjSCORMLearningModuleGUI.php.
References initExportForm().
Referenced by exportSelectionAll(), and exportSelectionUsers().
|
protected |
Show export section for all users.
Definition at line 724 of file class.ilObjSCORMLearningModuleGUI.php.
References exportSelection().
|
protected |
Export selection for selected users.
Definition at line 732 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, exportSelection(), and ilUtil\sendFailure().
ilObjSCORMLearningModuleGUI::getMaxFileSize | ( | ) |
Definition at line 277 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 42 of file class.ilObjSCORMLearningModuleGUI.php.
References ilObjectGUI\$lng, and ilObjectGUI\ilObjectGUI().
|
protected |
gui functions for GUI export
Definition at line 662 of file class.ilObjSCORMLearningModuleGUI.php.
References importForm(), initImportForm(), and ilUtil\sendInfo().
|
protected |
Show import form.
Definition at line 690 of file class.ilObjSCORMLearningModuleGUI.php.
References initImportForm().
Referenced by import().
|
protected |
Init export form.
int | $a_type |
Definition at line 765 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 704 of file class.ilObjSCORMLearningModuleGUI.php.
References ilFormPropertyGUI\setRequired().
Referenced by import(), and importForm().
ilObjSCORMLearningModuleGUI::newModuleVersion | ( | ) |
upload new version of module
Definition at line 220 of file class.ilObjSCORMLearningModuleGUI.php.
References $_GET, $file, $files, 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 310 of file class.ilObjSCORMLearningModuleGUI.php.
References $_GET, $_POST, $dir, $file, ilUploadFiles\_checkUploadFile(), ilUploadFiles\_copyUploadFile(), ilUtil\escapeShellArg(), exit, ilUtil\moveUploadedFile(), newModuleVersion(), ilUtil\redirect(), ilUtil\renameExecutables(), ilUtil\sendInfo(), and ilUtil\unzip().
ilObjSCORMLearningModuleGUI::properties | ( | ) |
scorm module properties
Reimplemented from ilObjSAHSLearningModuleGUI.
Reimplemented in ilObjSCORM2004LearningModuleGUI.
Definition at line 75 of file class.ilObjSCORMLearningModuleGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\$tree, ilObjSAHSLearningModule\_lookupSubType(), and formSelect().
|
protected |
Reset table filter.
Definition at line 526 of file class.ilObjSCORMLearningModuleGUI.php.
References ilTable2GUI\resetFilter(), and showTrackingItems().
ilObjSCORMLearningModuleGUI::saveProperties | ( | ) |
save properties
Reimplemented from ilObjSAHSLearningModuleGUI.
Reimplemented in ilObjSCORM2004LearningModuleGUI.
Definition at line 435 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, ilUtil\sendInfo(), and ilUtil\yn2tf().
ilObjSCORMLearningModuleGUI::setSubTabs | ( | ) |
Definition at line 970 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 904 of file class.ilObjSCORMLearningModuleGUI.php.
References $_REQUEST, setSubTabs(), and ilSCORMTrackingItemsPerUserTableGUI\setUserId().
|
protected |
show tracking data of item per user
Definition at line 947 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 480 of file class.ilObjSCORMLearningModuleGUI.php.
References ilPrivacySettings\_getInstance(), ilSCORMTrackingUsersTableGUI\parse(), and setSubTabs().
Referenced by applyUserTableFilter(), and resetUserTableFilter().
|
protected |
show tracking data
Definition at line 458 of file class.ilObjSCORMLearningModuleGUI.php.
References ilSCORMTrackingItemsPerScoTableGUI\parse(), and setSubTabs().
|
protected |
show tracking data of item
Definition at line 925 of file class.ilObjSCORMLearningModuleGUI.php.
References $_GET, ilSCORMTrackingItemsScoTableGUI\setScoId(), and setSubTabs().
const ilObjSCORMLearningModuleGUI::EXPORT_ALL = 1 |
Definition at line 30 of file class.ilObjSCORMLearningModuleGUI.php.
Referenced by export().
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.
Referenced by export(), and initExportForm().
const ilObjSCORMLearningModuleGUI::EXPORT_TYPE_SUCCESS = 2 |
Definition at line 34 of file class.ilObjSCORMLearningModuleGUI.php.
Referenced by initExportForm().
const ilObjSCORMLearningModuleGUI::EXPORT_UNDEF = 0 |
Definition at line 29 of file class.ilObjSCORMLearningModuleGUI.php.