|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class ilObjCourseGUI. More...
Inheritance diagram for ilObjCourseGUI:
Collaboration diagram for ilObjCourseGUI: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) | |
| Display deletion confirmation screen. More... | |
| 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 () | |
| initInfoEditor () | |
| updateInfoObject () | |
| updateObject () | |
| updates object entry in object_data More... | |
| 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) | |
| @inheritDoc More... | |
| setContentSubTabs () | |
| @inheritDoc More... | |
| askResetObject () | |
| resetObject () | |
| __checkStartObjects () | |
| createMailSignature () | |
| Create a course mail signature. More... | |
| deliverCertificateObject () | |
| saveSortingObject () | |
| getLocalRoles (array $a_exclude=array()) | |
| setSideColumnReturn () | |
| @inheritDoc More... | |
Public Member Functions inherited from ilContainerGUI | |
| 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 @access 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 () | |
| administration tabs show only permissions and trash folder More... | |
| competencesObject () | |
Public Member Functions inherited from ilObjectGUI | |
| 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 () | |
Public Member Functions inherited from ILIAS\Object\ImplementsCreationCallback | |
| callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb) | |
Public Member Functions inherited from ilDesktopItemHandling | |
| 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 Public Member Functions inherited from ilContainerGUI | |
| static | _buildPath (int $a_ref_id, int $a_course_ref_id) |
| build path More... | |
Static Public Member Functions inherited from ilObjectGUI | |
| 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 |
Data Fields inherited from ilContainerGUI | |
| int | $bl_cnt = 1 |
| bool | $multi_download_enabled = false |
Data Fields inherited from ilObjectGUI | |
| 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) | |
| Post (successful) object import hook. More... | |
| getSubServices () | |
| confirmLPSync () | |
| setLPSyncObject () | |
| getEditFormValues () | |
| values are already set in initEditForm Returning an empty array avoid overriding these values. More... | |
| initEditForm () | |
| showPossibleSubObjects () | |
| @inheritDoc More... | |
| afterSave (ilObject $new_object) | |
| @inheritDoc More... | |
| getAgreementTabs () | |
| getTabs () | |
| @abstract overwrite in derived GUI class of your object type More... | |
| membersObject () | |
| initHeaderAction (?string $sub_type=null, ?int $sub_id=null) | |
| Add header action menu. More... | |
| 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 () | |
Protected Member Functions inherited from ilContainerGUI | |
| getModeManager () | |
| getItemPresentation ( $include_empty_blocks=true, ?string $lang=null) | |
| getEditFormValues () | |
| afterUpdate () | |
| Post (successful) object update hook. More... | |
| getDidacticTemplateIdFromQuery () | |
| setTitleAndDescription () | |
| showPossibleSubObjects () | |
| show possible sub objects (pull down menu) More... | |
| supportsPageEditor () | |
| gotItems () | |
| getTabs () | |
| @abstract overwrite in derived GUI class of your object type More... | |
| 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 () | |
Protected Member Functions inherited from ilObjectGUI | |
| 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 () | |
| @abstract 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 49 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 66 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().
Here is the call graph for this function:| ilObjCourseGUI::__checkStartObjects | ( | ) |
Definition at line 2759 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\access(), and ILIAS\Repository\object().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2478 of file class.ilObjCourseGUI.php.
|
static |
Definition at line 2488 of file class.ilObjCourseGUI.php.
References $DIC, $http, $ilErr, ilObjectGUI\$lng, $refinery, 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2649 of file class.ilObjCourseGUI.php.
Referenced by modifyItemGUI(), ilObjFolderGUI\modifyItemGUI(), ilObjGroupGUI\modifyItemGUI(), and ilObjSessionGUI\modifyItemGUI().
Here is the caller graph for this function:| ilObjCourseGUI::addContentTab | ( | ) |
Definition at line 1765 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\lng().
Referenced by getTabs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Post (successful) object import hook.
Reimplemented from ilObjectGUI.
Definition at line 94 of file class.ilObjCourseGUI.php.
References ilCourseParticipants\_getInstanceByObjId(), ilCourseConstants\CRS_ADMIN, ilObject\getId(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
@inheritDoc
Reimplemented from ilObjectGUI.
Definition at line 1542 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(), ilObject\update(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 2889 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilObjCourseGUI::askResetObject | ( | ) |
Definition at line 2731 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjCourseGUI::autoFillObject | ( | ) |
Definition at line 1679 of file class.ilObjCourseGUI.php.
References ilObjectGUI\checkPermission(), ILIAS\Repository\lng(), membersObject(), and ILIAS\Repository\object().
Here is the call graph for this function:
|
private |
Definition at line 2443 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().
Here is the call graph for this function:
|
protected |
Definition at line 904 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by updateObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourseGUI::createMailSignature | ( | ) |
Create a course mail signature.
Definition at line 2779 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by infoScreen().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourseGUI::deleteObject | ( | bool | $error = false | ) |
Display deletion confirmation screen.
Only for referenced objects. For user,role & rolt overwrite this function in the appropriate Object folders classes (ilObjUserFolderGUI,ilObjRoleFolderGUI)
Reimplemented from ilObjectGUI.
Definition at line 163 of file class.ilObjCourseGUI.php.
References ilContainerGUI\$error.
| ilObjCourseGUI::deliverCertificateObject | ( | ) |
Definition at line 2852 of file class.ilObjCourseGUI.php.
References $objId, $user_id, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilObjCourseGUI::editMapSettingsObject | ( | ) |
Definition at line 2552 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(), setSubTabs(), and ilPropertyFormGUI\setTitle().
Here is the call graph for this function:| ilObjCourseGUI::editObject | ( | ?ilPropertyFormGUI | $form = null | ) |
Definition at line 923 of file class.ilObjCourseGUI.php.
References ilContainerGUI\$form, $GLOBALS, ilPropertyFormGUI\getHTML(), and setSubTabs().
Here is the call graph for this function:| ilObjCourseGUI::executeCommand | ( | ) |
Reimplemented from ilContainerGUI.
Definition at line 1969 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(), error(), ilContainerGUI\forwardToPageObject(), ilObjectGUI\getCreationMode(), ilContainerGUI\getDidacticTemplateIdFromQuery(), ilNewsTimelineGUI\getInstance(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), getLocalRoles(), ilObjectGUI\getObject(), ILIAS\Repository\help(), ILIAS\FileDelivery\http(), infoScreen(), infoScreenObject(), initInfoEditor(), ILIAS\Repository\lng(), ilLearningProgressBaseGUI\LP_CONTEXT_REPOSITORY, ilCourseConstants\MAIL_ALLOWED_ALL, ILIAS\Repository\object(), ilObjectGUI\prepareOutput(), ILIAS\Repository\rbac(), ILIAS\Repository\refinery(), setSubTabs(), ilContainerGUI\setTitleAndDescription(), ilContainerGUI\showContainerPageTabs(), ilContainerGUI\showPermanentLink(), ILIAS\Repository\toolbar(), ILIAS\Repository\user(), and ilObjectGUI\viewObject().
Here is the call graph for this function:| ilObjCourseGUI::gatewayObject | ( | ) |
Definition at line 89 of file class.ilObjCourseGUI.php.
References ilObjectGUI\viewObject().
Here is the call graph for this function:
|
protected |
Definition at line 1740 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), and ILIAS\Repository\tabs().
Here is the call graph for this function:
|
protected |
values are already set in initEditForm Returning an empty array avoid overriding these values.
Reimplemented from ilContainerGUI.
Definition at line 939 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 3020 of file class.ilObjCourseGUI.php.
References ilObjRole\_getTranslation().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 884 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.
|
protected |
@abstract overwrite in derived GUI class of your object type
Reimplemented from ilContainerGUI.
Definition at line 1774 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().
Here is the call graph for this function:
|
protected |
Definition at line 3051 of file class.ilObjCourseGUI.php.
References ilCourseParticipant\_getInstanceByObjId(), and ILIAS\Repository\object().
Here is the call graph for this function:| ilObjCourseGUI::infoScreen | ( | ) |
Definition at line 188 of file class.ilObjCourseGUI.php.
References $c, $info, $parts, $record_gui, ilObjectGUI\$tpl, 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, ilDateTime\isNull(), 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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 180 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\ctrl().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Reimplemented from ilContainerGUI.
Definition at line 944 of file class.ilObjCourseGUI.php.
References ilContainerGUI\$form, ILIAS\UI\Implementation\Component\Input\Field\$options, ilObjectGUI\$settings, ilObjUserTracking\_enabledLearningProgress(), ilContainer\_lookupContainerSetting(), ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ILIAS\Repository\ctrl(), ilMembershipRegistrationCodeUtils\generateCode(), ilPrivacySettings\getInstance(), ilObjectLP\getInstance(), ilObjectGUI\getObjectService(), 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(), ilPropertyFormGUI\setTitle(), ilContainer\SORT_ACTIVATION, ilContainer\SORT_CREATION, ilContainer\SORT_MANUAL, ilContainer\SORT_TITLE, ilObjCourse\STATUS_DETERMINATION_LP, and ilObjCourse\STATUS_DETERMINATION_MANUAL.
Referenced by updateObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Add header action menu.
Reimplemented from ilObjectGUI.
Definition at line 2788 of file class.ilObjCourseGUI.php.
References ilParticipants\_isParticipant(), ILIAS\Repository\ctrl(), ilUtil\getImagePath(), ilMembershipNotifications\isActiveForRefId(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilObjCourseGUI::initInfoEditor | ( | ) |
Definition at line 500 of file class.ilObjCourseGUI.php.
References ilContainerGUI\$form, $text, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilAdvancedMDRecordGUI\MODE_EDITOR, ILIAS\Repository\object(), ilFormGUI\setFormAction(), ilFormGUI\setMultipart(), and ilPropertyFormGUI\setTitle().
Referenced by executeCommand(), and updateInfoObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 3058 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilObjCourseGUI::leaveObject | ( | ) |
Definition at line 1700 of file class.ilObjCourseGUI.php.
References ilObjectGUI\checkPermission(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ilObjectGUI\viewObject().
Referenced by unsubscribeObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 2483 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\ctrl().
Referenced by autoFillObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourseGUI::modifyItemGUI | ( | ilObjectListGUI | $a_item_list_gui, |
| array | $a_item_data | ||
| ) |
@inheritDoc
Reimplemented from ilContainerGUI.
Definition at line 2637 of file class.ilObjCourseGUI.php.
References _modifyItemGUI(), and ILIAS\Repository\object().
Here is the call graph for this function:| ilObjCourseGUI::performUnsubscribeObject | ( | ) |
Definition at line 1724 of file class.ilObjCourseGUI.php.
References ilObjectGUI\checkPermission(), ILIAS\Repository\ctrl(), ilObjectGUI\getObject(), ILIAS\Repository\lng(), ilCourseMembershipMailNotification\TYPE_UNSUBSCRIBE_MEMBER, and ILIAS\Repository\user().
Here is the call graph for this function:| 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 1564 of file class.ilObjCourseGUI.php.
References ilObjUserTracking\_enabledLearningProgress(), ilObjUserTracking\_enabledUserRelatedData(), ilLPStatusWrapper\_lookupCompletedForObject(), ilLPStatusWrapper\_lookupFailedForObject(), ilLPStatusWrapper\_lookupInProgressForObject(), ilObjUser\_lookupName(), ilLearningProgress\_lookupProgressByObjId(), ilDatePresentation\formatDate(), ilObjPortfolio\getAvailablePortfolioLinksForUserIds(), ilPrivacySettings\getInstance(), ilObjectLP\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, ILIAS\Repository\object(), and ilObjCourse\STATUS_DETERMINATION_LP.
Here is the call graph for this function:
|
protected |
Show confirmation whether user wants to start a new run or resume a previous run.
Definition at line 2994 of file class.ilObjCourseGUI.php.
References $GLOBALS, and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 2926 of file class.ilObjCourseGUI.php.
References ILIAS\FileDelivery\http(), ilUtil\redirect(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
protected |
Definition at line 2943 of file class.ilObjCourseGUI.php.
References $res, ilCourseObjective\_getObjectiveIds(), ILIAS\FileDelivery\http(), ILIAS\Repository\object(), ilUtil\redirect(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilObjCourseGUI::renderAddNewItem | ( | string ... | $disabled_object_types | ) |
Definition at line 1525 of file class.ilObjCourseGUI.php.
References ilContainerGUI\$gui, ilObjectGUI\$type, ilObjectGUI\buildAddNewItemElements(), and ilObjectGUI\getCreatableObjectTypes().
Referenced by showPossibleSubObjects().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjCourseGUI::renderContainer | ( | ) |
Definition at line 169 of file class.ilObjCourseGUI.php.
| ilObjCourseGUI::renderObject | ( | ) |
Reimplemented from ilContainerGUI.
Definition at line 105 of file class.ilObjCourseGUI.php.
References ilObjectGUI\viewObject().
Here is the call graph for this function:| ilObjCourseGUI::resetObject | ( | ) |
Definition at line 2742 of file class.ilObjCourseGUI.php.
References $GLOBALS, ilLOTestRun\deleteRuns(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilObjCourseGUI::saveMapSettingsObject | ( | ) |
Definition at line 2607 of file class.ilObjCourseGUI.php.
References $location, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilObjCourseGUI::saveNotificationObject | ( | ) |
Definition at line 449 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilObjCourseGUI::saveSortingObject | ( | ) |
Reimplemented from ilContainerGUI.
Definition at line 2894 of file class.ilObjCourseGUI.php.
References $ass_id, and ILIAS\FileDelivery\http().
Here is the call graph for this function:| ilObjCourseGUI::sendFileObject | ( | ) |
Definition at line 1398 of file class.ilObjCourseGUI.php.
References ilFileDelivery\deliverFileLegacy(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilObjCourseGUI::setContentSubTabs | ( | ) |
@inheritDoc
Reimplemented from ilContainerGUI.
Definition at line 2686 of file class.ilObjCourseGUI.php.
References $DIC, $lng, ILIAS\Repository\access(), and ILIAS\Repository\object().
Here is the call graph for this function:
|
protected |
Definition at line 914 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilObjCourse\STATUS_DETERMINATION_LP.
Here is the call graph for this function:| ilObjCourseGUI::setSideColumnReturn | ( | ) |
@inheritDoc
Reimplemented from ilContainerGUI.
Definition at line 3066 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilObjCourseGUI::setSubTabs | ( | string | $a_tab | ) |
Definition at line 1411 of file class.ilObjCourseGUI.php.
References ilCourseDefinedFieldDefinition\_hasFields(), ILIAS\Repository\ctrl(), ilPrivacySettings\getInstance(), ilMapUtil\isActivated(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by editMapSettingsObject(), editObject(), and executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
@inheritDoc
Reimplemented from ilContainerGUI.
Definition at line 1515 of file class.ilObjCourseGUI.php.
References ILIAS\Repository\object(), renderAddNewItem(), and ilContainer\VIEW_OBJECTIVE.
Here is the call graph for this function:| ilObjCourseGUI::unsubscribeObject | ( | ) |
Definition at line 1719 of file class.ilObjCourseGUI.php.
References leaveObject().
Here is the call graph for this function:| ilObjCourseGUI::updateInfoObject | ( | ) |
Definition at line 582 of file class.ilObjCourseGUI.php.
References ilContainerGUI\$error, ilContainerGUI\$form, ilPropertyFormGUI\checkInput(), ilObjectGUI\checkPermission(), error(), ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), ilFileUtils\getValidFilename(), initInfoEditor(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_SUCCESS, ILIAS\Repository\object(), and ilPropertyFormGUI\setValuesByPost().
Here is the call graph for this function:| ilObjCourseGUI::updateLPFromStatus | ( | int | $a_member_id, |
| bool | $a_has_passed | ||
| ) |
sync course status and lp status
Definition at line 1658 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.
Here is the call graph for this function:| ilObjCourseGUI::updateObject | ( | ) |
updates object entry in object_data
Reimplemented from ilObjectGUI.
Definition at line 645 of file class.ilObjCourseGUI.php.
References ilContainerGUI\$form, $GLOBALS, ilObjectGUI\$settings, ilChangeEvent\_recordWriteEvent(), ilContainer\_writeContainerSetting(), ilContainerGUI\afterUpdate(), ilPropertyFormGUI\checkInput(), confirmLPSync(), ilObjectGUI\editObject(), ilPropertyFormGUI\getInput(), ilPrivacySettings\getInstance(), ilPropertyFormGUI\getItemByPostVar(), ilObjectGUI\getObjectService(), 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, and ilObjectServiceSettingsGUI\updateServiceSettingsForm().
Here is the call graph for this function:
|
protected |
Definition at line 64 of file class.ilObjCourseGUI.php.
|
protected |
Definition at line 62 of file class.ilObjCourseGUI.php.
|
protected |
Definition at line 60 of file class.ilObjCourseGUI.php.
Referenced by _goto().
|
private |
Definition at line 59 of file class.ilObjCourseGUI.php.
|
protected |
Definition at line 63 of file class.ilObjCourseGUI.php.
|
protected |
Definition at line 54 of file class.ilObjCourseGUI.php.
|
private |
Definition at line 56 of file class.ilObjCourseGUI.php.
Referenced by infoScreen().
|
protected |
Definition at line 61 of file class.ilObjCourseGUI.php.
Referenced by _goto().
|
private |
Definition at line 57 of file class.ilObjCourseGUI.php.
| const ilObjCourseGUI::BREADCRUMB_CRS_ONLY = 1 |
Definition at line 52 of file class.ilObjCourseGUI.php.
| const ilObjCourseGUI::BREADCRUMB_DEFAULT = 0 |
Definition at line 51 of file class.ilObjCourseGUI.php.
Referenced by ilLocatorGUI\addRepositoryItems().
| const ilObjCourseGUI::BREADCRUMB_FULL_PATH = 2 |
Definition at line 53 of file class.ilObjCourseGUI.php.
Referenced by ilLocatorGUI\addRepositoryItems().