ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Class ilObjTestGUI. More...
Public Member Functions | |
ilObjTestGUI () | |
Constructor public. More... | |
executeCommand () | |
execute command More... | |
createUserResults ($show_pass_details, $show_answers, $show_reached_points, $show_user_results) | |
runObject () | |
outEvaluationObject () | |
importFileObject () | |
form for new test object import More... | |
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... | |
filterAvailableQuestionsObject () | |
resetfilterAvailableQuestionsObject () | |
questionBrowser () | |
Creates a form to select questions from questionpools to insert the questions into the test. More... | |
addQuestionObject () | |
questionsObject () | |
takenObject () | |
confirmDeleteAllUserResultsObject () | |
Deletes all user data for the test object. More... | |
confirmDeleteSelectedUserDataObject () | |
Deletes the selected user data for the test object. More... | |
cancelDeleteSelectedUserDataObject () | |
Cancels the deletion of all user data for the test object. More... | |
deleteAllUserDataObject () | |
Asks for a confirmation to delete all user data of the test object. More... | |
deleteAllUserResultsObject () | |
Asks for a confirmation to delete all user data of the test object. More... | |
deleteSingleUserResultsObject () | |
Asks for a confirmation to delete selected user data of the test object. More... | |
historyObject () | |
Creates the change history for a test. More... | |
initImportForm ($a_new_type) | |
participantsActionObject () | |
Evaluates the actions on the participants page. More... | |
participantsObject () | |
Creates the output of the test participants. More... | |
timingOverviewObject () | |
timingObject () | |
showTimingFormObject () | |
applyFilterCriteria ($in_rows) | |
fpSetFilterObject () | |
fpResetFilterObject () | |
npSetFilterObject () | |
npResetFilterObject () | |
showDetailedResultsObject () | |
Shows the pass overview and the answers of one ore more users for the scored pass. More... | |
showUserAnswersObject () | |
Shows the answers of one ore more users for the scored pass. More... | |
showPassOverviewObject () | |
Shows the pass overview of the scored pass for one ore more users. More... | |
showUserResults ($show_pass_details, $show_answers, $show_reached_points=FALSE) | |
Shows the pass overview of the scored pass for one ore more users. More... | |
removeParticipantObject () | |
saveClientIPObject () | |
printobject () | |
Print tab to create a print of all questions with points and solutions. More... | |
addParticipantsObject ($a_user_ids=array()) | |
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 () | |
getBrowseForQuestionsTab (&$tabs_gui) | |
getRandomQuestionsTab (&$tabs_gui) | |
statisticsObject () | |
certificateObject () | |
Shows the certificate editor. More... | |
getQuestionsSubTabs () | |
getStatisticsSubTabs () | |
getParticipantsSubTabs () | |
getTabs (&$tabs_gui) | |
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, $object) | |
saveOrderAndObligationsObject () | |
movePageObject () | |
showPageObject () | |
copyQuestionObject () | |
![]() | |
ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. More... | |
& | 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... | |
getAdminTabs (&$tabs_gui) | |
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 ($in_rep=false) | |
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... | |
editObject () | |
edit object More... | |
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... | |
Static Public Member Functions | |
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 | COPY_WIZARD_NEEDS_PAGE = 1 |
$ilias | |
$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 | |
movePageFormObject () | |
Move current page. More... | |
![]() | |
assignObject () | |
prepareOutput () | |
prepare output More... | |
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... | |
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... | |
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) | |
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... | |
getTitlesByRefId ($a_ref_ids) | |
get Titles of objects this method is used for error messages in methods cut/copy/paste More... | |
getTabs (&$tabs_gui) | |
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 ($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... | |
Private Member Functions | |
questionsTabGatewayObject () | |
redirectTo_ilObjTestSettingsGeneralGUI_showForm_Object () | |
prepareSubGuiOutput () | |
prepares ilias to get output rendered by sub gui class More... | |
formTimingObject () | |
isCommandClassAnyInfoScreenChild () | |
getQuestionpoolCreationForm () | |
isDeleteDynamicTestResultsButtonRequired ($testSession, $testSequence) | |
populateDeleteDynamicTestResultsButton ($testSession, &$big_button) | |
isPdfDeliveryRequest () | |
Private Attributes | |
$testQuestionSetConfigFactory = null | |
$testPlayerFactory = null | |
$testSessionFactory = null | |
$testSequenceFactory = null | |
Static Private Attributes | |
static | $infoScreenChildClasses |
Class ilObjTestGUI.
ilObjTestGUI: ilObjCourseGUI, ilMDEditorGUI, ilCertificateGUI, ilPermissionGUI ilObjTestGUI: ilTestPlayerFixedQuestionSetGUI, ilTestPlayerRandomQuestionSetGUI, ilTestPlayerDynamicQuestionSetGUI ilObjTestGUI: ilLearningProgressGUI, ilMarkSchemaGUI ilObjTestGUI: ilTestEvaluationGUI, ilAssGenFeedbackPageGUI, ilAssSpecFeedbackPageGUI ilObjTestGUI: ilInfoScreenGUI, ilShopPurchaseGUI, ilObjectCopyGUI, ilTestScoringGUI ilObjTestGUI: ilRepositorySearchGUI, ilScoringAdjustmentGUI, ilTestExportGUI ilObjTestGUI: assMultipleChoiceGUI, assClozeTestGUI, assMatchingQuestionGUI ilObjTestGUI: assOrderingQuestionGUI, assImagemapQuestionGUI, assJavaAppletGUI ilObjTestGUI: assNumericGUI, assErrorTextGUI, ilTestScoringByQuestionsGUI ilObjTestGUI: assTextSubsetGUI, assOrderingHorizontalGUI, ilTestToplistGUI ilObjTestGUI: assSingleChoiceGUI, assFileUploadGUI, assTextQuestionGUI, assFlashQuestionGUI ilObjTestGUI: ilTestExpressPageObjectGUI, ilPageEditorGUI, ilAssQuestionPageGUI ilObjTestGUI: ilObjQuestionPoolGUI, ilEditClipboardGUI ilObjTestGUI: ilObjTestSettingsGeneralGUI, ilObjTestSettingsScoringResultsGUI ilObjTestGUI: ilCommonActionDispatcherGUI, ilObjTestDynamicQuestionSetConfigGUI ilObjTestGUI: ilTestRandomQuestionSetConfigGUI ilObjTestGUI: ilAssQuestionHintsGUI, ilAssQuestionFeedbackEditingGUI, ilLocalUnitConfigurationGUI, assFormulaQuestionGUI ilObjTestGUI: ilTestPassDetailsOverviewTableGUI ilObjTestGUI: ilTestResultsToolbarGUI ilObjTestGUI: ilTestSettingsChangeConfirmationGUI ilObjTestGUI: ilTestSkillAdministrationGUI, ilTestSkillEvaluationGUI ilObjTestGUI: ilAssQuestionPreviewGUI ilObjTestGUI: assKprimChoiceGUI
Definition at line 46 of file class.ilObjTestGUI.php.
|
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 4374 of file class.ilObjTestGUI.php.
References $_GET, $ilErr, ilObjectGUI\$lng, ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, and ilUtil\sendInfo().
ilObjTestGUI::addDefaultsObject | ( | ) |
Adds the defaults of this test to the defaults.
Definition at line 3322 of file class.ilObjTestGUI.php.
References $_POST, and ilUtil\sendInfo().
ilObjTestGUI::addDidacticTemplateOptions | ( | array & | $a_options | ) |
Definition at line 897 of file class.ilObjTestGUI.php.
References $row, and ilSettingsTemplate\getAllSettingsTemplates().
ilObjTestGUI::addLocatorItems | ( | ) |
Definition at line 3753 of file class.ilObjTestGUI.php.
References $_GET.
ilObjTestGUI::addParticipantsObject | ( | $a_user_ids = array() | ) |
Definition at line 3129 of file class.ilObjTestGUI.php.
References $_POST, ilObjectGUI\$tpl, and ilUtil\sendInfo().
ilObjTestGUI::addQuestionObject | ( | ) |
Definition at line 1962 of file class.ilObjTestGUI.php.
References $_REQUEST, ilObjectGUI\$data, $ilCtrl, ilObjectGUI\$lng, $options, $si, ilObjectGUI\$tpl, ilObjQuestionPool\_getAvailableQuestionpools(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_DEFAULT, assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_PAGE_OBJECT, ilRadioGroupInputGUI\addOption(), ilObjAssessmentFolder\isAdditionalQuestionContentEditingModePageObjectEnabled(), ilSelectInputGUI\setOptions(), ilFormPropertyGUI\setRequired(), ilTextInputGUI\setSize(), and ilRadioOption\setValue().
ilObjTestGUI::afterSave | ( | ilObject | $a_new_object | ) |
save object public
Definition at line 928 of file class.ilObjTestGUI.php.
References ilObjTest\_getTestDefaults(), applyTemplate(), ilObjectGUI\getDidacticTemplateVar(), ilObject\getRefId(), ilObjAssessmentFolderGUI\getSettingsTemplateConfig(), and ilUtil\sendSuccess().
ilObjTestGUI::applyDefaultsObject | ( | $confirmed = false | ) |
Applies the selected test defaults.
Definition at line 3223 of file class.ilObjTestGUI.php.
References $_POST, ilObjTest\QUESTION_SET_TYPE_FIXED, ilObjTest\QUESTION_SET_TYPE_RANDOM, ilUtil\sendInfo(), and ilUtil\sendSuccess().
Referenced by confirmedApplyDefaultsObject().
ilObjTestGUI::applyFilterCriteria | ( | $in_rows | ) |
Definition at line 2774 of file class.ilObjTestGUI.php.
References $_SESSION, $ilDB, ilObjectGUI\$ref_id, $result, and $row.
Referenced by participantsObject().
ilObjTestGUI::applyTemplate | ( | $templateData, | |
$object | |||
) |
Definition at line 4857 of file class.ilObjTestGUI.php.
References $object, 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
public
Definition at line 1276 of file class.ilObjTestGUI.php.
Referenced by copyAndLinkQuestionsToPoolObject(), copyAndLinkToQuestionpoolObject(), and copyQuestionsToPoolObject().
ilObjTestGUI::backToRepositoryObject | ( | ) |
Definition at line 961 of file class.ilObjTestGUI.php.
References $path, ilObjectGUI\getReturnLocation(), and ilUtil\redirect().
ilObjTestGUI::browseForQuestionsObject | ( | ) |
Definition at line 1447 of file class.ilObjTestGUI.php.
References questionBrowser().
ilObjTestGUI::buildPageViewToolbar | ( | $qid = 0 | ) |
Questions per page.
Definition at line 4404 of file class.ilObjTestGUI.php.
References $_REQUEST, $ilCtrl, $ilUser, ilObjectGUI\$lng, $options, $si, $total, ilObjTestAccess\_lookupOnlineTestAccess(), ilLinkButton\getInstance(), and getQuestionsSubTabs().
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 1534 of file class.ilObjTestGUI.php.
ilObjTestGUI::cancelDeleteSelectedUserDataObject | ( | ) |
Cancels the deletion of all user data for the test object.
Cancels the deletion of all user data for the test object
public
Definition at line 2284 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 1347 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 1712 of file class.ilObjTestGUI.php.
References $_REQUEST.
ilObjTestGUI::certificateObject | ( | ) |
ilObjTestGUI::confirmDeleteAllUserResultsObject | ( | ) |
Deletes all user data for the test object.
Deletes all user data for the test object
public
Definition at line 2231 of file class.ilObjTestGUI.php.
References $ilDB, ilObjectGUI\$lng, and ilUtil\sendSuccess().
ilObjTestGUI::confirmDeleteSelectedUserDataObject | ( | ) |
Deletes the selected user data for the test object.
Deletes the selected user data for the test object
public
Definition at line 2253 of file class.ilObjTestGUI.php.
References $_POST, $ilDB, ilObjectGUI\$lng, and ilUtil\sendSuccess().
ilObjTestGUI::confirmedApplyDefaultsObject | ( | ) |
Definition at line 3214 of file class.ilObjTestGUI.php.
References applyDefaultsObject().
ilObjTestGUI::confirmRemoveQuestionsObject | ( | ) |
Remove questions from the test after confirmation.
Definition at line 1641 of file class.ilObjTestGUI.php.
References $_POST, $_REQUEST, and ilUtil\sendSuccess().
ilObjTestGUI::copyAndLinkQuestionsToPoolObject | ( | ) |
ilObjectDataCache $ilObjDataCache
Definition at line 4655 of file class.ilObjTestGUI.php.
References $_REQUEST, $result, assQuestion\_instanciateQuestion(), backObject(), copyQuestionsToPool(), and assQuestion\originalQuestionExists().
Referenced by createQuestionPoolAndCopyObject().
ilObjTestGUI::copyAndLinkToQuestionpoolObject | ( | ) |
Definition at line 4711 of file class.ilObjTestGUI.php.
References $_REQUEST, ilObjectGUI\$lng, assQuestion\_getOriginalId(), ilObject\_lookupType(), backObject(), createQuestionpoolTargetObject(), assQuestion\lookupParentObjId(), assQuestion\originalQuestionExists(), and ilUtil\sendFailure().
Referenced by createQuestionPoolAndCopyObject().
ilObjTestGUI::copyQuestionObject | ( | ) |
Definition at line 5090 of file class.ilObjTestGUI.php.
References $_REQUEST, assQuestion\_instanciateQuestionGUI(), ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjTestGUI::copyQuestionsToPool | ( | $questionIds, | |
$qplId | |||
) |
Definition at line 4617 of file class.ilObjTestGUI.php.
References $result, and copyQuestionToPool().
Referenced by copyAndLinkQuestionsToPoolObject(), and copyQuestionsToPoolObject().
ilObjTestGUI::copyQuestionsToPoolObject | ( | ) |
Definition at line 4611 of file class.ilObjTestGUI.php.
References $_REQUEST, backObject(), and copyQuestionsToPool().
ilObjTestGUI::copyQuestionToPool | ( | $sourceQuestionId, | |
$targetParentId | |||
) |
Definition at line 4633 of file class.ilObjTestGUI.php.
References assQuestion\instantiateQuestionGUI().
Referenced by copyQuestionsToPool().
ilObjTestGUI::copyToQuestionpoolObject | ( | ) |
Definition at line 4706 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 1546 of file class.ilObjTestGUI.php.
References $_REQUEST, $ilCtrl, $ilUser, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjQuestionPool\_getAvailableQuestionpools(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_DEFAULT, assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_PAGE_OBJECT, ilRadioGroupInputGUI\addOption(), getQuestionsSubTabs(), ilObjAssessmentFolder\isAdditionalQuestionContentEditingModePageObjectEnabled(), ilUtil\redirect(), ilSelectInputGUI\setOptions(), ilFormPropertyGUI\setRequired(), ilTextInputGUI\setSize(), and ilRadioOption\setValue().
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 1289 of file class.ilObjTestGUI.php.
References ilObjectGUI\$tree.
Referenced by createQuestionPoolAndCopyObject(), and executeCreateQuestionObject().
ilObjTestGUI::createQuestionPoolAndCopyObject | ( | ) |
Definition at line 4750 of file class.ilObjTestGUI.php.
References $_REQUEST, ilObjectGUI\$ref_id, 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 4788 of file class.ilObjTestGUI.php.
References $_REQUEST, $cmd, $ilUser, getQuestionpoolCreationForm(), and getQuestionsSubTabs().
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 1359 of file class.ilObjTestGUI.php.
References $_POST, assQuestion\_getQuestionTypeName(), and getQuestionsSubTabs().
ilObjTestGUI::createUserResults | ( | $show_pass_details, | |
$show_answers, | |||
$show_reached_points, | |||
$show_user_results | |||
) |
$show_pass_details | |
$show_answers | |
$show_reached_points | |
$show_user_results |
Definition at line 721 of file class.ilObjTestGUI.php.
References $_GET, $_SESSION, $ilDB, $results, ilTestPDFGenerator\generatePDF(), isPdfDeliveryRequest(), and ilTestPDFGenerator\PDF_OUTPUT_DOWNLOAD.
Referenced by showUserResults().
ilObjTestGUI::deleteAllUserDataObject | ( | ) |
Asks for a confirmation to delete all user data of the test object.
Asks for a confirmation to delete all user data of the test object
DEPRECATED?
public
Definition at line 2298 of file class.ilObjTestGUI.php.
References ilUtil\sendQuestion().
ilObjTestGUI::deleteAllUserResultsObject | ( | ) |
Asks for a confirmation to delete all user data of the test object.
Definition at line 2316 of file class.ilObjTestGUI.php.
ilObjTestGUI::deleteDefaultsObject | ( | ) |
Deletes selected test defaults.
Definition at line 3195 of file class.ilObjTestGUI.php.
References $_POST, and ilUtil\sendInfo().
ilObjTestGUI::deleteSingleUserResultsObject | ( | ) |
Asks for a confirmation to delete selected user data of the test object.
Asks for a confirmation to delete selected user data of the test object
public
Definition at line 2336 of file class.ilObjTestGUI.php.
References $_POST, ilObjUser\_lookupName(), ilUtil\getImagePath(), and ilUtil\sendInfo().
ilObjTestGUI::download_paragraphObject | ( | ) |
ilObjTestGUI::downloadFileObject | ( | ) |
download file
Definition at line 1214 of file class.ilObjTestGUI.php.
References $_GET, $file, and exit.
ilObjTestGUI::executeCommand | ( | ) |
execute command
Definition at line 99 of file class.ilObjTestGUI.php.
References $_GET, $_POST, $_REQUEST, $cmd, $ilCtrl, $ilDB, $ilErr, ilObjectGUI\$ilias, $ilUser, ilObjectGUI\$lng, $object, $ret, ilObjectGUI\$tpl, ilObjectGUI\$tree, assQuestionGUI\_getQuestionGUI(), ilPaymentObject\_requiresPurchaseToAccess(), ilObjectGUI\addHeaderAction(), ilMDEditorGUI\addObserver(), buildPageViewToolbar(), exit, ilObjStyleSheet\getContentStylePath(), ilObjectGUI\getCreationMode(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), assQuestion\getQuestionTypeFromDb(), ilObjStyleSheet\getSyntaxStylePath(), ilLearningProgressBaseGUI\LP_CONTEXT_REPOSITORY, ilObjectGUI\prepareOutput(), prepareSubGuiOutput(), questionBrowser(), questionsObject(), ilUtil\sendInfo(), and ilObjectGUI\setLocator().
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 1459 of file class.ilObjTestGUI.php.
References $_GET, $_REQUEST, $_SESSION, ilUtil\appendUrlParameterString(), createQuestionObject(), createQuestionPool(), exit, ilObjQuestionPool\getQuestionTypeByTypeId(), ilUtil\redirect(), and ilUtil\sendInfo().
ilObjTestGUI::filterAvailableQuestionsObject | ( | ) |
Definition at line 1918 of file class.ilObjTestGUI.php.
ilObjTestGUI::filterObject | ( | ) |
Sets the filter for the question browser.
Sets the filter for the question browser
public
Definition at line 1252 of file class.ilObjTestGUI.php.
References questionBrowser().
|
private |
Definition at line 2706 of file class.ilObjTestGUI.php.
References $_GET, $_POST, $options, ilDatePresentation\formatDate(), IL_CAL_DATETIME, and ilFormPropertyGUI\setInfo().
Referenced by showTimingFormObject(), and timingObject().
ilObjTestGUI::fpResetFilterObject | ( | ) |
Definition at line 2826 of file class.ilObjTestGUI.php.
References participantsObject(), and ilTable2GUI\resetFilter().
ilObjTestGUI::fpSetFilterObject | ( | ) |
Definition at line 2817 of file class.ilObjTestGUI.php.
References participantsObject(), and ilTable2GUI\writeFilterToSession().
ilObjTestGUI::fullscreenObject | ( | ) |
ilObjTestGUI::getBrowseForQuestionsTab | ( | & | $tabs_gui | ) |
Definition at line 3806 of file class.ilObjTestGUI.php.
Referenced by getTabs().
ilObjTestGUI::getParticipantsSubTabs | ( | ) |
Definition at line 3981 of file class.ilObjTestGUI.php.
Referenced by participantsObject(), timingObject(), and timingOverviewObject().
|
private |
Definition at line 4678 of file class.ilObjTestGUI.php.
References $_REQUEST, ilObjectGUI\$lng, and ilFormPropertyGUI\setRequired().
Referenced by createQuestionPoolAndCopyObject(), and createQuestionpoolTargetObject().
ilObjTestGUI::getQuestionsSubTabs | ( | ) |
Definition at line 3852 of file class.ilObjTestGUI.php.
References $_REQUEST, $ilCtrl, and ilObjAssessmentFolderGUI\getSettingsTemplateConfig().
Referenced by buildPageViewToolbar(), createQuestionObject(), createQuestionpoolTargetObject(), createRandomSelectionObject(), printobject(), questionsObject(), randomselectObject(), and removeQuestionsObject().
ilObjTestGUI::getRandomQuestionsTab | ( | & | $tabs_gui | ) |
Definition at line 3822 of file class.ilObjTestGUI.php.
ilObjTestGUI::getStatisticsSubTabs | ( | ) |
Definition at line 3904 of file class.ilObjTestGUI.php.
References ilObjectGUI\$ilias, and ilCertificate\isActive().
Referenced by getTabs().
ilObjTestGUI::getTabs | ( | & | $tabs_gui | ) |
adds tabs to tab gui object
ilTabsGUI | $tabs_gui |
Definition at line 4020 of file class.ilObjTestGUI.php.
References $_GET, $ilUser, ilObjAssessmentFolder\_getManualScoring(), ilLearningProgressAccess\checkAccess(), ilTestSkillQuestionAssignmentsGUI\CMD_SHOW_SKILL_QUEST_ASSIGNS, getBrowseForQuestionsTab(), ilObjAssessmentFolderGUI\getSettingsTemplateConfig(), getStatisticsSubTabs(), ilObjTest\isSkillManagementGloballyActivated(), ilObjTest\QUESTION_SET_TYPE_DYNAMIC, ilObjTest\QUESTION_SET_TYPE_FIXED, and ilObjTest\QUESTION_SET_TYPE_RANDOM.
ilObjTestGUI::historyObject | ( | ) |
Creates the change history for a test.
Creates the change history for a test
public
Definition at line 2393 of file class.ilObjTestGUI.php.
References $log, and ilObjAssessmentFolder\_getLog().
ilObjTestGUI::ilObjTestGUI | ( | ) |
Constructor public.
Definition at line 71 of file class.ilObjTestGUI.php.
References $_GET, $ilCtrl, $ilDB, ilObjectGUI\$lng, ilObjectGUI\$tree, and ilObjectGUI\ilObjectGUI().
ilObjTestGUI::importFileObject | ( | ) |
form for new test object import
Definition at line 883 of file class.ilObjTestGUI.php.
References $_REQUEST, initImportForm(), and uploadTstObject().
ilObjTestGUI::importVerifiedFileObject | ( | ) |
imports question(s) into the questionpool (after verification)
Definition at line 1134 of file class.ilObjTestGUI.php.
References $_GET, $_POST, $_SESSION, $result, $results, ilObjTest\_getImportDirectory(), ilUtil\delDir(), IL_MO_PARSE_QTI, ilUtil\redirect(), and ilUtil\sendSuccess().
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 3350 of file class.ilObjTestGUI.php.
ilObjTestGUI::initImportForm | ( | $a_new_type | ) |
Definition at line 2404 of file class.ilObjTestGUI.php.
References $_GET, $_POST, $options, ilSelectInputGUI\setOptions(), and ilFileInputGUI\setSuffixes().
Referenced by importFileObject().
ilObjTestGUI::insertQuestionsAfterObject | ( | ) |
Insert checked questions after the actual selection.
Definition at line 1858 of file class.ilObjTestGUI.php.
References $_POST, $_SESSION, ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjTestGUI::insertQuestionsBeforeObject | ( | ) |
Insert checked questions before the actual selection.
Definition at line 1833 of file class.ilObjTestGUI.php.
References $_POST, $_SESSION, ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjTestGUI::insertQuestionsObject | ( | ) |
Insert questions from the questionbrowser into the test.
public
Definition at line 1884 of file class.ilObjTestGUI.php.
References $_POST, assQuestion\_needsManualScoring(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjTestGUI::insertRandomSelectionObject | ( | ) |
Inserts a random selection into the test.
Inserts a random selection into the test
public
Definition at line 1417 of file class.ilObjTestGUI.php.
References $_POST, $total, ilUtil\sendInfo(), and ilUtil\sendSuccess().
|
private |
Definition at line 3335 of file class.ilObjTestGUI.php.
Referenced by redirectToInfoScreenObject().
|
private |
$testSession | |
$testSequence |
Definition at line 5150 of file class.ilObjTestGUI.php.
Referenced by redirectToInfoScreenObject().
|
private |
Definition at line 5202 of file class.ilObjTestGUI.php.
References $_GET.
Referenced by createUserResults().
|
protected |
Move current page.
Definition at line 5027 of file class.ilObjTestGUI.php.
References $_REQUEST, $ilCtrl, ilObjectGUI\$lng, $options, ilObjectGUI\$tpl, and ilSelectInputGUI\setOptions().
ilObjTestGUI::movePageObject | ( | ) |
Definition at line 5070 of file class.ilObjTestGUI.php.
References $_REQUEST, ilUtil\sendInfo(), and showPageObject().
ilObjTestGUI::moveQuestionsObject | ( | ) |
Marks selected questions for moving.
Definition at line 1814 of file class.ilObjTestGUI.php.
References $_POST, $_SESSION, ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjTestGUI::npResetFilterObject | ( | ) |
Definition at line 2849 of file class.ilObjTestGUI.php.
References participantsObject(), and ilTable2GUI\resetFilter().
ilObjTestGUI::npSetFilterObject | ( | ) |
Definition at line 2837 of file class.ilObjTestGUI.php.
References participantsObject(), and ilTable2GUI\writeFilterToSession().
ilObjTestGUI::outEvaluationObject | ( | ) |
Definition at line 875 of file class.ilObjTestGUI.php.
ilObjTestGUI::participantsActionObject | ( | ) |
Evaluates the actions on the participants page.
public
Definition at line 2449 of file class.ilObjTestGUI.php.
References $_POST.
ilObjTestGUI::participantsObject | ( | ) |
Creates the output of the test participants.
public
Definition at line 2469 of file class.ilObjTestGUI.php.
References ilObjectGUI\$data, ilObjectGUI\$lng, ilObjTestAccess\_getParticipantData(), applyFilterCriteria(), ilRepositorySearchGUI\fillAutoCompleteToolbar(), getParticipantsSubTabs(), ilUtil\sendFailure(), ilUtil\sendInfo(), and ilTable2GUI\setFilterCommand().
Referenced by fpResetFilterObject(), fpSetFilterObject(), npResetFilterObject(), and npSetFilterObject().
|
private |
$testSession | |
$big_button |
Definition at line 5179 of file class.ilObjTestGUI.php.
References ilTestPassDeletionConfirmationGUI\CONTEXT_INFO_SCREEN, and ilLinkButton\getInstance().
Referenced by redirectToInfoScreenObject().
|
private |
prepares ilias to get output rendered by sub gui class
ilLocator $ilLocator ilTemplate $tpl ilObjUser $ilUser
Definition at line 846 of file class.ilObjTestGUI.php.
References $ilUser, ilDAVServer\_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 2968 of file class.ilObjTestGUI.php.
References $_GET, ilObjectGUI\$ilias, $ilUser, ilTestPDFGenerator\generatePDF(), getQuestionsSubTabs(), ilUtil\getStyleSheetLocation(), ilTestPDFGenerator\PDF_OUTPUT_DOWNLOAD, ilUtil\prepareFormOutput(), and ilUtil\sendInfo().
ilObjTestGUI::questionBrowser | ( | ) |
Creates a form to select questions from questionpools to insert the questions into the test.
public
Definition at line 1941 of file class.ilObjTestGUI.php.
References ilObjectGUI\$data.
Referenced by browseForQuestionsObject(), executeCommand(), filterObject(), and resetFilterObject().
ilObjTestGUI::questionsObject | ( | ) |
Definition at line 2069 of file class.ilObjTestGUI.php.
References $_GET, $_SESSION, ilObjectGUI\$data, $ilCtrl, $ilUser, ilObjectGUI\$lng, $total, ilObjTestAccess\_lookupOnlineTestAccess(), getQuestionsSubTabs(), ilUtil\redirect(), and ilUtil\sendInfo().
Referenced by executeCommand().
|
private |
Definition at line 698 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 1310 of file class.ilObjTestGUI.php.
References $_POST, $ilUser, and getQuestionsSubTabs().
|
private |
Definition at line 832 of file class.ilObjTestGUI.php.
References ilObjTestSettingsGeneralGUI\CMD_SHOW_FORM.
ilObjTestGUI::redirectToInfoScreenObject | ( | ) |
Definition at line 3359 of file class.ilObjTestGUI.php.
References $_COOKIE, $_GET, $_SESSION, $GLOBALS, $ilUser, ilObjTestAccess\_lookupOnlineTestAccess(), ilTestSkillEvaluationGUI\CMD_SHOW, COUNT_PARTIAL_SOLUTIONS, ilDatePresentation\formatDate(), ilSubmitButton\getInstance(), ilLinkButton\getInstance(), IL_CAL_TIMESTAMP, isCommandClassAnyInfoScreenChild(), isDeleteDynamicTestResultsButtonRequired(), populateDeleteDynamicTestResultsButton(), REPORT_AFTER_DATE, REPORT_AFTER_TEST, REPORT_ALWAYS, SCORE_BEST_PASS, SCORE_ZERO_POINTS_WHEN_UNANSWERED, ilUtil\sendFailure(), ilUtil\sendInfo(), ilTextInputGUI\setSize(), and TEST_FIXED_SEQUENCE.
ilObjTestGUI::removeParticipantObject | ( | ) |
Definition at line 2929 of file class.ilObjTestGUI.php.
References $_POST, and ilUtil\sendInfo().
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 1730 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.
Called when a selection of questions should be removed from the test
public
Definition at line 1792 of file class.ilObjTestGUI.php.
References $_REQUEST, getQuestionsSubTabs(), removeQuestionsForm(), and ilUtil\sendFailure().
ilObjTestGUI::resetfilterAvailableQuestionsObject | ( | ) |
Definition at line 1927 of file class.ilObjTestGUI.php.
ilObjTestGUI::resetFilterObject | ( | ) |
Resets the filter for the question browser.
Resets the filter for the question browser
public
Definition at line 1264 of file class.ilObjTestGUI.php.
References questionBrowser().
ilObjTestGUI::runObject | ( | ) |
Definition at line 870 of file class.ilObjTestGUI.php.
ilObjTestGUI::saveClientIPObject | ( | ) |
Definition at line 2945 of file class.ilObjTestGUI.php.
References $_POST, and ilUtil\sendInfo().
ilObjTestGUI::saveOrderAndObligationsObject | ( | ) |
Definition at line 4983 of file class.ilObjTestGUI.php.
References $_REQUEST, $ilCtrl, ilObjTest\isQuestionObligationPossible(), and ilUtil\sendInfo().
ilObjTestGUI::showDetailedResultsObject | ( | ) |
Shows the pass overview and the answers of one ore more users for the scored pass.
public
Definition at line 2866 of file class.ilObjTestGUI.php.
References $_POST, $_SESSION, and showUserResults().
ilObjTestGUI::showPageObject | ( | ) |
Definition at line 5083 of file class.ilObjTestGUI.php.
References $_REQUEST, and $ilCtrl.
Referenced by movePageObject().
ilObjTestGUI::showPassOverviewObject | ( | ) |
Shows the pass overview of the scored pass for one ore more users.
public
Definition at line 2894 of file class.ilObjTestGUI.php.
References $_POST, $_SESSION, and showUserResults().
ilObjTestGUI::showTimingFormObject | ( | ) |
Definition at line 2768 of file class.ilObjTestGUI.php.
References formTimingObject().
ilObjTestGUI::showUserAnswersObject | ( | ) |
Shows the answers of one ore more users for the scored pass.
public
Definition at line 2880 of file class.ilObjTestGUI.php.
References $_POST, $_SESSION, and showUserResults().
ilObjTestGUI::showUserResults | ( | $show_pass_details, | |
$show_answers, | |||
$show_reached_points = FALSE |
|||
) |
Shows the pass overview of the scored pass for one ore more users.
public
Definition at line 2908 of file class.ilObjTestGUI.php.
References $_SESSION, createUserResults(), ilUtil\getStyleSheetLocation(), and ilUtil\sendInfo().
Referenced by showDetailedResultsObject(), showPassOverviewObject(), and showUserAnswersObject().
ilObjTestGUI::statisticsObject | ( | ) |
Definition at line 3837 of file class.ilObjTestGUI.php.
ilObjTestGUI::takenObject | ( | ) |
Definition at line 2221 of file class.ilObjTestGUI.php.
ilObjTestGUI::timingObject | ( | ) |
Definition at line 2673 of file class.ilObjTestGUI.php.
References $_POST, $res, formTimingObject(), getParticipantsSubTabs(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjTestGUI::timingOverviewObject | ( | ) |
Definition at line 2623 of file class.ilObjTestGUI.php.
References ilDatePresentation\formatDate(), getParticipantsSubTabs(), and IL_CAL_DATETIME.
ilObjTestGUI::uploadObject | ( | $redirect = true | ) |
display status information or report errors messages in case of error
public
Definition at line 1206 of file class.ilObjTestGUI.php.
References uploadTstObject().
ilObjTestGUI::uploadTstObject | ( | ) |
imports test and question(s)
Definition at line 971 of file class.ilObjTestGUI.php.
References $_POST, $_SESSION, $file, $result, ilObjTest\_createImportDirectory(), ilObjTest\_getImportDirectory(), ilObjTest\_setImportDirectory(), ilObjectGUI\createObject(), ilUtil\delDir(), ilUtil\getImagePath(), IL_MO_VERIFY_QTI, KPRIM_CHOICE_QUESTION_IDENTIFIER, ilUtil\moveUploadedFile(), QT_CLOZE, QT_IMAGEMAP, QT_JAVAAPPLET, QT_KPRIM_CHOICE, QT_MATCHING, QT_MULTIPLE_CHOICE_MR, QT_MULTIPLE_CHOICE_SR, QT_NUMERIC, QT_ORDERING, QT_TEXT, QT_TEXTSUBSET, ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\unzip().
Referenced by importFileObject(), and uploadObject().
|
staticprivate |
Definition at line 48 of file class.ilObjTestGUI.php.
ilObjTestGUI::$object = null |
Definition at line 53 of file class.ilObjTestGUI.php.
Referenced by applyTemplate(), and executeCommand().
|
private |
Definition at line 59 of file class.ilObjTestGUI.php.
|
private |
Definition at line 56 of file class.ilObjTestGUI.php.
|
private |
Definition at line 65 of file class.ilObjTestGUI.php.
|
private |
Definition at line 62 of file class.ilObjTestGUI.php.