ILIAS
release_4-3 Revision
|
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. | |
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 |
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
Definition at line 25 of file class.ilObjSCORMLearningModuleGUI.php.
|
protected |
Apply table filter.
Definition at line 519 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 53 of file class.ilObjSCORMLearningModuleGUI.php.
ilObjSCORMLearningModuleGUI::cancel | ( | ) |
overwrite..jump back to trackingdata not parent
Definition at line 609 of file class.ilObjSCORMLearningModuleGUI.php.
References ilUtil\sendInfo().
ilObjSCORMLearningModuleGUI::cancelDelete | ( | ) |
cancel deletion of export files
Reimplemented in ilObjSCORM2004LearningModuleGUI.
Definition at line 579 of file class.ilObjSCORMLearningModuleGUI.php.
References ilUtil\sendInfo().
ilObjSCORMLearningModuleGUI::confirmedDelete | ( | ) |
Definition at line 585 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, and ilLPStatusWrapper\_updateStatus().
ilObjSCORMLearningModuleGUI::decreaseAttempts | ( | ) |
Reimplemented in ilObjSCORM2004LearningModuleGUI.
Definition at line 794 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, $ilUser, $res, ilLPStatusWrapper\_updateStatus(), and ilUtil\sendInfo().
ilObjSCORMLearningModuleGUI::deleteTrackingForUser | ( | ) |
display deletion confirmation screen
Reimplemented in ilObjSCORM2004LearningModuleGUI.
Definition at line 543 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, ilObject\_exists(), and ilUtil\getImageTagByType().
|
protected |
Do export.
Definition at line 760 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 702 of file class.ilObjSCORMLearningModuleGUI.php.
References initExportForm().
Referenced by exportSelectionAll(), and exportSelectionUsers().
|
protected |
Show export section for all users.
Definition at line 679 of file class.ilObjSCORMLearningModuleGUI.php.
References exportSelection().
|
protected |
Export selection for selected users.
Definition at line 687 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, exportSelection(), and ilUtil\sendFailure().
ilObjSCORMLearningModuleGUI::getMaxFileSize | ( | ) |
Definition at line 286 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 39 of file class.ilObjSCORMLearningModuleGUI.php.
References ilObjectGUI\$lng, and ilObjectGUI\ilObjectGUI().
|
protected |
gui functions for GUI export
Definition at line 618 of file class.ilObjSCORMLearningModuleGUI.php.
References importForm(), initImportForm(), and ilUtil\sendInfo().
|
protected |
Show import form.
Definition at line 645 of file class.ilObjSCORMLearningModuleGUI.php.
References initImportForm().
Referenced by import().
|
protected |
Init export form.
int | $a_type |
Definition at line 720 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 659 of file class.ilObjSCORMLearningModuleGUI.php.
References ilFormPropertyGUI\setRequired().
Referenced by import(), and importForm().
ilObjSCORMLearningModuleGUI::newModuleVersion | ( | ) |
upload new version of module
Definition at line 232 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 312 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().
ilObjSCORMLearningModuleGUI::properties | ( | ) |
scorm module properties
Reimplemented from ilObjSAHSLearningModuleGUI.
Reimplemented in ilObjSCORM2004LearningModuleGUI.
Definition at line 71 of file class.ilObjSCORMLearningModuleGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\$tree, ilObjSAHSLearningModule\_lookupSubType(), and ilUtil\formSelect().
|
protected |
Reset table filter.
Definition at line 531 of file class.ilObjSCORMLearningModuleGUI.php.
References ilTable2GUI\resetFilter(), and showTrackingItems().
ilObjSCORMLearningModuleGUI::saveProperties | ( | ) |
save properties
Reimplemented from ilObjSAHSLearningModuleGUI.
Reimplemented in ilObjSCORM2004LearningModuleGUI.
Definition at line 436 of file class.ilObjSCORMLearningModuleGUI.php.
References $_POST, ilUtil\sendInfo(), and ilUtil\yn2tf().
ilObjSCORMLearningModuleGUI::setSubTabs | ( | ) |
Definition at line 926 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 861 of file class.ilObjSCORMLearningModuleGUI.php.
References $_REQUEST, setSubTabs(), and ilSCORMTrackingItemsPerUserTableGUI\setUserId().
|
protected |
show tracking data of item per user
Definition at line 903 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 484 of file class.ilObjSCORMLearningModuleGUI.php.
References ilPrivacySettings\_getInstance(), ilSCORMTrackingUsersTableGUI\parse(), and setSubTabs().
Referenced by applyUserTableFilter(), and resetUserTableFilter().
|
protected |
show tracking data
Definition at line 461 of file class.ilObjSCORMLearningModuleGUI.php.
References ilSCORMTrackingItemsPerScoTableGUI\parse(), and setSubTabs().
|
protected |
show tracking data of item
Definition at line 882 of file class.ilObjSCORMLearningModuleGUI.php.
References $_GET, ilSCORMTrackingItemsScoTableGUI\setScoId(), and setSubTabs().
const ilObjSCORMLearningModuleGUI::EXPORT_ALL = 1 |
Definition at line 28 of file class.ilObjSCORMLearningModuleGUI.php.
Referenced by export().
const ilObjSCORMLearningModuleGUI::EXPORT_SELECTED = 2 |
Definition at line 29 of file class.ilObjSCORMLearningModuleGUI.php.
const ilObjSCORMLearningModuleGUI::EXPORT_TYPE_RAW = 1 |
Definition at line 31 of file class.ilObjSCORMLearningModuleGUI.php.
Referenced by export(), and initExportForm().
const ilObjSCORMLearningModuleGUI::EXPORT_TYPE_SUCCESS = 2 |
Definition at line 32 of file class.ilObjSCORMLearningModuleGUI.php.
Referenced by initExportForm().
const ilObjSCORMLearningModuleGUI::EXPORT_UNDEF = 0 |
Definition at line 27 of file class.ilObjSCORMLearningModuleGUI.php.