|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class ilObjTestGUI. More...
Inheritance diagram for ilObjTestGUI:
Collaboration diagram for ilObjTestGUI:Public Member Functions | |
| executeCommand () | |
| execute command More... | |
| getTestAccess () | |
| setTestAccess (ilTestAccess $test_access) | |
| runObject () | |
| afterSave (ilObject $new_object) | |
| save object @access public More... | |
| backToRepositoryObject () | |
| getTestObject () | |
| importVerifiedFileObject (bool $skip_retrieve_selected_questions=false) | |
| imports question(s) into the questionpool (after verification) More... | |
| downloadFileObject () | |
| download file More... | |
| fullscreenObject () | |
| show fullscreen view More... | |
| download_paragraphObject () | |
| download source code paragraph More... | |
| createQuestionPool ($name="dummy", $description="") | |
| cancelCreateQuestionObject () | |
| createQuestionFormObject (?Form $form=null) | |
| showQuestionsObject () | |
| takenObject () | |
| historyObject () | |
| exportLegacyLogsObject () | |
| participantsActionObject () | |
| Evaluates the actions on the participants page. More... | |
| showTemplatesObject (?Modal $modal=null) | |
| createTemplateObject () | |
| importTemplateObject () | |
| executeTemplatesActionObject () | |
| addLocatorItems () | |
| should be overwritten to add object specific items (repository items are preloaded) More... | |
| statisticsObject () | |
| certificateObject () | |
| Shows the certificate editor. More... | |
| getTabs () | |
| adds tabs to tab gui object More... | |
| copyQuestionsToPoolObject () | |
| copyQuestionsToPool (array $question_ids, int $qpl_id) | |
| copyQuestionToPool (assQuestionGUI $source_question_gui, ilObjQuestionPool $target_pool) | |
| copyAndLinkQuestionsToPoolObject (?int $ref_id=null, array $question_ids=[]) | |
| copyToQuestionpoolObject () | |
| createQuestionPoolAndCopyObject () | |
| createQuestionpoolTargetObject (string $cmd) | |
| Called when a new question should be created from a test Important: $cmd may be overwritten if no question pool is available. 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) | |
Public Member Functions inherited from ilDesktopItemHandling | |
| addToDeskObject () | |
| removeFromDeskObject () | |
Static Public Member Functions | |
| static | _goto ($target) |
| Redirect script to call a test with the test reference id. 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 | SHOW_QUESTIONS_CMD = 'showQuestions' |
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 | |
| redirectAfterMissingWrite () | |
| redirectAfterMissingRead () | |
| forwardCommandToQuestionPreview (string $cmd, ?assQuestionGUI $question_gui=null) | |
| forwardCommandToQuestion (string $cmd) | |
| trackTestObjectReadEvent () | |
| exportObject () | |
| Gateway for exports initiated from workspace, as there is a generic forward to {objTypeMainGUI}::export() More... | |
| fetchAuthoringQuestionIdParameter () | |
| importFile (string $file_to_import, string $path_to_uploaded_file_in_temp_dir) | |
| buildPersonalSettingsCreateAction () | |
| buildPersonalSettingsImportAction () | |
| buildPersonalSettingsTable () | |
| removeImportFailsObject () | |
| getTargetQuestionpoolForm ($questionpools, string $cmd) | |
| protectByWritePermission () | |
| determineObjectiveOrientedContainer () | |
| getObjectiveOrientedContainer () | |
| getQuestionsTableQuery () | |
| getQuestionsTableActions () | |
| getTable () | |
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 | |
| addQuestionTitleToObjectTitle (string $question_title) | |
| addPostCreationTasksToQuestionGUI (assQuestionGUI $question_gui) | |
| executeAfterQuestionSaveTasks (assQuestionGUI $question_gui) | |
| executeAfterQuestionCreationTasks (assQuestionGUI $question_gui) | |
| showNextViewAfterQuestionSave (assQuestionGUI $question_gui, string $target) | |
| questionsTabGatewayObject () | |
| showEditTestPageGUI () | |
| forwardToEvaluationGUI () | |
| redirectTo_SettingsMainGUI_showForm_Object () | |
| prepareSubGuiOutput () | |
| insertQuestionsObject (?array $selected_array=null) | |
| buildQuestionCreationForm () | |
| buildInputQuestionType () | |
| buildInputPosition (array $questions) | |
| buildInputEditingType () | |
| buildInputPoolSelection () | |
| addQuestion () | |
| setupToolBarAndMessage (bool $has_started_test_runs) | |
| populateQuestionBrowserToolbarButtons (ilToolbarGUI $toolbar) | |
| isCommandClassAnyInfoScreenChild () | |
| infoScreenObject () | |
| forwardToInfoScreen () | |
| getTestScreenGUIInstance () | |
| userCanCreatePoolAtCurrentLocation () | |
Private Attributes | |
| const | SHOW_LOGS_CMD = 'history' |
| const | QUESTION_CREATION_POOL_SELECTION_NO_POOL = 1 |
| const | QUESTION_CREATION_POOL_SELECTION_NEW_POOL = 2 |
| const | QUESTION_CREATION_POOL_SELECTION_EXISTING_POOL = 3 |
| ilTestQuestionSetConfigFactory | $test_question_set_config_factory |
| ilTestPlayerFactory | $test_player_factory |
| ilTestSessionFactory | $test_session_factory |
| ExportImportFactory | $export_factory |
| ExportRepository | $export_repository |
| TestQuestionsRepository | $test_questions_repository |
| GeneralQuestionPropertiesRepository | $questionrepository |
| TestTopListRepository | $toplist_repository |
| ilTestParticipantAccessFilterFactory | $participant_access_filter_factory |
| QPLRequestDataCollector | $qplrequest |
| TitleColumnsBuilder | $title_builder |
| ilTestObjectiveOrientedContainer | $objective_oriented_container |
| ContentStyle | $content_style |
| Archives | $archives |
Class ilObjTestGUI.
@ilCtrl_Calls ilObjTestGUI: ilObjCourseGUI, ilObjectMetaDataGUI, ilCertificateGUI, ilPermissionGUI @ilCtrl_Calls ilObjTestGUI: ilTestPlayerFixedQuestionSetGUI, ilTestPlayerRandomQuestionSetGUI @ilCtrl_Calls ilObjTestGUI: ilTestExpresspageObjectGUI, ilAssQuestionPageGUI @ilCtrl_Calls ilObjTestGUI: ilTestParticipantsGUI, ilTestResultsGUI @ilCtrl_Calls ilObjTestGUI: ilLearningProgressGUI, ILIAS\Test\Scoring\Marks\MarkSchemaGUI @ilCtrl_Calls ilObjTestGUI: ilTestEvaluationGUI @ilCtrl_Calls ilObjTestGUI: ilAssGenFeedbackPageGUI, ilAssSpecFeedbackPageGUI @ilCtrl_Calls ilObjTestGUI: ilInfoScreenGUI, ilObjectCopyGUI @ilCtrl_Calls ilObjTestGUI: ILIAS\Test\Presentation\TestScreenGUI @ilCtrl_Calls ilObjTestGUI: ilRepositorySearchGUI, ilTestExportGUI @ilCtrl_Calls ilObjTestGUI: assMultipleChoiceGUI, assClozeTestGUI, assMatchingQuestionGUI @ilCtrl_Calls ilObjTestGUI: assOrderingQuestionGUI, assImagemapQuestionGUI, assNumericGUI, assErrorTextGUI @ilCtrl_Calls ilObjTestGUI: assTextSubsetGUI, assOrderingHorizontalGUI @ilCtrl_Calls ilObjTestGUI: assSingleChoiceGUI, assFileUploadGUI, assTextQuestionGUI @ilCtrl_Calls ilObjTestGUI: assKprimChoiceGUI, assLongMenuGUI @ilCtrl_Calls ilObjTestGUI: ilEditClipboardGUI @ilCtrl_Calls ilObjTestGUI: ILIAS\Test\Settings\MainSettings\SettingsMainGUI, ILIAS\Test\Settings\ScoreReporting\SettingsScoringGUI @ilCtrl_Calls ilObjTestGUI: ilCommonActionDispatcherGUI @ilCtrl_Calls ilObjTestGUI: ilTestFixedQuestionSetConfigGUI, ilTestRandomQuestionSetConfigGUI @ilCtrl_Calls ilObjTestGUI: ilAssQuestionFeedbackEditingGUI, ilLocalUnitConfigurationGUI, assFormulaQuestionGUI @ilCtrl_Calls ilObjTestGUI: ilTestPassDetailsOverviewTableGUI @ilCtrl_Calls ilObjTestGUI: ilTestCorrectionsGUI @ilCtrl_Calls ilObjTestGUI: ilTestSettingsChangeConfirmationGUI @ilCtrl_Calls ilObjTestGUI: ilTestSkillAdministrationGUI @ilCtrl_Calls ilObjTestGUI: ilAssQuestionPreviewGUI @ilCtrl_Calls ilObjTestGUI: ilTestQuestionBrowserTableGUI, ilTestInfoScreenToolbarGUI, ilLTIProviderObjectSettingGUI @ilCtrl_Calls ilObjTestGUI: ilTestPageGUI @ilCtrl_Calls ilObjTestGUI: ILIAS\Test\Scoring\Manual\ConsecutiveScoringGUI @ilCtrl_Calls ilObjTestGUI: PersonalSettingsImportHandlerGUI
\
Definition at line 126 of file class.ilObjTestGUI.php.
|
static |
Redirect script to call a test with the test reference id.
| integer | $a_target | The reference id of the test @access public |
Definition at line 2425 of file class.ilObjTestGUI.php.
References $DIC, $ilErr, $lng, ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), and ROOT_FOLDER_ID.
Referenced by ILIAS\StaticURL\Handler\LegacyGotoHandler\handle().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTestGUI::addLocatorItems | ( | ) |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 2303 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), and ILIAS\Repository\locator().
Here is the call graph for this function:
|
private |
Definition at line 1152 of file class.ilObjTestGUI.php.
References assQuestionGUI\setMoveAfterQuestionId().
Here is the call graph for this function:
|
private |
Definition at line 1876 of file class.ilObjTestGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 1080 of file class.ilObjTestGUI.php.
References ILIAS\Repository\refinery().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTestGUI::afterSave | ( | ilObject | $new_object | ) |
save object @access public
Reimplemented from ilObjectGUI.
Definition at line 1438 of file class.ilObjTestGUI.php.
References $info, ILIAS\Repository\ctrl(), ilObject\getRefId(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTestGUI::backToRepositoryObject | ( | ) |
Definition at line 1464 of file class.ilObjTestGUI.php.
References $path, and ilUtil\redirect().
Here is the call graph for this function:
|
private |
Definition at line 1768 of file class.ilObjTestGUI.php.
References assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_IPE, assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_RTE, ILIAS\Repository\lng(), and ILIAS\UI\Component\Input\Input\withValue().
Here is the call graph for this function:
|
private |
Definition at line 1789 of file class.ilObjTestGUI.php.
References Vendor\Package\$f, ILIAS\UI\Implementation\Component\Input\$inputs, ilObjQuestionPool\_getAvailableQuestionpools(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Refinery\transform().
Here is the call graph for this function:
|
private |
Definition at line 1755 of file class.ilObjTestGUI.php.
References ILIAS\UI\Implementation\Component\Input\Field\$options, ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
private |
Definition at line 1741 of file class.ilObjTestGUI.php.
References $data, ILIAS\UI\Implementation\Component\Input\Field\$options, and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 2104 of file class.ilObjTestGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 2117 of file class.ilObjTestGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 2131 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
private |
Definition at line 1711 of file class.ilObjTestGUI.php.
References ILIAS\UI\Implementation\Component\Input\$inputs, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTestGUI::cancelCreateQuestionObject | ( | ) |
Definition at line 1671 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Referenced by ilObjTestGUITest\testCancelCreateQuestionObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTestGUI::certificateObject | ( | ) |
Shows the certificate editor.
Definition at line 2377 of file class.ilObjTestGUI.php.
| ilObjTestGUI::copyAndLinkQuestionsToPoolObject | ( | ?int | $ref_id = null, |
| array | $question_ids = [] |
||
| ) |
Definition at line 2490 of file class.ilObjTestGUI.php.
References $ref_id, ILIAS\Repository\ctrl(), assQuestion\instantiateQuestion(), ILIAS\Repository\lng(), and assQuestion\saveOriginalId().
Here is the call graph for this function:| ilObjTestGUI::copyQuestionsToPool | ( | array | $question_ids, |
| int | $qpl_id | ||
| ) |
| <int> | array $question_ids |
Definition at line 2465 of file class.ilObjTestGUI.php.
| ilObjTestGUI::copyQuestionsToPoolObject | ( | ) |
Definition at line 2455 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilObjTestGUI::copyQuestionToPool | ( | assQuestionGUI | $source_question_gui, |
| ilObjQuestionPool | $target_pool | ||
| ) |
Definition at line 2481 of file class.ilObjTestGUI.php.
References ilObjQuestionPool\appendCounterToQuestionTitleIfNecessary(), ilObject\getId(), and assQuestionGUI\getObject().
Here is the call graph for this function:| ilObjTestGUI::copyToQuestionpoolObject | ( | ) |
Definition at line 2537 of file class.ilObjTestGUI.php.
| ilObjTestGUI::createQuestionFormObject | ( | ?Form | $form = null | ) |
Definition at line 1691 of file class.ilObjTestGUI.php.
References ILIAS\Repository\help().
Here is the call graph for this function:| ilObjTestGUI::createQuestionPool | ( | $name = "dummy", |
|
$description = "" |
|||
| ) |
Definition at line 1599 of file class.ilObjTestGUI.php.
| ilObjTestGUI::createQuestionPoolAndCopyObject | ( | ) |
Definition at line 2542 of file class.ilObjTestGUI.php.
References ILIAS\Repository\access(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTestGUI::createQuestionpoolTargetObject | ( | string | $cmd | ) |
Called when a new question should be created from a test Important: $cmd may be overwritten if no question pool is available.
Definition at line 2571 of file class.ilObjTestGUI.php.
| ilObjTestGUI::createTemplateObject | ( | ) |
Definition at line 2062 of file class.ilObjTestGUI.php.
References Vendor\Package\$e, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 2665 of file class.ilObjTestGUI.php.
References $path, ilObject\_lookupObjId(), and ilLOSettings\isObjectiveTest().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTestGUI::download_paragraphObject | ( | ) |
download source code paragraph
Definition at line 1592 of file class.ilObjTestGUI.php.
References exit.
| ilObjTestGUI::downloadFileObject | ( | ) |
download file
Definition at line 1569 of file class.ilObjTestGUI.php.
References exit.
|
private |
Definition at line 1188 of file class.ilObjTestGUI.php.
References assQuestionGUI\getCopyToExistingPoolOnSave(), assQuestionGUI\getCopyToNewPoolOnSave(), assQuestionGUI\getMoveAfterQuestionId(), assQuestionGUI\getObject(), ilObjTest\QUESTION_SET_TYPE_FIXED, assQuestion\saveOriginalId(), assQuestionGUI\setCopyToExistingPoolOnSave(), assQuestionGUI\setCopyToNewPoolOnSave(), and assQuestionGUI\setMoveAfterQuestionId().
Here is the call graph for this function:
|
private |
Definition at line 1175 of file class.ilObjTestGUI.php.
References assQuestionGUI\getObject().
Here is the call graph for this function:| ilObjTestGUI::executeCommand | ( | ) |
execute command
@skergomard 2024-10-21: I've moved this down here, to avoid errors when initializing async-modals and to avoid an unnecessary redirect on errors.
Reimplemented from ilObjectGUI.
Definition at line 291 of file class.ilObjTestGUI.php.
References $gui_factory, assQuestionGUI\_getQuestionGUI(), ILIAS\Repository\access(), ilObjectGUI\addHeaderAction(), addQuestionTitleToObjectTitle(), ilAssQuestionPreviewGUI\CMD_SHOW, ILIAS\Repository\ctrl(), determineObjectiveOrientedContainer(), error(), fetchAuthoringQuestionIdParameter(), forwardCommandToQuestion(), forwardCommandToQuestionPreview(), forwardToEvaluationGUI(), forwardToInfoScreen(), ilObjectGUI\getCreationMode(), ILIAS\Survey\Mode\getId(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), ilObjectGUI\getObject(), getObjectiveOrientedContainer(), ilObjectGUI\getRefId(), getTestObject(), getTestScreenGUIInstance(), ILIAS\Repository\help(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ilLearningProgressBaseGUI\LP_CONTEXT_REPOSITORY, ILIAS\Repository\object(), ilObjectGUI\prepareOutput(), prepareSubGuiOutput(), protectByWritePermission(), redirectAfterMissingRead(), redirectAfterMissingWrite(), ILIAS\Repository\refinery(), ILIAS\Repository\settings(), showEditTestPageGUI(), ILIAS\Repository\toolbar(), trackTestObjectReadEvent(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilObjTestGUI::executeTemplatesActionObject | ( | ) |
Definition at line 2092 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilObjTestGUI::exportLegacyLogsObject | ( | ) |
Definition at line 1997 of file class.ilObjTestGUI.php.
References ilUtil\deliverData(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
protected |
Gateway for exports initiated from workspace, as there is a generic forward to {objTypeMainGUI}::export()
Definition at line 1262 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
| ilTestException |
Definition at line 1271 of file class.ilObjTestGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:
|
protected |
Definition at line 1089 of file class.ilObjTestGUI.php.
References Vendor\Package\$e, assQuestionGUI\_getQuestionGUI(), ILIAS\Repository\ctrl(), assQuestionGUI\EDIT_CONTEXT_AUTHORING, ILIAS\Survey\Mode\getId(), ILIAS\Repository\lng(), and ilUtil\stripSlashes().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1015 of file class.ilObjTestGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:
|
private |
Definition at line 1331 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 2213 of file class.ilObjTestGUI.php.
References $info, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilDatePresentation\formatDate(), ILIAS\Survey\Mode\getId(), IL_CAL_UNIX, and ILIAS\Repository\lng().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTestGUI::fullscreenObject | ( | ) |
show fullscreen view
Definition at line 1580 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Definition at line 2686 of file class.ilObjTestGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:
|
protected |
Definition at line 2726 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 2712 of file class.ilObjTestGUI.php.
References $id, ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
protected |
Definition at line 2760 of file class.ilObjTestGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilObjTestGUI::getTabs | ( | ) |
adds tabs to tab gui object
| ilTabsGUI | $tabs_gui |
Reimplemented from ilObjectGUI.
Definition at line 2392 of file class.ilObjTestGUI.php.
References ILIAS\Repository\help(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 2607 of file class.ilObjTestGUI.php.
References $id, ILIAS\Repository\ctrl(), ILIAS\Test\Questions\Presentation\QuestionsTableQuery\getRowIds(), ILIAS\Test\Questions\Presentation\QuestionsTableQuery\getTableAction(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTestGUI::getTestAccess | ( | ) |
Definition at line 1321 of file class.ilObjTestGUI.php.
| ilObjTestGUI::getTestObject | ( | ) |
Definition at line 1470 of file class.ilObjTestGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:
|
private |
Definition at line 2691 of file class.ilObjTestGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTestGUI::historyObject | ( | ) |
Definition at line 1954 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), SYSTEM_ROLE_ID, and ILIAS\Repository\toolbar().
Here is the call graph for this function:
|
protected |
Reimplemented from ilObjectGUI.
Definition at line 1359 of file class.ilObjTestGUI.php.
References ILIAS\UI\Implementation\Component\Input\Field\$options, ILIAS\TestQuestionPool\Import\buildImportDirectoriesFromImportFile(), ILIAS\TestQuestionPool\Import\buildImportQuestionsSelectionForm(), ILIAS\TestQuestionPool\Import\buildResultsFilePath(), ILIAS\Repository\ctrl(), ilFileUtils\delDir(), exit, ILIAS\TestQuestionPool\Import\getImportTempDirectory(), ilQTIParser\IL_MO_VERIFY_QTI, ILIAS\Repository\lng(), ilObjTest\QUESTION_SET_TYPE_FIXED, and ilSession\set().
Here is the call graph for this function:| ilObjTestGUI::importTemplateObject | ( | ) |
Definition at line 2076 of file class.ilObjTestGUI.php.
References Vendor\Package\$e, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTestGUI::importVerifiedFileObject | ( | bool | $skip_retrieve_selected_questions = false | ) |
imports question(s) into the questionpool (after verification)
2025-03-22, sk: This is now only needed for legacy exports as now also exports with results do contain a manifest.xml.
Definition at line 1478 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 2206 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
private |
Definition at line 1676 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 2191 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilObjTestGUI::participantsActionObject | ( | ) |
Evaluates the actions on the participants page.
Definition at line 2012 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
private |
Definition at line 1919 of file class.ilObjTestGUI.php.
References ilToolbarGUI\addButton(), ilTestQuestionBrowserTableGUI\CMD_BROWSE_QUESTIONS, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilTestQuestionBrowserTableGUI\MODE_BROWSE_POOLS, ilTestQuestionBrowserTableGUI\MODE_BROWSE_TESTS, and ilTestQuestionBrowserTableGUI\MODE_PARAMETER.
Here is the call graph for this function:
|
private |
Definition at line 1347 of file class.ilObjTestGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:
|
protected |
Definition at line 2657 of file class.ilObjTestGUI.php.
References ILIAS\Repository\access(), 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:
|
private |
Definition at line 1282 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Definition at line 1005 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ROOT_FOLDER_ID.
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 997 of file class.ilObjTestGUI.php.
References 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:
|
private |
Definition at line 1342 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Definition at line 2293 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilObjTestGUI::runObject | ( | ) |
Definition at line 1354 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Referenced by ilObjTestGUITest\testRunObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTestGUI::setTestAccess | ( | ilTestAccess | $test_access | ) |
Definition at line 1326 of file class.ilObjTestGUI.php.
|
private |
Definition at line 1890 of file class.ilObjTestGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
Here is the call graph for this function:
|
private |
Definition at line 1291 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1226 of file class.ilObjTestGUI.php.
References ilAssQuestionPreviewGUI\CMD_SHOW, ILIAS\Repository\ctrl(), assQuestionGUI\editQuestion(), assQuestionGUI\getObject(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTestGUI::showQuestionsObject | ( | ) |
Definition at line 1836 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Test\Questions\Presentation\QuestionsTableQuery\getRowIds(), and ILIAS\Test\Questions\Presentation\QuestionsTableQuery\getTableAction().
Here is the call graph for this function:| ilObjTestGUI::showTemplatesObject | ( | ?Modal | $modal = null | ) |
Definition at line 2026 of file class.ilObjTestGUI.php.
References $components, ILIAS\Repository\ctrl(), and ILIAS\Repository\toolbar().
Here is the call graph for this function:| ilObjTestGUI::statisticsObject | ( | ) |
Definition at line 2370 of file class.ilObjTestGUI.php.
| ilObjTestGUI::takenObject | ( | ) |
Definition at line 1950 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 1248 of file class.ilObjTestGUI.php.
References ilChangeEvent\_recordReadEvent(), ILIAS\Survey\Mode\getId(), and ILIAS\Repository\user().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 2774 of file class.ilObjTestGUI.php.
References ILIAS\Repository\settings().
Here is the call graph for this function:
|
protected |
Definition at line 175 of file class.ilObjTestGUI.php.
|
private |
Definition at line 162 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 153 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 152 of file class.ilObjTestGUI.php.
|
private |
Definition at line 156 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 184 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 179 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 154 of file class.ilObjTestGUI.php.
|
private |
Definition at line 140 of file class.ilObjTestGUI.php.
|
private |
Definition at line 141 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 158 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 181 of file class.ilObjTestGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 157 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 161 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 170 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 174 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 172 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 151 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 159 of file class.ilObjTestGUI.php.
|
private |
Definition at line 149 of file class.ilObjTestGUI.php.
|
private |
Definition at line 145 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 165 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 176 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 169 of file class.ilObjTestGUI.php.
|
private |
Definition at line 146 of file class.ilObjTestGUI.php.
|
private |
Definition at line 143 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 164 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 166 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 167 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 171 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 173 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 182 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 160 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 178 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 177 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 148 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 180 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 150 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 168 of file class.ilObjTestGUI.php.
|
private |
Definition at line 138 of file class.ilObjTestGUI.php.
|
private |
Definition at line 137 of file class.ilObjTestGUI.php.
|
private |
Definition at line 142 of file class.ilObjTestGUI.php.
|
private |
Definition at line 139 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 163 of file class.ilObjTestGUI.php.
|
private |
Definition at line 147 of file class.ilObjTestGUI.php.
|
private |
Definition at line 144 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 155 of file class.ilObjTestGUI.php.
|
private |
Definition at line 135 of file class.ilObjTestGUI.php.
|
private |
Definition at line 134 of file class.ilObjTestGUI.php.
|
private |
Definition at line 133 of file class.ilObjTestGUI.php.
|
private |
Definition at line 131 of file class.ilObjTestGUI.php.
| const ilObjTestGUI::SHOW_QUESTIONS_CMD = 'showQuestions' |
Definition at line 130 of file class.ilObjTestGUI.php.
Referenced by ilAssQuestionPageCommandForwarder\forward(), ILIAS\Test\Presentation\TabsManager\getBrowseForQuestionsTab(), ILIAS\Test\Presentation\TabsManager\getQuestionsSubTabs(), ILIAS\Test\Presentation\TabsManager\getRandomQuestionsTab(), ilTestQuestionBrowserTableGUI\handleTabs(), ilTestQuestionBrowserTableGUI\handleWriteAccess(), ilTestQuestionBrowserTableGUI\insertQuestionsCmd(), ILIAS\Test\Questions\Presentation\Printer\printAnswers(), ILIAS\Test\Presentation\TabsManager\setupTabsGuiConfig(), and ilObjTestGUITest\testCancelCreateQuestionObject().