ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
Class ilObjCourseGUI. More...
Public Member Functions | |
__construct ($a_data, int $a_id, bool $a_call_by_reference=true, bool $a_prepare_output=true) | |
gatewayObject () | |
renderObject () | |
deleteObject (bool $error=false) | |
renderContainer () | |
infoScreenObject () | |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed More... | |
infoScreen () | |
saveNotificationObject () | |
editInfoObject (?ilPropertyFormGUI $a_form=null) | |
confirmDeleteInfoFilesObject () | |
deleteInfoFilesObject () | |
initInfoEditor () | |
updateInfoObject () | |
updateObject () | |
editObject (?ilPropertyFormGUI $form=null) | |
sendFileObject () | |
setSubTabs (string $a_tab) | |
renderAddNewItem (string ... $disabled_object_types) | |
readMemberData (array $ids, ?array $selected_columns=null, bool $skip_names=false) | |
updateLPFromStatus (int $a_member_id, bool $a_has_passed) | |
sync course status and lp status More... | |
autoFillObject () | |
leaveObject () | |
unsubscribeObject () | |
performUnsubscribeObject () | |
addContentTab () | |
executeCommand () | |
editMapSettingsObject () | |
saveMapSettingsObject () | |
modifyItemGUI (ilObjectListGUI $a_item_list_gui, array $a_item_data) | |
setContentSubTabs () | |
askResetObject () | |
resetObject () | |
__checkStartObjects () | |
createMailSignature () | |
Create a course mail signature. More... | |
deliverCertificateObject () | |
saveSortingObject () | |
getLocalRoles (array $a_exclude=array()) | |
setSideColumnReturn () | |
![]() | |
executeCommand () | |
forwardToPageObject () | |
addPageTabs () | |
getContainerPageHTML () | |
getContentGUI () | |
renderObject () | |
renderBlockAsynchObject () | |
render the object More... | |
setContentSubTabs () | |
showAdministrationPanel () | |
showPermanentLink () | |
editPageFrameObject () | |
cancelPageContentObject () | |
showLinkListObject () | |
addHeaderRow (ilTemplate $a_tpl, string $a_type, bool $a_show_image=true) | |
addMessageRow (ilTemplate $a_tpl, string $a_message, string $a_type) | |
setPageEditorTabs () | |
addStandardContainerSubTabs (bool $a_include_view=true) | |
Add standard container subtabs for view, manage, oderdering and text/media editor link. More... | |
enableAdministrationPanelObject () | |
disableAdministrationPanelObject () | |
editOrderObject () | |
isActiveOrdering () | |
isActiveItemOrdering () | |
enableMultiDownloadObject () | |
isMultiDownloadEnabled () | |
cutObject () | |
cut object(s) out from a container and write the information to clipboard public More... | |
copyObject () | |
Copy object(s) out from a container and write the information to clipboard It is not possible to copy multiple objects at once. More... | |
downloadObject () | |
getBucketTitle () | |
linkObject () | |
create an new reference of an object in tree it's like a hard link of unix More... | |
clearObject () | |
clear clipboard and go back to last object More... | |
performPasteIntoMultipleObjectsObject () | |
initAndDisplayLinkIntoMultipleObjectsObject () | |
showPasteTreeObject () | |
cancelMoveLinkObject () | |
Cancel move|link empty clipboard and return to parent. More... | |
keepObjectsInClipboardObject () | |
initAndDisplayCopyIntoMultipleObjectsObject () | |
initAndDisplayMoveIntoObjectObject () | |
pasteObject () | |
paste object from clipboard to current place Depending on the chosen command the object(s) are linked, copied or moved More... | |
clipboardObject () | |
isActiveAdministrationPanel () | |
setColumnSettings (ilColumnGUI $column_gui) | |
allowBlocksMoving () | |
Standard is to allow blocks moving. More... | |
allowBlocksConfigure () | |
Standard is to allow blocks configuration. More... | |
cloneAllObject () | |
Clone all object Overwritten method for copying container objects. More... | |
saveSortingObject () | |
cloneNodes (int $srcRef, int $dstRef, array &$mapping, ?string $newName=null) | |
Recursively clones all nodes of the RBAC tree. More... | |
modifyItemGUI (ilObjectListGUI $a_item_list_gui, array $a_item_data) | |
editStylePropertiesObject () | |
redrawListItemObject () | |
Redraw a list item (ajax) More... | |
trashObject () | |
Show trash content of object. More... | |
trashApplyFilterObject () | |
trashResetFilterObject () | |
removeFromSystemObject () | |
undeleteObject () | |
Get objects back from trash. More... | |
confirmRemoveFromSystemObject () | |
setSideColumnReturn () | |
getAdminTabs () | |
competencesObject () | |
![]() | |
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) | |
![]() | |
addToDeskObject () | |
removeFromDeskObject () | |
Static Public Member Functions | |
static | _forwards () |
static | _goto ($a_target, string $a_add="") |
static | _modifyItemGUI (ilObjectListGUI $a_item_list_gui, string $a_cmd_class, array $a_item_data, bool $a_abo_status, int $a_course_ref_id, int $a_course_obj_id, int $a_parent_ref_id=0) |
![]() | |
static | _buildPath (int $a_ref_id, int $a_course_ref_id) |
build path More... | |
![]() | |
static | _gotoRepositoryRoot (bool $raise_error=false) |
Goto repository root. More... | |
static | _gotoRepositoryNode (int $ref_id, string $cmd="") |
static | _gotoSharedWorkspaceNode (int $wsp_id) |
Data Fields | |
const | BREADCRUMB_DEFAULT = 0 |
const | BREADCRUMB_CRS_ONLY = 1 |
const | BREADCRUMB_FULL_PATH = 2 |
![]() | |
int | $bl_cnt = 1 |
bool | $multi_download_enabled = false |
![]() | |
const | ADMIN_MODE_NONE = "" |
const | ADMIN_MODE_SETTINGS = "settings" |
const | ADMIN_MODE_REPOSITORY = "repository" |
const | UPLOAD_TYPE_LOCAL = 1 |
const | UPLOAD_TYPE_UPLOAD_DIRECTORY = 2 |
const | CFORM_NEW = 1 |
const | CFORM_IMPORT = 2 |
const | CFORM_CLONE = 3 |
const | SUPPORTED_IMPORT_MIME_TYPES = [MimeType::APPLICATION__ZIP, MimeType::APPLICATION__X_ZIP_COMPRESSED] |
Protected Member Functions | |
afterImport (ilObject $new_object) | |
getSubServices () | |
confirmLPSync () | |
setLPSyncObject () | |
getEditFormValues () | |
values are already set in initEditForm Returning an empty array avoid overriding these values. More... | |
initEditForm () | |
showPossibleSubObjects () | |
afterSave (ilObject $new_object) | |
getAgreementTabs () | |
getTabs () | |
membersObject () | |
initHeaderAction (?string $sub_type=null, ?int $sub_id=null) | |
afterSaveCallback () | |
redirectLocToTestConfirmedObject () | |
redirectLocToTestObject ($a_force_new_run=null) | |
redirectLocToTestConfirmation (int $a_objective_id, int $a_test_id) | |
Show confirmation whether user wants to start a new run or resume a previous run. More... | |
hasAdminPermission () | |
jump2UsersGalleryObject () | |
![]() | |
getModeManager () | |
getItemPresentation ( $include_empty_blocks=true, ?string $lang=null) | |
getEditFormValues () | |
afterUpdate () | |
setTitleAndDescription () | |
showPossibleSubObjects () | |
supportsPageEditor () | |
gotItems () | |
getTabs () | |
showContainerPageTabs () | |
showPasswordInstructionObject (bool $a_init=true) | |
initFormPasswordInstruction () | |
Init password form. More... | |
savePasswordObject () | |
initEditForm () | |
initSortingForm (ilPropertyFormGUI $form, array $a_sorting_settings) | |
Append sorting settings to property form. More... | |
initListPresentationForm (ilPropertyFormGUI $form) | |
Add list presentation settings to form. More... | |
saveListPresentation (ilPropertyFormGUI $form) | |
initSortingDirectionForm (ilContainerSortingSettings $sorting_settings, ilRadioOption $element, string $a_prefix) | |
Add sorting direction. More... | |
initManualSortingOptionForm (ilContainerSortingSettings $settings, ilRadioOption $element, string $a_prefix, array $a_sorting_settings) | |
Add manual sorting options. More... | |
saveSortingSettings (ilPropertyFormGUI $form) | |
trashHandleFilter (bool $action_apply, bool $action_reset) | |
restoreToNewLocationObject (?ilPropertyFormGUI $form=null) | |
getTreeSelectorGUI (string $cmd) | |
initFilter () | |
showContainerFilter () | |
![]() | |
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 Member Functions | |
checkAgreement () | |
Private Attributes | |
ilAdvancedMDRecordGUI | $record_gui = null |
ilContainerStartObjects | $start_obj = null |
ilLogger | $logger |
Class ilObjCourseGUI.
Definition at line 46 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::__construct | ( | $a_data, | |
int | $a_id, | ||
bool | $a_call_by_reference = true , |
||
bool | $a_prepare_output = true |
||
) |
Definition at line 62 of file class.ilObjCourseGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\Repository\help(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), and ILIAS\Repository\refinery().
ilObjCourseGUI::__checkStartObjects | ( | ) |
Definition at line 2819 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\access(), and ILIAS\Repository\object().
Referenced by executeCommand(), and renderObject().
|
static |
Definition at line 2538 of file class.ilObjCourseGUI.php.
|
static |
Definition at line 2548 of file class.ilObjCourseGUI.php.
References $DIC, $ilErr, ilObjectGUI\$lng, ilObjectGUI\_gotoRepositoryNode(), ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ANONYMOUS_USER_ID, ilMembershipRegistrationCodeUtils\handleCode(), ILIAS\Repository\int(), ilContSkillPresentationGUI\isAccessible(), ILIAS\Refinery\Factory\kindlyTo(), ilUtil\redirect(), ROOT_FOLDER_ID, ilLanguage\txt(), and ILIAS\HTTP\GlobalHttpState\wrapper().
Referenced by ILIAS\StaticURL\Handler\LegacyGotoHandler\handle().
|
static |
Definition at line 2709 of file class.ilObjCourseGUI.php.
References $DIC, ilObjectGUI\$lng, ilObjCourse\_lookupViewMode(), ilObjectListGUI\enableSubscribe(), and ilContainer\VIEW_OBJECTIVE.
Referenced by ilObjGroupGUI\modifyItemGUI(), ilObjSessionGUI\modifyItemGUI(), ilObjFolderGUI\modifyItemGUI(), and modifyItemGUI().
ilObjCourseGUI::addContentTab | ( | ) |
Definition at line 1836 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by getTabs().
|
protected |
Definition at line 90 of file class.ilObjCourseGUI.php.
References ilCourseParticipants\_getInstanceByObjId(), ilCourseConstants\CRS_ADMIN, ilObject\getId(), ILIAS\Repository\settings(), and ILIAS\Repository\user().
|
protected |
Definition at line 1612 of file class.ilObjCourseGUI.php.
References ilChangeEvent\_recordWriteEvent(), ILIAS\Repository\ctrl(), ilObject\getId(), ilObject\getRefId(), ilObjectGUI\getReturnLocation(), ilParticipants\IL_CRS_ADMIN, ILIAS\Repository\lng(), ilUtil\redirect(), ILIAS\Repository\settings(), ilObject\update(), and ILIAS\Repository\user().
|
protected |
Definition at line 2949 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\ctrl().
ilObjCourseGUI::askResetObject | ( | ) |
Definition at line 2791 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilObjCourseGUI::autoFillObject | ( | ) |
Definition at line 1750 of file class.ilObjCourseGUI.php.
References ilObjectGUI\checkPermission(), ILIAS\Repository\lng(), membersObject(), and ILIAS\Repository\object().
|
private |
Definition at line 2503 of file class.ilObjCourseGUI.php.
References ilCourseUserData\_checkRequired(), ilMemberAgreement\_hasAccepted(), ilCourseDefinedFieldDefinition\_hasFields(), ILIAS\Repository\access(), ilMemberViewSettings\getInstance(), ilPrivacySettings\getInstance(), ILIAS\Repository\logger(), ILIAS\Repository\object(), and ILIAS\Repository\user().
Referenced by renderObject().
ilObjCourseGUI::confirmDeleteInfoFilesObject | ( | ) |
Definition at line 500 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\ctrl(), editInfoObject(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and setSubTabs().
|
protected |
Definition at line 974 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by updateObject().
ilObjCourseGUI::createMailSignature | ( | ) |
Create a course mail signature.
Definition at line 2839 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by infoScreen().
ilObjCourseGUI::deleteInfoFilesObject | ( | ) |
Definition at line 537 of file class.ilObjCourseGUI.php.
References editInfoObject(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\refinery().
ilObjCourseGUI::deleteObject | ( | bool | $error = false | ) |
ilObjCourseGUI::deliverCertificateObject | ( | ) |
Definition at line 2912 of file class.ilObjCourseGUI.php.
References $objId, $user_id, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilCertificatePdfAction\downloadPdf(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), null, ILIAS\Repository\refinery(), and ILIAS\Repository\user().
ilObjCourseGUI::editInfoObject | ( | ?ilPropertyFormGUI | $a_form = null | ) |
Definition at line 466 of file class.ilObjCourseGUI.php.
References ilCourseFile\_readFilesByCourse(), ilObjectGUI\checkPermission(), initInfoEditor(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and setSubTabs().
Referenced by confirmDeleteInfoFilesObject(), deleteInfoFilesObject(), and updateInfoObject().
ilObjCourseGUI::editMapSettingsObject | ( | ) |
Definition at line 2612 of file class.ilObjCourseGUI.php.
References ilContainerGUI\$form, ILIAS\Repository\access(), ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ILIAS\Repository\ctrl(), ilMapUtil\getDefaultSettings(), ilPropertyFormGUI\getHTML(), ilMapUtil\isActivated(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilFormGUI\setFormAction(), ilLocationInputGUI\setLatitude(), setSubTabs(), and ilPropertyFormGUI\setTitle().
ilObjCourseGUI::editObject | ( | ?ilPropertyFormGUI | $form = null | ) |
Definition at line 993 of file class.ilObjCourseGUI.php.
References ilContainerGUI\$form, $GLOBALS, ilPropertyFormGUI\getHTML(), and setSubTabs().
ilObjCourseGUI::executeCommand | ( | ) |
Definition at line 2040 of file class.ilObjCourseGUI.php.
References $DIC, ilContainerGUI\$form, $GLOBALS, ilContainerGUI\$gui, ilObjectGUI\$html, $user_id, __checkStartObjects(), ilCourseParticipants\_getInstanceByObjId(), ilObjCourse\_isActivated(), ilParticipants\_isParticipant(), ilObjCourse\_registrationEnabled(), ilLearningProgress\_tracProgress(), ILIAS\Repository\access(), ilObjectGUI\addHeaderAction(), ilObjectGUI\checkPermission(), ilObjectGUI\checkPermissionBool(), ILIAS\Repository\ctrl(), ilContainerGUI\forwardToPageObject(), ilObjectGUI\getCreationMode(), ilNewsTimelineGUI\getInstance(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), getLocalRoles(), ILIAS\Repository\help(), ILIAS\FileDelivery\http(), infoScreen(), infoScreenObject(), initInfoEditor(), ILIAS\Repository\lng(), ilLearningProgressBaseGUI\LP_CONTEXT_REPOSITORY, ilCourseConstants\MAIL_ALLOWED_ALL, null, ILIAS\Repository\object(), ilObjectGUI\prepareOutput(), ILIAS\Repository\rbac(), ILIAS\Repository\refinery(), ilLTIProviderObjectSettingGUI\setCustomRolesForSelection(), ilMailMemberSearchGUI\setObjParticipants(), setSubTabs(), ilContainerGUI\setTitleAndDescription(), ilContainerGUI\showContainerPageTabs(), ilContainerGUI\showPermanentLink(), ILIAS\Repository\user(), and ilObjectGUI\viewObject().
ilObjCourseGUI::gatewayObject | ( | ) |
Definition at line 85 of file class.ilObjCourseGUI.php.
References ilObjectGUI\viewObject().
|
protected |
Definition at line 1811 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\object(), and ILIAS\Repository\tabs().
|
protected |
values are already set in initEditForm Returning an empty array avoid overriding these values.
Definition at line 1009 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::getLocalRoles | ( | array | $a_exclude = array() | ) |
int[] | $a_exclude a list of role ids which will not added to the results (optional) returns all local roles [role_id] => title |
Definition at line 3080 of file class.ilObjCourseGUI.php.
References ilObjRole\_getTranslation(), and hasAdminPermission().
Referenced by executeCommand().
|
protected |
Definition at line 954 of file class.ilObjCourseGUI.php.
References ilObjectServiceSettingsGUI\AUTO_RATING_NEW_OBJECTS, ilObjectServiceSettingsGUI\BADGES, ilObjectServiceSettingsGUI\BOOKING, ilObjectServiceSettingsGUI\CALENDAR_CONFIGURATION, ilObjectServiceSettingsGUI\CUSTOM_METADATA, ilObjectServiceSettingsGUI\EXTERNAL_MAIL_PREFIX, ilObjectServiceSettingsGUI\ORGU_POSITION_ACCESS, ilObjectServiceSettingsGUI\SKILLS, ilObjectServiceSettingsGUI\TAG_CLOUD, and ilObjectServiceSettingsGUI\USE_NEWS.
Referenced by initEditForm(), and updateObject().
|
protected |
Definition at line 1845 of file class.ilObjCourseGUI.php.
References ilCourseObjective\_getCountObjectives(), ilWaitingList\_isOnList(), ilParticipants\_isParticipant(), ilContainer\_lookupContainerSetting(), ILIAS\Repository\access(), addContentTab(), ilObjectServiceSettingsGUI\BOOKING, ilLearningProgressAccess\checkAccess(), ILIAS\Repository\ctrl(), ilBadgeHandler\getInstance(), ILIAS\Repository\help(), ILIAS\FileDelivery\http(), ilCourseConstants\IL_CRS_VIEW_OBJECTIVE, ilCourseConstants\IL_CRS_VIEW_TIMING, ilContSkillPresentationGUI\isAccessible(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
|
protected |
Definition at line 3111 of file class.ilObjCourseGUI.php.
References ilCourseParticipant\_getInstanceByObjId(), ilObjectGUI\checkPermissionBool(), ILIAS\Repository\object(), and ILIAS\Repository\user().
Referenced by getLocalRoles().
ilObjCourseGUI::infoScreen | ( | ) |
Definition at line 184 of file class.ilObjCourseGUI.php.
References $c, $parts, ilObjectGUI\$tpl, $txt, ilCourseDefinedFieldDefinition\_fieldsToInfoString(), ilCourseDefinedFieldDefinition\_getFields(), ilExportFieldsInfo\_getInstanceByType(), ilCourseFile\_readFilesByCourse(), ILIAS\Repository\access(), ilObjectGUI\checkPermission(), ilObjectGUI\checkPermissionBool(), ilMailFormCall\CONTEXT_KEY, createMailSignature(), ILIAS\Repository\ctrl(), ilDatePresentation\formatDate(), ilDatePresentation\formatPeriod(), ILIAS\UICore\GlobalTemplate\get(), ilPrivacySettings\getInstance(), ilParticipants\getInstanceByObjId(), ilMailFormCall\getLinkTarget(), ilMailGlobalServices\getMailObjectRefId(), ilCourseMailTemplateMemberContext\ID, IL_CAL_UNIX, ilCourseConstants\IL_CRS_SUBSCRIPTION_CONFIRMATION, ilCourseConstants\IL_CRS_SUBSCRIPTION_DEACTIVATED, ilCourseConstants\IL_CRS_SUBSCRIPTION_DIRECT, ilCourseConstants\IL_CRS_SUBSCRIPTION_PASSWORD, ILIAS\Repository\lng(), ilObjCourseAccess\lookupRegistrationInfo(), ilUtil\makeClickable(), ilAdvancedMDRecordGUI\MODE_INFO, ILIAS\Repository\object(), ilAdvancedMDRecordGUI\parse(), ILIAS\UICore\GlobalTemplate\parseCurrentBlock(), ILIAS\UICore\GlobalTemplate\setCurrentBlock(), ilAdvancedMDRecordGUI\setInfoObject(), ILIAS\UICore\GlobalTemplate\setVariable(), and ILIAS\Repository\user().
Referenced by executeCommand().
ilObjCourseGUI::infoScreenObject | ( | ) |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed
Definition at line 176 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\ctrl().
Referenced by executeCommand().
|
protected |
Definition at line 1014 of file class.ilObjCourseGUI.php.
References ilContainerGUI\$form, ilObjectGUI\$settings, ilObjUserTracking\_enabledLearningProgress(), ilContainer\_lookupContainerSetting(), ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ILIAS\Repository\ctrl(), ilMembershipRegistrationCodeUtils\generateCode(), ilObjectLP\getInstance(), ilPrivacySettings\getInstance(), ilObjectGUI\getObjectService(), getSubServices(), IL_CAL_UNIX, ilCourseConstants\IL_CRS_SUBSCRIPTION_CONFIRMATION, ilCourseConstants\IL_CRS_SUBSCRIPTION_DEACTIVATED, ilCourseConstants\IL_CRS_SUBSCRIPTION_DIRECT, ilCourseConstants\IL_CRS_SUBSCRIPTION_PASSWORD, ilCourseConstants\IL_CRS_SUBSCRIPTION_UNLIMITED, ilCourseConstants\IL_CRS_VIEW_BY_TYPE, ilCourseConstants\IL_CRS_VIEW_OBJECTIVE, ilCourseConstants\IL_CRS_VIEW_SESSIONS, ilCourseConstants\IL_CRS_VIEW_SIMPLE, ilCourseConstants\IL_CRS_VIEW_TIMING, ilCourseConstants\IL_CRS_VIEW_TIMING_ABSOLUTE, ilCourseConstants\IL_CRS_VIEW_TIMING_RELATIVE, ilObjectGUI\initDidacticTemplate(), ilContainerGUI\initListPresentationForm(), ilObjectServiceSettingsGUI\initServiceSettingsForm(), ilContainerGUI\initSortingForm(), ILIAS\Repository\lng(), ilCourseConstants\MAIL_ALLOWED_ALL, ilCourseConstants\MAIL_ALLOWED_TUTORS, ILIAS\Repository\object(), ilFormGUI\setFormAction(), ilFormPropertyGUI\setInfo(), ilNumberInputGUI\setMinValue(), ilPropertyFormGUI\setTitle(), ilRadioGroupInputGUI\setValue(), ilSelectInputGUI\setValue(), ilContainer\SORT_ACTIVATION, ilContainer\SORT_CREATION, ilContainer\SORT_MANUAL, ilContainer\SORT_TITLE, ilObjCourse\STATUS_DETERMINATION_LP, and ilObjCourse\STATUS_DETERMINATION_MANUAL.
Referenced by updateObject().
Definition at line 2848 of file class.ilObjCourseGUI.php.
References ilParticipants\_isParticipant(), ILIAS\Repository\ctrl(), ilUtil\getImagePath(), ilMembershipNotifications\isActiveForRefId(), ILIAS\Repository\lng(), null, and ILIAS\Repository\user().
ilObjCourseGUI::initInfoEditor | ( | ) |
Definition at line 565 of file class.ilObjCourseGUI.php.
References ilContainerGUI\$form, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ILIAS\Repository\ctrl(), ilFileInputGUI\enableFileNameSelection(), ILIAS\Repository\lng(), ilAdvancedMDRecordGUI\MODE_EDITOR, ILIAS\Repository\object(), ilFormGUI\setFormAction(), ilFormGUI\setMultipart(), ilAdvancedMDRecordGUI\setPropertyForm(), ilPropertyFormGUI\setTitle(), and ilTextAreaInputGUI\setValue().
Referenced by editInfoObject(), executeCommand(), and updateInfoObject().
|
protected |
Definition at line 3118 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\ctrl().
ilObjCourseGUI::leaveObject | ( | ) |
Definition at line 1771 of file class.ilObjCourseGUI.php.
References ilObjectGUI\checkPermission(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\user(), and ilObjectGUI\viewObject().
Referenced by unsubscribeObject().
|
protected |
Definition at line 2543 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\ctrl().
Referenced by autoFillObject().
ilObjCourseGUI::modifyItemGUI | ( | ilObjectListGUI | $a_item_list_gui, |
array | $a_item_data | ||
) |
Definition at line 2697 of file class.ilObjCourseGUI.php.
References _modifyItemGUI(), and ILIAS\Repository\object().
ilObjCourseGUI::performUnsubscribeObject | ( | ) |
Definition at line 1795 of file class.ilObjCourseGUI.php.
References ilObjectGUI\checkPermission(), ILIAS\Repository\ctrl(), ilObjectGUI\getObject(), ILIAS\Repository\lng(), ilCourseMembershipMailNotification\TYPE_UNSUBSCRIBE_MEMBER, and ILIAS\Repository\user().
ilObjCourseGUI::readMemberData | ( | array | $ids, |
?array | $selected_columns = null , |
||
bool | $skip_names = false |
||
) |
When building the members table in a course, user names are already read out via ilUserQuery::getUserListData (#31394). Adding skip_name as a parameter here is not super elegant, but seems like the only practical way avoid unnecessarily reading out the names again.
Definition at line 1634 of file class.ilObjCourseGUI.php.
References ilObjUserTracking\_enabledLearningProgress(), ilObjUserTracking\_enabledUserRelatedData(), ilLPStatusWrapper\_lookupCompletedForObject(), ilLPStatusWrapper\_lookupFailedForObject(), ilLPStatusWrapper\_lookupInProgressForObject(), ilObjUser\_lookupName(), ilLearningProgress\_lookupProgressByObjId(), ILIAS\Repository\ctrl(), ilDatePresentation\formatDate(), ilObjPortfolio\getAvailablePortfolioLinksForUserIds(), ilObjectLP\getInstance(), ilPrivacySettings\getInstance(), IL_CAL_UNIX, ILIAS\Repository\lng(), ilLPStatus\LP_STATUS_COMPLETED, ilLPStatus\LP_STATUS_FAILED, ilLPStatus\LP_STATUS_IN_PROGRESS, ilLPStatus\LP_STATUS_NOT_ATTEMPTED, null, ILIAS\Repository\object(), and ilObjCourse\STATUS_DETERMINATION_LP.
|
protected |
Show confirmation whether user wants to start a new run or resume a previous run.
Definition at line 3054 of file class.ilObjCourseGUI.php.
References $GLOBALS, ilObjectGUI\getFormAction(), and ILIAS\Repository\lng().
Referenced by redirectLocToTestObject().
|
protected |
Definition at line 2986 of file class.ilObjCourseGUI.php.
References ILIAS\FileDelivery\http(), ilUtil\redirect(), and ILIAS\Repository\refinery().
|
protected |
Definition at line 3003 of file class.ilObjCourseGUI.php.
References $res, ilCourseObjective\_getObjectiveIds(), ILIAS\FileDelivery\http(), ILIAS\Repository\object(), ilUtil\redirect(), redirectLocToTestConfirmation(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
ilObjCourseGUI::renderAddNewItem | ( | string ... | $disabled_object_types | ) |
Definition at line 1595 of file class.ilObjCourseGUI.php.
References ilContainerGUI\$gui, ilObjectGUI\$type, ilObjectGUI\buildAddNewItemElements(), and ilObjectGUI\getCreatableObjectTypes().
Referenced by showPossibleSubObjects().
ilObjCourseGUI::renderContainer | ( | ) |
Definition at line 165 of file class.ilObjCourseGUI.php.
ilObjCourseGUI::renderObject | ( | ) |
Definition at line 101 of file class.ilObjCourseGUI.php.
References ilObjectGUI\$object, __checkStartObjects(), ilLearningProgress\_tracProgress(), ilObjectGUI\addAdoptContentLinkToToolbar(), checkAgreement(), ilObjectGUI\checkPermission(), ILIAS\Repository\ctrl(), ilContainerGUI\isActiveAdministrationPanel(), ILIAS\Repository\object(), ILIAS\Repository\user(), ilContainer\VIEW_BY_TYPE, ilContainer\VIEW_OBJECTIVE, ilContainer\VIEW_SESSIONS, ilContainer\VIEW_SIMPLE, ilContainer\VIEW_TIMING, and ilObjectGUI\viewObject().
ilObjCourseGUI::resetObject | ( | ) |
Definition at line 2802 of file class.ilObjCourseGUI.php.
References $GLOBALS, ilLOUserResults\delete(), ilLOTestRun\deleteRuns(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilCourseObjectiveResult\reset(), ILIAS\Repository\user(), and ilObjectGUI\viewObject().
ilObjCourseGUI::saveMapSettingsObject | ( | ) |
Definition at line 2667 of file class.ilObjCourseGUI.php.
References $location, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
ilObjCourseGUI::saveNotificationObject | ( | ) |
Definition at line 445 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
ilObjCourseGUI::saveSortingObject | ( | ) |
Definition at line 2954 of file class.ilObjCourseGUI.php.
References $ass_id, and ILIAS\FileDelivery\http().
ilObjCourseGUI::sendFileObject | ( | ) |
Definition at line 1468 of file class.ilObjCourseGUI.php.
References ilFileDelivery\deliverFileLegacy(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
ilObjCourseGUI::setContentSubTabs | ( | ) |
Definition at line 2746 of file class.ilObjCourseGUI.php.
References $DIC, ilObjectGUI\$lng, ILIAS\Repository\access(), ilContainerGUI\addStandardContainerSubTabs(), ILIAS\Repository\ctrl(), ilContainerGUI\isActiveAdministrationPanel(), ILIAS\Repository\object(), and ilLanguage\txt().
|
protected |
Definition at line 984 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilObjCourse\STATUS_DETERMINATION_LP.
ilObjCourseGUI::setSideColumnReturn | ( | ) |
Definition at line 3126 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\ctrl().
ilObjCourseGUI::setSubTabs | ( | string | $a_tab | ) |
Definition at line 1481 of file class.ilObjCourseGUI.php.
References ilCourseDefinedFieldDefinition\_hasFields(), ILIAS\Repository\ctrl(), ilPrivacySettings\getInstance(), ilMapUtil\isActivated(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by confirmDeleteInfoFilesObject(), editInfoObject(), editMapSettingsObject(), editObject(), and executeCommand().
|
protected |
Definition at line 1585 of file class.ilObjCourseGUI.php.
References ilContainerGUI\isActiveAdministrationPanel(), ILIAS\Repository\object(), renderAddNewItem(), and ilContainer\VIEW_OBJECTIVE.
ilObjCourseGUI::unsubscribeObject | ( | ) |
Definition at line 1790 of file class.ilObjCourseGUI.php.
References leaveObject().
ilObjCourseGUI::updateInfoObject | ( | ) |
Definition at line 647 of file class.ilObjCourseGUI.php.
References ilContainerGUI\$error, ilContainerGUI\$form, ilPropertyFormGUI\checkInput(), ilObjectGUI\checkPermission(), editInfoObject(), ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), ilErrorHandling\getMessage(), ilFileUtils\getValidFilename(), initInfoEditor(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_SUCCESS, ILIAS\Repository\object(), ilErrorHandling\setMessage(), and ilPropertyFormGUI\setValuesByPost().
ilObjCourseGUI::updateLPFromStatus | ( | int | $a_member_id, |
bool | $a_has_passed | ||
) |
sync course status and lp status
Definition at line 1729 of file class.ilObjCourseGUI.php.
References ilObjUserTracking\_enabledLearningProgress(), ilLPStatusWrapper\_updateStatus(), ilObjectLP\getInstance(), ilLPObjSettings\LP_MODE_MANUAL_BY_TUTOR, ILIAS\Repository\object(), ilCourseAppEventListener\setBlockedForLP(), and ilObjCourse\STATUS_DETERMINATION_LP.
ilObjCourseGUI::updateObject | ( | ) |
Definition at line 710 of file class.ilObjCourseGUI.php.
References ilContainerGUI\$form, $GLOBALS, ilObjectGUI\$settings, ilChangeEvent\_catchupWriteEvents(), ilChangeEvent\_recordWriteEvent(), ilContainer\_writeContainerSetting(), ilContainerGUI\afterUpdate(), ilPropertyFormGUI\checkInput(), confirmLPSync(), ilObjectGUI\editObject(), ilPropertyFormGUI\getInput(), ilPrivacySettings\getInstance(), ilPropertyFormGUI\getItemByPostVar(), ilObjectGUI\getObjectService(), getSubServices(), ILIAS\FileDelivery\http(), IL_CAL_UNIX, ilCourseConstants\IL_CRS_SUBSCRIPTION_DEACTIVATED, ilCourseConstants\IL_CRS_SUBSCRIPTION_DIRECT, ilCourseConstants\IL_CRS_SUBSCRIPTION_LIMITED, ilCourseConstants\IL_CRS_SUBSCRIPTION_UNLIMITED, ilCourseConstants\IL_CRS_VIEW_OBJECTIVE, ilCourseConstants\IL_CRS_VIEW_TIMING, initEditForm(), ILIAS\Repository\int(), ILIAS\UI\examples\Symbol\Glyph\Language\language(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ILIAS\Repository\refinery(), ilContainerGUI\saveListPresentation(), ilContainerGUI\saveSortingSettings(), ilPropertyFormGUI\setValuesByPost(), ilContainer\SORT_ACTIVATION, ilObjCourse\STATUS_DETERMINATION_LP, ilObjectServiceSettingsGUI\updateServiceSettingsForm(), and ILIAS\Repository\user().
|
protected |
Definition at line 59 of file class.ilObjCourseGUI.php.
|
protected |
Definition at line 57 of file class.ilObjCourseGUI.php.
|
private |
Definition at line 56 of file class.ilObjCourseGUI.php.
|
protected |
Definition at line 60 of file class.ilObjCourseGUI.php.
|
protected |
Definition at line 51 of file class.ilObjCourseGUI.php.
|
private |
Definition at line 53 of file class.ilObjCourseGUI.php.
|
protected |
Definition at line 58 of file class.ilObjCourseGUI.php.
|
private |
Definition at line 54 of file class.ilObjCourseGUI.php.
const ilObjCourseGUI::BREADCRUMB_CRS_ONLY = 1 |
Definition at line 49 of file class.ilObjCourseGUI.php.
const ilObjCourseGUI::BREADCRUMB_DEFAULT = 0 |
Definition at line 48 of file class.ilObjCourseGUI.php.
Referenced by ilLocatorGUI\addRepositoryItems().
const ilObjCourseGUI::BREADCRUMB_FULL_PATH = 2 |
Definition at line 50 of file class.ilObjCourseGUI.php.
Referenced by ilLocatorGUI\addRepositoryItems().