ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Class ilObjTestGUI. More...
Public Member Functions | |
executeCommand () | |
execute command More... | |
getTestAccess () | |
setTestAccess (ilTestAccess $test_access) | |
runObject () | |
retrieveAdditionalDidacticTemplateOptions () | |
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... | |
defaultsObject () | |
Displays the settings page for test defaults. More... | |
deleteDefaultsObject () | |
Deletes selected test defaults. More... | |
confirmedApplyDefaultsObject () | |
applyDefaultsObject ($confirmed=false) | |
Applies the selected test defaults. More... | |
addDefaultsObject () | |
Adds the defaults of this test to the defaults. More... | |
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... | |
![]() | |
getRefId () | |
setAdminMode (string $mode) | |
getAdminMode () | |
getObject () | |
executeCommand () | |
withReferences () | |
determines whether objects are referenced or not (got ref ids or not) More... | |
setCreationMode (bool $mode=true) | |
If true, a creation screen is displayed the current [ref_id] does belong to the parent class The mode is determined in ilRepositoryGUI. More... | |
getCreationMode () | |
prepareOutput (bool $show_sub_objects=true) | |
getAdminTabs () | |
administration tabs show only permissions and trash folder More... | |
getHTML () | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More... | |
cancelObject () | |
cancel action and go back to previous page More... | |
createObject () | |
create new object form More... | |
editAvailabilityPeriodObject () | |
saveAvailabilityPeriodObject () | |
cancelCreation () | |
cancel create action and go back to repository parent More... | |
saveObject () | |
getDidacticTemplateVar (string $type) | |
Get didactic template setting from creation screen. More... | |
putObjectInTree (ilObject $obj, ?int $parent_node_id=null) | |
Add object to tree at given position. More... | |
editObject () | |
addExternalEditFormCustom (ilPropertyFormGUI $form) | |
updateObject () | |
updates object entry in object_data More... | |
getFormAction (string $cmd, string $default_form_action="") | |
Get form action for command (command is method name without "Object", e.g. More... | |
isVisible (int $ref_id, string $type) | |
viewObject () | |
viewObject container presentation for "administration -> repository, trash, permissions" More... | |
deleteObject (bool $error=false) | |
Display deletion confirmation screen. More... | |
setColumnSettings (ilColumnGUI $column_gui) | |
addToDeskObject () | |
removeFromDeskObject () | |
![]() | |
callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb) | |
![]() | |
addToDeskObject () | |
removeFromDeskObject () | |
Static Public Member Functions | |
static | _goto ($target) |
Redirect script to call a test with the test reference id. More... | |
![]() | |
static | _gotoRepositoryRoot (bool $raise_error=false) |
Goto repository root. More... | |
static | _gotoRepositoryNode (int $ref_id, string $cmd="") |
static | _gotoSharedWorkspaceNode (int $wsp_id) |
Data Fields | |
const | SHOW_QUESTIONS_CMD = 'showQuestions' |
![]() | |
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) | |
removeImportFailsObject () | |
getTargetQuestionpoolForm ($questionpools, string $cmd) | |
protectByWritePermission () | |
determineObjectiveOrientedContainer () | |
getObjectiveOrientedContainer () | |
getQuestionsTableQuery () | |
getQuestionsTableActions () | |
getTable () | |
![]() | |
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 () | |
getSelectedPersonalDefaultsSettingsFromForm () | |
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 () | |
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: ILIAS\Test\Scoring\Manual\TestScoringByQuestionGUI, ILIAS\Test\Scoring\Manual\TestScoringByParticipantGUI @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
\
Definition at line 110 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 2442 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().
ilObjTestGUI::addDefaultsObject | ( | ) |
Adds the defaults of this test to the defaults.
Definition at line 2146 of file class.ilObjTestGUI.php.
References ILIAS\Repository\lng().
ilObjTestGUI::addLocatorItems | ( | ) |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 2320 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), and ILIAS\Repository\locator().
|
private |
Definition at line 1114 of file class.ilObjTestGUI.php.
References assQuestionGUI\setMoveAfterQuestionId().
|
private |
Definition at line 1855 of file class.ilObjTestGUI.php.
References ILIAS\Repository\lng().
|
private |
Definition at line 1042 of file class.ilObjTestGUI.php.
References ILIAS\Repository\refinery().
Referenced by executeCommand().
ilObjTestGUI::afterSave | ( | ilObject | $new_object | ) |
save object @access public
Reimplemented from ilObjectGUI.
Definition at line 1411 of file class.ilObjTestGUI.php.
References $info, ILIAS\Repository\ctrl(), ilObject\getRefId(), and ILIAS\Repository\lng().
ilObjTestGUI::applyDefaultsObject | ( | $confirmed = false | ) |
Applies the selected test defaults.
Definition at line 2054 of file class.ilObjTestGUI.php.
References $info, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilObjTest\QUESTION_SET_TYPE_FIXED, and ilObjTest\QUESTION_SET_TYPE_RANDOM.
ilObjTestGUI::backToRepositoryObject | ( | ) |
Definition at line 1454 of file class.ilObjTestGUI.php.
References $path, and ilUtil\redirect().
|
private |
Definition at line 1750 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().
|
private |
Definition at line 1771 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().
|
private |
Definition at line 1737 of file class.ilObjTestGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
|
private |
Definition at line 1723 of file class.ilObjTestGUI.php.
References $data, and ILIAS\Repository\lng().
|
private |
Definition at line 1693 of file class.ilObjTestGUI.php.
References ILIAS\UI\Implementation\Component\Input\$inputs, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilObjTestGUI::cancelCreateQuestionObject | ( | ) |
Definition at line 1653 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Referenced by ilObjTestGUITest\testCancelCreateQuestionObject().
ilObjTestGUI::certificateObject | ( | ) |
Shows the certificate editor.
Definition at line 2394 of file class.ilObjTestGUI.php.
ilObjTestGUI::confirmedApplyDefaultsObject | ( | ) |
Definition at line 2043 of file class.ilObjTestGUI.php.
ilObjTestGUI::copyAndLinkQuestionsToPoolObject | ( | ?int | $ref_id = null , |
array | $question_ids = [] |
||
) |
Definition at line 2507 of file class.ilObjTestGUI.php.
References $ref_id, ILIAS\Repository\ctrl(), assQuestion\instantiateQuestion(), ILIAS\Repository\lng(), and assQuestion\saveOriginalId().
ilObjTestGUI::copyQuestionsToPool | ( | array | $question_ids, |
int | $qpl_id | ||
) |
<int> | array $question_ids |
Definition at line 2482 of file class.ilObjTestGUI.php.
ilObjTestGUI::copyQuestionsToPoolObject | ( | ) |
Definition at line 2472 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
ilObjTestGUI::copyQuestionToPool | ( | assQuestionGUI | $source_question_gui, |
ilObjQuestionPool | $target_pool | ||
) |
Definition at line 2498 of file class.ilObjTestGUI.php.
References ilObjQuestionPool\appendCounterToQuestionTitleIfNecessary(), ilObject\getId(), and assQuestionGUI\getObject().
ilObjTestGUI::copyToQuestionpoolObject | ( | ) |
Definition at line 2554 of file class.ilObjTestGUI.php.
ilObjTestGUI::createQuestionFormObject | ( | ?Form | $form = null | ) |
Definition at line 1673 of file class.ilObjTestGUI.php.
References ILIAS\Repository\help().
ilObjTestGUI::createQuestionPool | ( | $name = "dummy" , |
|
$description = "" |
|||
) |
Definition at line 1589 of file class.ilObjTestGUI.php.
ilObjTestGUI::createQuestionPoolAndCopyObject | ( | ) |
Definition at line 2559 of file class.ilObjTestGUI.php.
References ILIAS\Repository\access(), and ILIAS\Repository\lng().
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 2588 of file class.ilObjTestGUI.php.
ilObjTestGUI::defaultsObject | ( | ) |
Displays the settings page for test defaults.
Definition at line 2007 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
ilObjTestGUI::deleteDefaultsObject | ( | ) |
Deletes selected test defaults.
Definition at line 2025 of file class.ilObjTestGUI.php.
References ILIAS\Repository\lng().
|
protected |
Definition at line 2682 of file class.ilObjTestGUI.php.
References $path, ilObject\_lookupObjId(), and ilLOSettings\isObjectiveTest().
Referenced by executeCommand().
ilObjTestGUI::download_paragraphObject | ( | ) |
download source code paragraph
Definition at line 1582 of file class.ilObjTestGUI.php.
References exit.
ilObjTestGUI::downloadFileObject | ( | ) |
download file
Definition at line 1559 of file class.ilObjTestGUI.php.
References exit.
|
private |
Definition at line 1150 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().
|
private |
Definition at line 1137 of file class.ilObjTestGUI.php.
References assQuestionGUI\getObject().
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 249 of file class.ilObjTestGUI.php.
References assQuestionGUI\_getQuestionGUI(), ILIAS\Repository\access(), ilObjectGUI\addHeaderAction(), addQuestionTitleToObjectTitle(), ilAssQuestionPreviewGUI\CMD_SHOW, ILIAS\Repository\ctrl(), determineObjectiveOrientedContainer(), fetchAuthoringQuestionIdParameter(), forwardCommandToQuestion(), forwardCommandToQuestionPreview(), forwardToEvaluationGUI(), forwardToInfoScreen(), ilObjectGUI\getCreationMode(), ILIAS\Survey\Mode\getId(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), ilObjectGUI\getObject(), getObjectiveOrientedContainer(), ilObjectGUI\getRefId(), getTestAccess(), 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().
ilObjTestGUI::exportLegacyLogsObject | ( | ) |
Definition at line 1976 of file class.ilObjTestGUI.php.
References ilUtil\deliverData(), and ILIAS\Survey\Mode\getId().
|
protected |
Gateway for exports initiated from workspace, as there is a generic forward to {objTypeMainGUI}::export()
Definition at line 1224 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
ilTestException |
Definition at line 1233 of file class.ilObjTestGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 1051 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().
|
protected |
Definition at line 977 of file class.ilObjTestGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 1293 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Referenced by executeCommand().
|
private |
Definition at line 2181 of file class.ilObjTestGUI.php.
References $info, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilDatePresentation\formatDate(), ILIAS\Survey\Mode\getId(), IL_CAL_UNIX, ILIAS\Repository\lng(), ilObjTest\SCORE_BEST_PASS, and ILIAS\Repository\user().
Referenced by executeCommand().
ilObjTestGUI::fullscreenObject | ( | ) |
show fullscreen view
Definition at line 1570 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Definition at line 2703 of file class.ilObjTestGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 2743 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
|
protected |
Definition at line 2729 of file class.ilObjTestGUI.php.
References $id, ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
|
private |
Definition at line 1444 of file class.ilObjTestGUI.php.
References $data.
|
protected |
Definition at line 2777 of file class.ilObjTestGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
ilObjTestGUI::getTabs | ( | ) |
adds tabs to tab gui object
ilTabsGUI | $tabs_gui |
Reimplemented from ilObjectGUI.
Definition at line 2409 of file class.ilObjTestGUI.php.
References ILIAS\Repository\help(), and ILIAS\Repository\lng().
|
protected |
Definition at line 2624 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().
ilObjTestGUI::getTestAccess | ( | ) |
Definition at line 1283 of file class.ilObjTestGUI.php.
Referenced by executeCommand().
ilObjTestGUI::getTestObject | ( | ) |
Definition at line 1460 of file class.ilObjTestGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 2708 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().
ilObjTestGUI::historyObject | ( | ) |
Definition at line 1933 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), SYSTEM_ROLE_ID, and ILIAS\Repository\toolbar().
|
protected |
Reimplemented from ilObjectGUI.
Definition at line 1321 of file class.ilObjTestGUI.php.
References ILIAS\TestQuestionPool\Import\buildImportDirectoriesFromImportFile(), ILIAS\TestQuestionPool\Import\buildImportQuestionsSelectionForm(), ILIAS\TestQuestionPool\Import\buildResultsFilePath(), ilFileUtils\delDir(), exit, ILIAS\TestQuestionPool\Import\getImportTempDirectory(), ilQTIParser\IL_MO_VERIFY_QTI, ILIAS\Repository\lng(), ilObjTest\QUESTION_SET_TYPE_FIXED, and ilSession\set().
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 1468 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
private |
Definition at line 2174 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
|
private |
Definition at line 1658 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
private |
Definition at line 2159 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
ilObjTestGUI::participantsActionObject | ( | ) |
Evaluates the actions on the participants page.
Definition at line 1991 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
|
private |
Definition at line 1898 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.
|
private |
Definition at line 1309 of file class.ilObjTestGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 2674 of file class.ilObjTestGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by executeCommand().
|
private |
Definition at line 1244 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Definition at line 967 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ROOT_FOLDER_ID.
Referenced by executeCommand().
|
protected |
Definition at line 959 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by executeCommand().
|
private |
Definition at line 1304 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Definition at line 2310 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Survey\Mode\getId().
ilObjTestGUI::retrieveAdditionalDidacticTemplateOptions | ( | ) |
Reimplemented from ilObjectGUI.
Definition at line 1391 of file class.ilObjTestGUI.php.
References ILIAS\Repository\lng().
ilObjTestGUI::runObject | ( | ) |
Definition at line 1316 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Referenced by ilObjTestGUITest\testRunObject().
ilObjTestGUI::setTestAccess | ( | ilTestAccess | $test_access | ) |
Definition at line 1288 of file class.ilObjTestGUI.php.
|
private |
Definition at line 1869 of file class.ilObjTestGUI.php.
References $message, ILIAS\Repository\access(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
|
private |
Definition at line 1253 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Referenced by executeCommand().
|
private |
Definition at line 1188 of file class.ilObjTestGUI.php.
References ilAssQuestionPreviewGUI\CMD_SHOW, ILIAS\Repository\ctrl(), assQuestionGUI\editQuestion(), assQuestionGUI\getObject(), and ILIAS\Repository\lng().
ilObjTestGUI::showQuestionsObject | ( | ) |
Definition at line 1815 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Test\Questions\Presentation\QuestionsTableQuery\getRowIds(), and ILIAS\Test\Questions\Presentation\QuestionsTableQuery\getTableAction().
ilObjTestGUI::statisticsObject | ( | ) |
Definition at line 2387 of file class.ilObjTestGUI.php.
ilObjTestGUI::takenObject | ( | ) |
Definition at line 1929 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 1210 of file class.ilObjTestGUI.php.
References ilChangeEvent\_recordReadEvent(), ILIAS\Survey\Mode\getId(), and ILIAS\Repository\user().
Referenced by executeCommand().
|
private |
Definition at line 146 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 137 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 136 of file class.ilObjTestGUI.php.
|
private |
Definition at line 140 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 158 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 155 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 138 of file class.ilObjTestGUI.php.
|
private |
Definition at line 124 of file class.ilObjTestGUI.php.
|
private |
Definition at line 125 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 142 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 141 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 145 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 135 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 143 of file class.ilObjTestGUI.php.
|
private |
Definition at line 133 of file class.ilObjTestGUI.php.
|
private |
Definition at line 129 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 149 of file class.ilObjTestGUI.php.
|
private |
Definition at line 130 of file class.ilObjTestGUI.php.
|
private |
Definition at line 127 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 148 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 150 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 151 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 144 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 154 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 153 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 132 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 156 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 134 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 152 of file class.ilObjTestGUI.php.
|
private |
Definition at line 122 of file class.ilObjTestGUI.php.
|
private |
Definition at line 121 of file class.ilObjTestGUI.php.
|
private |
Definition at line 126 of file class.ilObjTestGUI.php.
|
private |
Definition at line 123 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 147 of file class.ilObjTestGUI.php.
|
private |
Definition at line 131 of file class.ilObjTestGUI.php.
|
private |
Definition at line 128 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 139 of file class.ilObjTestGUI.php.
|
private |
Definition at line 119 of file class.ilObjTestGUI.php.
|
private |
Definition at line 118 of file class.ilObjTestGUI.php.
|
private |
Definition at line 117 of file class.ilObjTestGUI.php.
|
private |
Definition at line 115 of file class.ilObjTestGUI.php.
const ilObjTestGUI::SHOW_QUESTIONS_CMD = 'showQuestions' |
Definition at line 114 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().