|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Screens of the repository object type lti. More...
Inheritance diagram for ilObjLTIToolGUI:
Collaboration diagram for ilObjLTIToolGUI:Public Member Functions | |
| getType () | |
| Functions that must be overwritten. More... | |
| executeCommand () | |
| create () | |
| Offers the tools the user may pick and, with the permission to define tools, a form for one of their own. More... | |
| save () | |
| Creates the object for the tool of the request. More... | |
Public Member Functions inherited from ilObject2GUI | |
| __construct (int $id=0, int $id_type=self::REPOSITORY_NODE_ID, int $parent_node_id=0) | |
| executeCommand () | |
| execute command More... | |
| getIdType () | |
| delete () | |
| Display delete confirmation form (repository/workspace switch) More... | |
| confirmedDelete () | |
| Delete objects (repository/workspace switch) More... | |
| getHTML () | |
| withReferences () | |
| Final/Private declaration of unchanged parent methods. 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) | |
| isVisible (int $ref_id, string $type) | |
| setColumnSettings (ilColumnGUI $column_gui) | |
| view () | |
| view object content (repository/workspace switch) More... | |
| getType () | |
| Functions that must be overwritten. More... | |
| create () | |
| CRUD. More... | |
| save () | |
| edit () | |
| update () | |
| cancel () | |
| putObjectInTree (ilObject $obj, ?int $parent_node_id=null) | |
| Add object to tree at given position. More... | |
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) | |
Static Public Member Functions | |
| static | _goto (string $a_target) |
| Permanent link of an object: it opens with the permission to read, its info screen with the permission to see it only. More... | |
Static Public Member Functions inherited from ilObject2GUI | |
| static | handleAfterSaveCallback (ilObject $obj, ?int $callback_ref_id) |
| After creation callback. 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 string | CMD_LAUNCH = 'launch' |
| const string | CMD_DELIVER_CERTIFICATE = 'deliverCertificate' |
| const string | CMD_SELECT_CONTENT = 'selectContent' |
| const string | ORIGIN_PARAM = 'origin_ref_id' |
Data Fields inherited from ilObject2GUI | |
| const | OBJECT_ID = 0 |
| const | REPOSITORY_NODE_ID = 1 |
| const | WORKSPACE_NODE_ID = 2 |
| const | REPOSITORY_OBJECT_ID = 3 |
| const | WORKSPACE_OBJECT_ID = 4 |
| const | PORTFOLIO_OBJECT_ID = 5 |
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 | |
| setTabs () | |
| saveOwnTool () | |
| Stores a tool of the user and creates the object for it. More... | |
| registerTool () | |
| Registers a tool of the user through LTI Advantage Dynamic Registration: the registration page of the tool opens in an iframe, and the object is created once the tool says it is done. More... | |
| finishRegistration () | |
| Creates the object for the tool a registration of the user stored. More... | |
| selectContent () | |
| Picks the content of new objects in a tool that offers Deep Linking, from an object of the tool: the objects are created next to it, as earlier releases did. More... | |
| startDeepLinking () | |
| Content of the iframe: starts the Deep Linking request at the tool. More... | |
| finishDeepLinking () | |
| Where the tool posts the content the user picked, inside the iframe: an object is created for each resource link, and the whole window goes on to the settings of the object, or to the container when there are several. More... | |
| deliverCertificate () | |
| The certificate of the current user, once they have one. More... | |
| initHeaderAction (?string $sub_type=null, ?int $sub_id=null) | |
| The header offers the certificate of the current user, once they have one. More... | |
| infoScreen () | |
| The command the info action of the listing calls. More... | |
| launch () | |
Protected Member Functions inherited from ilObject2GUI | |
| afterConstructor () | |
| Do anything that should be done after constructor in here. More... | |
| assignObject () | |
| create object instance as internal property (repository/workspace switch) More... | |
| getAccessHandler () | |
| setLocator () | |
| set Locator More... | |
| deleteConfirmedObjects () | |
| Delete objects (workspace specific) This should probably be moved elsewhere as done with RepUtil. More... | |
| setTitleAndDescription () | |
| omitLocator (bool $omit=true) | |
| getTargetFrame (string $cmd, string $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... | |
| getCenterColumnHTML () | |
| Get center column. More... | |
| getRightColumnHTML () | |
| Display right column. More... | |
| checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null) | |
| showPossibleSubObjects () | |
| show possible sub objects (pull down menu) 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... | |
| addAdminLocatorItems (bool $do_not_add_object=false) | |
| should be overwritten to add object specific items (repository items are preloaded) More... | |
| setTabs () | |
| create tabs (repository/workspace switch) More... | |
| getReturnLocation (string $cmd, string $location="") | |
| Deprecated functions. More... | |
| setReturnLocation (string $cmd, string $location) | |
| set specific return location for command More... | |
| showActions () | |
| getTabs () | |
| @abstract overwrite in derived GUI class of your object type More... | |
| addLocatorItems () | |
| Functions to be overwritten. More... | |
| checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $node_id=null) | |
| initHeaderAction (?string $sub_type=null, ?int $sub_id=null) | |
| Add header action menu. More... | |
| redrawHeaderAction () | |
| Updating icons after ajax call. More... | |
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 | |
| addReportTabs () | |
| The reports on what users did in the tool, each one only where the tool provides its data. More... | |
| getReports () | |
| The reports, by tab, with their GUI and whether the user may see them. More... | |
| assertReportAccess (string $tab) | |
| trackReadEvent () | |
| Opening an object counts as reading it, which the learning progress takes into account. More... | |
| renderCreation (?Form $own_form=null, ?Form $registration_form=null) | |
| The ways of creating an object, one section each, with the first one open. More... | |
| showDeepLinking (ilLTITool $tool, string $custom_params='') | |
| The iframe the tool shows its content in for the user to pick. More... | |
| buildRegistrationForm () | |
| buildToolSelection () | |
| buildOwnTool (?Form $form) | |
| Each LTI version has its own form, because they authenticate the tool differently. More... | |
| buildVersionControl (string $active) | |
| buildOwnToolForm () | |
| getOwnToolAction () | |
| getRequestedVersion () | |
| createOrSelectContent (ilLTITool $tool, string $custom_params='') | |
| A tool that offers Deep Linking lets the user pick the content of the objects first. More... | |
| createToolObject (ilLTITool $tool, string $title, string $description, string $custom_params) | |
| getSettingsLink (ilObjLTITool $object) | |
| getStaticLink (int $ref_id) | |
| getContainerRefId () | |
| The container a new object is created in. More... | |
| assertCreationAccess () | |
| getDeepLinkingState () | |
| getOriginRefId () | |
| The object whose tool settings the content is picked from, 0 on the creation screen. More... | |
| isContentAvailable () | |
| Launching needs the object online and a tool that is still available. More... | |
| configureInfoScreen (ilInfoScreenGUI $info) | |
| What the info screen tells about the tool is what a user needs to judge the data it receives. More... | |
| getToolIdParameter () | |
| getStringParameter (string $name) | |
| getIntParameter (string $name) | |
| assertOwnToolCreationAccess () | |
| getLTIObject () | |
Private Attributes | |
| const string | CMD_SAVE_OWN_TOOL = 'saveOwnTool' |
| const string | CMD_REGISTER_TOOL = 'registerTool' |
| const string | CMD_FINISH_REGISTRATION = 'finishRegistration' |
| const string | REGISTRATION_PARAM = 'registration' |
| const string | REGISTRATION_FRAME_ID = 'il_lti_registration_frame' |
| const string | CMD_START_DEEP_LINKING = 'startDeepLinking' |
| const string | CMD_FINISH_DEEP_LINKING = 'finishDeepLinking' |
| const string | DEEP_LINKING_PARAM = 'deep_linking' |
| const string | VERSION_PARAM = 'version' |
| const string | TAB_CONTENT = 'tab_content' |
| const string | TAB_INFO = 'tab_info' |
| const string | TAB_SETTINGS = 'tab_settings' |
| const string | TAB_STATEMENTS = 'tab_statements' |
| const string | TAB_RANKING = 'tab_scoring' |
| const string | TAB_GRADEBOOK = 'tab_grade_synchronization' |
| const string | TAB_LEARNING_PROGRESS = 'learning_progress' |
| const string | TAB_METADATA = 'meta_data' |
| const string | TAB_PERMISSIONS = 'id_permissions' |
Screens of the repository object type lti.
The object is created for one tool, which cannot be changed afterwards, and opening it launches that tool.
@ilCtrl_Calls ilObjLTIToolGUI: ilCommonActionDispatcherGUI @ilCtrl_Calls ilObjLTIToolGUI: ilInfoScreenGUI @ilCtrl_Calls ilObjLTIToolGUI: ilLearningProgressGUI @ilCtrl_Calls ilObjLTIToolGUI: ilLTIToolXapiStatementsGUI @ilCtrl_Calls ilObjLTIToolGUI: ilLTIObjectGradebookGUI @ilCtrl_Calls ilObjLTIToolGUI: ilLTIObjectRankingGUI @ilCtrl_Calls ilObjLTIToolGUI: ilLTIObjectSettingsGUI @ilCtrl_Calls ilObjLTIToolGUI: ilLTIToolLaunchGUI @ilCtrl_Calls ilObjLTIToolGUI: ilLTIToolSettingsGUI @ilCtrl_Calls ilObjLTIToolGUI: ilObjectMetaDataGUI @ilCtrl_Calls ilObjLTIToolGUI: ilPermissionGUI
Definition at line 45 of file class.ilObjLTIToolGUI.php.
|
static |
Permanent link of an object: it opens with the permission to read, its info screen with the permission to see it only.
| ilCtrlException |
Definition at line 82 of file class.ilObjLTIToolGUI.php.
References ilObject2GUI\$access, $DIC, ilObject2GUI\$error, ilObject2GUI\$lng, ilObjectGUI\$ref_id, ilObjectGUI\_gotoRepositoryNode(), ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilLTISessionCookie\allowCrossSite(), ilRBACAccessHandler\checkAccess(), ILIAS\Repository\int(), ilErrorHandling\raiseError(), ROOT_FOLDER_ID, and ilLanguage\txt().
Here is the call graph for this function:
|
private |
The reports on what users did in the tool, each one only where the tool provides its data.
| ilCtrlException | |
| ilObjectException |
Definition at line 273 of file class.ilObjLTIToolGUI.php.
References getReports(), and ILIAS\Repository\lng().
Referenced by setTabs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 935 of file class.ilObjLTIToolGUI.php.
References ilObject2GUI\checkPermissionBool(), getType(), and ILIAS\Repository\lng().
Referenced by finishDeepLinking(), selectContent(), and startDeepLinking().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1043 of file class.ilObjLTIToolGUI.php.
References ilObjLTIAdministrationAccess\hasOwnToolCreationAccess(), and ILIAS\Repository\lng().
Referenced by finishRegistration(), registerTool(), and saveOwnTool().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| ilObjectException |
Definition at line 305 of file class.ilObjLTIToolGUI.php.
References getReports(), and ILIAS\Repository\lng().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Each LTI version has its own form, because they authenticate the tool differently.
The control on top switches between them.
| Form | null | $form |
| ilCtrlException |
Definition at line 785 of file class.ilObjLTIToolGUI.php.
References $version, buildOwnToolForm(), buildVersionControl(), ilLTIToolForm\getDeprecationNotice(), getOwnToolAction(), getRequestedVersion(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 824 of file class.ilObjLTIToolGUI.php.
References getRequestedVersion(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Referenced by buildOwnTool(), and saveOwnTool().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| ilCtrlException |
Definition at line 681 of file class.ilObjLTIToolGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by finishRegistration(), and registerTool().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| ilCtrlException |
Definition at line 769 of file class.ilObjLTIToolGUI.php.
References ILIAS\Repository\ctrl(), and ilLTIToolTable\forSelection().
Here is the call graph for this function:
|
private |
| ilCtrlException |
Definition at line 806 of file class.ilObjLTIToolGUI.php.
References $version, ILIAS\Repository\ctrl(), ilLTITool\getVersionLabels(), and ILIAS\Repository\lng().
Referenced by buildOwnTool().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
What the info screen tells about the tool is what a user needs to judge the data it receives.
| ilObjectException |
Definition at line 973 of file class.ilObjLTIToolGUI.php.
References $info, ilObjectGUI\$object, ilLPObjSettings\_lookupDBMode(), ilInfoScreenGUI\addProperty(), ilLTITool\AVAILABILITY_NONE, ilObject2GUI\checkPermissionBool(), ilInfoScreenGUI\enableNewsEditing(), ilInfoScreenGUI\enablePrivateNotes(), ilObject\getId(), getLTIObject(), ilObjCmiXapiGUI\getPrivacyIdentString(), ilObjCmiXapiGUI\getPrivacyNameString(), ilObject\getType(), ILIAS\Repository\lng(), and ilLPObjSettings\LP_MODE_DEACTIVATED.
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjLTIToolGUI::create | ( | ) |
Offers the tools the user may pick and, with the permission to define tools, a form for one of their own.
There is no title to fill in: an object is named after its tool.
| ilCtrlException |
Reimplemented from ilObject2GUI.
Definition at line 336 of file class.ilObjLTIToolGUI.php.
References ilObject2GUI\checkPermissionBool(), getType(), ILIAS\Repository\lng(), and renderCreation().
Referenced by executeCommand(), and save().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
A tool that offers Deep Linking lets the user pick the content of the objects first.
Otherwise the object carries the title and the description of its tool, as there is nothing else to name it after.
| string | $custom_params | the custom parameters of the object, in the format of its settings |
| ilCtrlException | |
| ilMDServicesException | |
| RandomException |
Definition at line 863 of file class.ilObjLTIToolGUI.php.
References ilObjectGUI\$object, createToolObject(), ILIAS\Repository\ctrl(), getSettingsLink(), ILIAS\Repository\lng(), ilLTITool\offersDeepLinking(), and showDeepLinking().
Referenced by finishRegistration(), save(), and saveOwnTool().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| string | $title | the title of the object, the one of the tool when empty |
| string | $description | the description of the object, used with its title only |
| ilMDServicesException |
Definition at line 882 of file class.ilObjLTIToolGUI.php.
References ilObjectGUI\$object, ilObject\create(), ilObject\createMetaData(), ILIAS\Repository\ctrl(), ilLTITool\getDescription(), ilLTITool\getId(), ilLTITool\getMasteryScore(), ilLTITool\getTitle(), getType(), ilObject\processAutoRating(), ilObject2GUI\putObjectInTree(), ilObject\setDescription(), ilObject\setTitle(), and ilObject\setType().
Referenced by createOrSelectContent(), and finishDeepLinking().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
The certificate of the current user, once they have one.
| ilCtrlException |
Definition at line 702 of file class.ilObjLTIToolGUI.php.
References ILIAS\Repository\ctrl(), ilCertificatePdfAction\downloadPdf(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjLTIToolGUI::executeCommand | ( | ) |
| ilCtrlException | |
| ilObjectException |
Reimplemented from ilObject2GUI.
Definition at line 120 of file class.ilObjLTIToolGUI.php.
References $info, ilLTIObjectSettingsGUI\addSubTabs(), assertReportAccess(), ilObjectGUI\cancelCreation(), ilObject2GUI\checkPermission(), configureInfoScreen(), create(), ILIAS\Repository\ctrl(), deliverCertificate(), finishDeepLinking(), finishRegistration(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), getLTIObject(), ilObjLTIToolAccess\hasLearningProgressAccess(), infoScreen(), isContentAvailable(), launch(), ILIAS\Repository\lng(), ilLearningProgressBaseGUI\LP_CONTEXT_REPOSITORY, ILIAS\Repository\object(), ilObject2GUI\prepareOutput(), ilObjectGUI\redrawHeaderActionObject(), registerTool(), save(), saveOwnTool(), selectContent(), startDeepLinking(), and trackReadEvent().
Here is the call graph for this function:
|
protected |
Where the tool posts the content the user picked, inside the iframe: an object is created for each resource link, and the whole window goes on to the settings of the object, or to the container when there are several.
| ilCtrlException | |
| ilMDServicesException | |
| RandomException | |
| ResponseSendingException |
Definition at line 620 of file class.ilObjLTIToolGUI.php.
References $DIC, $message, $response, ilObject2GUI\$type, assertCreationAccess(), createToolObject(), ILIAS\Repository\ctrl(), getContainerRefId(), getDeepLinkingState(), ILIAS\Survey\Mode\getId(), getSettingsLink(), getStaticLink(), getType(), ILIAS\Repository\lng(), ilLTIAdvantagePlatformDeepLinking\receive(), ilLTIAdvantagePlatformDeepLinking\sendTopRedirect(), and ILIAS\Repository\user().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Creates the object for the tool a registration of the user stored.
| ilCtrlException | |
| ilMDServicesException |
Definition at line 505 of file class.ilObjLTIToolGUI.php.
References $DIC, assertOwnToolCreationAccess(), buildRegistrationForm(), createOrSelectContent(), ILIAS\Repository\ctrl(), ilLTIAdvantagePlatformRegistration\finish(), getStringParameter(), getType(), ILIAS\Repository\lng(), renderCreation(), and ILIAS\Repository\user().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
The container a new object is created in.
Definition at line 930 of file class.ilObjLTIToolGUI.php.
References ilObject2GUI\$parent_id.
Referenced by finishDeepLinking(), and showDeepLinking().
Here is the caller graph for this function:
|
private |
Definition at line 942 of file class.ilObjLTIToolGUI.php.
References getStringParameter().
Referenced by finishDeepLinking(), and startDeepLinking().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1036 of file class.ilObjLTIToolGUI.php.
References ILIAS\Repository\refinery().
Referenced by getOriginRefId(), and getToolIdParameter().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| ilObjectException |
Definition at line 1053 of file class.ilObjLTIToolGUI.php.
References ilObjectGUI\$object.
Referenced by configureInfoScreen(), executeCommand(), getReports(), isContentAvailable(), and launch().
Here is the caller graph for this function:
|
private |
The object whose tool settings the content is picked from, 0 on the creation screen.
Definition at line 950 of file class.ilObjLTIToolGUI.php.
References getIntParameter().
Referenced by showDeepLinking().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| ilCtrlException |
Definition at line 839 of file class.ilObjLTIToolGUI.php.
References ILIAS\Repository\ctrl(), and getRequestedVersion().
Referenced by buildOwnTool(), and saveOwnTool().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
The reports, by tab, with their GUI and whether the user may see them.
The reports on what users did need the permission to read the object.
| ilObjectException |
Definition at line 289 of file class.ilObjLTIToolGUI.php.
References ilObjectGUI\$object, ilObject2GUI\checkPermissionBool(), getLTIObject(), ilObjLTIToolAccess\hasLearningProgressAccess(), ilObjLTIToolAccess\hasRankingAccess(), and ilObjLTIToolAccess\hasStatementsAccess().
Referenced by addReportTabs(), and assertReportAccess().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 846 of file class.ilObjLTIToolGUI.php.
References $version, getStringParameter(), ilLTITool\VERSION_1P1, and ilLTITool\VERSION_ADVANTAGE.
Referenced by buildOwnTool(), buildOwnToolForm(), and getOwnToolAction().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| ilCtrlException |
Definition at line 907 of file class.ilObjLTIToolGUI.php.
References ilObjectGUI\$object, ilLTIObjectSettingsGUI\CMD_SHOW, ILIAS\Repository\ctrl(), and ilObject\getRefId().
Referenced by createOrSelectContent(), and finishDeepLinking().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 917 of file class.ilObjLTIToolGUI.php.
References $DIC, ilObjectGUI\$ref_id, and ilObject\_lookupType().
Referenced by finishDeepLinking(), and showDeepLinking().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1029 of file class.ilObjLTIToolGUI.php.
References ILIAS\Repository\refinery().
Referenced by finishRegistration(), getDeepLinkingState(), and getRequestedVersion().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1024 of file class.ilObjLTIToolGUI.php.
References getIntParameter().
Referenced by save(), and selectContent().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjLTIToolGUI::getType | ( | ) |
Functions that must be overwritten.
Reimplemented from ilObject2GUI.
Definition at line 71 of file class.ilObjLTIToolGUI.php.
Referenced by assertCreationAccess(), create(), createToolObject(), finishDeepLinking(), finishRegistration(), registerTool(), renderCreation(), save(), saveOwnTool(), showDeepLinking(), and startDeepLinking().
Here is the caller graph for this function:
|
protected |
The command the info action of the listing calls.
| ilCtrlException |
Definition at line 750 of file class.ilObjLTIToolGUI.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 |
The header offers the certificate of the current user, once they have one.
| ilCtrlException |
Reimplemented from ilObject2GUI.
Definition at line 722 of file class.ilObjLTIToolGUI.php.
References ILIAS\Repository\ctrl(), ilUtil\getImagePath(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
private |
Launching needs the object online and a tool that is still available.
| ilObjectException |
Definition at line 960 of file class.ilObjLTIToolGUI.php.
References ilObjectGUI\$object, ilLTITool\AVAILABILITY_NONE, getLTIObject(), and ilObject\getOfflineStatus().
Referenced by executeCommand(), and setTabs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| ilCtrlException | |
| ilObjectException |
Definition at line 759 of file class.ilObjLTIToolGUI.php.
References ilObject2GUI\checkPermission(), ILIAS\Repository\ctrl(), and getLTIObject().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Registers a tool of the user through LTI Advantage Dynamic Registration: the registration page of the tool opens in an iframe, and the object is created once the tool says it is done.
A tool that does not say so is taken as done when the user says it is.
| ilCtrlException | |
| RandomException |
Definition at line 441 of file class.ilObjLTIToolGUI.php.
References ilObjectGUI\$data, $DIC, Vendor\Package\$e, assertOwnToolCreationAccess(), ilLTIAdvantagePlatformLaunchRenderer\buildIframe(), buildRegistrationForm(), ILIAS\Repository\ctrl(), ilObject\getIconForType(), getType(), ILIAS\Repository\lng(), renderCreation(), ilLTIAdvantagePlatformRegistration\start(), and ILIAS\Repository\user().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
The ways of creating an object, one section each, with the first one open.
The section of an own tool opens instead once it has been used, that is when its form comes back with errors or when the LTI version has been switched.
| ilCtrlException |
Definition at line 352 of file class.ilObjLTIToolGUI.php.
References ILIAS\Repository\ctrl(), ilAccordionGUI\FIRST_OPEN, ilObject\getIconForType(), getType(), ilObjLTIAdministrationAccess\hasOwnToolCreationAccess(), and ILIAS\Repository\lng().
Referenced by create(), finishRegistration(), registerTool(), and saveOwnTool().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjLTIToolGUI::save | ( | ) |
Creates the object for the tool of the request.
| ilCtrlException | |
| ilMDServicesException |
Reimplemented from ilObject2GUI.
Definition at line 395 of file class.ilObjLTIToolGUI.php.
References ilObject2GUI\checkPermissionBool(), create(), createOrSelectContent(), getToolIdParameter(), getType(), and ILIAS\Repository\lng().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Stores a tool of the user and creates the object for it.
| ilCtrlException | |
| ilMDServicesException |
Definition at line 417 of file class.ilObjLTIToolGUI.php.
References assertOwnToolCreationAccess(), buildOwnToolForm(), createOrSelectContent(), ILIAS\Repository\ctrl(), getOwnToolAction(), getType(), and renderCreation().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Picks the content of new objects in a tool that offers Deep Linking, from an object of the tool: the objects are created next to it, as earlier releases did.
| ilCtrlException | |
| RandomException |
Definition at line 536 of file class.ilObjLTIToolGUI.php.
References assertCreationAccess(), getToolIdParameter(), ILIAS\Repository\lng(), and showDeepLinking().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| ilCtrlException | |
| ilObjectException |
Reimplemented from ilObject2GUI.
Definition at line 226 of file class.ilObjLTIToolGUI.php.
References addReportTabs(), ilObject2GUI\checkPermissionBool(), ilLTIObjectSettingsGUI\CMD_SHOW, ilObjectMetaDataGUI\getTab(), isContentAvailable(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
The iframe the tool shows its content in for the user to pick.
| ilCtrlException | |
| RandomException |
Definition at line 554 of file class.ilObjLTIToolGUI.php.
References $DIC, ilLTIAdvantagePlatformLaunchRenderer\buildFrame(), ILIAS\Repository\ctrl(), getContainerRefId(), ilObject\getIconForType(), getOriginRefId(), getStaticLink(), ilLTITool\getTitle(), getType(), ILIAS\Repository\lng(), ilLTIAdvantagePlatformDeepLinking\start(), and ILIAS\Repository\user().
Referenced by createOrSelectContent(), and selectContent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Content of the iframe: starts the Deep Linking request at the tool.
| ilCtrlException | |
| RandomException | |
| ResponseSendingException |
Definition at line 589 of file class.ilObjLTIToolGUI.php.
References $DIC, assertCreationAccess(), ILIAS\Repository\ctrl(), ilLTIEndpoint\getBaseUrl(), getDeepLinkingState(), getType(), ilLTIAdvantagePlatformDeepLinking\sendRequestPage(), and ILIAS\Repository\user().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Opening an object counts as reading it, which the learning progress takes into account.
Definition at line 315 of file class.ilObjLTIToolGUI.php.
References ilChangeEvent\_recordReadEvent(), ilLPStatusWrapper\_updateStatus(), and ILIAS\Repository\object().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| const string ilObjLTIToolGUI::CMD_DELIVER_CERTIFICATE = 'deliverCertificate' |
Definition at line 48 of file class.ilObjLTIToolGUI.php.
Referenced by ilObjLTIToolListGUI\getProperties().
|
private |
Definition at line 58 of file class.ilObjLTIToolGUI.php.
|
private |
Definition at line 54 of file class.ilObjLTIToolGUI.php.
| const string ilObjLTIToolGUI::CMD_LAUNCH = 'launch' |
Definition at line 47 of file class.ilObjLTIToolGUI.php.
Referenced by ilObjLTIToolAccess\_getCommands().
|
private |
Definition at line 53 of file class.ilObjLTIToolGUI.php.
|
private |
Definition at line 52 of file class.ilObjLTIToolGUI.php.
| const string ilObjLTIToolGUI::CMD_SELECT_CONTENT = 'selectContent' |
Definition at line 49 of file class.ilObjLTIToolGUI.php.
Referenced by ilLTIToolSettingsGUI\addSelectContentButton().
|
private |
Definition at line 57 of file class.ilObjLTIToolGUI.php.
|
private |
Definition at line 59 of file class.ilObjLTIToolGUI.php.
| const string ilObjLTIToolGUI::ORIGIN_PARAM = 'origin_ref_id' |
Definition at line 50 of file class.ilObjLTIToolGUI.php.
Referenced by ilLTIToolSettingsGUI\addSelectContentButton().
|
private |
Definition at line 56 of file class.ilObjLTIToolGUI.php.
|
private |
Definition at line 55 of file class.ilObjLTIToolGUI.php.
|
private |
Definition at line 61 of file class.ilObjLTIToolGUI.php.
|
private |
Definition at line 66 of file class.ilObjLTIToolGUI.php.
|
private |
Definition at line 62 of file class.ilObjLTIToolGUI.php.
|
private |
Definition at line 67 of file class.ilObjLTIToolGUI.php.
|
private |
Definition at line 68 of file class.ilObjLTIToolGUI.php.
|
private |
Definition at line 69 of file class.ilObjLTIToolGUI.php.
|
private |
Definition at line 65 of file class.ilObjLTIToolGUI.php.
|
private |
Definition at line 63 of file class.ilObjLTIToolGUI.php.
|
private |
Definition at line 64 of file class.ilObjLTIToolGUI.php.
|
private |
Definition at line 60 of file class.ilObjLTIToolGUI.php.