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 @access public. More... | |
executeCommand () | |
execute command More... | |
getTestAccess () | |
setTestAccess ($testAccess) | |
getTabsManager () | |
setTabsManager ($tabsManager) | |
runObject () | |
outEvaluationObject () | |
addDidacticTemplateOptions (array &$a_options) | |
Add custom templates. More... | |
afterSave (ilObject $a_new_object) | |
save object @access 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) | |
Init object import form. More... | |
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 () | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
statisticsObject () | |
certificateObject () | |
Shows the certificate editor. More... | |
getTabs () | |
adds tabs to tab gui object More... | |
buildPageViewToolbar ($qid=0) | |
Questions per page. More... | |
copyQuestionsToPoolObject () | |
copyQuestionsToPool ($questionIds, $qplId) | |
copyQuestionToPool ($sourceQuestionId, $targetParentId) | |
copyAndLinkQuestionsToPoolObject () | |
@global 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 @access 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 () | |
@inheritDoc More... | |
removeFromDeskObject () | |
@inheritDoc More... | |
![]() | |
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 @access public More... | |
setAdminTabs () | |
set admin tabs @access 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
@ilCtrl_Calls ilObjTestGUI: ilObjCourseGUI, ilObjectMetaDataGUI, ilCertificateGUI, ilPermissionGUI @ilCtrl_Calls ilObjTestGUI: ilTestPlayerFixedQuestionSetGUI, ilTestPlayerRandomQuestionSetGUI, ilTestPlayerDynamicQuestionSetGUI @ilCtrl_Calls ilObjTestGUI: ilTestExpresspageObjectGUI, ilAssQuestionPageGUI @ilCtrl_Calls ilObjTestGUI: ilTestDashboardGUI, ilTestResultsGUI @ilCtrl_Calls ilObjTestGUI: ilLearningProgressGUI, ilMarkSchemaGUI @ilCtrl_Calls ilObjTestGUI: ilTestEvaluationGUI, ilParticipantsTestResultsGUI @ilCtrl_Calls ilObjTestGUI: ilAssGenFeedbackPageGUI, ilAssSpecFeedbackPageGUI @ilCtrl_Calls ilObjTestGUI: ilInfoScreenGUI, ilObjectCopyGUI, ilTestScoringGUI @ilCtrl_Calls ilObjTestGUI: ilRepositorySearchGUI, ilTestExportGUI @ilCtrl_Calls ilObjTestGUI: assMultipleChoiceGUI, assClozeTestGUI, assMatchingQuestionGUI @ilCtrl_Calls ilObjTestGUI: assOrderingQuestionGUI, assImagemapQuestionGUI, assJavaAppletGUI @ilCtrl_Calls ilObjTestGUI: assNumericGUI, assErrorTextGUI, ilTestScoringByQuestionsGUI @ilCtrl_Calls ilObjTestGUI: assTextSubsetGUI, assOrderingHorizontalGUI @ilCtrl_Calls ilObjTestGUI: assSingleChoiceGUI, assFileUploadGUI, assTextQuestionGUI, assFlashQuestionGUI @ilCtrl_Calls ilObjTestGUI: assKprimChoiceGUI, assLongMenuGUI @ilCtrl_Calls ilObjTestGUI: ilObjQuestionPoolGUI, ilEditClipboardGUI @ilCtrl_Calls ilObjTestGUI: ilObjTestSettingsGeneralGUI, ilObjTestSettingsScoringResultsGUI @ilCtrl_Calls ilObjTestGUI: ilCommonActionDispatcherGUI @ilCtrl_Calls ilObjTestGUI: ilTestFixedQuestionSetConfigGUI, ilTestRandomQuestionSetConfigGUI, ilObjTestDynamicQuestionSetConfigGUI @ilCtrl_Calls ilObjTestGUI: ilAssQuestionHintsGUI, ilAssQuestionFeedbackEditingGUI, ilLocalUnitConfigurationGUI, assFormulaQuestionGUI @ilCtrl_Calls ilObjTestGUI: ilTestPassDetailsOverviewTableGUI @ilCtrl_Calls ilObjTestGUI: ilTestResultsToolbarGUI @ilCtrl_Calls ilObjTestGUI: ilTestCorrectionsGUI @ilCtrl_Calls ilObjTestGUI: ilTestSettingsChangeConfirmationGUI @ilCtrl_Calls ilObjTestGUI: ilTestSkillAdministrationGUI @ilCtrl_Calls ilObjTestGUI: ilAssQuestionPreviewGUI @ilCtrl_Calls ilObjTestGUI: ilTestQuestionBrowserTableGUI, ilTestInfoScreenToolbarGUI, ilLTIProviderObjectSettingGUI
Definition at line 66 of file class.ilObjTestGUI.php.
ilObjTestGUI::__construct | ( | $refId = null | ) |
Constructor @access 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(), error(), 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 @access 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(), ilTestDashboardGUI\executeCommand(), ilTestParticipantsTimeExtensionGUI\executeCommand(), ilTestResultsGUI\executeCommand(), ilTestScoringGUI\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 | ) |
Add custom templates.
array | $a_options |
Reimplemented from ilObjectGUI.
Definition at line 1193 of file class.ilObjTestGUI.php.
References ilSettingsTemplate\getAllSettingsTemplates().
ilObjTestGUI::addLocatorItems | ( | ) |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
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(), and ilTestTabsManager\SUBTAB_ID_QST_LIST_VIEW.
ilObjTestGUI::afterSave | ( | ilObject | $a_new_object | ) |
save object @access public
Reimplemented from ilObjectGUI.
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 $object, 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, and REDIRECT_NONE.
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
@access 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.
return
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
@access 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
@access 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 | ( | ) |
@global 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
@access 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(), 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.
@access 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 | ( | ) |
download source code paragraph
Definition at line 1554 of file class.ilObjTestGUI.php.
ilObjTestGUI::downloadFileObject | ( | ) |
download file
Definition at line 1532 of file class.ilObjTestGUI.php.
ilObjTestGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
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(), ilLearningProgressBaseGUI\LP_CONTEXT_REPOSITORY, ilObjectGUI\prepareOutput(), prepareSubGuiOutput(), questionsObject(), redirectAfterMissingRead(), redirectAfterMissingWrite(), assQuestionGUI\RENDER_PURPOSE_PREVIEW, ilUtil\sendFailure(), ilUtil\sendInfo(), 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.
@access 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
@access 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 | ( | ) |
show fullscreen view
Definition at line 1544 of file class.ilObjTestGUI.php.
References $_GET.
|
protected |
Definition at line 3988 of file class.ilObjTestGUI.php.
References $objectiveOrientedContainer.
Referenced by executeCommand(), forwardToEvaluationGUI(), and getTabs().
|
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 |
Reimplemented from ilObjectGUI.
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.
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
@access 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
Reimplemented from ilObjectGUI.
Definition at line 1175 of file class.ilObjTestGUI.php.
References ilObjectGUI\checkPermissionBool(), error(), 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 | ) |
Init object import form.
string | new type |
Reimplemented from ilObjectGUI.
Definition at line 2473 of file class.ilObjTestGUI.php.
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.
@access 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
@access 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.
|
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.
@access 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, ilObjectGUI\$toolbar, 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
@global ilLocator $ilLocator @global ilTemplate $tpl @global 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
@access 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(), 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, 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().
|
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.
|
protected |
Definition at line 3070 of file class.ilObjTestGUI.php.
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
@access 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
@access 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
@access public
Definition at line 2630 of file class.ilObjTestGUI.php.
References $_GET, $DIC, 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(), 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().
ilObjTestGUI::uploadObject | ( | $redirect = true | ) |
display status information or report errors messages in case of error
@access 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.
ilObjTest ilObjTestGUI::$object = null |
Definition at line 73 of file class.ilObjTestGUI.php.
Referenced by applyTemplate(), and 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.