ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 &$a_options) | |
afterSave (ilObject $a_new_object) | |
save object public More... | |
backToRepositoryObject () | |
uploadTstObject () | |
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... | |
filterObject () | |
Sets the filter for the question browser. More... | |
resetFilterObject () | |
Resets the filter for the question browser. 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 () | |
Creates a form for random selection of questions. More... | |
cancelRandomSelectObject () | |
Cancels the form for random selection of questions. More... | |
createRandomSelectionObject () | |
Offers a random selection for insertion in the test. More... | |
insertRandomSelectionObject () | |
Inserts a random selection into the test. More... | |
browseForQuestionsObject () | |
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 ($a_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 () | |
addLocatorItems () | |
statisticsObject () | |
certificateObject () | |
Shows the certificate editor. More... | |
getTabs () | |
adds tabs to tab gui object More... | |
buildPageViewToolbar ($qid=0) | |
Questions per page. More... | |
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 () | |
Public Member Functions inherited from ilObjectGUI | |
executeCommand () | |
execute command More... | |
withReferences () | |
determines wether objects are referenced or not (got ref ids or not) More... | |
setCreationMode ($a_mode=true) | |
if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui More... | |
getCreationMode () | |
get creation mode More... | |
prepareOutput ($a_show_subobjects=true) | |
prepare output More... | |
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 public More... | |
createObject () | |
create new object form More... | |
cancelCreation () | |
cancel create action and go back to repository parent More... | |
saveObject () | |
save object More... | |
getDidacticTemplateVar ($a_type) | |
Get didactic template setting from creation screen. More... | |
putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
Add object to tree at given position. More... | |
editObject () | |
edit object More... | |
addExternalEditFormCustom (ilPropertyFormGUI $a_form) | |
updateObject () | |
updates object entry in object_data More... | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. More... | |
isVisible ($a_ref_id, $a_type) | |
viewObject () | |
list childs of current object More... | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. More... | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. More... | |
redirectAfterCreation () | |
Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html. More... | |
Static Public Member Functions | |
static | accessViolationRedirect () |
static | _goto ($a_target) |
Redirect script to call a test with the test reference id. More... | |
Static Public Member Functions inherited from ilObjectGUI | |
static | _gotoRepositoryRoot ($a_raise_error=false) |
Goto repository root. More... | |
static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
Goto repository root. More... | |
Data Fields | |
$object = null | |
Data Fields inherited from ilObjectGUI | |
const | COPY_WIZARD_NEEDS_PAGE = 1 |
$objDefinition | |
$tpl | |
$tree | |
$lng | |
$data | |
$object | |
$ref_id | |
$obj_id | |
$maxcount | |
$formaction | |
$return_location | |
$target_frame | |
$tab_target_script | |
$actions | |
$sub_objects | |
$omit_locator = false | |
const | CFORM_NEW = 1 |
const | CFORM_IMPORT = 2 |
const | CFORM_CLONE = 3 |
Protected Member Functions | |
trackTestObjectReadEvent () | |
exportObject () | |
Gateway for exports initiated from workspace, as there is a generic forward to {objTypeMainGUI}::export() More... | |
fetchAuthoringQuestionIdParameter () | |
importFileObject ($parent_id=null, $a_catch_errors=true) | |
form for new test object import More... | |
removeImportFailsObject () | |
movePageFormObject () | |
Move current page. More... | |
determineObjectiveOrientedContainer () | |
getObjectiveOrientedContainer () | |
Protected Member Functions inherited from ilObjectGUI | |
getObjectService () | |
Get object service. More... | |
assignObject () | |
setTitleAndDescription () | |
called by prepare output More... | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add header action menu. More... | |
insertHeaderAction ($a_list_gui) | |
Insert header action into main template. More... | |
addHeaderAction () | |
Add header action menu. More... | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. More... | |
showMountWebfolderIcon () | |
setTabs () | |
set admin tabs public More... | |
setAdminTabs () | |
set admin tabs public More... | |
setLocator () | |
set Locator More... | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
omitLocator ($a_omit=true) | |
addAdminLocatorItems ($a_do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
initCreationForms ($a_new_type) | |
Init creation froms. More... | |
getCreationFormsHTML (array $a_forms) | |
Get HTML for creation forms (accordion) More... | |
initCreateForm ($a_new_type) | |
Init object creation form. More... | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
Show didactic template types. More... | |
addDidacticTemplateOptions (array &$a_options) | |
Add custom templates. More... | |
afterSave (ilObject $a_new_object) | |
Post (successful) object creation hook. More... | |
initEditForm () | |
Init object edit form. More... | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. More... | |
getEditFormValues () | |
Get values for edit form. More... | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. More... | |
validateCustom (ilPropertyFormGUI $a_form) | |
Validate custom values (if not possible with checkInput()) More... | |
updateCustom (ilPropertyFormGUI $a_form) | |
Insert custom update form values into object. More... | |
afterUpdate () | |
Post (successful) object update hook. More... | |
initImportForm ($a_new_type) | |
Init object import form. More... | |
importFileObject ($parent_id=null, $a_catch_errors=true) | |
Import. More... | |
afterImport (ilObject $a_new_object) | |
Post (successful) object import hook. More... | |
setFormAction ($a_cmd, $a_formaction) | |
set specific form action for command More... | |
getReturnLocation ($a_cmd, $a_location="") | |
get return location for command (command is method name without "Object", e.g. More... | |
setReturnLocation ($a_cmd, $a_location) | |
set specific return location for command More... | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. More... | |
setTargetFrame ($a_cmd, $a_target_frame) | |
set specific target frame for command More... | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) More... | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. More... | |
getTabs () | |
get tabs abstract method. More... | |
__showButton ($a_cmd, $a_text, $a_target='') | |
hitsperpageObject () | |
& | __initTableGUI () |
__setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
standard implementation for tables use 'from' variable use different initial setting of table More... | |
redirectToRefId ($a_ref_id, $a_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 $_GET["ref_id"] value More... | |
fillCloneTemplate ($a_tpl_varname, $a_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... | |
setColumnSettings (ilColumnGUI $column_gui) | |
May be overwritten in subclasses. More... | |
checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission and redirect on error. More... | |
checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission. More... | |
enableDragDropFileUpload () | |
Enables the file upload into this object by dropping files. More... | |
handleAutoRating (ilObject $a_new_obj) | |
Activate rating automatically if parent container setting. More... | |
Protected Attributes | |
$tabsManager | |
$testAccess | |
Protected Attributes inherited from ilObjectGUI | |
$ilErr | |
$locator | |
$user | |
$access | |
$settings | |
$rbacreview | |
$toolbar | |
$tmp_import_dir | |
$tabs_gui = null | |
$ctrl | |
$object_service | |
Private Member Functions | |
questionsTabGatewayObject () | |
userResultsGatewayObject () | |
forwardToEvaluationGUI () | |
redirectTo_ilObjTestSettingsGeneralGUI_showForm_Object () | |
prepareSubGuiOutput () | |
prepares ilias to get output rendered by sub gui class More... | |
populateQuestionBrowserToolbarButtons (ilToolbarGUI $toolbar, $context) | |
isCommandClassAnyInfoScreenChild () | |
getQuestionpoolCreationForm () | |
Private Attributes | |
$testQuestionSetConfigFactory = null | |
$testPlayerFactory = null | |
$testSessionFactory = null | |
$testSequenceFactory = null | |
$objectiveOrientedContainer | |
Static Private Attributes | |
static | $infoScreenChildClasses |
Class ilObjTestGUI.
ilObjTestGUI: ilObjCourseGUI, ilObjectMetaDataGUI, ilCertificateGUI, ilPermissionGUI ilObjTestGUI: ilTestPlayerFixedQuestionSetGUI, ilTestPlayerRandomQuestionSetGUI, ilTestPlayerDynamicQuestionSetGUI ilObjTestGUI: ilTestExpresspageObjectGUI, ilAssQuestionPageGUI ilObjTestGUI: ilTestDashboardGUI, ilTestResultsGUI ilObjTestGUI: ilLearningProgressGUI, ilMarkSchemaGUI ilObjTestGUI: ilTestEvaluationGUI ilObjTestGUI: ilAssGenFeedbackPageGUI, ilAssSpecFeedbackPageGUI ilObjTestGUI: ilInfoScreenGUI, ilObjectCopyGUI, ilTestScoringGUI ilObjTestGUI: ilRepositorySearchGUI, ilTestExportGUI ilObjTestGUI: assMultipleChoiceGUI, assClozeTestGUI, assMatchingQuestionGUI ilObjTestGUI: assOrderingQuestionGUI, assImagemapQuestionGUI, assJavaAppletGUI ilObjTestGUI: assNumericGUI, assErrorTextGUI, ilTestScoringByQuestionsGUI ilObjTestGUI: assTextSubsetGUI, assOrderingHorizontalGUI ilObjTestGUI: assSingleChoiceGUI, assFileUploadGUI, assTextQuestionGUI, assFlashQuestionGUI 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 52 of file class.ilObjTestGUI.php.
ilObjTestGUI::__construct | ( | $refId = null | ) |
Constructor public.
mixed | null | $refId |
Definition at line 93 of file class.ilObjTestGUI.php.
References $_GET, $DIC, $ilCtrl, $ilDB, ilObjectGUI\$lng, $tabsManager, ilObjectGUI\$tree, setTabsManager(), and setTestAccess().
|
static |
Redirect script to call a test with the test reference id.
Redirect script to call a test with the test reference id
integer | $a_target | The reference id of the test public |
Definition at line 2981 of file class.ilObjTestGUI.php.
References $_GET, $DIC, ilObjectGUI\$ilErr, ilObjectGUI\$lng, ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, and ilUtil\sendInfo().
|
static |
Definition at line 2965 of file class.ilObjTestGUI.php.
References $DIC, and ilUtil\sendInfo().
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 2648 of file class.ilObjTestGUI.php.
References $_POST, and ilUtil\sendInfo().
ilObjTestGUI::addDidacticTemplateOptions | ( | array & | $a_options | ) |
Definition at line 950 of file class.ilObjTestGUI.php.
References $row, and ilSettingsTemplate\getAllSettingsTemplates().
ilObjTestGUI::addLocatorItems | ( | ) |
Definition at line 2873 of file class.ilObjTestGUI.php.
ilObjTestGUI::addQuestionObject | ( | ) |
Definition at line 1930 of file class.ilObjTestGUI.php.
References ilObjectGUI\$data, $DIC, $form, $ilCtrl, $key, ilObjectGUI\$lng, $name, PHPMailer\PHPMailer\$options, $si, $title, ilObjectGUI\$tpl, ilObjQuestionPool\_getAvailableQuestionpools(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_DEFAULT, assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_PAGE_OBJECT, ilRadioGroupInputGUI\addOption(), getTabsManager(), ilObjAssessmentFolder\isAdditionalQuestionContentEditingModePageObjectEnabled(), ilSelectInputGUI\setOptions(), ilFormPropertyGUI\setRequired(), and ilTestTabsManager\SUBTAB_ID_QST_LIST_VIEW.
ilObjTestGUI::afterSave | ( | ilObject | $a_new_object | ) |
save object public
Definition at line 977 of file class.ilObjTestGUI.php.
References $template, $template_id, ilObjTest\_getTestDefaults(), applyTemplate(), ilObjectGUI\getDidacticTemplateVar(), ilObject\getRefId(), and ilObjAssessmentFolderGUI\getSettingsTemplateConfig().
ilObjTestGUI::applyDefaultsObject | ( | $confirmed = false | ) |
Applies the selected test defaults.
Definition at line 2560 of file class.ilObjTestGUI.php.
References $_POST, $info, ilObjTest\QUESTION_SET_TYPE_FIXED, ilObjTest\QUESTION_SET_TYPE_RANDOM, and ilUtil\sendInfo().
Referenced by confirmedApplyDefaultsObject().
ilObjTestGUI::applyTemplate | ( | $templateData, | |
ilObjTest | $object | ||
) |
Definition at line 3431 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, REDIRECT_ALWAYS, REDIRECT_NONE, ilObjTest\setAutosave(), ilObjTest\setAutosaveIval(), ilObjTest\setFollowupQuestionAnswerFixationEnabled(), ilObjTest\setInstantFeedbackAnswerFixationEnabled(), ilObjTest\setRedirectionMode(), and ilObjTest\setRedirectionUrl().
Referenced by afterSave().
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 1345 of file class.ilObjTestGUI.php.
ilObjTestGUI::backToRepositoryObject | ( | ) |
Definition at line 1007 of file class.ilObjTestGUI.php.
References $path, ilObjectGUI\getReturnLocation(), and ilUtil\redirect().
ilObjTestGUI::browseForQuestionsObject | ( | ) |
Definition at line 1508 of file class.ilObjTestGUI.php.
ilObjTestGUI::buildPageViewToolbar | ( | $qid = 0 | ) |
Questions per page.
Definition at line 3013 of file class.ilObjTestGUI.php.
References $DIC, $id, $ilCtrl, $ilUser, ilObjectGUI\$lng, PHPMailer\PHPMailer\$options, $si, $total, ilObjTestAccess\_lookupOnlineTestAccess(), ilTestQuestionBrowserTableGUI\CONTEXT_PAGE_VIEW, ilLinkButton\getInstance(), and populateQuestionBrowserToolbarButtons().
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 1584 of file class.ilObjTestGUI.php.
ilObjTestGUI::cancelRandomSelectObject | ( | ) |
Cancels the form for random selection of questions.
Cancels the form for random selection of questions
public
Definition at line 1418 of file class.ilObjTestGUI.php.
ilObjTestGUI::cancelRemoveQuestionsObject | ( | ) |
Cancels the removal of questions from the test.
Cancels the removal of questions from the test
public
Definition at line 1751 of file class.ilObjTestGUI.php.
ilObjTestGUI::certificateObject | ( | ) |
Shows the certificate editor.
Definition at line 2932 of file class.ilObjTestGUI.php.
References $DIC, and ilTestTabsManager\TAB_ID_SETTINGS.
ilObjTestGUI::confirmedApplyDefaultsObject | ( | ) |
Definition at line 2551 of file class.ilObjTestGUI.php.
References applyDefaultsObject().
ilObjTestGUI::confirmRemoveQuestionsObject | ( | ) |
Remove questions from the test after confirmation.
Definition at line 1693 of file class.ilObjTestGUI.php.
ilObjTestGUI::copyAndLinkQuestionsToPoolObject | ( | ) |
ilObjectDataCache $ilObjDataCache
Definition at line 3246 of file class.ilObjTestGUI.php.
References $DIC, $result, assQuestion\_instanciateQuestion(), copyQuestionsToPool(), and assQuestion\originalQuestionExists().
Referenced by createQuestionPoolAndCopyObject().
ilObjTestGUI::copyAndLinkToQuestionpoolObject | ( | ) |
Definition at line 3301 of file class.ilObjTestGUI.php.
References $DIC, ilObjectGUI\$lng, $type, assQuestion\_getOriginalId(), ilObject\_lookupType(), createQuestionpoolTargetObject(), assQuestion\lookupParentObjId(), assQuestion\originalQuestionExists(), and ilUtil\sendFailure().
Referenced by createQuestionPoolAndCopyObject().
ilObjTestGUI::copyQuestionObject | ( | ) |
Definition at line 3687 of file class.ilObjTestGUI.php.
References $DIC, $i, $id, $title, assQuestion\_instanciateQuestionGUI(), ilUtil\sendFailure(), and ilUtil\sendInfo().
ilObjTestGUI::copyQuestionsToPool | ( | $questionIds, | |
$qplId | |||
) |
Definition at line 3211 of file class.ilObjTestGUI.php.
References $result, and copyQuestionToPool().
Referenced by copyAndLinkQuestionsToPoolObject(), and copyQuestionsToPoolObject().
ilObjTestGUI::copyQuestionsToPoolObject | ( | ) |
Definition at line 3205 of file class.ilObjTestGUI.php.
References copyQuestionsToPool().
ilObjTestGUI::copyQuestionToPool | ( | $sourceQuestionId, | |
$targetParentId | |||
) |
Definition at line 3226 of file class.ilObjTestGUI.php.
References assQuestion\instantiateQuestionGUI().
Referenced by copyQuestionsToPool().
ilObjTestGUI::copyToQuestionpoolObject | ( | ) |
Definition at line 3296 of file class.ilObjTestGUI.php.
References createQuestionpoolTargetObject().
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 1596 of file class.ilObjTestGUI.php.
References $DIC, $form, $ilCtrl, $ilUser, $key, ilObjectGUI\$lng, $name, ilObjectGUI\$tpl, ilObjQuestionPool\_getAvailableQuestionpools(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_DEFAULT, assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_PAGE_OBJECT, ilRadioGroupInputGUI\addOption(), getTabsManager(), ilObjAssessmentFolder\isAdditionalQuestionContentEditingModePageObjectEnabled(), ilUtil\redirect(), ilSelectInputGUI\setOptions(), ilFormPropertyGUI\setRequired(), and ilTestTabsManager\SUBTAB_ID_QST_LIST_VIEW.
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 1358 of file class.ilObjTestGUI.php.
References $description, $DIC, $name, and ilObjectGUI\$tree.
Referenced by createQuestionPoolAndCopyObject(), and executeCreateQuestionObject().
ilObjTestGUI::createQuestionPoolAndCopyObject | ( | ) |
Definition at line 3336 of file class.ilObjTestGUI.php.
References $form, ilObjectGUI\$ref_id, $title, copyAndLinkQuestionsToPoolObject(), copyAndLinkToQuestionpoolObject(), createQuestionPool(), getQuestionpoolCreationForm(), and ilUtil\sendInfo().
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 3370 of file class.ilObjTestGUI.php.
References $DIC, $id, $ilUser, $key, getQuestionpoolCreationForm(), getTabsManager(), and ilTestTabsManager\SUBTAB_ID_QST_LIST_VIEW.
Referenced by copyAndLinkToQuestionpoolObject(), and copyToQuestionpoolObject().
ilObjTestGUI::createRandomSelectionObject | ( | ) |
Offers a random selection for insertion in the test.
Offers a random selection for insertion in the test
public
Definition at line 1430 of file class.ilObjTestGUI.php.
References $_POST, assQuestion\_getQuestionTypeName(), getTabsManager(), and ilTestTabsManager\SUBTAB_ID_QST_LIST_VIEW.
ilObjTestGUI::deleteDefaultsObject | ( | ) |
Deletes selected test defaults.
Definition at line 2536 of file class.ilObjTestGUI.php.
References $_POST, and ilUtil\sendInfo().
|
protected |
Definition at line 3741 of file class.ilObjTestGUI.php.
References ilObject\_getAllReferences(), and ilLOSettings\isObjectiveTest().
Referenced by executeCommand().
ilObjTestGUI::download_paragraphObject | ( | ) |
ilObjTestGUI::downloadFileObject | ( | ) |
ilObjTestGUI::executeCommand | ( | ) |
execute command
Definition at line 144 of file class.ilObjTestGUI.php.
References $_GET, $DIC, $GLOBALS, $ilCtrl, $ilDB, ilObjectGUI\$ilErr, $ilUser, ilObjectGUI\$lng, $object, $ret, ilObjectGUI\$tpl, ilObjectGUI\$tree, assQuestionGUI\_getQuestionGUI(), ilObjectGUI\addHeaderAction(), buildPageViewToolbar(), determineObjectiveOrientedContainer(), assQuestionGUI\EDIT_CONTEXT_AUTHORING, fetchAuthoringQuestionIdParameter(), forwardToEvaluationGUI(), ilObjStyleSheet\getContentStylePath(), ilObjectGUI\getCreationMode(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), getObjectiveOrientedContainer(), assQuestion\getQuestionTypeFromDb(), ilObjStyleSheet\getSyntaxStylePath(), getTabsManager(), getTestAccess(), ilLearningProgressBaseGUI\LP_CONTEXT_REPOSITORY, ilObjectGUI\prepareOutput(), prepareSubGuiOutput(), questionsObject(), assQuestionGUI\RENDER_PURPOSE_PREVIEW, ilUtil\sendInfo(), ilLTIProviderObjectSettingGUI\setCustomRolesForSelection(), ilTestDashboardGUI\setTestAccess(), ilTestResultsGUI\setTestAccess(), 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, and trackTestObjectReadEvent().
ilObjTestGUI::executeCreateQuestionObject | ( | ) |
Called when a new question should be created from a test after confirmation.
Called when a new question should be created from a test after confirmation
public
Definition at line 1520 of file class.ilObjTestGUI.php.
References $_GET, $_SESSION, ilUtil\appendUrlParameterString(), createQuestionObject(), createQuestionPool(), exit, ilObjQuestionPool\getQuestionTypeByTypeId(), ilUtil\redirect(), and ilUtil\sendInfo().
|
protected |
Gateway for exports initiated from workspace, as there is a generic forward to {objTypeMainGUI}::export()
Definition at line 780 of file class.ilObjTestGUI.php.
References $DIC.
|
protected |
Definition at line 789 of file class.ilObjTestGUI.php.
References $_GET, $_POST, and $keys.
Referenced by executeCommand().
ilObjTestGUI::filterObject | ( | ) |
Sets the filter for the question browser.
Sets the filter for the question browser
public
Definition at line 1321 of file class.ilObjTestGUI.php.
|
private |
Definition at line 871 of file class.ilObjTestGUI.php.
References ilObjectGUI\addHeaderAction(), getObjectiveOrientedContainer(), getTestAccess(), and ilObjectGUI\prepareOutput().
Referenced by executeCommand(), and userResultsGatewayObject().
ilObjTestGUI::fullscreenObject | ( | ) |
|
protected |
Definition at line 3752 of file class.ilObjTestGUI.php.
References $objectiveOrientedContainer.
Referenced by executeCommand(), forwardToEvaluationGUI(), getTabs(), and redirectToInfoScreenObject().
|
private |
Definition at line 3269 of file class.ilObjTestGUI.php.
References $description, $DIC, $form, $id, ilObjectGUI\$lng, and $title.
Referenced by createQuestionPoolAndCopyObject(), and createQuestionpoolTargetObject().
ilObjTestGUI::getTabs | ( | ) |
adds tabs to tab gui object
ilTabsGUI | $tabs_gui |
Definition at line 2949 of file class.ilObjTestGUI.php.
References $DIC, ilLink\_getLink(), getObjectiveOrientedContainer(), and getTabsManager().
ilObjTestGUI::getTabsManager | ( | ) |
Definition at line 858 of file class.ilObjTestGUI.php.
References $tabsManager.
Referenced by addQuestionObject(), createQuestionObject(), createQuestionpoolTargetObject(), createRandomSelectionObject(), executeCommand(), getTabs(), printobject(), questionsObject(), randomselectObject(), removeQuestionsObject(), and reviewobject().
ilObjTestGUI::getTestAccess | ( | ) |
Definition at line 842 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 2243 of file class.ilObjTestGUI.php.
References $DIC, $log, ilObjAssessmentFolder\_getLog(), and ilTestTabsManager\TAB_ID_HISTORY.
|
protected |
form for new test object import
Definition at line 937 of file class.ilObjTestGUI.php.
References $form, initImportForm(), and uploadTstObject().
ilObjTestGUI::importVerifiedFileObject | ( | ) |
imports question(s) into the questionpool (after verification)
Definition at line 1188 of file class.ilObjTestGUI.php.
References $_GET, $_POST, $_SESSION, $map, $result, $results, ilObjTest\_getImportDirectory(), ilUtil\delDir(), IL_MO_PARSE_QTI, and ilUtil\redirect().
Referenced by uploadTstObject().
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 2672 of file class.ilObjTestGUI.php.
ilObjTestGUI::initImportForm | ( | $a_new_type | ) |
Definition at line 2258 of file class.ilObjTestGUI.php.
References $_GET, $_POST, $form, $key, PHPMailer\PHPMailer\$options, ilFormPropertyGUI\setInfo(), and ilFileInputGUI\setSuffixes().
Referenced by importFileObject().
ilObjTestGUI::insertQuestionsAfterObject | ( | ) |
Insert checked questions after the actual selection.
Definition at line 1880 of file class.ilObjTestGUI.php.
References $_POST, $_SESSION, and ilUtil\sendFailure().
ilObjTestGUI::insertQuestionsBeforeObject | ( | ) |
Insert checked questions before the actual selection.
Definition at line 1857 of file class.ilObjTestGUI.php.
References $_POST, $_SESSION, and ilUtil\sendFailure().
ilObjTestGUI::insertQuestionsObject | ( | ) |
Insert questions from the questionbrowser into the test.
public
Definition at line 1904 of file class.ilObjTestGUI.php.
References $_POST, $key, assQuestion\_needsManualScoring(), and ilUtil\sendInfo().
ilObjTestGUI::insertRandomSelectionObject | ( | ) |
Inserts a random selection into the test.
Inserts a random selection into the test
public
Definition at line 1485 of file class.ilObjTestGUI.php.
References $_POST, $key, $total, and ilUtil\sendInfo().
|
private |
Definition at line 2658 of file class.ilObjTestGUI.php.
Referenced by redirectToInfoScreenObject().
|
protected |
Move current page.
Definition at line 3617 of file class.ilObjTestGUI.php.
References $DIC, $form, $ilCtrl, ilObjectGUI\$lng, PHPMailer\PHPMailer\$options, ilObjectGUI\$tpl, and ilSelectInputGUI\setOptions().
ilObjTestGUI::movePageObject | ( | ) |
Definition at line 3664 of file class.ilObjTestGUI.php.
References $DIC, ilUtil\sendInfo(), and showPageObject().
ilObjTestGUI::moveQuestionsObject | ( | ) |
Marks selected questions for moving.
Definition at line 1841 of file class.ilObjTestGUI.php.
References $_POST, $_SESSION, and ilUtil\sendFailure().
ilObjTestGUI::outEvaluationObject | ( | ) |
Definition at line 929 of file class.ilObjTestGUI.php.
ilObjTestGUI::participantsActionObject | ( | ) |
Evaluates the actions on the participants page.
public
Definition at line 2302 of file class.ilObjTestGUI.php.
References $_POST.
|
private |
$ilToolbar | |
$context |
Definition at line 2217 of file class.ilObjTestGUI.php.
References $context, ilToolbarGUI\addButton(), ilTestQuestionBrowserTableGUI\CMD_BROWSE_QUESTIONS, ilTestQuestionBrowserTableGUI\CONTEXT_PARAMETER, ilTestQuestionBrowserTableGUI\MODE_BROWSE_POOLS, ilTestQuestionBrowserTableGUI\MODE_BROWSE_TESTS, and ilTestQuestionBrowserTableGUI\MODE_PARAMETER.
Referenced by buildPageViewToolbar(), and questionsObject().
|
private |
prepares ilias to get output rendered by sub gui class
ilLocator $ilLocator ilTemplate $tpl ilObjUser $ilUser
Definition at line 898 of file class.ilObjTestGUI.php.
References $DIC, $ilUser, ilDAVActivationChecker\_isActive(), ilUtil\infoPanel(), ilObjectGUI\setLocator(), ilObjectGUI\setTitleAndDescription(), and ilObjectGUI\showMountWebfolderIcon().
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 2322 of file class.ilObjTestGUI.php.
References $_GET, $DIC, $ilUser, $template, ilTestPDFGenerator\generatePDF(), ilUtil\getStyleSheetLocation(), getTabsManager(), ilTestPDFGenerator\PDF_OUTPUT_DOWNLOAD, PDF_PRINT_VIEW_QUESTIONS, ilUtil\prepareFormOutput(), ilPDFGeneratorUtils\prepareGenerationRequest(), assQuestionGUI\RENDER_PURPOSE_PRINT_PDF, ilUtil\sendInfo(), and ilWACSignedPath\setTokenMaxLifetimeInSeconds().
ilObjTestGUI::questionsObject | ( | ) |
Definition at line 2047 of file class.ilObjTestGUI.php.
References $_GET, $_SESSION, $DIC, $ilCtrl, $ilUser, ilObjectGUI\$lng, $message, $total, ilObjTestAccess\_lookupOnlineTestAccess(), ilTestQuestionBrowserTableGUI\CONTEXT_LIST_VIEW, getTabsManager(), populateQuestionBrowserToolbarButtons(), ilUtil\redirect(), ilUtil\sendInfo(), ilTestQuestionsTableGUI\setPositionInsertCommandsEnabled(), and ilTestTabsManager\SUBTAB_ID_QST_LIST_VIEW.
Referenced by executeCommand().
|
private |
Definition at line 814 of file class.ilObjTestGUI.php.
References ilObjTest\QUESTION_SET_TYPE_DYNAMIC, ilObjTest\QUESTION_SET_TYPE_FIXED, and ilObjTest\QUESTION_SET_TYPE_RANDOM.
ilObjTestGUI::randomselectObject | ( | ) |
Creates a form for random selection of questions.
Definition at line 1380 of file class.ilObjTestGUI.php.
References $_POST, $DIC, $ilUser, $key, getTabsManager(), and ilTestTabsManager\SUBTAB_ID_QST_LIST_VIEW.
|
private |
Definition at line 884 of file class.ilObjTestGUI.php.
References ilObjTestSettingsGeneralGUI\CMD_SHOW_FORM.
ilObjTestGUI::redirectToInfoScreenObject | ( | ) |
Definition at line 2681 of file class.ilObjTestGUI.php.
References $_GET, $DIC, $GLOBALS, $ilCtrl, $ilUser, $info, ilObjectGUI\$toolbar, COUNT_PARTIAL_SOLUTIONS, ilDatePresentation\formatDate(), getObjectiveOrientedContainer(), IL_CAL_TIMESTAMP, IL_CAL_UNIX, isCommandClassAnyInfoScreenChild(), SCORE_BEST_PASS, ilObjTest\SCORE_REPORTING_AFTER_PASSED, ilObjTest\SCORE_REPORTING_DATE, ilObjTest\SCORE_REPORTING_FINISHED, ilObjTest\SCORE_REPORTING_IMMIDIATLY, SCORE_ZERO_POINTS_WHEN_UNANSWERED, ilTestTabsManager\TAB_ID_INFOSCREEN, TEST_FIXED_SEQUENCE, and trackTestObjectReadEvent().
|
protected |
Definition at line 2860 of file class.ilObjTestGUI.php.
References ilAssQuestionSkillAssignmentImportFails\deleteRegisteredImportFails(), and ilTestSkillLevelThresholdImportFails\deleteRegisteredImportFails().
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 1768 of file class.ilObjTestGUI.php.
References ilObjectGUI\$data, $total, $txt, and assQuestion\_getQuestionTypeName().
Referenced by removeQuestionsObject().
ilObjTestGUI::removeQuestionsObject | ( | ) |
Called when a selection of questions should be removed from the test.
Definition at line 1816 of file class.ilObjTestGUI.php.
References getTabsManager(), removeQuestionsForm(), and ilUtil\sendFailure().
ilObjTestGUI::resetFilterObject | ( | ) |
Resets the filter for the question browser.
Resets the filter for the question browser
public
Definition at line 1333 of file class.ilObjTestGUI.php.
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 2416 of file class.ilObjTestGUI.php.
References $_GET, $DIC, $table, $template, ilObjectGUI\$tpl, ilDatePresentation\formatDate(), ilTestPDFGenerator\generatePDF(), ilUtil\getStyleSheetLocation(), getTabsManager(), IL_CAL_UNIX, ilTestPDFGenerator\PDF_OUTPUT_DOWNLOAD, PDF_PRINT_VIEW_QUESTIONS, ilUtil\prepareFormOutput(), ilPDFGeneratorUtils\prepareGenerationRequest(), assQuestionGUI\RENDER_PURPOSE_PREVIEW, ilUtil\sendInfo(), ilWACSignedPath\setTokenMaxLifetimeInSeconds(), ilDatePresentation\setUseRelativeDates(), ilTestTabsManager\TAB_ID_SETTINGS, and ilDatePresentation\useRelativeDates().
ilObjTestGUI::runObject | ( | ) |
Definition at line 924 of file class.ilObjTestGUI.php.
ilObjTestGUI::saveOrderAndObligationsObject | ( | ) |
Definition at line 3574 of file class.ilObjTestGUI.php.
References $DIC, $id, $ilCtrl, ilObjTest\isQuestionObligationPossible(), and ilUtil\sendInfo().
ilObjTestGUI::setTabsManager | ( | $tabsManager | ) |
ilTestTabsManager | $tabsManager |
Definition at line 866 of file class.ilObjTestGUI.php.
References $tabsManager.
Referenced by __construct().
ilObjTestGUI::setTestAccess | ( | $testAccess | ) |
ilTestAccess | $testAccess |
Definition at line 850 of file class.ilObjTestGUI.php.
References $testAccess.
Referenced by __construct().
ilObjTestGUI::showPageObject | ( | ) |
Definition at line 3678 of file class.ilObjTestGUI.php.
Referenced by movePageObject().
ilObjTestGUI::statisticsObject | ( | ) |
Definition at line 2925 of file class.ilObjTestGUI.php.
ilObjTestGUI::takenObject | ( | ) |
Definition at line 2232 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 762 of file class.ilObjTestGUI.php.
References $DIC, and ilChangeEvent\_recordReadEvent().
Referenced by executeCommand(), and redirectToInfoScreenObject().
ilObjTestGUI::uploadObject | ( | $redirect = true | ) |
display status information or report errors messages in case of error
public
Definition at line 1276 of file class.ilObjTestGUI.php.
References uploadTstObject().
ilObjTestGUI::uploadTstObject | ( | ) |
imports test and question(s)
Definition at line 1017 of file class.ilObjTestGUI.php.
References $_POST, $_SESSION, $result, ilObjTest\_createImportDirectory(), ilObjTest\_getImportDirectory(), ilObjTest\_setImportDirectory(), CLOZE_TEST_IDENTIFIER, ilObjectGUI\createObject(), ilUtil\delDir(), ERROR_TEXT_IDENTIFIER, FILE_UPLOAD_IDENTIFIER, FLASHAPPLET_QUESTION_IDENTIFIER, FORMULA_QUESTION_IDENTIFIER, ilUtil\getImagePath(), IL_MO_VERIFY_QTI, IMAGEMAP_QUESTION_IDENTIFIER, importVerifiedFileObject(), JAVAAPPLET_QUESTION_IDENTIFIER, KPRIM_CHOICE_QUESTION_IDENTIFIER, LONG_MENU_QUESTION_IDENTIFIER, MATCHING_QUESTION_IDENTIFIER, MULTIPLE_CHOICE_QUESTION_IDENTIFIER, NUMERIC_QUESTION_IDENTIFIER, ORDERING_HORIZONTAL_IDENTIFIER, ORDERING_QUESTION_IDENTIFIER, QT_CLOZE, QT_ERRORTEXT, QT_FILEUPLOAD, QT_FLASHAPPLET, QT_FORMULA, QT_IMAGEMAP, QT_JAVAAPPLET, QT_KPRIM_CHOICE, QT_LONG_MENU, QT_MATCHING, QT_MULTIPLE_CHOICE_MR, QT_MULTIPLE_CHOICE_SR, QT_NUMERIC, QT_ORDERING, QT_ORDERING_HORIZONTAL, QT_TEXT, QT_TEXTSUBSET, ilObjTest\QUESTION_SET_TYPE_FIXED, ilUtil\sendFailure(), ilUtil\sendInfo(), SINGLE_CHOICE_QUESTION_IDENTIFIER, TEXT_QUESTION_IDENTIFIER, TEXTSUBSET_QUESTION_IDENTIFIER, and ilUtil\unzip().
Referenced by importFileObject(), and uploadObject().
|
private |
Definition at line 830 of file class.ilObjTestGUI.php.
References forwardToEvaluationGUI().
|
staticprivate |
Definition at line 54 of file class.ilObjTestGUI.php.
ilObjTestGUI::$object = null |
Definition at line 59 of file class.ilObjTestGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 81 of file class.ilObjTestGUI.php.
Referenced by getObjectiveOrientedContainer().
|
protected |
Definition at line 76 of file class.ilObjTestGUI.php.
Referenced by __construct(), getTabsManager(), and setTabsManager().
|
protected |
Definition at line 86 of file class.ilObjTestGUI.php.
Referenced by getTestAccess(), and setTestAccess().
|
private |
Definition at line 65 of file class.ilObjTestGUI.php.
|
private |
Definition at line 62 of file class.ilObjTestGUI.php.
|
private |
Definition at line 71 of file class.ilObjTestGUI.php.
|
private |
Definition at line 68 of file class.ilObjTestGUI.php.