ILIAS
release_7 Revision v7.30-3-g800a261c036
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. 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 () | |
cancelRandomSelectObject () | |
createRandomSelectionObject () | |
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 () | |
![]() | |
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 () | |
viewObject container presentation for "administration -> repository, trash, permissions" 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... | |
addToDeskObject () | |
removeFromDeskObject () | |
![]() | |
callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb) | |
Static Public Member Functions | |
static | accessViolationRedirect () |
static | _goto ($a_target) |
Redirect script to call a test with the test reference id. More... | |
![]() | |
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 | |
![]() | |
const | ALLOWED_TAGS_IN_TITLE_AND_DESCRIPTION |
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 | |
redirectAfterMissingWrite () | |
redirectAfterMissingRead () | |
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 () | |
getTargetQuestionpoolForm ($questionpools, $cmd) | |
movePageFormObject () | |
Move current page. More... | |
determineObjectiveOrientedContainer () | |
getObjectiveOrientedContainer () | |
![]() | |
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... | |
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 | |
![]() | |
const | UPLOAD_TYPE_LOCAL = 1 |
const | UPLOAD_TYPE_UPLOAD_DIRECTORY = 2 |
$ilErr | |
$locator | |
$user | |
$access | |
$rbacsystem | |
$settings | |
$rbacreview | |
$toolbar | |
$tmp_import_dir | |
$tabs_gui = null | |
$ctrl | |
$object_service | |
$favourites | |
$request | |
Private Member Functions | |
questionsTabGatewayObject () | |
userResultsGatewayObject () | |
testResultsGatewayObject () | |
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 | |
$error | |
Static Private Attributes | |
static | $infoScreenChildClasses |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning 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, 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 66 of file class.ilObjTestGUI.php.
ilObjTestGUI::__construct | ( | $refId = null | ) |
Constructor public.
mixed | null | $refId |
Definition at line 110 of file class.ilObjTestGUI.php.
References $_GET, $DIC, $ilDB, ilObjectGUI\$lng, $refId, $tabsManager, ilObjectGUI\$tree, ILIAS\GlobalScreen\Provider\__construct(), 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 3191 of file class.ilObjTestGUI.php.
References $_GET, $DIC, ilObjectGUI\$ilErr, ilObjectGUI\$lng, ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, ROOT_FOLDER_ID, and ilUtil\sendInfo().
|
static |
Definition at line 3175 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 2861 of file class.ilObjTestGUI.php.
References $_POST, and ilUtil\sendInfo().
ilObjTestGUI::addDidacticTemplateOptions | ( | array & | $a_options | ) |
Definition at line 1193 of file class.ilObjTestGUI.php.
References ilSettingsTemplate\getAllSettingsTemplates().
ilObjTestGUI::addLocatorItems | ( | ) |
Definition at line 3083 of file class.ilObjTestGUI.php.
ilObjTestGUI::addQuestionObject | ( | ) |
Definition at line 2141 of file class.ilObjTestGUI.php.
References ilObjectGUI\$data, $DIC, ilObjectGUI\$lng, $name, $si, ilObjectGUI\$tpl, ilObjQuestionPool\_getAvailableQuestionpools(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_IPE, assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_RTE, getTabsManager(), ilObjAssessmentFolder\isAdditionalQuestionContentEditingModePageObjectEnabled(), ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), ilRadioOption\setValue(), and ilTestTabsManager\SUBTAB_ID_QST_LIST_VIEW.
ilObjTestGUI::afterSave | ( | ilObject | $a_new_object | ) |
save object public
Definition at line 1220 of file class.ilObjTestGUI.php.
References ilObjTest\_getTestDefaults(), applyTemplate(), ilObjectGUI\getDidacticTemplateVar(), ilObject\getRefId(), and ilObjAssessmentFolderGUI\getSettingsTemplateConfig().
ilObjTestGUI::applyDefaultsObject | ( | $confirmed = false | ) |
Applies the selected test defaults.
Definition at line 2773 of file class.ilObjTestGUI.php.
References $_POST, ilObjTest\QUESTION_SET_TYPE_FIXED, ilObjTest\QUESTION_SET_TYPE_RANDOM, and ilUtil\sendInfo().
Referenced by confirmedApplyDefaultsObject().
ilObjTestGUI::applyTemplate | ( | $templateData, | |
ilObjTest | $object | ||
) |
Definition at line 3667 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 1593 of file class.ilObjTestGUI.php.
ilObjTestGUI::backToRepositoryObject | ( | ) |
Definition at line 1250 of file class.ilObjTestGUI.php.
References ilObjectGUI\getReturnLocation(), and ilUtil\redirect().
ilObjTestGUI::browseForQuestionsObject | ( | ) |
Definition at line 1713 of file class.ilObjTestGUI.php.
ilObjTestGUI::buildPageViewToolbar | ( | $qid = 0 | ) |
Questions per page.
Definition at line 3223 of file class.ilObjTestGUI.php.
References $DIC, $ilUser, ilObjectGUI\$lng, $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 1788 of file class.ilObjTestGUI.php.
ilObjTestGUI::cancelRandomSelectObject | ( | ) |
Definition at line 1664 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 1959 of file class.ilObjTestGUI.php.
ilObjTestGUI::certificateObject | ( | ) |
Shows the certificate editor.
Definition at line 3142 of file class.ilObjTestGUI.php.
References $DIC, and ilTestTabsManager\TAB_ID_SETTINGS.
ilObjTestGUI::confirmedApplyDefaultsObject | ( | ) |
Definition at line 2764 of file class.ilObjTestGUI.php.
References applyDefaultsObject().
ilObjTestGUI::confirmRemoveQuestionsObject | ( | ) |
Remove questions from the test after confirmation.
Definition at line 1901 of file class.ilObjTestGUI.php.
References $_POST.
ilObjTestGUI::copyAndLinkQuestionsToPoolObject | ( | ) |
ilObjectDataCache $ilObjDataCache
Definition at line 3456 of file class.ilObjTestGUI.php.
References $DIC, $result, assQuestion\_instanciateQuestion(), copyAndLinkToQuestionpoolObject(), copyQuestionsToPool(), assQuestion\originalQuestionExists(), and ilUtil\sendFailure().
Referenced by createQuestionPoolAndCopyObject().
ilObjTestGUI::copyAndLinkToQuestionpoolObject | ( | ) |
Definition at line 3516 of file class.ilObjTestGUI.php.
References $DIC, ilObjectGUI\$lng, $type, assQuestion\_getOriginalId(), ilObject\_lookupType(), createQuestionpoolTargetObject(), assQuestion\lookupParentObjId(), assQuestion\originalQuestionExists(), and ilUtil\sendFailure().
Referenced by copyAndLinkQuestionsToPoolObject(), and createQuestionPoolAndCopyObject().
ilObjTestGUI::copyQuestionObject | ( | ) |
Definition at line 3923 of file class.ilObjTestGUI.php.
References $DIC, $i, assQuestion\_instanciateQuestionGUI(), ilUtil\sendFailure(), and ilUtil\sendInfo().
ilObjTestGUI::copyQuestionsToPool | ( | $questionIds, | |
$qplId | |||
) |
Definition at line 3421 of file class.ilObjTestGUI.php.
References $result, and copyQuestionToPool().
Referenced by copyAndLinkQuestionsToPoolObject(), and copyQuestionsToPoolObject().
ilObjTestGUI::copyQuestionsToPoolObject | ( | ) |
Definition at line 3415 of file class.ilObjTestGUI.php.
References copyQuestionsToPool().
ilObjTestGUI::copyQuestionToPool | ( | $sourceQuestionId, | |
$targetParentId | |||
) |
Definition at line 3436 of file class.ilObjTestGUI.php.
References assQuestion\instantiateQuestionGUI().
Referenced by copyQuestionsToPool().
ilObjTestGUI::copyToQuestionpoolObject | ( | ) |
Definition at line 3511 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 1800 of file class.ilObjTestGUI.php.
References $DIC, $ilUser, ilObjectGUI\$lng, $name, ilObjectGUI\$tpl, ilObjQuestionPool\_getAvailableQuestionpools(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_RTE, getTabsManager(), ilObjAssessmentFolder\isAdditionalQuestionContentEditingModePageObjectEnabled(), ilUtil\redirect(), ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), ilRadioOption\setValue(), 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 1606 of file class.ilObjTestGUI.php.
References $DIC, $name, and ilObjectGUI\$tree.
Referenced by createQuestionPoolAndCopyObject(), and executeCreateQuestionObject().
ilObjTestGUI::createQuestionPoolAndCopyObject | ( | ) |
Definition at line 3551 of file class.ilObjTestGUI.php.
References ilObjectGUI\$ref_id, copyAndLinkQuestionsToPoolObject(), copyAndLinkToQuestionpoolObject(), createQuestionPool(), and ilUtil\sendFailure().
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 3583 of file class.ilObjTestGUI.php.
References $DIC, getTabsManager(), getTargetQuestionpoolForm(), and ilTestTabsManager\SUBTAB_ID_QST_LIST_VIEW.
Referenced by copyAndLinkToQuestionpoolObject(), and copyToQuestionpoolObject().
ilObjTestGUI::createRandomSelectionObject | ( | ) |
Definition at line 1669 of file class.ilObjTestGUI.php.
References $_POST, getTabsManager(), and ilTestTabsManager\SUBTAB_ID_QST_LIST_VIEW.
ilObjTestGUI::deleteDefaultsObject | ( | ) |
Deletes selected test defaults.
Definition at line 2749 of file class.ilObjTestGUI.php.
References $_POST, and ilUtil\sendInfo().
|
protected |
Definition at line 3977 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 163 of file class.ilObjTestGUI.php.
References $_GET, $DIC, Vendor\Package\$e, $GLOBALS, $ilDB, ilObjectGUI\$ilErr, $ilUser, ilObjectGUI\$lng, $object, $ret, ilObjectGUI\$tpl, ilObjectGUI\$tree, assQuestionGUI\_getQuestionGUI(), ilObjectGUI\addHeaderAction(), buildPageViewToolbar(), ilAssQuestionPreviewGUI\CMD_SHOW, determineObjectiveOrientedContainer(), assQuestionGUI\EDIT_CONTEXT_AUTHORING, fetchAuthoringQuestionIdParameter(), forwardToEvaluationGUI(), ilObjStyleSheet\getContentStylePath(), ilObjectGUI\getCreationMode(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), getObjectiveOrientedContainer(), ilObjStyleSheet\getSyntaxStylePath(), getTabsManager(), getTestAccess(), ilAssQuestionPreviewGUI\initQuestion(), ilLearningProgressBaseGUI\LP_CONTEXT_REPOSITORY, ilObjectGUI\prepareOutput(), prepareSubGuiOutput(), questionsObject(), redirectAfterMissingRead(), redirectAfterMissingWrite(), assQuestionGUI\RENDER_PURPOSE_PREVIEW, ilUtil\sendFailure(), ilUtil\sendInfo(), ilLTIProviderObjectSettingGUI\setCustomRolesForSelection(), ilTestDashboardGUI\setTestAccess(), ilTestResultsGUI\setTestAccess(), 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, and trackTestObjectReadEvent().
ilObjTestGUI::executeCreateQuestionObject | ( | ) |
Called when a new question should be created from a test after confirmation.
public
Definition at line 1723 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 1016 of file class.ilObjTestGUI.php.
References $DIC.
|
protected |
ilTestException |
Definition at line 1026 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 1569 of file class.ilObjTestGUI.php.
|
private |
Definition at line 1118 of file class.ilObjTestGUI.php.
References ilObjectGUI\addHeaderAction(), getObjectiveOrientedContainer(), getTestAccess(), and ilObjectGUI\prepareOutput().
Referenced by executeCommand(), and userResultsGatewayObject().
ilObjTestGUI::fullscreenObject | ( | ) |
|
protected |
Definition at line 3988 of file class.ilObjTestGUI.php.
References $objectiveOrientedContainer.
Referenced by executeCommand(), forwardToEvaluationGUI(), getTabs(), and redirectToInfoScreenObject().
|
private |
Definition at line 3484 of file class.ilObjTestGUI.php.
References $DIC, and ilObjectGUI\$lng.
ilObjTestGUI::getTabs | ( | ) |
adds tabs to tab gui object
ilTabsGUI | $tabs_gui |
Definition at line 3159 of file class.ilObjTestGUI.php.
References $DIC, ilLink\_getLink(), getObjectiveOrientedContainer(), and getTabsManager().
ilObjTestGUI::getTabsManager | ( | ) |
Definition at line 1105 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 3619 of file class.ilObjTestGUI.php.
References $DIC, and ilFormPropertyGUI\setTitle().
Referenced by createQuestionpoolTargetObject().
ilObjTestGUI::getTestAccess | ( | ) |
Definition at line 1089 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 2458 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 1175 of file class.ilObjTestGUI.php.
References ilObjectGUI\checkPermissionBool(), initImportForm(), and uploadTstObject().
ilObjTestGUI::importVerifiedFileObject | ( | ) |
imports question(s) into the questionpool (after verification)
Definition at line 1437 of file class.ilObjTestGUI.php.
References $_GET, $_POST, $_SESSION, $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 2885 of file class.ilObjTestGUI.php.
ilObjTestGUI::initImportForm | ( | $a_new_type | ) |
Definition at line 2473 of file class.ilObjTestGUI.php.
References $_GET, $_POST, and ilFileInputGUI\setSuffixes().
Referenced by importFileObject().
ilObjTestGUI::insertQuestionsAfterObject | ( | ) |
Insert checked questions after the actual selection.
Definition at line 2091 of file class.ilObjTestGUI.php.
References $_POST, $_SESSION, and ilUtil\sendFailure().
ilObjTestGUI::insertQuestionsBeforeObject | ( | ) |
Insert checked questions before the actual selection.
Definition at line 2068 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 2115 of file class.ilObjTestGUI.php.
References $_POST, 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 1690 of file class.ilObjTestGUI.php.
References $_POST, $total, and ilUtil\sendInfo().
|
private |
Definition at line 2871 of file class.ilObjTestGUI.php.
Referenced by redirectToInfoScreenObject().
|
protected |
Move current page.
Definition at line 3853 of file class.ilObjTestGUI.php.
References $DIC, ilObjectGUI\$lng, and ilObjectGUI\$tpl.
ilObjTestGUI::movePageObject | ( | ) |
Definition at line 3900 of file class.ilObjTestGUI.php.
References $DIC, ilUtil\sendInfo(), and showPageObject().
ilObjTestGUI::moveQuestionsObject | ( | ) |
Marks selected questions for moving.
Definition at line 2049 of file class.ilObjTestGUI.php.
References $_GET, $_POST, $_SESSION, and ilUtil\sendFailure().
ilObjTestGUI::outEvaluationObject | ( | ) |
Definition at line 1167 of file class.ilObjTestGUI.php.
ilObjTestGUI::participantsActionObject | ( | ) |
Evaluates the actions on the participants page.
public
Definition at line 2517 of file class.ilObjTestGUI.php.
References $_POST.
|
private |
$ilToolbar | |
$context |
Definition at line 2432 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 1145 of file class.ilObjTestGUI.php.
References $DIC, $ilUser, ilUtil\infoPanel(), 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 2537 of file class.ilObjTestGUI.php.
References $_GET, $DIC, $ilUser, 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 2262 of file class.ilObjTestGUI.php.
References $_GET, $_SESSION, $DIC, $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 1048 of file class.ilObjTestGUI.php.
References ilObjTest\QUESTION_SET_TYPE_DYNAMIC, ilObjTest\QUESTION_SET_TYPE_FIXED, and ilObjTest\QUESTION_SET_TYPE_RANDOM.
ilObjTestGUI::randomselectObject | ( | ) |
Definition at line 1625 of file class.ilObjTestGUI.php.
References $_POST, ilNumberInputGUI\allowDecimals(), getTabsManager(), ilUtil\stripSlashes(), and ilTestTabsManager\SUBTAB_ID_QST_LIST_VIEW.
|
protected |
Definition at line 988 of file class.ilObjTestGUI.php.
References ROOT_FOLDER_ID.
Referenced by executeCommand(), and redirectToInfoScreenObject().
|
protected |
Definition at line 980 of file class.ilObjTestGUI.php.
References ilUtil\sendFailure().
Referenced by executeCommand().
|
private |
Definition at line 1131 of file class.ilObjTestGUI.php.
References ilObjTestSettingsGeneralGUI\CMD_SHOW_FORM.
ilObjTestGUI::redirectToInfoScreenObject | ( | ) |
Definition at line 2894 of file class.ilObjTestGUI.php.
References $_GET, $DIC, $GLOBALS, $ilUser, ilObjectGUI\$toolbar, ilObjectGUI\ALLOWED_TAGS_IN_TITLE_AND_DESCRIPTION, COUNT_PARTIAL_SOLUTIONS, ilDatePresentation\formatDate(), getObjectiveOrientedContainer(), IL_CAL_TIMESTAMP, IL_CAL_UNIX, isCommandClassAnyInfoScreenChild(), redirectAfterMissingRead(), 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 3070 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 1976 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 2024 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 1581 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 2630 of file class.ilObjTestGUI.php.
References $_GET, $DIC, 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 1162 of file class.ilObjTestGUI.php.
ilObjTestGUI::saveOrderAndObligationsObject | ( | ) |
Definition at line 3810 of file class.ilObjTestGUI.php.
References $DIC, ilObjTest\isQuestionObligationPossible(), and ilUtil\sendInfo().
ilObjTestGUI::setTabsManager | ( | $tabsManager | ) |
ilTestTabsManager | $tabsManager |
Definition at line 1113 of file class.ilObjTestGUI.php.
References $tabsManager.
Referenced by __construct().
ilObjTestGUI::setTestAccess | ( | $testAccess | ) |
ilTestAccess | $testAccess |
Definition at line 1097 of file class.ilObjTestGUI.php.
References $testAccess.
Referenced by __construct().
ilObjTestGUI::showPageObject | ( | ) |
Definition at line 3914 of file class.ilObjTestGUI.php.
References $DIC.
Referenced by movePageObject().
ilObjTestGUI::statisticsObject | ( | ) |
Definition at line 3135 of file class.ilObjTestGUI.php.
ilObjTestGUI::takenObject | ( | ) |
Definition at line 2447 of file class.ilObjTestGUI.php.
|
private |
Definition at line 1073 of file class.ilObjTestGUI.php.
|
protected |
Definition at line 998 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 1524 of file class.ilObjTestGUI.php.
References uploadTstObject().
ilObjTestGUI::uploadTstObject | ( | ) |
imports test and question(s)
Definition at line 1260 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, ilUtil\moveUploadedFile(), 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\sendInfo(), SINGLE_CHOICE_QUESTION_IDENTIFIER, TEXT_QUESTION_IDENTIFIER, TEXTSUBSET_QUESTION_IDENTIFIER, and ilUtil\unzip().
Referenced by importFileObject(), and uploadObject().
|
private |
Definition at line 1064 of file class.ilObjTestGUI.php.
References forwardToEvaluationGUI().
|
private |
Definition at line 103 of file class.ilObjTestGUI.php.
|
staticprivate |
Definition at line 68 of file class.ilObjTestGUI.php.
ilObjTestGUI::$object = null |
Definition at line 73 of file class.ilObjTestGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 95 of file class.ilObjTestGUI.php.
Referenced by getObjectiveOrientedContainer().
|
protected |
Definition at line 90 of file class.ilObjTestGUI.php.
Referenced by __construct(), getTabsManager(), and setTabsManager().
|
protected |
Definition at line 100 of file class.ilObjTestGUI.php.
Referenced by getTestAccess(), and setTestAccess().
|
private |
Definition at line 79 of file class.ilObjTestGUI.php.
|
private |
Definition at line 76 of file class.ilObjTestGUI.php.
|
private |
Definition at line 85 of file class.ilObjTestGUI.php.
|
private |
Definition at line 82 of file class.ilObjTestGUI.php.