ILIAS
trunk Revision v11.0_alpha-1723-g8e69f309bab
|
SCORM Learning Modules. More...
Public Member Functions | |
__construct ($data, int $id, bool $call_by_reference, bool $prepare_output=true) | |
Constructor. More... | |
executeCommand () | |
execute command More... | |
properties () | |
module properties More... | |
saveProperties () | |
uploadObject () | |
display status information or report errors messages in case of error More... | |
upload () | |
getTemplate () | |
output main header (title and locator) More... | |
certificate () | |
Shows the certificate editor. More... | |
addLocatorItems () | |
setSettingsSubTabs () | |
List files. More... | |
export () | |
exportModule () | |
getType () | |
![]() | |
getRefId () | |
setAdminMode (string $mode) | |
getAdminMode () | |
getObject () | |
executeCommand () | |
withReferences () | |
determines whether objects are referenced or not (got ref ids or not) More... | |
setCreationMode (bool $mode=true) | |
If true, a creation screen is displayed the current [ref_id] does belong to the parent class The mode is determined in ilRepositoryGUI. More... | |
getCreationMode () | |
prepareOutput (bool $show_sub_objects=true) | |
getAdminTabs () | |
administration tabs show only permissions and trash folder More... | |
getHTML () | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More... | |
cancelObject () | |
cancel action and go back to previous page More... | |
createObject () | |
create new object form More... | |
editAvailabilityPeriodObject () | |
saveAvailabilityPeriodObject () | |
cancelCreation () | |
cancel create action and go back to repository parent More... | |
saveObject () | |
getDidacticTemplateVar (string $type) | |
Get didactic template setting from creation screen. More... | |
putObjectInTree (ilObject $obj, ?int $parent_node_id=null) | |
Add object to tree at given position. More... | |
editObject () | |
addExternalEditFormCustom (ilPropertyFormGUI $form) | |
updateObject () | |
updates object entry in object_data More... | |
getFormAction (string $cmd, string $default_form_action="") | |
Get form action for command (command is method name without "Object", e.g. More... | |
isVisible (int $ref_id, string $type) | |
viewObject () | |
viewObject container presentation for "administration -> repository, trash, permissions" More... | |
deleteObject (bool $error=false) | |
Display deletion confirmation screen. More... | |
setColumnSettings (ilColumnGUI $column_gui) | |
addToDeskObject () | |
removeFromDeskObject () | |
![]() | |
callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb) | |
Static Public Member Functions | |
static | _goto (string $a_target) |
goto target course More... | |
![]() | |
static | _gotoRepositoryRoot (bool $raise_error=false) |
Goto repository root. More... | |
static | _gotoRepositoryNode (int $ref_id, string $cmd="") |
static | _gotoSharedWorkspaceNode (int $wsp_id) |
Protected Member Functions | |
infoScreen () | |
infoScreenForward () | |
initCreateForm (string $new_type) | |
importFile (string $file_to_import, string $path_to_uploaded_file_in_temp_dir) | |
setTabs () | |
getTabs () | |
adds tabs to tab gui object More... | |
![]() | |
getObjectService () | |
assignObject () | |
setTitleAndDescription () | |
createActionDispatcherGUI () | |
initHeaderAction (?string $sub_type=null, ?int $sub_id=null) | |
Add header action menu. More... | |
insertHeaderAction (?ilObjectListGUI $list_gui=null) | |
Insert header action into main template. More... | |
addHeaderAction () | |
Add header action menu. More... | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. More... | |
setTabs () | |
set admin tabs More... | |
setAdminTabs () | |
set admin tabs More... | |
setLocator () | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
omitLocator (bool $omit=true) | |
addAdminLocatorItems (bool $do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
getCreationFormsHTML (StandardForm|ilPropertyFormGUI|array $form) | |
getTitleForCreationFormPage () | |
getCreationFormTitle () | |
initCreateForm (string $new_type) | |
didacticTemplatesToForm () | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
retrieveAdditionalDidacticTemplateOptions () | |
addAdoptContentLinkToToolbar () | |
addImportButtonToToolbar () | |
addAvailabilityPeriodButtonToToolbar (ilToolbarGUI $toolbar) | |
parseDidacticTemplateVar (string $var, string $type) | |
afterSave (ilObject $new_object) | |
Post (successful) object creation hook. More... | |
initEditForm () | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. More... | |
getEditFormValues () | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. More... | |
validateCustom (ilPropertyFormGUI $form) | |
Validate custom values (if not possible with checkInput()) More... | |
updateCustom (ilPropertyFormGUI $form) | |
Insert custom update form values into object. More... | |
afterUpdate () | |
Post (successful) object update hook. More... | |
routeImportCmdObject () | |
importFile (string $file_to_import, string $path_to_uploaded_file_in_temp_dir) | |
deleteUploadedImportFile (string $path_to_uploaded_file_in_temp_dir) | |
afterImport (ilObject $new_object) | |
Post (successful) object import hook. More... | |
setFormAction (string $cmd, string $form_action) | |
getReturnLocation (string $cmd, string $default_location="") | |
Get return location for command (command is method name without "Object", e.g. More... | |
setReturnLocation (string $cmd, string $location) | |
set specific return location for command More... | |
getTargetFrame (string $cmd, string $default_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. More... | |
setTargetFrame (string $cmd, string $target_frame) | |
Set specific target frame for command. More... | |
showPossibleSubObjects () | |
show possible sub objects (pull down menu) More... | |
getTabs () | |
overwrite in derived GUI class of your object type More... | |
redirectToRefId (int $ref_id, string $cmd="") | |
redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current ["ref_id"] value of the request More... | |
getCenterColumnHTML () | |
Get center column. More... | |
getRightColumnHTML () | |
Display right column. More... | |
checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null) | |
checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $ref_id=null) | |
enableDragDropFileUpload () | |
Enables the file upload into this object by dropping files. More... | |
getCreatableObjectTypes () | |
buildAddNewItemElements (array $subtypes, string $create_target_class=ilRepositoryGUI::class, ?int $redirect_target_ref_id=null,) | |
buildGroup (string $create_target_class, array $obj_types_in_group, string $title, array $subtypes) | |
Private Attributes | |
ilPropertyFormGUI | $form |
$archives | |
SCORM Learning Modules.
ilObjSAHSLearningModuleGUI: ilFileSystemGUI, ilObjectMetaDataGUI, ilPermissionGUI, ilInfoScreenGUI, ilLearningProgressGUI ilObjSAHSLearningModuleGUI: ilCommonActionDispatcherGUI, ilExportGUI, ilObjectCopyGUI
\
Definition at line 34 of file class.ilObjSAHSLearningModuleGUI.php.
ilObjSAHSLearningModuleGUI::__construct | ( | $data, | |
int | $id, | ||
bool | $call_by_reference, | ||
bool | $prepare_output = true |
||
) |
Constructor.
Definition at line 42 of file class.ilObjSAHSLearningModuleGUI.php.
References ilObjectGUI\$data, $DIC, ilObjectGUI\$lng, ILIAS\GlobalScreen\Provider\__construct(), and ilLanguage\loadLanguageModule().
|
static |
goto target course
Definition at line 719 of file class.ilObjSAHSLearningModuleGUI.php.
References $DIC, ilObjectGUI\$id, $ilErr, ilObjectGUI\$lng, ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ILIAS\Repository\int(), ROOT_FOLDER_ID, and ilLanguage\txt().
Referenced by ILIAS\StaticURL\Handler\LegacyGotoHandler\handle().
ilObjSAHSLearningModuleGUI::addLocatorItems | ( | ) |
ilCtrlException |
Definition at line 758 of file class.ilObjSAHSLearningModuleGUI.php.
References $DIC, ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
ilObjSAHSLearningModuleGUI::certificate | ( | ) |
ilObjSAHSLearningModuleGUI::executeCommand | ( | ) |
execute command
ilCtrlException | |
ilException |
Definition at line 58 of file class.ilObjSAHSLearningModuleGUI.php.
References $DIC, $GLOBALS, $ilErr, $refId, ILIAS\Repository\ctrl(), ilObjectGUI\getCreationMode(), ilUtil\getImagePath(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), ilLoggerFactory\getLogger(), getTemplate(), infoScreenForward(), ILIAS\Repository\lng(), ilLearningProgressBaseGUI\LP_CONTEXT_REPOSITORY, null, ILIAS\Repository\object(), ilObjectGUI\prepareOutput(), ILIAS\Repository\rbac(), ilLTIProviderObjectSettingGUI\setCustomRolesForSelection(), ilObjectGUI\setLocator(), setSettingsSubTabs(), setTabs(), and ilFileSystemGUI\setUseUploadDirectory().
ilObjSAHSLearningModuleGUI::export | ( | ) |
ilCtrlException |
Definition at line 845 of file class.ilObjSAHSLearningModuleGUI.php.
References $GLOBALS, and ILIAS\Repository\ctrl().
ilObjSAHSLearningModuleGUI::exportModule | ( | ) |
Definition at line 855 of file class.ilObjSAHSLearningModuleGUI.php.
References $DIC, and ilObject\_lookupObjectId().
|
protected |
adds tabs to tab gui object
ilCtrlException |
Definition at line 584 of file class.ilObjSAHSLearningModuleGUI.php.
References $DIC, ilLearningProgressAccess\checkAccess(), ILIAS\Repository\ctrl(), ilPrivacySettings\getInstance(), and ILIAS\Repository\object().
Referenced by setTabs().
ilObjSAHSLearningModuleGUI::getTemplate | ( | ) |
output main header (title and locator)
Definition at line 539 of file class.ilObjSAHSLearningModuleGUI.php.
References $DIC, and ilObjectGUI\$lng.
Referenced by executeCommand().
ilObjSAHSLearningModuleGUI::getType | ( | ) |
Definition at line 865 of file class.ilObjSAHSLearningModuleGUI.php.
|
protected |
ILIAS $DIC
Definition at line 464 of file class.ilObjSAHSLearningModuleGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ilFileUtils\delDir(), ilObjectGUI\deleteUploadedImportFile(), ilFileUtils\ilTempnam(), ILIAS\Repository\lng(), ilFileUtils\makeDir(), null, ilObjectGUI\putObjectInTree(), ilFileUtils\rename(), and ilFileUtils\renameExecutables().
|
protected |
Definition at line 181 of file class.ilObjSAHSLearningModuleGUI.php.
References ILIAS\Repository\ctrl(), and infoScreenForward().
|
protected |
Definition at line 190 of file class.ilObjSAHSLearningModuleGUI.php.
References $GLOBALS, ilObjectGUI\checkPermissionBool(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by executeCommand(), and infoScreen().
|
protected |
Definition at line 252 of file class.ilObjSAHSLearningModuleGUI.php.
References $DIC, $form, ilObjectGUI\$lng, ilFrameTargetInfo\_getFrame(), ilUploadFiles\_getUploadDirectory(), ilUploadFiles\_getUploadFiles(), ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ilSubEnabledFormPropertyGUI\addSubItem(), ILIAS\Repository\lng(), ilFormGUI\setFormAction(), ilFormPropertyGUI\setInfo(), ilSelectInputGUI\setOptions(), ilFormPropertyGUI\setRequired(), ilFormGUI\setTarget(), ilPropertyFormGUI\setTitle(), ilRadioOption\setValue(), and ilLanguage\txt().
ilObjSAHSLearningModuleGUI::properties | ( | ) |
module properties
ilObjectException |
Definition at line 238 of file class.ilObjSAHSLearningModuleGUI.php.
References ILIAS\Repository\ctrl().
ilObjSAHSLearningModuleGUI::saveProperties | ( | ) |
Definition at line 248 of file class.ilObjSAHSLearningModuleGUI.php.
ilObjSAHSLearningModuleGUI::setSettingsSubTabs | ( | ) |
List files.
Definition at line 794 of file class.ilObjSAHSLearningModuleGUI.php.
References $DIC, ilObjectGUI\$lng, ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
Referenced by executeCommand(), ilObjSCORMLearningModuleGUI\newModuleVersion(), ilObjSCORMLearningModuleGUI\properties(), and ilObjSCORM2004LearningModuleGUI\properties().
|
protected |
ilCtrlException |
Definition at line 550 of file class.ilObjSAHSLearningModuleGUI.php.
References $DIC, $refId, ilUtil\getImagePath(), getTabs(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by executeCommand().
ilObjSAHSLearningModuleGUI::upload | ( | ) |
Definition at line 459 of file class.ilObjSAHSLearningModuleGUI.php.
References uploadObject().
ilObjSAHSLearningModuleGUI::uploadObject | ( | ) |
display status information or report errors messages in case of error
Definition at line 320 of file class.ilObjSAHSLearningModuleGUI.php.
References $DIC, $ilErr, $refId, ilUploadFiles\_checkUploadFile(), ilUploadFiles\_copyUploadFile(), ilObject\_writeTitle(), ilLoggerFactory\getLogger(), ILIAS\Repository\lng(), ilFileUtils\moveUploadedFile(), ilUtil\redirect(), and ilFileUtils\renameExecutables().
Referenced by upload().
|
private |
Definition at line 37 of file class.ilObjSAHSLearningModuleGUI.php.
|
private |
Definition at line 36 of file class.ilObjSAHSLearningModuleGUI.php.
Referenced by initCreateForm().