ILIAS
release_8 Revision v8.19
|
Class ilObjTestGUI. More...
Public Member Functions | |
__construct ($refId=null) | |
Constructor public. More... | |
executeCommand () | |
execute command More... | |
getTestAccess () | |
setTestAccess ($testAccess) | |
getTabsManager () | |
setTabsManager ($tabsManager) | |
runObject () | |
outEvaluationObject () | |
addDidacticTemplateOptions (array &$options) | |
backToRepositoryObject () | |
uploadTst () | |
imports test and question(s) More... | |
importVerifiedFileObject () | |
imports question(s) into the questionpool (after verification) More... | |
uploadObject ($redirect=true) | |
display status information or report errors messages in case of error More... | |
downloadFileObject () | |
download file More... | |
fullscreenObject () | |
show fullscreen view More... | |
download_paragraphObject () | |
download source code paragraph More... | |
backObject () | |
Called when the back button in the question browser was pressed. More... | |
createQuestionPool ($name="dummy", $description="") | |
Creates a new questionpool and returns the reference id. More... | |
randomselectObject () | |
cancelRandomSelectObject () | |
createRandomSelectionObject () | |
insertRandomSelectionObject () | |
Inserts a random selection into the test. More... | |
executeCreateQuestionObject () | |
Called when a new question should be created from a test after confirmation. More... | |
cancelCreateQuestionObject () | |
Called when the creation of a new question is cancelled. More... | |
createQuestionObject () | |
Called when a new question should be created from a test. More... | |
confirmRemoveQuestionsObject () | |
Remove questions from the test after confirmation. More... | |
cancelRemoveQuestionsObject () | |
Cancels the removal of questions from the test. More... | |
removeQuestionsForm ($checked_questions) | |
Displays a form to confirm the removal of questions from the test. More... | |
removeQuestionsObject () | |
Called when a selection of questions should be removed from the test. More... | |
moveQuestionsObject () | |
Marks selected questions for moving. More... | |
insertQuestionsBeforeObject () | |
Insert checked questions before the actual selection. More... | |
insertQuestionsAfterObject () | |
Insert checked questions after the actual selection. More... | |
insertQuestionsObject () | |
Insert questions from the questionbrowser into the test. More... | |
addQuestionObject () | |
questionsObject () | |
takenObject () | |
historyObject () | |
Creates the change history for a test. More... | |
initImportForm (string $new_type) | |
participantsActionObject () | |
Evaluates the actions on the participants page. More... | |
printobject () | |
Print tab to create a print of all questions with points and solutions. More... | |
reviewobject () | |
Review tab to create a print of all questions without points and solutions. 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... | |
infoScreenObject () | |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed More... | |
redirectToInfoScreenObject () | |
infoScreen ($session_lock="") | |
show information screen More... | |
addLocatorItems () | |
statisticsObject () | |
certificateObject () | |
Shows the certificate editor. More... | |
getTabs () | |
adds tabs to tab gui object More... | |
buildPageViewToolbar ($qid=0) | |
copyQuestionsToPoolObject () | |
copyQuestionsToPool ($questionIds, $qplId) | |
copyQuestionToPool ($sourceQuestionId, $targetParentId) | |
copyAndLinkQuestionsToPoolObject () | |
ilObjectDataCache $ilObjDataCache More... | |
copyToQuestionpoolObject () | |
copyAndLinkToQuestionpoolObject () | |
createQuestionPoolAndCopyObject () | |
createQuestionpoolTargetObject ($cmd) | |
Called when a new question should be created from a test Important: $cmd may be overwritten if no question pool is available. More... | |
applyTemplate ($templateData, ilObjTest $object) | |
saveOrderAndObligationsObject () | |
movePageObject () | |
showPageObject () | |
copyQuestionObject () | |
![]() | |
__construct ($data, int $id=0, bool $call_by_reference=true, bool $prepare_output=true) | |
getRefId () | |
setAdminMode (string $mode) | |
getAdminMode () | |
getObject () | |
executeCommand () | |
withReferences () | |
determines whether objects are referenced or not (got ref ids or not) More... | |
setCreationMode (bool $mode=true) | |
if true, a creation screen is displayed the current [ref_id] don't belong to the current class! The mode is determined in ilRepositoryGUI More... | |
getCreationMode () | |
prepareOutput (bool $show_sub_objects=true) | |
getAdminTabs () | |
administration tabs show only permissions and trash folder More... | |
getHTML () | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More... | |
cancelDeleteObject () | |
cancel deletion of object More... | |
cancelObject () | |
cancel action and go back to previous page More... | |
createObject () | |
create new object form More... | |
cancelCreation () | |
cancel create action and go back to repository parent More... | |
saveObject () | |
getDidacticTemplateVar (string $type) | |
Get didactic template setting from creation screen. More... | |
putObjectInTree (ilObject $obj, int $parent_node_id=null) | |
Add object to tree at given position. More... | |
editObject () | |
addExternalEditFormCustom (ilPropertyFormGUI $form) | |
updateObject () | |
updates object entry in object_data More... | |
getFormAction (string $cmd, string $default_form_action="") | |
Get form action for command (command is method name without "Object", e.g. More... | |
isVisible (int $ref_id, string $type) | |
viewObject () | |
viewObject container presentation for "administration -> repository, trash, permissions" More... | |
deleteObject (bool $error=false) | |
Display deletion confirmation screen. More... | |
setColumnSettings (ilColumnGUI $column_gui) | |
redirectAfterCreation () | |
Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html Should be overwritten and redirect to settings screen. More... | |
addToDeskObject () | |
removeFromDeskObject () | |
![]() | |
callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb) | |
Static Public Member Functions | |
static | accessViolationRedirect () |
![]() | |
static | _gotoRepositoryRoot (bool $raise_error=false) |
Goto repository root. More... | |
static | _gotoRepositoryNode (int $ref_id, string $cmd="") |
static | _gotoSharedWorkspaceNode (int $wsp_id) |
Protected Member Functions | |
redirectAfterMissingWrite () | |
redirectAfterMissingRead () | |
trackTestObjectReadEvent () | |
exportObject () | |
Gateway for exports initiated from workspace, as there is a generic forward to {objTypeMainGUI}::export() More... | |
fetchAuthoringQuestionIdParameter () | |
importFileObject (int $parent_id=null) | |
form for new test object import More... | |
insertQuestionsBeforeOrAfter (int $insert_mode) | |
removeImportFailsObject () | |
getTargetQuestionpoolForm ($questionpools, $cmd) | |
movePageFormObject () | |
Move current page. More... | |
determineObjectiveOrientedContainer () | |
getObjectiveOrientedContainer () | |
![]() | |
getObjectService () | |
assignObject () | |
setTitleAndDescription () | |
initHeaderAction (?string $sub_type=null, ?int $sub_id=null) | |
Add header action menu. More... | |
insertHeaderAction (?ilObjectListGUI $list_gui=null) | |
Insert header action into main template. More... | |
addHeaderAction () | |
Add header action menu. More... | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. More... | |
setTabs () | |
set admin tabs More... | |
setAdminTabs () | |
set admin tabs More... | |
setLocator () | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
omitLocator (bool $omit=true) | |
addAdminLocatorItems (bool $do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
initCreationForms (string $new_type) | |
Init creation forms. More... | |
getCreationFormsHTML (array $forms) | |
Get HTML for creation forms (accordion) More... | |
initCreateForm (string $new_type) | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
addDidacticTemplateOptions (array &$a_options) | |
Add custom templates. More... | |
afterSave (ilObject $new_object) | |
Post (successful) object creation hook. More... | |
initEditForm () | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. More... | |
getEditFormValues () | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. More... | |
validateCustom (ilPropertyFormGUI $form) | |
Validate custom values (if not possible with checkInput()) More... | |
updateCustom (ilPropertyFormGUI $form) | |
Insert custom update form values into object. More... | |
afterUpdate () | |
Post (successful) object update hook. More... | |
initImportForm (string $new_type) | |
importFileObject (int $parent_id=null) | |
afterImport (ilObject $new_object) | |
Post (successful) object import hook. More... | |
setFormAction (string $cmd, string $form_action) | |
getReturnLocation (string $cmd, string $default_location="") | |
Get return location for command (command is method name without "Object", e.g. More... | |
setReturnLocation (string $cmd, string $location) | |
set specific return location for command More... | |
getTargetFrame (string $cmd, string $default_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. More... | |
setTargetFrame (string $cmd, string $target_frame) | |
Set specific target frame for command. More... | |
showPossibleSubObjects () | |
show possible sub objects (pull down menu) More... | |
getTabs () | |
overwrite in derived GUI class of your object type More... | |
redirectToRefId (int $ref_id, string $cmd="") | |
redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current ["ref_id"] value of the request More... | |
fillCloneTemplate (?string $tpl_name, string $type) | |
Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. More... | |
getCenterColumnHTML () | |
Get center column. More... | |
getRightColumnHTML () | |
Display right column. More... | |
checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null) | |
checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $ref_id=null) | |
enableDragDropFileUpload () | |
Enables the file upload into this object by dropping files. More... | |
showCustomIconsEditing ( $input_colspan=1, ilPropertyFormGUI $form=null, $as_section=true) | |
show edit section of custom icons for container More... | |
Private Member Functions | |
questionsTabGatewayObject () | |
userResultsGatewayObject () | |
testResultsGatewayObject () | |
forwardToEvaluationGUI () | |
redirectTo_ilObjTestSettingsGeneralGUI_showForm_Object () | |
prepareSubGuiOutput () | |
populateQuestionBrowserToolbarButtons (ilToolbarGUI $toolbar, string $context) | |
isCommandClassAnyInfoScreenChild () | |
getQuestionpoolCreationForm () | |
Private Attributes | |
$testQuestionSetConfigFactory = null | |
$testSessionFactory = null | |
$objectiveOrientedContainer | |
Static Private Attributes | |
static | $infoScreenChildClasses |
Additional Inherited Members | |
![]() | |
const | ALLOWED_TAGS_IN_TITLE_AND_DESCRIPTION |
const | ADMIN_MODE_NONE = "" |
const | ADMIN_MODE_SETTINGS = "settings" |
const | ADMIN_MODE_REPOSITORY = "repository" |
const | UPLOAD_TYPE_LOCAL = 1 |
const | UPLOAD_TYPE_UPLOAD_DIRECTORY = 2 |
const | CFORM_NEW = 1 |
const | CFORM_IMPORT = 2 |
const | CFORM_CLONE = 3 |
Class ilObjTestGUI.
ilObjTestGUI: ilObjCourseGUI, ilObjectMetaDataGUI, ilCertificateGUI, ilPermissionGUI ilObjTestGUI: ilTestPlayerFixedQuestionSetGUI, ilTestPlayerRandomQuestionSetGUI, ilTestPlayerDynamicQuestionSetGUI ilObjTestGUI: ilTestExpresspageObjectGUI, ilAssQuestionPageGUI ilObjTestGUI: ilTestDashboardGUI, ilTestResultsGUI ilObjTestGUI: ilLearningProgressGUI, ilMarkSchemaGUI ilObjTestGUI: ilTestEvaluationGUI, ilParticipantsTestResultsGUI ilObjTestGUI: ilAssGenFeedbackPageGUI, ilAssSpecFeedbackPageGUI ilObjTestGUI: ilInfoScreenGUI, ilObjectCopyGUI, ilTestScoringGUI ilObjTestGUI: ilRepositorySearchGUI, ilTestExportGUI ilObjTestGUI: assMultipleChoiceGUI, assClozeTestGUI, assMatchingQuestionGUI ilObjTestGUI: assOrderingQuestionGUI, assImagemapQuestionGUI ilObjTestGUI: assNumericGUI, assErrorTextGUI, ilTestScoringByQuestionsGUI ilObjTestGUI: assTextSubsetGUI, assOrderingHorizontalGUI ilObjTestGUI: assSingleChoiceGUI, assFileUploadGUI, assTextQuestionGUI ilObjTestGUI: assKprimChoiceGUI, assLongMenuGUI ilObjTestGUI: ilObjQuestionPoolGUI, ilEditClipboardGUI ilObjTestGUI: ilObjTestSettingsGeneralGUI, ilObjTestSettingsScoringResultsGUI ilObjTestGUI: ilCommonActionDispatcherGUI ilObjTestGUI: ilTestFixedQuestionSetConfigGUI, ilTestRandomQuestionSetConfigGUI, ilObjTestDynamicQuestionSetConfigGUI ilObjTestGUI: ilAssQuestionHintsGUI, ilAssQuestionFeedbackEditingGUI, ilLocalUnitConfigurationGUI, assFormulaQuestionGUI ilObjTestGUI: ilTestPassDetailsOverviewTableGUI ilObjTestGUI: ilTestResultsToolbarGUI ilObjTestGUI: ilTestCorrectionsGUI ilObjTestGUI: ilTestSettingsChangeConfirmationGUI ilObjTestGUI: ilTestSkillAdministrationGUI ilObjTestGUI: ilAssQuestionPreviewGUI ilObjTestGUI: ilTestQuestionBrowserTableGUI, ilTestInfoScreenToolbarGUI, ilLTIProviderObjectSettingGUI
Definition at line 62 of file class.ilObjTestGUI.php.
ilObjTestGUI::__construct | ( | $refId = null | ) |
Constructor public.
mixed | null | $refId |
Definition at line 102 of file class.ilObjTestGUI.php.
References $DIC, $ilDB, ilObjectGUI\$lng, $refId, $tabsManager, ilObjectGUI\$tree, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ilLanguage\loadLanguageModule(), ILIAS\Repository\object(), ilObjectGUI\setCreationMode(), setTabsManager(), setTestAccess(), and ILIAS\Repository\ui().
|
static |
Definition at line 3024 of file class.ilObjTestGUI.php.
References $DIC, $ilErr, ilObjectGUI\$lng, ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObjectFactory\getInstanceByRefId(), ROOT_FOLDER_ID, and ilLanguage\txt().
Referenced by ilTestEvaluationGUI\detailedEvaluation(), ilTestEvaluationGUI\eval_a(), ilTestCorrectionsGUI\executeCommand(), ilTestParticipantsTimeExtensionGUI\executeCommand(), ilTestScoringGUI\executeCommand(), ilTestDashboardGUI\executeCommand(), ilTestResultsGUI\executeCommand(), ilTestEvaluationGUI\filterEvaluation(), ilTestServiceGUI\outCorrectSolution(), ilTestEvaluationGUI\outEvaluation(), ilTestEvaluationGUI\outParticipantsPassDetails(), ilTestEvaluationGUI\outParticipantsResultsOverview(), ilTestEvaluationGUI\resetfilterEvaluation(), ilTestScoringGUI\saveManScoringParticipantScreen(), ilTestScoringGUI\showManScoringParticipantScreen(), and ilTestEvaluationGUI\singleResults().
ilObjTestGUI::addDefaultsObject | ( | ) |
Adds the defaults of this test to the defaults.
Definition at line 2711 of file class.ilObjTestGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\lng(), and redirectAfterMissingWrite().
ilObjTestGUI::addDidacticTemplateOptions | ( | array & | $options | ) |
Definition at line 1071 of file class.ilObjTestGUI.php.
References ilObjTest\_getTestDefaults(), ilObjectGUI\afterSave(), applyTemplate(), ILIAS\Repository\ctrl(), ilSettingsTemplate\getAllSettingsTemplates(), ilObjectGUI\getDidacticTemplateVar(), ilObject\getRefId(), ilObjAssessmentFolderGUI\getSettingsTemplateConfig(), and ILIAS\Repository\lng().
ilObjTestGUI::addLocatorItems | ( | ) |
Definition at line 2929 of file class.ilObjTestGUI.php.
References $DIC, ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
ilObjTestGUI::addQuestionObject | ( | ) |
Definition at line 2020 of file class.ilObjTestGUI.php.
References ilObjectGUI\$data, $DIC, ILIAS\LTI\ToolProvider\$key, ilObjectGUI\$lng, $name, ilObjectGUI\$tpl, ilObjQuestionPool\_getAvailableQuestionpools(), ILIAS\Repository\access(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_IPE, assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_RTE, getTabsManager(), ilObjAssessmentFolder\isAdditionalQuestionContentEditingModePageObjectEnabled(), ILIAS\Repository\lng(), redirectAfterMissingWrite(), ilGlobalTemplateInterface\setContent(), ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), ilRadioOption\setValue(), ilTestTabsManager\SUBTAB_ID_QST_LIST_VIEW, and ilLanguage\txt().
ilObjTestGUI::applyDefaultsObject | ( | $confirmed = false | ) |
Applies the selected test defaults.
Definition at line 2626 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilObjTest\QUESTION_SET_TYPE_FIXED, and ilObjTest\QUESTION_SET_TYPE_RANDOM.
Referenced by confirmedApplyDefaultsObject().
ilObjTestGUI::applyTemplate | ( | $templateData, | |
ilObjTest | $object | ||
) |
Definition at line 3492 of file class.ilObjTestGUI.php.
References ilObjTestSettingsGeneralGUI\ANSWER_FIXATION_NONE, ilObjTestSettingsGeneralGUI\ANSWER_FIXATION_ON_FOLLOWUP_QUESTION, ilObjTestSettingsGeneralGUI\ANSWER_FIXATION_ON_IFB_OR_FUQST, ilObjTestSettingsGeneralGUI\ANSWER_FIXATION_ON_INSTANT_FEEDBACK, ilObjTest\getScoreSettings(), ilObjTest\getScoreSettingsRepository(), REDIRECT_ALWAYS, REDIRECT_NONE, ilObjTest\setAutosave(), ilObjTest\setAutosaveIval(), ilObjTest\setFollowupQuestionAnswerFixationEnabled(), ilObjTest\setInstantFeedbackAnswerFixationEnabled(), ilObjTest\setRedirectionMode(), and ilObjTest\setRedirectionUrl().
Referenced by addDidacticTemplateOptions().
ilObjTestGUI::backObject | ( | ) |
Called when the back button in the question browser was pressed.
Called when the back button in the question browser was pressed
public
Definition at line 1453 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Referenced by ilObjTestGUITest\testBackObject().
ilObjTestGUI::backToRepositoryObject | ( | ) |
Definition at line 1127 of file class.ilObjTestGUI.php.
References $path, ilObjectGUI\getReturnLocation(), ILIAS\Repository\object(), and ilUtil\redirect().
ilObjTestGUI::buildPageViewToolbar | ( | $qid = 0 | ) |
Definition at line 3090 of file class.ilObjTestGUI.php.
References $DIC, ilObjectGUI\$id, $ilUser, ilObjectGUI\$lng, ilObjTestAccess\_lookupOnlineTestAccess(), ilTestQuestionBrowserTableGUI\CONTEXT_PAGE_VIEW, ilLinkButton\getInstance(), ILIAS\Repository\lng(), ILIAS\Repository\object(), populateQuestionBrowserToolbarButtons(), and ilLanguage\txt().
Referenced by executeCommand().
ilObjTestGUI::cancelCreateQuestionObject | ( | ) |
Called when the creation of a new question is cancelled.
Called when the creation of a new question is cancelled
public
Definition at line 1656 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Referenced by ilObjTestGUITest\testCancelCreateQuestionObject().
ilObjTestGUI::cancelRandomSelectObject | ( | ) |
Definition at line 1526 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Referenced by ilObjTestGUITest\testCancelRandomSelectObject().
ilObjTestGUI::cancelRemoveQuestionsObject | ( | ) |
Cancels the removal of questions from the test.
Cancels the removal of questions from the test
public
Definition at line 1824 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Referenced by ilObjTestGUITest\testCancelRemoveQuestionsObject().
ilObjTestGUI::certificateObject | ( | ) |
Shows the certificate editor.
Definition at line 2988 of file class.ilObjTestGUI.php.
References $DIC, ILIAS\Repository\access(), redirectAfterMissingWrite(), and ilTestTabsManager\TAB_ID_SETTINGS.
ilObjTestGUI::confirmedApplyDefaultsObject | ( | ) |
Definition at line 2613 of file class.ilObjTestGUI.php.
References ILIAS\Repository\access(), applyDefaultsObject(), and redirectAfterMissingWrite().
ilObjTestGUI::confirmRemoveQuestionsObject | ( | ) |
Remove questions from the test after confirmation.
Definition at line 1762 of file class.ilObjTestGUI.php.
References ILIAS\LTI\ToolProvider\$key, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and redirectAfterMissingWrite().
ilObjTestGUI::copyAndLinkQuestionsToPoolObject | ( | ) |
ilObjectDataCache $ilObjDataCache
Definition at line 3260 of file class.ilObjTestGUI.php.
References $DIC, ILIAS\Repository\access(), copyAndLinkToQuestionpoolObject(), copyQuestionsToPool(), ILIAS\Repository\ctrl(), assQuestion\instantiateQuestion(), ILIAS\Repository\lng(), assQuestion\originalQuestionExists(), and redirectAfterMissingWrite().
Referenced by createQuestionPoolAndCopyObject().
ilObjTestGUI::copyAndLinkToQuestionpoolObject | ( | ) |
Definition at line 3330 of file class.ilObjTestGUI.php.
References $DIC, ilObjectGUI\$lng, ilObjectGUI\$type, assQuestion\_getOriginalId(), ilObject\_lookupType(), ILIAS\Repository\access(), createQuestionpoolTargetObject(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), assQuestion\lookupParentObjId(), assQuestion\originalQuestionExists(), redirectAfterMissingWrite(), and ilLanguage\txt().
Referenced by copyAndLinkQuestionsToPoolObject(), and createQuestionPoolAndCopyObject().
ilObjTestGUI::copyQuestionObject | ( | ) |
Definition at line 3811 of file class.ilObjTestGUI.php.
References $DIC, $i, ilObjectGUI\$id, ILIAS\Repository\ctrl(), assQuestion\instantiateQuestionGUI(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
ilObjTestGUI::copyQuestionsToPool | ( | $questionIds, | |
$qplId | |||
) |
Definition at line 3226 of file class.ilObjTestGUI.php.
References copyQuestionToPool().
Referenced by copyAndLinkQuestionsToPoolObject(), and copyQuestionsToPoolObject().
ilObjTestGUI::copyQuestionsToPoolObject | ( | ) |
Definition at line 3216 of file class.ilObjTestGUI.php.
References ILIAS\Repository\access(), copyQuestionsToPool(), ILIAS\Repository\ctrl(), and redirectAfterMissingWrite().
ilObjTestGUI::copyQuestionToPool | ( | $sourceQuestionId, | |
$targetParentId | |||
) |
Definition at line 3241 of file class.ilObjTestGUI.php.
References assQuestion\instantiateQuestionGUI().
Referenced by copyQuestionsToPool().
ilObjTestGUI::copyToQuestionpoolObject | ( | ) |
Definition at line 3321 of file class.ilObjTestGUI.php.
References ILIAS\Repository\access(), createQuestionpoolTargetObject(), and redirectAfterMissingWrite().
ilObjTestGUI::createQuestionObject | ( | ) |
Called when a new question should be created from a test.
Called when a new question should be created from a test * public
Definition at line 1668 of file class.ilObjTestGUI.php.
References $DIC, ILIAS\LTI\ToolProvider\$key, ilObjectGUI\$lng, $name, ilObjQuestionPool\_getAvailableQuestionpools(), ILIAS\Repository\access(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_IPE, assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_RTE, ILIAS\Repository\ctrl(), ilObjQuestionPool\getQuestionTypeByTypeId(), getTabsManager(), ilObjAssessmentFolder\isAdditionalQuestionContentEditingModePageObjectEnabled(), ILIAS\Repository\lng(), redirectAfterMissingWrite(), ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), ilRadioOption\setValue(), ilTestTabsManager\SUBTAB_ID_QST_LIST_VIEW, and ilLanguage\txt().
Referenced by executeCreateQuestionObject().
ilObjTestGUI::createQuestionPool | ( | $name = "dummy" , |
|
$description = "" |
|||
) |
Creates a new questionpool and returns the reference id.
Creates a new questionpool and returns the reference id
Definition at line 1466 of file class.ilObjTestGUI.php.
References $DIC, $name, ilObjectGUI\$tree, ilTree\getParentId(), and ILIAS\Repository\object().
Referenced by createQuestionPoolAndCopyObject(), and executeCreateQuestionObject().
ilObjTestGUI::createQuestionPoolAndCopyObject | ( | ) |
Definition at line 3367 of file class.ilObjTestGUI.php.
References ilObjectGUI\$ref_id, ILIAS\Repository\access(), ilObjectGUI\checkPermissionBool(), copyAndLinkQuestionsToPoolObject(), copyAndLinkToQuestionpoolObject(), createQuestionPool(), ILIAS\Repository\lng(), and redirectAfterMissingWrite().
ilObjTestGUI::createQuestionpoolTargetObject | ( | $cmd | ) |
Called when a new question should be created from a test Important: $cmd may be overwritten if no question pool is available.
public
Definition at line 3405 of file class.ilObjTestGUI.php.
References $DIC, ILIAS\Repository\access(), getTabsManager(), getTargetQuestionpoolForm(), redirectAfterMissingWrite(), and ilTestTabsManager\SUBTAB_ID_QST_LIST_VIEW.
Referenced by copyAndLinkToQuestionpoolObject(), and copyToQuestionpoolObject().
ilObjTestGUI::createRandomSelectionObject | ( | ) |
Definition at line 1531 of file class.ilObjTestGUI.php.
References ILIAS\Repository\access(), getTabsManager(), redirectAfterMissingWrite(), and ilTestTabsManager\SUBTAB_ID_QST_LIST_VIEW.
ilObjTestGUI::deleteDefaultsObject | ( | ) |
Deletes selected test defaults.
Definition at line 2594 of file class.ilObjTestGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\lng(), and redirectAfterMissingWrite().
|
protected |
Definition at line 3864 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 1423 of file class.ilObjTestGUI.php.
References exit, and ilPageObject\send_paragraph().
ilObjTestGUI::downloadFileObject | ( | ) |
ilObjTestGUI::executeCommand | ( | ) |
execute command
Definition at line 155 of file class.ilObjTestGUI.php.
References $DIC, Vendor\Package\$e, $GLOBALS, $ilDB, ilObjectGUI\$ilias, $ilUser, ilObjectGUI\$lng, ilObjectGUI\$object, ilObjectGUI\$tpl, ilObjectGUI\$tree, ilObjectGUI\$user, assQuestionGUI\_getQuestionGUI(), ilObjectGUI\addHeaderAction(), buildPageViewToolbar(), ilAssQuestionPreviewGUI\CMD_SHOW, ILIAS\Repository\ctrl(), determineObjectiveOrientedContainer(), assQuestionGUI\EDIT_CONTEXT_AUTHORING, fetchAuthoringQuestionIdParameter(), forwardToEvaluationGUI(), ilObjStyleSheet\getContentStylePath(), ilObjectGUI\getCreationMode(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), getObjectiveOrientedContainer(), ilObjStyleSheet\getSyntaxStylePath(), getTabsManager(), getTestAccess(), infoScreen(), ilAssQuestionPreviewGUI\initQuestion(), ILIAS\Repository\lng(), ilLearningProgressBaseGUI\LP_CONTEXT_REPOSITORY, ILIAS\Repository\object(), ilObjectGUI\prepareOutput(), prepareSubGuiOutput(), questionsObject(), ILIAS\Repository\rbac(), redirectAfterMissingRead(), redirectAfterMissingWrite(), ILIAS\Repository\refinery(), assQuestionGUI\RENDER_PURPOSE_PREVIEW, ilGlobalTemplateInterface\setContent(), ilLTIProviderObjectSettingGUI\setCustomRolesForSelection(), ilTestDashboardGUI\setTestAccess(), ilTestResultsGUI\setTestAccess(), ilTestQuestionBrowserTableGUI\setWriteAccess(), ilUtil\stripSlashes(), ilTestTabsManager\SUBTAB_ID_QST_PAGE_VIEW, ilTestTabsManager\TAB_ID_EXPORT, ilTestTabsManager\TAB_ID_LEARNING_PROGRESS, ilTestTabsManager\TAB_ID_META_DATA, ilTestTabsManager\TAB_ID_PERMISSIONS, ilTestTabsManager\TAB_ID_SETTINGS, trackTestObjectReadEvent(), and ILIAS\Repository\ui().
ilObjTestGUI::executeCreateQuestionObject | ( | ) |
Called when a new question should be created from a test after confirmation.
Definition at line 1592 of file class.ilObjTestGUI.php.
References Vendor\Package\$e, ILIAS\Repository\access(), ilUtil\appendUrlParameterString(), createQuestionObject(), createQuestionPool(), exit, ilObjQuestionPool\getQuestionTypeByTypeId(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilUtil\redirect(), redirectAfterMissingWrite(), and ilSession\set().
|
protected |
Gateway for exports initiated from workspace, as there is a generic forward to {objTypeMainGUI}::export()
Definition at line 915 of file class.ilObjTestGUI.php.
References $DIC.
|
protected |
ilTestException |
Definition at line 925 of file class.ilObjTestGUI.php.
References $_GET, $keys, ILIAS\Repository\int(), and ILIAS\Repository\object().
Referenced by executeCommand().
|
private |
Definition at line 1010 of file class.ilObjTestGUI.php.
References ilObjectGUI\addHeaderAction(), ILIAS\Repository\ctrl(), getObjectiveOrientedContainer(), getTestAccess(), and ilObjectGUI\prepareOutput().
Referenced by executeCommand(), and userResultsGatewayObject().
ilObjTestGUI::fullscreenObject | ( | ) |
show fullscreen view
Definition at line 1414 of file class.ilObjTestGUI.php.
References ilPageObjectGUI\showMediaFullscreen().
|
protected |
Definition at line 3885 of file class.ilObjTestGUI.php.
References $objectiveOrientedContainer.
Referenced by executeCommand(), forwardToEvaluationGUI(), getTabs(), and infoScreen().
|
private |
Definition at line 3295 of file class.ilObjTestGUI.php.
References $DIC, ilObjectGUI\$id, ilObjectGUI\$lng, and ilLanguage\txt().
ilObjTestGUI::getTabs | ( | ) |
adds tabs to tab gui object
ilTabsGUI | $tabs_gui |
Definition at line 3009 of file class.ilObjTestGUI.php.
References $DIC, ilLink\_getLink(), getObjectiveOrientedContainer(), ilObjectGUI\getRefId(), getTabsManager(), and ILIAS\Repository\lng().
ilObjTestGUI::getTabsManager | ( | ) |
Definition at line 997 of file class.ilObjTestGUI.php.
References $tabsManager.
Referenced by addQuestionObject(), createQuestionObject(), createQuestionpoolTargetObject(), createRandomSelectionObject(), executeCommand(), getTabs(), printobject(), questionsObject(), randomselectObject(), removeQuestionsObject(), and reviewobject().
|
protected |
Definition at line 3445 of file class.ilObjTestGUI.php.
References $DIC, ilObjectGUI\$id, ILIAS\LTI\ToolProvider\$key, ILIAS\Repository\lng(), and ilFormPropertyGUI\setTitle().
Referenced by createQuestionpoolTargetObject().
ilObjTestGUI::getTestAccess | ( | ) |
Definition at line 981 of file class.ilObjTestGUI.php.
References $testAccess.
Referenced by executeCommand(), and forwardToEvaluationGUI().
ilObjTestGUI::historyObject | ( | ) |
Creates the change history for a test.
Creates the change history for a test
public
Definition at line 2302 of file class.ilObjTestGUI.php.
References $DIC, $log, ilObjAssessmentFolder\_getLog(), ILIAS\Repository\access(), ILIAS\Repository\object(), redirectAfterMissingWrite(), and ilTestTabsManager\TAB_ID_HISTORY.
|
protected |
form for new test object import
Definition at line 1053 of file class.ilObjTestGUI.php.
References ilObjectGUI\checkPermissionBool(), ILIAS\Repository\ctrl(), initImportForm(), redirectAfterMissingWrite(), and uploadTst().
ilObjTestGUI::importVerifiedFileObject | ( | ) |
imports question(s) into the questionpool (after verification)
Definition at line 1313 of file class.ilObjTestGUI.php.
References ilObjTest\_getImportDirectory(), ilObjTest\_setImportDirectory(), ilObjectGUI\checkPermissionBool(), ilFileUtils\delDir(), ilSession\get(), ilImport\getMapping(), IL_INST_ID, ILIAS\Repository\lng(), ilUtil\redirect(), redirectAfterMissingWrite(), and ilSession\set().
Referenced by uploadTst().
ilObjTestGUI::infoScreen | ( | $session_lock = "" | ) |
show information screen
Definition at line 2756 of file class.ilObjTestGUI.php.
References $_GET, $DIC, $GLOBALS, $ilUser, ilObjectGUI\$toolbar, ilObjectGUI\ALLOWED_TAGS_IN_TITLE_AND_DESCRIPTION, COUNT_PARTIAL_SOLUTIONS, ILIAS\Repository\ctrl(), ilDatePresentation\formatDate(), getObjectiveOrientedContainer(), IL_CAL_TIMESTAMP, IL_CAL_UNIX, isCommandClassAnyInfoScreenChild(), ILIAS\Repository\lng(), ILIAS\Repository\object(), redirectAfterMissingRead(), SCORE_BEST_PASS, ilObjTest\SCORE_REPORTING_AFTER_PASSED, ilObjTest\SCORE_REPORTING_DATE, ilObjTest\SCORE_REPORTING_FINISHED, ilObjTest\SCORE_REPORTING_IMMIDIATLY, ilToolbarGUI\setCloseFormTag(), ilTestTabsManager\TAB_ID_INFOSCREEN, TEST_FIXED_SEQUENCE, and trackTestObjectReadEvent().
Referenced by executeCommand(), infoScreenObject(), and redirectToInfoScreenObject().
ilObjTestGUI::infoScreenObject | ( | ) |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed
Definition at line 2739 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), and infoScreen().
ilObjTestGUI::initImportForm | ( | string | $new_type | ) |
Definition at line 2318 of file class.ilObjTestGUI.php.
References ILIAS\LTI\ToolProvider\$key, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilFileInputGUI\setSuffixes().
Referenced by importFileObject().
ilObjTestGUI::insertQuestionsAfterObject | ( | ) |
Insert checked questions after the actual selection.
Definition at line 1953 of file class.ilObjTestGUI.php.
References ILIAS\Repository\access(), insertQuestionsBeforeOrAfter(), and redirectAfterMissingWrite().
ilObjTestGUI::insertQuestionsBeforeObject | ( | ) |
Insert checked questions before the actual selection.
Definition at line 1941 of file class.ilObjTestGUI.php.
References ILIAS\Repository\access(), insertQuestionsBeforeOrAfter(), and redirectAfterMissingWrite().
|
protected |
integer | $insert_mode | 0, if insert before the target position, 1 if insert after the target position |
Definition at line 1965 of file class.ilObjTestGUI.php.
References ilSession\clear(), ILIAS\Repository\ctrl(), ilSession\get(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by insertQuestionsAfterObject(), and insertQuestionsBeforeObject().
ilObjTestGUI::insertQuestionsObject | ( | ) |
Insert questions from the questionbrowser into the test.
public
Definition at line 1990 of file class.ilObjTestGUI.php.
References ILIAS\LTI\ToolProvider\$key, assQuestion\_needsManualScoring(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and redirectAfterMissingWrite().
ilObjTestGUI::insertRandomSelectionObject | ( | ) |
Inserts a random selection into the test.
Inserts a random selection into the test
public
Definition at line 1555 of file class.ilObjTestGUI.php.
References ILIAS\LTI\ToolProvider\$key, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and redirectAfterMissingWrite().
|
private |
Definition at line 2725 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Referenced by infoScreen().
|
protected |
Move current page.
Definition at line 3738 of file class.ilObjTestGUI.php.
References $DIC, ilObjectGUI\$lng, ilObjectGUI\$tpl, ILIAS\Repository\access(), ILIAS\Repository\lng(), redirectAfterMissingWrite(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
ilObjTestGUI::movePageObject | ( | ) |
Definition at line 3788 of file class.ilObjTestGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and showPageObject().
ilObjTestGUI::moveQuestionsObject | ( | ) |
Marks selected questions for moving.
Definition at line 1920 of file class.ilObjTestGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), redirectAfterMissingWrite(), and ilSession\set().
Referenced by ilObjTestGUITest\testMoveQuestionsObject().
ilObjTestGUI::outEvaluationObject | ( | ) |
Definition at line 1045 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Referenced by ilObjTestGUITest\testOutEvaluationObject().
ilObjTestGUI::participantsActionObject | ( | ) |
Evaluates the actions on the participants page.
public
Definition at line 2355 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
|
private |
Definition at line 2255 of file class.ilObjTestGUI.php.
References ilToolbarGUI\addButton(), ilTestQuestionBrowserTableGUI\CMD_BROWSE_QUESTIONS, ilTestQuestionBrowserTableGUI\CONTEXT_PARAMETER, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilTestQuestionBrowserTableGUI\MODE_BROWSE_POOLS, ilTestQuestionBrowserTableGUI\MODE_BROWSE_TESTS, and ilTestQuestionBrowserTableGUI\MODE_PARAMETER.
Referenced by buildPageViewToolbar(), and questionsObject().
|
private |
Definition at line 1026 of file class.ilObjTestGUI.php.
References $DIC, $ilUser, ilObjectGUI\setLocator(), and ilObjectGUI\setTitleAndDescription().
Referenced by executeCommand().
ilObjTestGUI::printobject | ( | ) |
Print tab to create a print of all questions with points and solutions.
Print tab to create a print of all questions with points and solutions
public
Definition at line 2375 of file class.ilObjTestGUI.php.
References $DIC, $ilUser, ilObjectGUI\ALLOWED_TAGS_IN_TITLE_AND_DESCRIPTION, ILIAS\Repository\ctrl(), ilDatePresentation\formatDate(), ilTestPDFGenerator\generatePDF(), ilUtil\getStyleSheetLocation(), getTabsManager(), IL_CAL_UNIX, ILIAS\Repository\lng(), ILIAS\Repository\object(), ilTestPDFGenerator\PDF_OUTPUT_DOWNLOAD, PDF_PRINT_VIEW_QUESTIONS, ilLegacyFormElementsUtil\prepareFormOutput(), ilPDFGeneratorUtils\prepareGenerationRequest(), assQuestionGUI\PRESENTATION_CONTEXT_TEST, assQuestionGUI\RENDER_PURPOSE_PRINT_PDF, ilWACSignedPath\setTokenMaxLifetimeInSeconds(), ilDatePresentation\setUseRelativeDates(), and ilDatePresentation\useRelativeDates().
ilObjTestGUI::questionsObject | ( | ) |
Definition at line 2138 of file class.ilObjTestGUI.php.
References $DIC, $message, ilTestQuestionBrowserTableGUI\CONTEXT_LIST_VIEW, ILIAS\Repository\ctrl(), ilSession\get(), getTabsManager(), ILIAS\Repository\lng(), ILIAS\Repository\object(), populateQuestionBrowserToolbarButtons(), ilUtil\redirect(), and ilTestTabsManager\SUBTAB_ID_QST_LIST_VIEW.
Referenced by executeCommand().
|
private |
Definition at line 947 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
ilObjTestGUI::randomselectObject | ( | ) |
Definition at line 1484 of file class.ilObjTestGUI.php.
References ILIAS\LTI\ToolProvider\$key, ILIAS\Repository\access(), ilNumberInputGUI\allowDecimals(), ILIAS\Repository\ctrl(), getTabsManager(), ILIAS\Repository\lng(), redirectAfterMissingWrite(), ilUtil\stripSlashes(), and ilTestTabsManager\SUBTAB_ID_QST_LIST_VIEW.
|
protected |
Definition at line 889 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ROOT_FOLDER_ID.
Referenced by executeCommand(), and infoScreen().
|
protected |
Definition at line 881 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by addDefaultsObject(), addQuestionObject(), certificateObject(), confirmedApplyDefaultsObject(), confirmRemoveQuestionsObject(), copyAndLinkQuestionsToPoolObject(), copyAndLinkToQuestionpoolObject(), copyQuestionsToPoolObject(), copyToQuestionpoolObject(), createQuestionObject(), createQuestionPoolAndCopyObject(), createQuestionpoolTargetObject(), createRandomSelectionObject(), deleteDefaultsObject(), executeCommand(), executeCreateQuestionObject(), historyObject(), importFileObject(), importVerifiedFileObject(), insertQuestionsAfterObject(), insertQuestionsBeforeObject(), insertQuestionsObject(), insertRandomSelectionObject(), movePageFormObject(), moveQuestionsObject(), randomselectObject(), removeImportFailsObject(), removeQuestionsForm(), removeQuestionsObject(), and uploadObject().
|
private |
Definition at line 1021 of file class.ilObjTestGUI.php.
References ilObjTestSettingsGeneralGUI\CMD_SHOW_FORM, and ILIAS\Repository\ctrl().
ilObjTestGUI::redirectToInfoScreenObject | ( | ) |
Definition at line 2746 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), and infoScreen().
|
protected |
Definition at line 2915 of file class.ilObjTestGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilTestSkillLevelThresholdImportFails\deleteRegisteredImportFails(), ilAssQuestionSkillAssignmentImportFails\deleteRegisteredImportFails(), ILIAS\Repository\object(), and redirectAfterMissingWrite().
ilObjTestGUI::removeQuestionsForm | ( | $checked_questions | ) |
Displays a form to confirm the removal of questions from the test.
Displays a form to confirm the removal of questions from the test
public
Definition at line 1841 of file class.ilObjTestGUI.php.
References ilObjectGUI\$data, $txt, assQuestion\_getQuestionTypeName(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and redirectAfterMissingWrite().
Referenced by removeQuestionsObject().
ilObjTestGUI::removeQuestionsObject | ( | ) |
Called when a selection of questions should be removed from the test.
Definition at line 1890 of file class.ilObjTestGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), getTabsManager(), ILIAS\Repository\lng(), redirectAfterMissingWrite(), removeQuestionsForm(), and ilTestTabsManager\SUBTAB_ID_QST_LIST_VIEW.
ilObjTestGUI::reviewobject | ( | ) |
Review tab to create a print of all questions without points and solutions.
Review tab to create a print of all questions without points and solutions
public
Definition at line 2474 of file class.ilObjTestGUI.php.
References $DIC, ilObjectGUI\$tpl, ilObjectGUI\ALLOWED_TAGS_IN_TITLE_AND_DESCRIPTION, ILIAS\Repository\ctrl(), ilDatePresentation\formatDate(), ilTestPDFGenerator\generatePDF(), ilUtil\getStyleSheetLocation(), getTabsManager(), IL_CAL_UNIX, ILIAS\Repository\lng(), ILIAS\Repository\object(), ilTestPDFGenerator\PDF_OUTPUT_DOWNLOAD, PDF_PRINT_VIEW_QUESTIONS, ilLegacyFormElementsUtil\prepareFormOutput(), ilPDFGeneratorUtils\prepareGenerationRequest(), assQuestionGUI\RENDER_PURPOSE_PREVIEW, ilGlobalTemplateInterface\setContent(), ilGlobalTemplateInterface\setOnScreenMessage(), ilWACSignedPath\setTokenMaxLifetimeInSeconds(), ilDatePresentation\setUseRelativeDates(), ilTestTabsManager\TAB_ID_SETTINGS, and ilDatePresentation\useRelativeDates().
ilObjTestGUI::runObject | ( | ) |
Definition at line 1040 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
Referenced by ilObjTestGUITest\testRunObject().
ilObjTestGUI::saveOrderAndObligationsObject | ( | ) |
Definition at line 3695 of file class.ilObjTestGUI.php.
References $DIC, ilObjectGUI\$id, ILIAS\Repository\ctrl(), ILIAS\Repository\int(), ilObjTest\isQuestionObligationPossible(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
ilObjTestGUI::setTabsManager | ( | $tabsManager | ) |
ilTestTabsManager | $tabsManager |
Definition at line 1005 of file class.ilObjTestGUI.php.
References $tabsManager.
Referenced by __construct().
ilObjTestGUI::setTestAccess | ( | $testAccess | ) |
ilTestAccess | $testAccess |
Definition at line 989 of file class.ilObjTestGUI.php.
References $testAccess.
Referenced by __construct().
ilObjTestGUI::showPageObject | ( | ) |
Definition at line 3802 of file class.ilObjTestGUI.php.
References $DIC.
Referenced by movePageObject().
ilObjTestGUI::statisticsObject | ( | ) |
Definition at line 2981 of file class.ilObjTestGUI.php.
ilObjTestGUI::takenObject | ( | ) |
Definition at line 2291 of file class.ilObjTestGUI.php.
|
private |
Definition at line 965 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Definition at line 899 of file class.ilObjTestGUI.php.
References $DIC, ilChangeEvent\_recordReadEvent(), and ILIAS\Repository\object().
Referenced by executeCommand(), and infoScreen().
ilObjTestGUI::uploadObject | ( | $redirect = true | ) |
display status information or report errors messages in case of error
public
Definition at line 1392 of file class.ilObjTestGUI.php.
References ilObjectGUI\checkPermissionBool(), redirectAfterMissingWrite(), and uploadTst().
ilObjTestGUI::uploadTst | ( | ) |
imports test and question(s)
Definition at line 1136 of file class.ilObjTestGUI.php.
References Vendor\Package\$e, ilObjectGUI\$object, ilObjTest\_createImportDirectory(), ilObjTest\_getImportDirectory(), ilObjTest\_setImportDirectory(), CLOZE_TEST_IDENTIFIER, ilObjectGUI\createObject(), ILIAS\Repository\ctrl(), ilFileUtils\delDir(), ERROR_TEXT_IDENTIFIER, FILE_UPLOAD_IDENTIFIER, FORMULA_QUESTION_IDENTIFIER, ilUtil\getImagePath(), ilQTIParser\IL_MO_VERIFY_QTI, IMAGEMAP_QUESTION_IDENTIFIER, importVerifiedFileObject(), ILIAS\Repository\int(), KPRIM_CHOICE_QUESTION_IDENTIFIER, ILIAS\Repository\lng(), LONG_MENU_QUESTION_IDENTIFIER, MATCHING_QUESTION_IDENTIFIER, ilFileUtils\moveUploadedFile(), MULTIPLE_CHOICE_QUESTION_IDENTIFIER, NUMERIC_QUESTION_IDENTIFIER, ORDERING_HORIZONTAL_IDENTIFIER, ORDERING_QUESTION_IDENTIFIER, ilQTIItem\QT_CLOZE, ilQTIItem\QT_ERRORTEXT, ilQTIItem\QT_FILEUPLOAD, ilQTIItem\QT_FORMULA, ilQTIItem\QT_IMAGEMAP, ilQTIItem\QT_KPRIM_CHOICE, ilQTIItem\QT_LONG_MENU, ilQTIItem\QT_MATCHING, ilQTIItem\QT_MULTIPLE_CHOICE_MR, ilQTIItem\QT_MULTIPLE_CHOICE_SR, ilQTIItem\QT_NUMERIC, ilQTIItem\QT_ORDERING, ilQTIItem\QT_ORDERING_HORIZONTAL, ilQTIItem\QT_TEXT, ilQTIItem\QT_TEXTSUBSET, ilObjTest\QUESTION_SET_TYPE_FIXED, ilSession\set(), SINGLE_CHOICE_QUESTION_IDENTIFIER, TEXT_QUESTION_IDENTIFIER, TEXTSUBSET_QUESTION_IDENTIFIER, and ilFileUtils\unzip().
Referenced by importFileObject(), and uploadObject().
|
private |
Definition at line 956 of file class.ilObjTestGUI.php.
References ILIAS\Repository\ctrl(), and forwardToEvaluationGUI().
|
staticprivate |
Definition at line 64 of file class.ilObjTestGUI.php.
|
private |
Definition at line 83 of file class.ilObjTestGUI.php.
Referenced by getObjectiveOrientedContainer().
|
protected |
Definition at line 78 of file class.ilObjTestGUI.php.
Referenced by __construct(), getTabsManager(), and setTabsManager().
|
protected |
Definition at line 88 of file class.ilObjTestGUI.php.
Referenced by getTestAccess(), and setTestAccess().
|
private |
Definition at line 69 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 90 of file class.ilObjTestGUI.php.
|
private |
Definition at line 73 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 92 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 95 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 94 of file class.ilObjTestGUI.php.