ILIAS  release_8 Revision v8.24
ilObjLearningSequenceGUI Class Reference

Class ilObjLearningSequenceGUI @ilCtrl_isCalledBy ilObjLearningSequenceGUI: ilRepositoryGUI @ilCtrl_isCalledBy ilObjLearningSequenceGUI: ilAdministrationGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilPermissionGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilInfoScreenGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilCommonActionDispatcherGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilColumnGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjectCopyGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilExportGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjLearningSequenceSettingsGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjLearningSequenceContentGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjLearningSequenceLearnerGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjLearningSequenceLPPollingGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilLearningSequenceMembershipGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilLearningProgressGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjLearningModuleGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjFileBasedLMGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjSAHSLearningModuleGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjContentPageGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjExerciseGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjFileGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjIndividualAssessmentGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilIndividualAssessmentSettingsGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjTestGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjSurveyGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjFileUploadHandlerGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjLearningSequenceEditIntroGUI, ilObjLearningSequenceEditExtroGUI. More...

+ Inheritance diagram for ilObjLearningSequenceGUI:
+ Collaboration diagram for ilObjLearningSequenceGUI:

Public Member Functions

 __construct ()
 
 executeCommand ()
 
 addContentStyleCss ()
 
 addToNavigationHistory ()
 
 unparticipate ()
 
 renderObject ()
 
 createMailSignature ()
 
 getLocalRoles ()
 
 addCustomData (array $a_data)
 
 showPossibleSubObjects ()
 show possible sub objects (pull down menu) More...
 
 confirmedDeleteObject ()
 ATTENTION: This mostly is a copy of ilObjectGUI::confirmDeleteObject, but does not redirect to parent afterwards, because we are, in fact, the parent. More...
 
- Public Member Functions inherited from ilContainerGUI
 executeCommand ()
 
 forwardToPageObject ()
 
 addPageTabs ()
 
 getContainerPageHTML ()
 
 prepareOutput (bool $show_subobjects=true)
 
 getContentGUI ()
 
 renderObject ()
 
 renderBlockAsynchObject ()
 render the object More...
 
 setContentSubTabs ()
 
 showAdministrationPanel ()
 
 showPermanentLink ()
 
 editPageFrameObject ()
 
 cancelPageContentObject ()
 
 showLinkListObject ()
 
 clearAdminCommandsDetermination ()
 
 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 ()
 
 getAsynchItemListObject ()
 
 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
 __construct ($data, int $id=0, bool $call_by_reference=true, bool $prepare_output=true)
 
 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] don't belong to the current 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...
 
 cancelDeleteObject ()
 cancel deletion of object More...
 
 cancelObject ()
 cancel action and go back to previous page More...
 
 createObject ()
 create new object form More...
 
 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)
 
 redirectAfterCreation ()
 Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html Should be overwritten and redirect to settings screen. More...
 
 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 ()
 Add desktop item @access public. More...
 
 removeFromDeskObject ()
 Remove from desktop @access public. More...
 

Static Public Member Functions

static _goto (string $target)
 
- 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 CMD_VIEW = "view"
 
const CMD_LEARNER_VIEW = "learnerView"
 
const CMD_CONTENT = "manageContent"
 
const CMD_MEMBERS = "members"
 
const CMD_MANAGE_MEMBERS = "participants"
 
const CMD_MEMBERS_GALLERY = "jump2UsersGallery"
 
const CMD_INFO = "showSummary"
 
const CMD_INFO_SCREEN = "infoScreen"
 
const CMD_SETTINGS = "settings"
 
const CMD_PERMISSIONS = "perm"
 
const CMD_EXPORT = "export"
 
const CMD_IMPORT = "importFile"
 
const CMD_CREATE = "create"
 
const CMD_SAVE = "save"
 
const CMD_CANCEL = "cancel"
 
const CMD_UNPARTICIPATE = "unparticipate"
 
const CMD_ADD_TO_DESK = "addToDesk"
 
const CMD_REMOVE_FROM_DESK = "removeFromDesk"
 
const CMD_LINK = "link"
 
const CMD_CANCEL_LINK = "cancelMoveLink"
 
const CMD_CUT = "cut"
 
const CMD_CANCEL_CUT = "cancelCut"
 
const CMD_CUT_SHOWTREE = "showPasteTree"
 
const CMD_CUT_CLIPBOARD = "keepObjectsInClipboard"
 
const CMD_DELETE = "delete"
 
const CMD_CANCEL_DELETE = "cancelDelete"
 
const CMD_DELETE_CONFIRMED = "confirmedDelete"
 
const CMD_PERFORM_PASTE = 'performPasteIntoMultipleObjects'
 
const CMD_SHOW_TRASH = 'trash'
 
const CMD_UNDELETE = 'undelete'
 
const CMD_REDRAW_HEADER = 'redrawHeaderAction'
 
const CMD_ENABLE_ADMINISTRATION_PANEL = "enableAdministrationPanel"
 
const TAB_VIEW_CONTENT = "view"
 
const TAB_MANAGE = "manage"
 
const TAB_CONTENT_MAIN = "manage_content_maintab"
 
const TAB_INFO = "show_summary"
 
const TAB_SETTINGS = "settings"
 
const TAB_PERMISSIONS = "perm_settings"
 
const TAB_MEMBERS = "members"
 
const TAB_LP = "learning_progress"
 
const TAB_EXPORT = "export"
 
const TAB_EDIT_INTRO = "edit_intropage"
 
const TAB_EDIT_EXTRO = "edit_extropage"
 
const MAIL_ALLOWED_ALL = 1
 
const MAIL_ALLOWED_TUTORS = 2
 
const ACCESS_READ = 'read'
 
const ACCESS_VISIBLE = 'visible'
 
- Data Fields inherited from ilContainerGUI
int $bl_cnt = 1
 
bool $multi_download_enabled = false
 
- Data Fields inherited from ilObjectGUI
const ALLOWED_TAGS_IN_TITLE_AND_DESCRIPTION
 
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
 

Protected Member Functions

 recordLearningSequenceRead ()
 
 info (string $cmd=self::CMD_INFO)
 
 permissions (string $cmd=self::CMD_PERMISSIONS)
 
 settings (string $cmd=self::CMD_SETTINGS)
 
 view ()
 
 manageContent (string $cmd=self::CMD_CONTENT)
 
 learnerView (string $cmd=self::CMD_LEARNER_VIEW)
 
 members ()
 
 manage_members (string $cmd=self::CMD_MANAGE_MEMBERS)
 
 learningProgress ()
 
 export ()
 
 initDidacticTemplate (ilPropertyFormGUI $form)
 
 create ()
 
 save ()
 
 afterSave (ilObject $new_object)
 Post (successful) object creation hook. More...
 
 getTabs ()
 @abstract overwrite in derived GUI class of your object type More...
 
 addSubTabsForContent (string $active)
 
 checkAccess (string $which)
 
 checkLPAccess ()
 
 getLinkTarget (string $cmd)
 
 getClassForTabs (string $cmd)
 
 getTrackingObject ()
 
 getAdditionalWhitelistTypes ()
 append additional types to ilRepositoryExplorerGUI's whitelist More...
 
 enableDragDropFileUpload ()
 Enables the file upload into this object by dropping files. More...
 
- Protected Member Functions inherited from ilContainerGUI
 getEditFormValues ()
 
 afterUpdate ()
 Post (successful) object update hook. More...
 
 setTitleAndDescription ()
 
 showPossibleSubObjects ()
 show possible sub objects (pull down menu) More...
 
 supportsPageEditor ()
 
 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 ()
 
 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...
 
 initCreationForms (string $new_type)
 Init creation forms. More...
 
 getCreationFormsHTML (array $forms)
 Get HTML for creation forms (accordion) More...
 
 initCreateForm (string $new_type)
 
 initDidacticTemplate (ilPropertyFormGUI $form)
 
 addDidacticTemplateOptions (array &$a_options)
 Add custom templates. More...
 
 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...
 
 initImportForm (string $new_type)
 
 importFileObject (int $parent_id=null)
 
 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...
 
 fillCloneTemplate (?string $tpl_name, string $type)
 Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. 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...
 
 showCustomIconsEditing ( $input_colspan=1, ilPropertyFormGUI $form=null, $as_section=true)
 show edit section of custom icons for container More...
 

Static Protected Member Functions

static isAccessible (int $id)
 
static hasAccess (string $mode, int $id)
 
static forwardByClass (string $base_class, array $classes, array $params, string $cmd='')
 

Protected Attributes

ILIAS Style Content Service $content_style
 
string $obj_type
 
ilNavigationHistory $navigation_history
 
ilObjectService $obj_service
 
ilObjLearningSequence $ls_object
 
ilRbacReview $rbac_review
 
ilHelpGUI $help
 
ILIAS UI Factory $ui_factory
 
ILIAS UI Renderer $ui_renderer
 
Data Factory $data_factory
 
ILIAS HTTP Wrapper RequestWrapper $request_wrapper
 
ArrayBasedRequestWrapper $post_wrapper
 
ILIAS Refinery Factory $refinery
 
- Protected Attributes inherited from ilContainerGUI
ILIAS Style Content GUIService $content_style_gui
 
ilRbacSystem $rbacsystem
 
ilRbacReview $rbacreview
 
ilTabsGUI $tabs
 
ilErrorHandling $error
 
ilObjectDefinition $obj_definition
 
ilRbacAdmin $rbacadmin
 
ilPropertyFormGUI $form
 
ilLogger $log
 
ilObjectDataCache $obj_data_cache
 
Services $global_screen
 
ilAppEventHandler $app_event_handler
 
UIServices $ui
 
ilContainerFilterService $container_filter_service
 
ilContainerUserFilter $container_user_filter = null
 
Standard $ui_filter = null
 
bool $edit_order = false
 
bool $adminCommands = false
 
string $requested_redirectSource = ""
 
int $current_position = 0
 
ClipboardManager $clipboard
 
StandardGUIRequest $std_request
 
ViewManager $view_manager
 
ilComponentFactory $component_factory
 
ILIAS Style Content DomainService $content_style_domain
 
- Protected Attributes inherited from ilObjectGUI
ILIAS Notes Service $notes_service
 
ServerRequestInterface $request
 
ilLocatorGUI $locator
 
ilObjUser $user
 
ilAccessHandler $access
 
ilSetting $settings
 
ilToolbarGUI $toolbar
 
ilRbacAdmin $rbac_admin
 
ilRbacSystem $rbac_system
 
ilRbacReview $rbac_review
 
ilObjectService $object_service
 
ilObjectDefinition $obj_definition
 
ilGlobalTemplateInterface $tpl
 
ilTree $tree
 
ilCtrl $ctrl
 
ilErrorHandling $error
 
ilLanguage $lng
 
ilTabsGUI $tabs_gui
 
ILIAS $ilias
 
ArrayBasedRequestWrapper $post_wrapper
 
RequestWrapper $request_wrapper
 
Factory $refinery
 
ilFavouritesManager $favourites
 
ilObjectCustomIconFactory $custom_icon_factory
 
ilObject $object = null
 
bool $creation_mode = false
 
 $data
 
int $id
 
bool $call_by_reference = false
 
bool $prepare_output
 
int $ref_id
 
int $obj_id
 
int $maxcount
 
array $form_action = []
 
array $return_location = []
 
array $target_frame = []
 
string $tmp_import_dir
 
string $sub_objects = ""
 
bool $omit_locator = false
 
string $type = ""
 
string $admin_mode = self::ADMIN_MODE_NONE
 
int $requested_ref_id = 0
 
int $requested_crtptrefid = 0
 
int $requested_crtcb = 0
 
string $requested_new_type = ""
 
string $link_params
 
string $html = ""
 

Private Member Functions

 denyAccessIfNotWritePermission ()
 

Detailed Description

Class ilObjLearningSequenceGUI @ilCtrl_isCalledBy ilObjLearningSequenceGUI: ilRepositoryGUI @ilCtrl_isCalledBy ilObjLearningSequenceGUI: ilAdministrationGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilPermissionGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilInfoScreenGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilCommonActionDispatcherGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilColumnGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjectCopyGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilExportGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjLearningSequenceSettingsGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjLearningSequenceContentGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjLearningSequenceLearnerGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjLearningSequenceLPPollingGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilLearningSequenceMembershipGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilLearningProgressGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjLearningModuleGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjFileBasedLMGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjSAHSLearningModuleGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjContentPageGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjExerciseGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjFileGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjIndividualAssessmentGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilIndividualAssessmentSettingsGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjTestGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjSurveyGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjFileUploadHandlerGUI @ilCtrl_Calls ilObjLearningSequenceGUI: ilObjLearningSequenceEditIntroGUI, ilObjLearningSequenceEditExtroGUI.

Definition at line 53 of file class.ilObjLearningSequenceGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilObjLearningSequenceGUI::__construct ( )

Definition at line 199 of file class.ilObjLearningSequenceGUI.php.

200 {
201 $this->obj_type = ilObjLearningSequence::OBJ_TYPE;
202
203 global $DIC;
204 $this->ctrl = $DIC['ilCtrl'];
205 $this->lng = $DIC['lng'];
206 $this->user = $DIC['ilUser'];
207 $this->tabs = $DIC['ilTabs'];
208 $this->toolbar = $DIC['ilToolbar'];
209 $this->help = $DIC['ilHelp'];
210 $this->settings = $DIC['ilSetting'];
211 $this->access = $DIC['ilAccess'];
212 $this->rbac_review = $DIC['rbacreview'];
213 $this->ui_factory = $DIC['ui.factory'];
214 $this->ui_renderer = $DIC['ui.renderer'];
215
216 $this->log = $DIC["ilLoggerFactory"]->getRootLogger();
217 $this->app_event_handler = $DIC['ilAppEventHandler'];
218 $this->navigation_history = $DIC['ilNavigationHistory'];
219 $this->obj_definition = $DIC['objDefinition'];
220 $this->tpl = $DIC["tpl"];
221 $this->obj_service = $DIC->object();
222 $this->toolbar = $DIC['ilToolbar'];
223 $this->request_wrapper = $DIC->http()->wrapper()->query();
224 $this->post_wrapper = $DIC->http()->wrapper()->post();
225 $this->refinery = $DIC->refinery();
226 $this->content_style = $DIC->contentStyle();
227
228 $this->help->setScreenIdComponent($this->obj_type);
229 $this->lng->loadLanguageModule($this->obj_type);
230
231 $this->data_factory = new Data\Factory();
232
233 $this->ref_id = $this->request_wrapper->retrieve("ref_id", $this->refinery->kindlyTo()->int());
234 parent::__construct([], $this->ref_id, true, false);
235 }
settings(string $cmd=self::CMD_SETTINGS)
global $DIC
Definition: feed.php:28
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\help(), ILIAS\Repository\lng(), ilObjLearningSequence\OBJ_TYPE, ILIAS\Repository\refinery(), settings(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().

+ Here is the call graph for this function:

Member Function Documentation

◆ _goto()

static ilObjLearningSequenceGUI::_goto ( string  $target)
static

Definition at line 124 of file class.ilObjLearningSequenceGUI.php.

124 : void
125 {
126 global $DIC;
127 $main_tpl = $DIC->ui()->mainTemplate();
128
129 $request = $DIC->http()->request();
130 $lng = $DIC->language();
131 $err = $DIC['ilErr'];
132
133 $targetParameters = explode('_', $target);
134 $id = (int) $targetParameters[0];
135
136 if (!self::isAccessible($id)) {
137 $err->raiseError($lng->txt('msg_no_perm_read'), $err->FATAL);
138 }
139
140 if (self::hasAccess(self::ACCESS_READ, $id)) {
141 $params = ['ref_id' => $id];
142
143 if (isset($request->getQueryParams()['gotolp'])) {
144 $params['gotolp'] = 1;
145 }
146
148 ilRepositoryGUI::class,
149 [ilObjLearningSequenceGUI::class],
150 $params
151 );
152 }
153
154 if (self::hasAccess(self::ACCESS_VISIBLE, $id)) {
156 }
157
158 if (self::hasAccess(self::ACCESS_READ, ROOT_FOLDER_ID)) {
159 $main_tpl->setOnScreenMessage('info', sprintf(
160 $lng->txt('msg_no_perm_read_item'),
162 ), true);
163
164 self::forwardByClass(ilRepositoryGUI::class, [ilRepositoryGUI::class], ['ref_id' => ROOT_FOLDER_ID]);
165 }
166 }
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
static forwardByClass(string $base_class, array $classes, array $params, string $cmd='')
static _gotoRepositoryNode(int $ref_id, string $cmd="")
ServerRequestInterface $request
ilLanguage $lng
static _lookupObjId(int $ref_id)
static _lookupTitle(int $obj_id)
const ROOT_FOLDER_ID
Definition: constants.php:32
if(! $DIC->user() ->getId()||!ilLTIConsumerAccess::hasCustomProviderCreationAccess()) $params
Definition: ltiregstart.php:33

References $DIC, ilObjectGUI\$id, ilObjectGUI\$lng, $params, ilObjectGUI\$request, ilObjectGUI\_gotoRepositoryNode(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), forwardByClass(), ILIAS\Repository\int(), ROOT_FOLDER_ID, and ilLanguage\txt().

+ Here is the call graph for this function:

◆ addContentStyleCss()

ilObjLearningSequenceGUI::addContentStyleCss ( )

Definition at line 468 of file class.ilObjLearningSequenceGUI.php.

468 : void
469 {
470 $this->content_style->gui()->addCss(
471 $this->tpl,
472 $this->object->getRefId()
473 );
474 }

References ILIAS\Repository\object().

Referenced by executeCommand(), and learnerView().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addCustomData()

ilObjLearningSequenceGUI::addCustomData ( array  $a_data)
Returns
array<int|string, mixed>

Definition at line 900 of file class.ilObjLearningSequenceGUI.php.

900 : array
901 {
902 $res_data = array();
903 foreach ($a_data as $usr_id => $user_data) {
904 $res_data[$usr_id] = $user_data;
905 $udf_data = new ilUserDefinedData($usr_id);
906
907 foreach ($udf_data->getAll() as $field => $value) {
908 list(, $field_id) = explode('_', $field);
909 $res_data[$usr_id]['udf_' . $field_id] = (string) $value;
910 }
911 }
912
913 return $res_data;
914 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ addSubTabsForContent()

ilObjLearningSequenceGUI::addSubTabsForContent ( string  $active)
protected

Definition at line 758 of file class.ilObjLearningSequenceGUI.php.

758 : void
759 {
760 $this->tabs->addSubTab(
761 self::TAB_VIEW_CONTENT,
762 $this->lng->txt(self::TAB_VIEW_CONTENT),
763 $this->getLinkTarget(self::CMD_LEARNER_VIEW)
764 );
765
766 if ($this->checkAccess("write")) {
767 $this->tabs->addSubTab(
768 self::TAB_MANAGE,
769 $this->lng->txt(self::TAB_MANAGE),
770 $this->getLinkTarget(self::CMD_CONTENT)
771 );
772
773 $this->tabs->addSubTab(
774 self::TAB_EDIT_INTRO,
775 $this->lng->txt("lso_settings_intro"),
776 $this->ctrl->getLinkTargetByClass(
777 strtolower('ilObjLearningSequenceEditIntroGUI'),
778 'preview'
779 )
780 );
781 $this->tabs->addSubTab(
782 self::TAB_EDIT_EXTRO,
783 $this->lng->txt("lso_settings_extro"),
784 $this->ctrl->getLinkTargetByClass(
785 strtolower('ilObjLearningSequenceEditExtroGUI'),
786 'preview'
787 )
788 );
789 }
790 $this->tabs->activateSubTab($active);
791 }

References checkAccess(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().

Referenced by executeCommand(), learnerView(), and manageContent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ addToNavigationHistory()

ilObjLearningSequenceGUI::addToNavigationHistory ( )

Definition at line 476 of file class.ilObjLearningSequenceGUI.php.

476 : void
477 {
478 if (
479 !$this->getCreationMode() &&
480 $this->access->checkAccess('read', '', $this->ref_id)
481 ) {
482 $link = ilLink::_getLink($this->ref_id, $this->obj_type);
483 $this->navigation_history->addItem($this->ref_id, $link, $this->obj_type);
484 }
485 }

References ilLink\_getLink(), ILIAS\Repository\access(), and ilObjectGUI\getCreationMode().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ afterSave()

ilObjLearningSequenceGUI::afterSave ( ilObject  $new_object)
protected

Post (successful) object creation hook.

Reimplemented from ilObjectGUI.

Definition at line 644 of file class.ilObjLearningSequenceGUI.php.

644 : void
645 {
646 $participant = new ilLearningSequenceParticipants(
647 $new_object->getId(),
648 $this->log,
649 $this->app_event_handler,
650 $this->settings
651 );
652
653 $participant->add($this->user->getId(), ilParticipants::IL_LSO_ADMIN);
654 $participant->updateNotification(
655 $this->user->getId(),
656 (bool) $this->settings->get('mail_lso_admin_notification', "1")
657 );
658
659 $settings = new ilContainerSortingSettings($new_object->getId());
664 $settings->save();
665
666 $this->tpl->setOnScreenMessage('success', $this->lng->txt('object_added'), true);
667 $this->ctrl->setParameter($this, "ref_id", $new_object->getRefId());
669 $this->getReturnLocation(
670 "save",
671 $this->ctrl->getLinkTarget($this, self::CMD_SETTINGS, "", false, false)
672 )
673 );
674 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
const SORT_NEW_ITEMS_ORDER_CREATION
const SORT_NEW_ITEMS_POSITION_BOTTOM
const SORT_DIRECTION_ASC
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilSetting $settings
getReturnLocation(string $cmd, string $default_location="")
Get return location for command (command is method name without "Object", e.g.
static redirect(string $a_script)

References ilObjectGUI\$settings, ILIAS\Repository\ctrl(), ilObject\getId(), ilObject\getRefId(), ilObjectGUI\getReturnLocation(), ilParticipants\IL_LSO_ADMIN, ILIAS\Repository\lng(), ilUtil\redirect(), ilContainer\SORT_DIRECTION_ASC, ilContainer\SORT_MANUAL, ilContainer\SORT_NEW_ITEMS_ORDER_CREATION, ilContainer\SORT_NEW_ITEMS_POSITION_BOTTOM, and ILIAS\Repository\user().

+ Here is the call graph for this function:

◆ checkAccess()

ilObjLearningSequenceGUI::checkAccess ( string  $which)
protected

Definition at line 793 of file class.ilObjLearningSequenceGUI.php.

793 : bool
794 {
795 return $this->access->checkAccess($which, "", $this->ref_id);
796 }

References ILIAS\Repository\access().

Referenced by addSubTabsForContent(), denyAccessIfNotWritePermission(), executeCommand(), getTabs(), members(), unparticipate(), and view().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkLPAccess()

ilObjLearningSequenceGUI::checkLPAccess ( )
protected

Definition at line 798 of file class.ilObjLearningSequenceGUI.php.

798 : bool
799 {
800 if (ilObject::_lookupType($this->ref_id, true) !== "lso") {
801 return false;
802 }
803
804 $ref_id = $this->getObject()->getRefId();
805 $is_participant = ilLearningSequenceParticipants::_isParticipant($ref_id, $this->user->getId());
806
807 return ilLearningProgressAccess::checkAccess($ref_id, $is_participant);
808 }
static checkAccess(int $a_ref_id, bool $a_allow_only_read=true)
check access to learning progress
static _isParticipant(int $a_ref_id, int $a_usr_id)
Static function to check if a user is a participant of the container object.
static _lookupType(int $id, bool $reference=false)

References ilObjectGUI\$ref_id, ilLearningSequenceParticipants\_isParticipant(), ilObject\_lookupType(), ilLearningProgressAccess\checkAccess(), ilObjectGUI\getObject(), and ILIAS\Repository\user().

Referenced by getTabs().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ confirmedDeleteObject()

ilObjLearningSequenceGUI::confirmedDeleteObject ( )

ATTENTION: This mostly is a copy of ilObjectGUI::confirmDeleteObject, but does not redirect to parent afterwards, because we are, in fact, the parent.

Reimplemented from ilObjectGUI.

Definition at line 926 of file class.ilObjLearningSequenceGUI.php.

926 : void
927 {
928 if ($this->post_wrapper->has("mref_id")) {
929 $mref_id = $this->post_wrapper->retrieve(
930 "mref_id",
931 $this->refinery->kindlyTo()->listOf($this->refinery->kindlyTo()->int())
932 );
933 $_SESSION["saved_post"] = array_unique(array_merge($_SESSION["saved_post"], $mref_id));
934 }
935
936 $ru = new ilRepositoryTrashGUI($this);
937 $ru->deleteObjects($this->requested_ref_id, ilSession::get("saved_post") ?? []);
938 ilSession::clear("saved_post");
939 $this->ctrl->redirect($this, self::CMD_CONTENT);
940 }
Repository GUI Utilities.
static get(string $a_var)
static clear(string $a_var)

References ilSession\clear(), ILIAS\Repository\ctrl(), ilSession\get(), and ILIAS\Repository\refinery().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ create()

ilObjLearningSequenceGUI::create ( )
protected

Definition at line 634 of file class.ilObjLearningSequenceGUI.php.

634 : void
635 {
636 parent::createObject();
637 }

◆ createMailSignature()

ilObjLearningSequenceGUI::createMailSignature ( )

Definition at line 838 of file class.ilObjLearningSequenceGUI.php.

838 : string
839 {
840 $link = chr(13) . chr(10) . chr(13) . chr(10);
841 $link .= $this->lng->txt('lso_mail_permanent_link');
842 $link .= chr(13) . chr(10) . chr(13) . chr(10);
843 $link .= ilLink::_getLink($this->object->getRefId());
844
845 return rawurlencode(base64_encode($link));
846 }

References ilLink\_getLink(), ILIAS\Repository\lng(), and ILIAS\Repository\object().

+ Here is the call graph for this function:

◆ denyAccessIfNotWritePermission()

ilObjLearningSequenceGUI::denyAccessIfNotWritePermission ( )
private

Definition at line 946 of file class.ilObjLearningSequenceGUI.php.

946 : void
947 {
948 if (!$this->checkAccess("write")) {
949 $this->tpl->setOnScreenMessage('info', sprintf(
950 $this->lng->txt('msg_no_perm_read_item'),
951 $this->object->getTitle()
952 ), true);
953 $this->ctrl->redirect($this, self::CMD_VIEW);
954 }
955 }

References checkAccess(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ enableDragDropFileUpload()

ilObjLearningSequenceGUI::enableDragDropFileUpload ( )
protected

Enables the file upload into this object by dropping files.

Reimplemented from ilObjectGUI.

Definition at line 942 of file class.ilObjLearningSequenceGUI.php.

942 : void
943 {
944 }

◆ executeCommand()

ilObjLearningSequenceGUI::executeCommand ( )

Reimplemented from ilContainerGUI.

Definition at line 247 of file class.ilObjLearningSequenceGUI.php.

247 : void
248 {
249 $next_class = $this->ctrl->getNextClass($this);
250 $cmd = $this->ctrl->getCmd();
252
253 parent::prepareOutput();
254 $this->addToNavigationHistory();
255 //showRepTree is from containerGUI;
256 //LSO will attach allowed subitems to whitelist
257 //see: $this::getAdditionalWhitelistTypes
258
259 $in_player = (
260 $next_class === 'ilobjlearningsequencelearnergui'
261 && $cmd === 'view'
262 );
263
264 $tpl->setPermanentLink("lso", $this->ref_id);
265
266 switch ($next_class) {
267 case "ilcommonactiondispatchergui":
269 $this->ctrl->forwardCommand($gui);
270 break;
271 case "ilinfoscreengui":
272 $this->info($cmd);
273 break;
274 case "ilpermissiongui":
275 $this->permissions($cmd);
276 break;
277 case "ilobjlearningsequencesettingsgui":
279 $this->settings($cmd);
280 break;
281 case "ilobjlearningsequencecontentgui":
283 $this->manageContent($cmd);
284 break;
285 case "ilobjlearningsequencelearnergui":
286 $this->learnerView($cmd);
287 break;
288 case "illearningsequencemembershipgui":
289 $this->manage_members($cmd);
290 break;
291 case 'illearningprogressgui':
292 $this->learningProgress();
293 break;
294 case 'ilexportgui':
295 $this->export();
296 break;
297 case 'ilobjectcopygui':
298 $cp = new ilObjectCopyGUI($this);
299 $cp->setType('lso');
300 $this->ctrl->forwardCommand($cp);
301 break;
302 case 'ilobjindividualassessmentgui':
303 $struct = ['ilrepositorygui', 'ilobjindividualassessmentgui'];
304 if ($cmd === 'edit') {
305 $struct[] = 'ilindividualassessmentsettingsgui';
306 }
307 $this->ctrl->redirectByClass($struct, $cmd);
308 break;
309 case 'ilobjtestgui':
310 $struct = ['ilrepositorygui', 'ilobjtestgui'];
311 $this->ctrl->redirectByClass($struct, $cmd);
312 break;
313 case 'ilobjlearningsequencelppollinggui':
314 $gui = $this->object->getLocalDI()["gui.learner.lp"];
315 $this->ctrl->setCmd($cmd);
316 $this->ctrl->forwardCommand($gui);
317 break;
318
319 case "ilobjlearningsequenceeditintrogui":
320 $which_page = $this->object::CP_INTRO;
321 $which_tab = self::TAB_EDIT_INTRO;
322 $gui_class = 'ilObjLearningSequenceEditIntroGUI';
323 // no break
324 case "ilobjlearningsequenceeditextrogui":
326
327 if (!isset($which_page)) {
328 $which_page = $this->object::CP_EXTRO;
329 $which_tab = self::TAB_EDIT_EXTRO;
330
331 $gui_class = 'ilObjLearningSequenceEditExtroGUI';
332 }
333
334 $this->addContentStyleCss();
335 $this->addSubTabsForContent($which_tab);
336
337 $page_id = $this->object->getContentPageId($which_page);
338 if (!$this->object->hasContentPage($which_page)) {
339 $this->object->createContentPage($which_page);
340 }
341
342 $gui = new $gui_class(
343 $this->object::CP_TYPE,
344 $page_id
345 );
346 $this->ctrl->setCmd($cmd);
347 $out = $this->ctrl->forwardCommand($gui);
348
349 //editor's guis will write to template, but not return
350 //e.g. see ilPCTabsGUI::insert
351 if (!is_null($out)) {
353 }
354 break;
355
356 case false:
357 if ($cmd === '') {
358 if ($this->checkAccess("write")) {
359 $cmd = self::CMD_CONTENT;
360 } else {
361 $cmd = self::CMD_VIEW;
362 }
363 }
364
365 switch ($cmd) {
366 case self::CMD_IMPORT:
367 $this->importFileObject();
368 break;
369 case self::CMD_INFO:
371 $this->info();
372 break;
373 case self::CMD_VIEW:
378 case self::CMD_SAVE:
379 case self::CMD_CREATE:
381 if (!$this->checkAccess("read")) {
382 $this->tpl->setOnScreenMessage('info', sprintf(
383 $this->lng->txt('msg_no_perm_read_item'),
384 $this->object->getTitle()
385 ), true);
386 break;
387 }
388 $this->$cmd();
389 break;
390 case self::CMD_CANCEL:
391 if ($this->getCreationMode()) {
392 $this->cancelCreation();
393 }
394 break;
396 $this->removeFromDeskObject();
397 $this->view();
398 break;
400 $this->addToDeskObject();
401 $this->view();
402 break;
403 case self::CMD_CUT:
404 $this->cutObject();
405 break;
407 $this->showPasteTreeObject();
408 break;
411 break;
412 case self::CMD_LINK:
413 $this->linkObject();
414 break;
415 case self::CMD_DELETE:
416 $this->deleteObject();
417 break;
419 $this->confirmedDeleteObject();
420 break;
423 break;
425 $this->trashObject();
426 break;
428 $this->undeleteObject();
429 break;
430
434 $cmd = self::CMD_CONTENT;
435 $this->$cmd();
436 break;
437
440 break;
441
442 // This is a temporary implementation (Mantis Ticket 36631)
444 $tpl->setOnScreenMessage("failure", $this->lng->txt('lso_multidownload_not_available'), false);
445 $this->manageContent();
446 break;
447
448 default:
449 throw new ilException("ilObjLearningSequenceGUI: Invalid command '$cmd'");
450 }
451 break;
452 default:
453 throw new ilException("ilObjLearningSequenceGUI: Can't forward to next class $next_class");
454 }
455
456 if (!$in_player) {
457 $this->addHeaderAction();
458 }
459
460 // This is the base class for the call, so we ought to print.
461 // TODO: This is super fishy and most probably hints on the fact, that
462 // something regarding that base class usage needs to change.
463 if (strtolower($this->request_wrapper->retrieve("baseClass", $this->refinery->kindlyTo()->string())) === strtolower(self::class)) {
464 $tpl->printToStdOut();
465 }
466 }
$out
Definition: buildRTE.php:24
static getInstanceFromAjaxCall()
(Re-)Build instance from ajax call
trashObject()
Show trash content of object.
cutObject()
cut object(s) out from a container and write the information to clipboard @access public
undeleteObject()
Get objects back from trash.
linkObject()
create an new reference of an object in tree it's like a hard link of unix
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
confirmedDeleteObject()
ATTENTION: This mostly is a copy of ilObjectGUI::confirmDeleteObject, but does not redirect to parent...
manageContent(string $cmd=self::CMD_CONTENT)
manage_members(string $cmd=self::CMD_MANAGE_MEMBERS)
permissions(string $cmd=self::CMD_PERMISSIONS)
learnerView(string $cmd=self::CMD_LEARNER_VIEW)
GUI class for the workflow of copying objects.
cancelCreation()
cancel create action and go back to repository parent
importFileObject(int $parent_id=null)
ilGlobalTemplateInterface $tpl
deleteObject(bool $error=false)
Display deletion confirmation screen.
addHeaderAction()
Add header action menu.
redrawHeaderActionObject()
Ajax call: redraw action header only.
removeFromDeskObject()
Remove from desktop @access public.
addToDeskObject()
Add desktop item @access public.
setContent(string $a_html)
Sets content for standard template.
setOnScreenMessage(string $type, string $a_txt, bool $a_keep=false)
Set a message to be displayed to the user.
setPermanentLink(string $a_type, ?int $a_id, string $a_append="", string $a_target="", string $a_title="")
Generates and sets a permanent ilias link.

References $out, ilObjectGUI\$tpl, addContentStyleCss(), ilObjectGUI\addHeaderAction(), addSubTabsForContent(), ilDesktopItemHandling\addToDeskObject(), addToNavigationHistory(), ilObjectGUI\cancelCreation(), checkAccess(), CMD_ADD_TO_DESK, CMD_CANCEL, CMD_CANCEL_CUT, CMD_CANCEL_DELETE, CMD_CANCEL_LINK, CMD_CONTENT, CMD_CREATE, CMD_CUT, CMD_CUT_CLIPBOARD, CMD_CUT_SHOWTREE, CMD_DELETE, CMD_DELETE_CONFIRMED, CMD_ENABLE_ADMINISTRATION_PANEL, CMD_IMPORT, CMD_INFO, CMD_INFO_SCREEN, CMD_LEARNER_VIEW, CMD_LINK, CMD_MEMBERS, CMD_PERFORM_PASTE, CMD_REDRAW_HEADER, CMD_REMOVE_FROM_DESK, CMD_SAVE, CMD_SETTINGS, CMD_SHOW_TRASH, CMD_UNDELETE, CMD_UNPARTICIPATE, CMD_VIEW, confirmedDeleteObject(), ILIAS\Repository\ctrl(), ilContainerGUI\cutObject(), ilObjectGUI\deleteObject(), denyAccessIfNotWritePermission(), export(), ilObjectGUI\getCreationMode(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), ilObjectGUI\importFileObject(), info(), ilContainerGUI\keepObjectsInClipboardObject(), learnerView(), learningProgress(), ilContainerGUI\linkObject(), ILIAS\Repository\lng(), manage_members(), manageContent(), ILIAS\Repository\object(), ilContainerGUI\performPasteIntoMultipleObjectsObject(), permissions(), ilObjectGUI\redrawHeaderActionObject(), ilDesktopItemHandling\removeFromDeskObject(), ilGlobalTemplateInterface\setContent(), ilGlobalTemplateInterface\setOnScreenMessage(), ilGlobalTemplateInterface\setPermanentLink(), settings(), ilContainerGUI\showPasteTreeObject(), TAB_EDIT_EXTRO, TAB_EDIT_INTRO, ilContainerGUI\trashObject(), ilContainerGUI\undeleteObject(), and view().

+ Here is the call graph for this function:

◆ export()

ilObjLearningSequenceGUI::export ( )
protected

Definition at line 620 of file class.ilObjLearningSequenceGUI.php.

620 : void
621 {
622 $this->tabs->setTabActive(self::TAB_EXPORT);
623 $gui = new ilExportGUI($this);
624 $gui->addFormat("xml");
625
626 $this->ctrl->forwardCommand($gui);
627 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References ILIAS\Repository\ctrl(), and ILIAS\Repository\tabs().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ forwardByClass()

static ilObjLearningSequenceGUI::forwardByClass ( string  $base_class,
array  $classes,
array  $params,
string  $cmd = '' 
)
staticprotected

Definition at line 183 of file class.ilObjLearningSequenceGUI.php.

183 : void
184 {
185 global $DIC;
186 $ctrl = $DIC->ctrl();
187 $target_class = end($classes);
188
189 $ctrl->setTargetScript('ilias.php');
190 foreach ($params as $key => $value) {
191 $ctrl->setParameterByClass($target_class, $key, $value);
192 }
193
194 // insert the baseclass to the first position.
195 array_splice($classes, 0, 0, $base_class);
196 $ctrl->redirectByClass($classes, $cmd);
197 }
redirectByClass( $a_class, string $a_cmd=null, string $a_anchor=null, bool $is_async=false)
@inheritDoc
setTargetScript(string $a_target_script)
@inheritDoc
setParameterByClass(string $a_class, string $a_parameter, $a_value)
@inheritDoc
string $key
Consumer key/client ID value.
Definition: System.php:193

References ilObjectGUI\$ctrl, $DIC, ILIAS\LTI\ToolProvider\$key, $params, ilCtrl\redirectByClass(), ilCtrl\setParameterByClass(), and ilCtrl\setTargetScript().

Referenced by _goto().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAdditionalWhitelistTypes()

ilObjLearningSequenceGUI::getAdditionalWhitelistTypes ( )
protected

append additional types to ilRepositoryExplorerGUI's whitelist

Returns
int[]|string[]

Definition at line 889 of file class.ilObjLearningSequenceGUI.php.

889 : array
890 {
891 return array_filter(
892 array_keys($this->obj_definition->getSubObjects('lso', false)),
893 fn ($type) => $type !== 'rolf'
894 );
895 }

References ilObjectGUI\$type.

◆ getClassForTabs()

ilObjLearningSequenceGUI::getClassForTabs ( string  $cmd)
protected

Definition at line 820 of file class.ilObjLearningSequenceGUI.php.

820 : string
821 {
822 switch ($cmd) {
824 return 'ilObjLearningSequenceContentGUI';
826 return 'ilObjLearningSequenceLearnerGUI';
828 return 'ilObjLearningSequenceSettingsGUI';
829 case self::CMD_INFO:
830 return 'ilInfoScreenGUI';
832 return 'ilPermissionGUI';
833 }
834
835 throw new InvalidArgumentException('cannot resolve class for command: ' . $cmd);
836 }

References CMD_CONTENT, CMD_INFO, CMD_LEARNER_VIEW, CMD_PERMISSIONS, and CMD_SETTINGS.

Referenced by getLinkTarget().

+ Here is the caller graph for this function:

◆ getLinkTarget()

ilObjLearningSequenceGUI::getLinkTarget ( string  $cmd)
protected

Definition at line 810 of file class.ilObjLearningSequenceGUI.php.

810 : string
811 {
812 $class = $this->getClassForTabs($cmd);
813 $class_path = [
814 strtolower('ilObjLearningSequenceGUI'),
815 $class
816 ];
817 return $this->ctrl->getLinkTargetByClass($class_path, $cmd);
818 }

References ILIAS\Repository\ctrl(), and getClassForTabs().

+ Here is the call graph for this function:

◆ getLocalRoles()

ilObjLearningSequenceGUI::getLocalRoles ( )
Returns
array [role_id => title]

Definition at line 867 of file class.ilObjLearningSequenceGUI.php.

867 : array
868 {
869 $local_roles = $this->object->getLocalLearningSequenceRoles();
870 $lso_member = $this->object->getDefaultMemberRole();
871 $lso_roles = array();
872
873 if (in_array($lso_member, $local_roles)) {
874 $lso_roles[$lso_member] = ilObjRole::_getTranslation(array_search($lso_member, $local_roles));
875 unset($local_roles[$lso_roles[$lso_member]]);
876 }
877
878 foreach ($local_roles as $title => $role_id) {
879 $lso_roles[$role_id] = ilObjRole::_getTranslation($title);
880 }
881
882 return $lso_roles;
883 }
static _getTranslation(string $a_role_title)

References ilObjRole\_getTranslation().

+ Here is the call graph for this function:

◆ getTabs()

ilObjLearningSequenceGUI::getTabs ( )
protected

@abstract overwrite in derived GUI class of your object type

Reimplemented from ilContainerGUI.

Definition at line 685 of file class.ilObjLearningSequenceGUI.php.

685 : void
686 {
687 if ($this->checkAccess("read")) {
688 $this->tabs->addTab(
689 self::TAB_CONTENT_MAIN,
690 $this->lng->txt(self::TAB_CONTENT_MAIN),
691 $this->ctrl->getLinkTarget($this, self::CMD_VIEW, "", false, false)
692 );
693 }
694
695 if ($this->checkAccess("read") || $this->checkAccess("visible")) {
696 $this->tabs->addTab(
697 self::TAB_INFO,
698 $this->lng->txt(self::TAB_INFO),
699 $this->getLinkTarget(self::CMD_INFO)
700 );
701 }
702
703 if ($this->checkAccess("write")) {
704 $this->tabs->addTab(
705 self::TAB_SETTINGS,
706 $this->lng->txt(self::TAB_SETTINGS),
707 $this->getLinkTarget(self::CMD_SETTINGS)
708 );
709 }
710
711 if ($this->checkAccess("read")) {
712 if ($this->checkAccess("manage_members")
713 || (
714 $this->getObject()->getLSSettings()->getMembersGallery()
715 &&
716 $this->getObject()->getLSRoles()->isMember($this->user->getId())
717 )
718 ) {
719 $this->tabs->addTab(
720 self::TAB_MEMBERS,
721 $this->lng->txt(self::TAB_MEMBERS),
722 $this->ctrl->getLinkTarget($this, self::CMD_MEMBERS, "", false, false)
723 );
724 }
725 }
726
728 $this->tabs->addTab(
729 self::TAB_LP,
730 $this->lng->txt(self::TAB_LP),
731 $this->ctrl->getLinkTargetByClass(array('ilobjlearningsequencegui', 'illearningprogressgui'), '')
732 );
733 }
734
735 if ($this->checkAccess("write")) {
736 $this->tabs->addTab(
737 self::TAB_EXPORT,
738 $this->lng->txt(self::TAB_EXPORT),
739 $this->ctrl->getLinkTargetByClass("ilexportgui", "")
740 );
741 }
742
743 if ($this->checkAccess("edit_permission")) {
744 $this->tabs->addTab(
745 self::TAB_PERMISSIONS,
746 $this->lng->txt(self::TAB_PERMISSIONS),
747 $this->getLinkTarget(self::CMD_PERMISSIONS)
748 );
749 }
750 }

References ilObjUserTracking\_enabledLearningProgress(), checkAccess(), checkLPAccess(), ilObjectGUI\getObject(), ILIAS\Repository\lng(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().

+ Here is the call graph for this function:

◆ getTrackingObject()

ilObjLearningSequenceGUI::getTrackingObject ( )
protected

Definition at line 859 of file class.ilObjLearningSequenceGUI.php.

Referenced by manage_members().

+ Here is the caller graph for this function:

◆ hasAccess()

static ilObjLearningSequenceGUI::hasAccess ( string  $mode,
int  $id 
)
staticprotected

Definition at line 177 of file class.ilObjLearningSequenceGUI.php.

177 : bool
178 {
179 global $DIC;
180 return $DIC->access()->checkAccess($mode, '', $id);
181 }

References $DIC, and ilObjectGUI\$id.

Referenced by isAccessible().

+ Here is the caller graph for this function:

◆ info()

ilObjLearningSequenceGUI::info ( string  $cmd = self::CMD_INFO)
protected

Definition at line 487 of file class.ilObjLearningSequenceGUI.php.

487 : void
488 {
489 $this->tabs->setTabActive(self::TAB_INFO);
490 $this->ctrl->setCmdClass('ilinfoscreengui');
491 $this->ctrl->setCmd($cmd);
492 $info = new ilInfoScreenGUI($this);
493 $this->ctrl->forwardCommand($info);
494 }
Class ilInfoScreenGUI.

References ILIAS\Repository\ctrl(), and ILIAS\Repository\tabs().

Referenced by executeCommand(), and view().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initDidacticTemplate()

ilObjLearningSequenceGUI::initDidacticTemplate ( ilPropertyFormGUI  $form)
protected

Reimplemented from ilObjectGUI.

Definition at line 629 of file class.ilObjLearningSequenceGUI.php.

630 {
631 return $form;
632 }
ilPropertyFormGUI $form
This class represents a property form user interface.

References ilContainerGUI\$form.

◆ isAccessible()

static ilObjLearningSequenceGUI::isAccessible ( int  $id)
staticprotected

Definition at line 168 of file class.ilObjLearningSequenceGUI.php.

168 : bool
169 {
170 return $id > 0 && (
171 self::hasAccess(self::ACCESS_READ, $id) ||
172 self::hasAccess(self::ACCESS_VISIBLE, $id) ||
173 self::hasAccess(self::ACCESS_READ, ROOT_FOLDER_ID)
174 );
175 }
static hasAccess(string $mode, int $id)

References ilObjectGUI\$id, hasAccess(), and ROOT_FOLDER_ID.

+ Here is the call graph for this function:

◆ learnerView()

ilObjLearningSequenceGUI::learnerView ( string  $cmd = self::CMD_LEARNER_VIEW)
protected

Definition at line 558 of file class.ilObjLearningSequenceGUI.php.

558 : void
559 {
560 $this->addContentStyleCss();
561 $this->tabs->activateTab(self::TAB_CONTENT_MAIN);
562 $this->addSubTabsForContent(self::TAB_VIEW_CONTENT);
563
564 $gui = $this->object->getLocalDI()["gui.learner"];
565
566 $this->ctrl->setCmd($cmd);
567 $this->ctrl->forwardCommand($gui);
568 }

References addContentStyleCss(), addSubTabsForContent(), ILIAS\Repository\ctrl(), and ILIAS\Repository\tabs().

Referenced by executeCommand(), unparticipate(), and view().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ learningProgress()

ilObjLearningSequenceGUI::learningProgress ( )
protected

Definition at line 602 of file class.ilObjLearningSequenceGUI.php.

602 : void
603 {
604 $this->tabs->setTabActive(self::TAB_LP);
605
606 $for_user = $this->user->getId();
607
608 if ($this->request_wrapper->has("user_id")) {
609 $for_user = $this->request_wrapper->retrieve("user_id", $this->refinery->kindlyTo()->int());
610 }
611
612 $lp_gui = new ilLearningProgressGUI(
614 $this->getObject()->getRefId(),
615 $for_user
616 );
617 $this->ctrl->forwardCommand($lp_gui);
618 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References ILIAS\Repository\ctrl(), ilObjectGUI\getObject(), ilObjectGUI\getRefId(), ilLearningProgressBaseGUI\LP_CONTEXT_REPOSITORY, ILIAS\Repository\refinery(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ manage_members()

ilObjLearningSequenceGUI::manage_members ( string  $cmd = self::CMD_MANAGE_MEMBERS)
protected

Definition at line 581 of file class.ilObjLearningSequenceGUI.php.

581 : void
582 {
583 $this->tabs->setTabActive(self::TAB_MEMBERS);
584
586 $this,
587 $this->getObject(),
588 $this->getTrackingObject(),
590 $this->rbac_review,
591 $this->settings,
592 $this->toolbar,
593 $this->request_wrapper,
594 $this->post_wrapper,
595 $this->refinery
596 );
597
598 $this->ctrl->setCmd($cmd);
599 $this->ctrl->forwardCommand($ms_gui);
600 }
GUI class for learning sequence membership features.

References ILIAS\Repository\ctrl(), ilPrivacySettings\getInstance(), ilObjectGUI\getObject(), getTrackingObject(), ILIAS\Repository\refinery(), settings(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().

Referenced by executeCommand(), and members().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ manageContent()

ilObjLearningSequenceGUI::manageContent ( string  $cmd = self::CMD_CONTENT)
protected

Definition at line 536 of file class.ilObjLearningSequenceGUI.php.

536 : void
537 {
538 $this->tabs->activateTab(self::TAB_CONTENT_MAIN);
539 $this->addSubTabsForContent(self::TAB_MANAGE);
540
542 $this,
543 $this->ctrl,
544 $this->tpl,
545 $this->lng,
546 $this->access,
547 new ilConfirmationGUI(),
548 new LSItemOnlineStatus(),
549 $this->post_wrapper,
550 $this->refinery,
551 $this->ui_factory,
552 $this->ui_renderer,
553 );
554 $this->ctrl->setCmd($cmd);
555 $this->ctrl->forwardCommand($gui);
556 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References ILIAS\Repository\access(), addSubTabsForContent(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\tabs().

Referenced by executeCommand(), and view().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ members()

ilObjLearningSequenceGUI::members ( )
protected

Definition at line 570 of file class.ilObjLearningSequenceGUI.php.

570 : void
571 {
572 $may_manage_members = $this->checkAccess("edit_members");
573 $this->ctrl->setCmdClass('ilLearningSequenceMembershipGUI');
574 if ($may_manage_members) {
575 $this->manage_members();
576 } else {
577 $this->manage_members(self::CMD_MEMBERS_GALLERY);
578 }
579 }

References checkAccess(), ILIAS\Repository\ctrl(), and manage_members().

+ Here is the call graph for this function:

◆ permissions()

ilObjLearningSequenceGUI::permissions ( string  $cmd = self::CMD_PERMISSIONS)
protected

Definition at line 496 of file class.ilObjLearningSequenceGUI.php.

496 : void
497 {
498 $this->tabs->setTabActive(self::TAB_PERMISSIONS);
499 $perm_gui = new ilPermissionGUI($this);
500 $this->ctrl->setCmd($cmd);
501 $this->ctrl->forwardCommand($perm_gui);
502 }
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.

References ILIAS\Repository\ctrl(), and ILIAS\Repository\tabs().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ recordLearningSequenceRead()

ilObjLearningSequenceGUI::recordLearningSequenceRead ( )
protected

Definition at line 237 of file class.ilObjLearningSequenceGUI.php.

237 : void
238 {
240 $this->object->getType(),
241 $this->object->getRefId(),
242 $this->object->getId(),
243 $this->user->getId()
244 );
245 }
static _recordReadEvent(string $a_type, int $a_ref_id, int $obj_id, int $usr_id, bool $isCatchupWriteEvents=true, $a_ext_rc=null, $a_ext_time=null)

References ilChangeEvent\_recordReadEvent(), and ILIAS\Repository\object().

Referenced by view().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ renderObject()

ilObjLearningSequenceGUI::renderObject ( )

Reimplemented from ilContainerGUI.

Definition at line 752 of file class.ilObjLearningSequenceGUI.php.

752 : void
753 {
754 // disables this method in ilContainerGUI
755 }

◆ save()

ilObjLearningSequenceGUI::save ( )
protected

Definition at line 639 of file class.ilObjLearningSequenceGUI.php.

639 : void
640 {
641 parent::saveObject();
642 }

◆ settings()

ilObjLearningSequenceGUI::settings ( string  $cmd = self::CMD_SETTINGS)
protected

Definition at line 504 of file class.ilObjLearningSequenceGUI.php.

504 : void
505 {
506 $this->tabs->activateTab(self::TAB_SETTINGS);
508 $this->getObject(),
509 $this->ctrl,
510 $this->lng,
511 $this->tpl,
512 $this->obj_service,
513 $this->post_wrapper,
514 $this->refinery,
515 $this->toolbar
516 );
517 $this->ctrl->setCmd($cmd);
518 $this->ctrl->forwardCommand($gui);
519 }

References ILIAS\Repository\ctrl(), ilObjectGUI\getObject(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().

Referenced by __construct(), executeCommand(), and manage_members().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showPossibleSubObjects()

ilObjLearningSequenceGUI::showPossibleSubObjects ( )

show possible sub objects (pull down menu)

Reimplemented from ilContainerGUI.

Definition at line 916 of file class.ilObjLearningSequenceGUI.php.

916 : void
917 {
918 $gui = new ilObjectAddNewItemGUI($this->object->getRefId());
919 $gui->render();
920 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References ILIAS\Repository\object().

+ Here is the call graph for this function:

◆ unparticipate()

ilObjLearningSequenceGUI::unparticipate ( )

Definition at line 676 of file class.ilObjLearningSequenceGUI.php.

676 : void
677 {
678 if ($this->checkAccess('unparticipate')) {
679 $usr_id = $this->user->getId();
680 $this->getObject()->getLSRoles()->leave($usr_id);
681 $this->learnerView();
682 }
683 }

References checkAccess(), ilObjectGUI\getObject(), learnerView(), and ILIAS\Repository\user().

+ Here is the call graph for this function:

◆ view()

ilObjLearningSequenceGUI::view ( )
protected

Definition at line 521 of file class.ilObjLearningSequenceGUI.php.

521 : void
522 {
524 $this->tabs->clearSubTabs();
525 if ($this->checkAccess("write")) {
526 $this->manageContent(self::CMD_CONTENT);
527 return;
528 } elseif ($this->checkAccess("read")) {
529 $this->learnerView(self::CMD_LEARNER_VIEW);
530 return;
531 } else {
532 $this->info(self::CMD_INFO);
533 }
534 }

References checkAccess(), info(), learnerView(), manageContent(), recordLearningSequenceRead(), and ILIAS\Repository\tabs().

Referenced by executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $content_style

ILIAS Style Content Service ilObjLearningSequenceGUI::$content_style
protected

Definition at line 109 of file class.ilObjLearningSequenceGUI.php.

◆ $data_factory

Data Factory ilObjLearningSequenceGUI::$data_factory
protected

Definition at line 119 of file class.ilObjLearningSequenceGUI.php.

◆ $help

ilHelpGUI ilObjLearningSequenceGUI::$help
protected

Definition at line 116 of file class.ilObjLearningSequenceGUI.php.

◆ $ls_object

ilObjLearningSequence ilObjLearningSequenceGUI::$ls_object
protected

Definition at line 114 of file class.ilObjLearningSequenceGUI.php.

◆ $navigation_history

ilNavigationHistory ilObjLearningSequenceGUI::$navigation_history
protected

Definition at line 112 of file class.ilObjLearningSequenceGUI.php.

◆ $obj_service

ilObjectService ilObjLearningSequenceGUI::$obj_service
protected

Definition at line 113 of file class.ilObjLearningSequenceGUI.php.

◆ $obj_type

string ilObjLearningSequenceGUI::$obj_type
protected

Definition at line 111 of file class.ilObjLearningSequenceGUI.php.

◆ $post_wrapper

ArrayBasedRequestWrapper ilObjLearningSequenceGUI::$post_wrapper
protected

Definition at line 121 of file class.ilObjLearningSequenceGUI.php.

◆ $rbac_review

ilRbacReview ilObjLearningSequenceGUI::$rbac_review
protected

Definition at line 115 of file class.ilObjLearningSequenceGUI.php.

◆ $refinery

ILIAS Refinery Factory ilObjLearningSequenceGUI::$refinery
protected

Definition at line 122 of file class.ilObjLearningSequenceGUI.php.

◆ $request_wrapper

ILIAS HTTP Wrapper RequestWrapper ilObjLearningSequenceGUI::$request_wrapper
protected

Definition at line 120 of file class.ilObjLearningSequenceGUI.php.

◆ $ui_factory

ILIAS UI Factory ilObjLearningSequenceGUI::$ui_factory
protected

Definition at line 117 of file class.ilObjLearningSequenceGUI.php.

◆ $ui_renderer

ILIAS UI Renderer ilObjLearningSequenceGUI::$ui_renderer
protected

Definition at line 118 of file class.ilObjLearningSequenceGUI.php.

◆ ACCESS_READ

const ilObjLearningSequenceGUI::ACCESS_READ = 'read'

Definition at line 107 of file class.ilObjLearningSequenceGUI.php.

◆ ACCESS_VISIBLE

const ilObjLearningSequenceGUI::ACCESS_VISIBLE = 'visible'

Definition at line 108 of file class.ilObjLearningSequenceGUI.php.

◆ CMD_ADD_TO_DESK

const ilObjLearningSequenceGUI::CMD_ADD_TO_DESK = "addToDesk"

Definition at line 73 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_CANCEL

const ilObjLearningSequenceGUI::CMD_CANCEL = "cancel"

Definition at line 71 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_CANCEL_CUT

const ilObjLearningSequenceGUI::CMD_CANCEL_CUT = "cancelCut"

Definition at line 78 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_CANCEL_DELETE

const ilObjLearningSequenceGUI::CMD_CANCEL_DELETE = "cancelDelete"

Definition at line 82 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_CANCEL_LINK

const ilObjLearningSequenceGUI::CMD_CANCEL_LINK = "cancelMoveLink"

Definition at line 76 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_CONTENT

const ilObjLearningSequenceGUI::CMD_CONTENT = "manageContent"

◆ CMD_CREATE

const ilObjLearningSequenceGUI::CMD_CREATE = "create"

Definition at line 69 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_CUT

const ilObjLearningSequenceGUI::CMD_CUT = "cut"

Definition at line 77 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_CUT_CLIPBOARD

const ilObjLearningSequenceGUI::CMD_CUT_CLIPBOARD = "keepObjectsInClipboard"

Definition at line 80 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_CUT_SHOWTREE

const ilObjLearningSequenceGUI::CMD_CUT_SHOWTREE = "showPasteTree"

Definition at line 79 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_DELETE

const ilObjLearningSequenceGUI::CMD_DELETE = "delete"

Definition at line 81 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_DELETE_CONFIRMED

const ilObjLearningSequenceGUI::CMD_DELETE_CONFIRMED = "confirmedDelete"

Definition at line 83 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_ENABLE_ADMINISTRATION_PANEL

const ilObjLearningSequenceGUI::CMD_ENABLE_ADMINISTRATION_PANEL = "enableAdministrationPanel"

Definition at line 88 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_EXPORT

const ilObjLearningSequenceGUI::CMD_EXPORT = "export"

Definition at line 67 of file class.ilObjLearningSequenceGUI.php.

◆ CMD_IMPORT

const ilObjLearningSequenceGUI::CMD_IMPORT = "importFile"

Definition at line 68 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_INFO

const ilObjLearningSequenceGUI::CMD_INFO = "showSummary"

Definition at line 63 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand(), and getClassForTabs().

◆ CMD_INFO_SCREEN

const ilObjLearningSequenceGUI::CMD_INFO_SCREEN = "infoScreen"

Definition at line 64 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_LEARNER_VIEW

const ilObjLearningSequenceGUI::CMD_LEARNER_VIEW = "learnerView"

◆ CMD_LINK

const ilObjLearningSequenceGUI::CMD_LINK = "link"

Definition at line 75 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_MANAGE_MEMBERS

const ilObjLearningSequenceGUI::CMD_MANAGE_MEMBERS = "participants"

Definition at line 60 of file class.ilObjLearningSequenceGUI.php.

◆ CMD_MEMBERS

const ilObjLearningSequenceGUI::CMD_MEMBERS = "members"

Definition at line 59 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_MEMBERS_GALLERY

const ilObjLearningSequenceGUI::CMD_MEMBERS_GALLERY = "jump2UsersGallery"

Definition at line 61 of file class.ilObjLearningSequenceGUI.php.

◆ CMD_PERFORM_PASTE

const ilObjLearningSequenceGUI::CMD_PERFORM_PASTE = 'performPasteIntoMultipleObjects'

Definition at line 84 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_PERMISSIONS

const ilObjLearningSequenceGUI::CMD_PERMISSIONS = "perm"

Definition at line 66 of file class.ilObjLearningSequenceGUI.php.

Referenced by getClassForTabs().

◆ CMD_REDRAW_HEADER

const ilObjLearningSequenceGUI::CMD_REDRAW_HEADER = 'redrawHeaderAction'

Definition at line 87 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_REMOVE_FROM_DESK

const ilObjLearningSequenceGUI::CMD_REMOVE_FROM_DESK = "removeFromDesk"

Definition at line 74 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_SAVE

const ilObjLearningSequenceGUI::CMD_SAVE = "save"

Definition at line 70 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_SETTINGS

const ilObjLearningSequenceGUI::CMD_SETTINGS = "settings"

◆ CMD_SHOW_TRASH

const ilObjLearningSequenceGUI::CMD_SHOW_TRASH = 'trash'

Definition at line 85 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_UNDELETE

const ilObjLearningSequenceGUI::CMD_UNDELETE = 'undelete'

Definition at line 86 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ CMD_UNPARTICIPATE

const ilObjLearningSequenceGUI::CMD_UNPARTICIPATE = "unparticipate"

◆ CMD_VIEW

const ilObjLearningSequenceGUI::CMD_VIEW = "view"

◆ MAIL_ALLOWED_ALL

const ilObjLearningSequenceGUI::MAIL_ALLOWED_ALL = 1

Definition at line 104 of file class.ilObjLearningSequenceGUI.php.

◆ MAIL_ALLOWED_TUTORS

const ilObjLearningSequenceGUI::MAIL_ALLOWED_TUTORS = 2

Definition at line 105 of file class.ilObjLearningSequenceGUI.php.

◆ TAB_CONTENT_MAIN

const ilObjLearningSequenceGUI::TAB_CONTENT_MAIN = "manage_content_maintab"

◆ TAB_EDIT_EXTRO

const ilObjLearningSequenceGUI::TAB_EDIT_EXTRO = "edit_extropage"

Definition at line 101 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ TAB_EDIT_INTRO

const ilObjLearningSequenceGUI::TAB_EDIT_INTRO = "edit_intropage"

Definition at line 100 of file class.ilObjLearningSequenceGUI.php.

Referenced by executeCommand().

◆ TAB_EXPORT

const ilObjLearningSequenceGUI::TAB_EXPORT = "export"

Definition at line 98 of file class.ilObjLearningSequenceGUI.php.

◆ TAB_INFO

const ilObjLearningSequenceGUI::TAB_INFO = "show_summary"

Definition at line 93 of file class.ilObjLearningSequenceGUI.php.

◆ TAB_LP

const ilObjLearningSequenceGUI::TAB_LP = "learning_progress"

Definition at line 97 of file class.ilObjLearningSequenceGUI.php.

◆ TAB_MANAGE

const ilObjLearningSequenceGUI::TAB_MANAGE = "manage"

Definition at line 91 of file class.ilObjLearningSequenceGUI.php.

◆ TAB_MEMBERS

const ilObjLearningSequenceGUI::TAB_MEMBERS = "members"

Definition at line 96 of file class.ilObjLearningSequenceGUI.php.

◆ TAB_PERMISSIONS

const ilObjLearningSequenceGUI::TAB_PERMISSIONS = "perm_settings"

Definition at line 95 of file class.ilObjLearningSequenceGUI.php.

◆ TAB_SETTINGS

const ilObjLearningSequenceGUI::TAB_SETTINGS = "settings"

Definition at line 94 of file class.ilObjLearningSequenceGUI.php.

◆ TAB_VIEW_CONTENT

const ilObjLearningSequenceGUI::TAB_VIEW_CONTENT = "view"

Definition at line 90 of file class.ilObjLearningSequenceGUI.php.


The documentation for this class was generated from the following file: