ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilObjTestGUI. More...
Public Member Functions | |
ilObjTestGUI () | |
Constructor public. | |
executeCommand () | |
execute command | |
createUserResults ($show_pass_details, $show_answers, $show_reached_points, $show_user_results) | |
runObject () | |
outEvaluationObject () | |
importFileObject () | |
form for new test object import | |
addDidacticTemplateOptions (array &$a_options) | |
Add custom templates. | |
afterSave (ilObject $a_new_object) | |
save object public | |
backToRepositoryObject () | |
uploadTstObject () | |
imports test and question(s) | |
importVerifiedFileObject () | |
imports question(s) into the questionpool (after verification) | |
uploadObject ($redirect=true) | |
display status information or report errors messages in case of error | |
downloadFileObject () | |
download file | |
fullscreenObject () | |
show fullscreen view | |
download_paragraphObject () | |
download source code paragraph | |
filterObject () | |
Sets the filter for the question browser. | |
resetFilterObject () | |
Resets the filter for the question browser. | |
backObject () | |
Called when the back button in the question browser was pressed. | |
createQuestionPool ($name="dummy", $description="") | |
Creates a new questionpool and returns the reference id. | |
randomselectObject () | |
Creates a form for random selection of questions. | |
cancelRandomSelectObject () | |
Cancels the form for random selection of questions. | |
createRandomSelectionObject () | |
Offers a random selection for insertion in the test. | |
insertRandomSelectionObject () | |
Inserts a random selection into the test. | |
browseForQuestionsObject () | |
executeCreateQuestionObject () | |
Called when a new question should be created from a test after confirmation. | |
cancelCreateQuestionObject () | |
Called when the creation of a new question is cancelled. | |
createQuestionObject () | |
Called when a new question should be created from a test. | |
confirmRemoveQuestionsObject () | |
Remove questions from the test after confirmation. | |
cancelRemoveQuestionsObject () | |
Cancels the removal of questions from the test. | |
removeQuestionsForm ($checked_questions) | |
Displays a form to confirm the removal of questions from the test. | |
removeQuestionsObject () | |
Called when a selection of questions should be removed from the test. | |
moveQuestionsObject () | |
Marks selected questions for moving. | |
insertQuestionsBeforeObject () | |
Insert checked questions before the actual selection. | |
insertQuestionsAfterObject () | |
Insert checked questions after the actual selection. | |
insertQuestionsObject () | |
Insert questions from the questionbrowser into the test. | |
filterAvailableQuestionsObject () | |
resetfilterAvailableQuestionsObject () | |
questionBrowser () | |
Creates a form to select questions from questionpools to insert the questions into the test. | |
addQuestionObject () | |
questionsObject () | |
takenObject () | |
confirmDeleteAllUserResultsObject () | |
Deletes all user data for the test object. | |
confirmDeleteSelectedUserDataObject () | |
Deletes the selected user data for the test object. | |
cancelDeleteSelectedUserDataObject () | |
Cancels the deletion of all user data for the test object. | |
deleteAllUserDataObject () | |
Asks for a confirmation to delete all user data of the test object. | |
deleteAllUserResultsObject () | |
Asks for a confirmation to delete all user data of the test object. | |
deleteSingleUserResultsObject () | |
Asks for a confirmation to delete selected user data of the test object. | |
historyObject () | |
Creates the change history for a test. | |
initImportForm ($a_new_type) | |
Init object import form. | |
participantsActionObject () | |
Evaluates the actions on the participants page. | |
participantsObject () | |
Creates the output of the test participants. | |
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. | |
showUserAnswersObject () | |
Shows the answers of one ore more users for the scored pass. | |
showPassOverviewObject () | |
Shows the pass overview of the scored pass for one ore more users. | |
showUserResults ($show_pass_details, $show_answers, $show_reached_points=FALSE) | |
Shows the pass overview of the scored pass for one ore more users. | |
removeParticipantObject () | |
saveClientIPObject () | |
printobject () | |
Print tab to create a print of all questions with points and solutions. | |
addParticipantsObject ($a_user_ids=array()) | |
deleteDefaultsObject () | |
Deletes selected test defaults. | |
confirmedApplyDefaultsObject () | |
applyDefaultsObject ($confirmed=false) | |
Applies the selected test defaults. | |
addDefaultsObject () | |
Adds the defaults of this test to the defaults. | |
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 | |
redirectToInfoScreenObject () | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
getBrowseForQuestionsTab (&$tabs_gui) | |
getRandomQuestionsTab (&$tabs_gui) | |
statisticsObject () | |
certificateObject () | |
Shows the certificate editor. | |
getQuestionsSubTabs () | |
getStatisticsSubTabs () | |
getParticipantsSubTabs () | |
getTabs (&$tabs_gui) | |
adds tabs to tab gui object | |
buildPageViewToolbar ($qid=0) | |
Questions per page. | |
copyQuestionsToPoolObject () | |
copyQuestionsToPool ($questionIds, $qplId) | |
copyQuestionToPool ($sourceQuestionId, $targetParentId) | |
copyAndLinkQuestionsToPoolObject () | |
ilObjectDataCache $ilObjDataCache | |
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. | |
applyTemplate ($templateData, $object) | |
saveOrderAndObligationsObject () | |
movePageObject () | |
showPageObject () | |
copyQuestionObject () | |
Public Member Functions inherited from ilObjectGUI | |
ilObjectGUI ($a_data, $a_id=0, $a_call_by_reference=true, $a_prepare_output=true) | |
Constructor public. | |
withReferences () | |
determines wether objects are referenced or not (got ref ids or not) | |
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 | |
getCreationMode () | |
get creation mode | |
getAdminTabs (&$tabs_gui) | |
administration tabs show only permissions and trash folder | |
getHTML () | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
cancelDeleteObject () | |
cancel deletion of object | |
cancelObject ($in_rep=false) | |
cancel action and go back to previous page public | |
createObject () | |
create new object form | |
cancelCreation () | |
cancel create action and go back to repository parent | |
saveObject () | |
save object | |
editObject () | |
edit object | |
updateObject () | |
updates object entry in object_data | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. | |
isVisible ($a_ref_id, $a_type) | |
viewObject () | |
list childs of current object | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. |
Static Public Member Functions | |
static | _goto ($a_target) |
Redirect script to call a test with the test reference id. | |
Static Public Member Functions inherited from ilObjectGUI | |
static | _gotoRepositoryRoot ($a_raise_error=false) |
Goto repository root. | |
static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
Goto repository root. |
Data Fields | |
$object = null | |
Data Fields inherited from ilObjectGUI | |
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. | |
Protected Member Functions inherited from ilObjectGUI | |
assignObject () | |
prepareOutput () | |
prepare output | |
setTitleAndDescription () | |
called by prepare output | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add header action menu. | |
insertHeaderAction ($a_list_gui) | |
Insert header action into main template. | |
addHeaderAction () | |
Add header action menu. | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. | |
showMountWebfolderIcon () | |
setTabs () | |
set admin tabs public | |
setAdminTabs () | |
set admin tabs public | |
setLocator () | |
set Locator | |
omitLocator ($a_omit=true) | |
addAdminLocatorItems ($a_do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) | |
initCreationForms ($a_new_type) | |
Init creation froms. | |
getCreationFormsHTML (array $a_forms) | |
Get HTML for creation forms (accordion) | |
initCreateForm ($a_new_type) | |
Init object creation form. | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
Show didactic template types. | |
getDidacticTemplateVar ($a_type) | |
Get didactic template setting from creation screen. | |
putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
Add object to tree at given position. | |
initEditForm () | |
Init object edit form. | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. | |
getEditFormValues () | |
Get values for edit form. | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. | |
validateCustom (ilPropertyFormGUI $a_form) | |
Validate custom values (if not possible with checkInput()) | |
updateCustom (ilPropertyFormGUI $a_form) | |
Insert custom update form values into object. | |
afterUpdate () | |
Post (successful) object update hook. | |
importFileObject ($parent_id=null) | |
Import. | |
afterImport (ilObject $a_new_object) | |
Post (successful) object import hook. | |
setFormAction ($a_cmd, $a_formaction) | |
set specific form action for command | |
getReturnLocation ($a_cmd, $a_location="") | |
get return location for command (command is method name without "Object", e.g. | |
setReturnLocation ($a_cmd, $a_location) | |
set specific return location for command | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. | |
setTargetFrame ($a_cmd, $a_target_frame) | |
set specific target frame for command | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. | |
getTitlesByRefId ($a_ref_ids) | |
get Titles of objects this method is used for error messages in methods cut/copy/paste | |
__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 | |
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 | |
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. | |
getCenterColumnHTML () | |
Get center column. | |
getRightColumnHTML () | |
Display right column. | |
setColumnSettings ($column_gui) | |
May be overwritten in subclasses. | |
checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission and redirect on error. | |
checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission. | |
enableDragDropFileUpload () | |
Enables the file upload into this object by dropping files. | |
handleAutoRating (ilObject $a_new_obj) | |
Activate rating automatically if parent container setting. |
Private Member Functions | |
questionsTabGatewayObject () | |
redirectTo_ilObjTestSettingsGeneralGUI_showForm_Object () | |
prepareSubGuiOutput () | |
prepares ilias to get output rendered by sub gui class | |
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 4375 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 3323 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 897 of file class.ilObjTestGUI.php.
References $row, and ilSettingsTemplate\getAllSettingsTemplates().
ilObjTestGUI::addLocatorItems | ( | ) |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 3754 of file class.ilObjTestGUI.php.
References $_GET.
ilObjTestGUI::addParticipantsObject | ( | $a_user_ids = array() | ) |
Definition at line 3130 of file class.ilObjTestGUI.php.
References $_POST, and ilUtil\sendInfo().
ilObjTestGUI::addQuestionObject | ( | ) |
Definition at line 1963 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
Reimplemented from ilObjectGUI.
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 3224 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 2775 of file class.ilObjTestGUI.php.
References $_SESSION, $ilDB, ilObjectGUI\$ref_id, $result, and $row.
Referenced by participantsObject().
ilObjTestGUI::applyTemplate | ( | $templateData, | |
$object | |||
) |
Definition at line 4858 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 1277 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 1448 of file class.ilObjTestGUI.php.
References questionBrowser().
ilObjTestGUI::buildPageViewToolbar | ( | $qid = 0 | ) |
Questions per page.
@return |
Definition at line 4405 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 1535 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 2285 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 1348 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 1713 of file class.ilObjTestGUI.php.
References $_REQUEST.
ilObjTestGUI::certificateObject | ( | ) |
Shows the certificate editor.
Definition at line 3845 of file class.ilObjTestGUI.php.
ilObjTestGUI::confirmDeleteAllUserResultsObject | ( | ) |
Deletes all user data for the test object.
Deletes all user data for the test object
public
Definition at line 2232 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 2254 of file class.ilObjTestGUI.php.
References $_POST, $ilDB, ilObjectGUI\$lng, and ilUtil\sendSuccess().
ilObjTestGUI::confirmedApplyDefaultsObject | ( | ) |
Definition at line 3215 of file class.ilObjTestGUI.php.
References applyDefaultsObject().
ilObjTestGUI::confirmRemoveQuestionsObject | ( | ) |
Remove questions from the test after confirmation.
Definition at line 1642 of file class.ilObjTestGUI.php.
References $_POST, $_REQUEST, and ilUtil\sendSuccess().
ilObjTestGUI::copyAndLinkQuestionsToPoolObject | ( | ) |
ilObjectDataCache $ilObjDataCache
Definition at line 4656 of file class.ilObjTestGUI.php.
References $_REQUEST, $result, assQuestion\_instanciateQuestion(), backObject(), copyQuestionsToPool(), and assQuestion\originalQuestionExists().
Referenced by createQuestionPoolAndCopyObject().
ilObjTestGUI::copyAndLinkToQuestionpoolObject | ( | ) |
Definition at line 4712 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 5091 of file class.ilObjTestGUI.php.
References $_REQUEST, assQuestion\_instanciateQuestionGUI(), ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjTestGUI::copyQuestionsToPool | ( | $questionIds, | |
$qplId | |||
) |
Definition at line 4618 of file class.ilObjTestGUI.php.
References $result, and copyQuestionToPool().
Referenced by copyAndLinkQuestionsToPoolObject(), and copyQuestionsToPoolObject().
ilObjTestGUI::copyQuestionsToPoolObject | ( | ) |
Definition at line 4612 of file class.ilObjTestGUI.php.
References $_REQUEST, backObject(), and copyQuestionsToPool().
ilObjTestGUI::copyQuestionToPool | ( | $sourceQuestionId, | |
$targetParentId | |||
) |
Definition at line 4634 of file class.ilObjTestGUI.php.
References assQuestion\instantiateQuestionGUI().
Referenced by copyQuestionsToPool().
ilObjTestGUI::copyToQuestionpoolObject | ( | ) |
Definition at line 4707 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 1547 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 1290 of file class.ilObjTestGUI.php.
References ilObjectGUI\$tree.
Referenced by createQuestionPoolAndCopyObject(), and executeCreateQuestionObject().
ilObjTestGUI::createQuestionPoolAndCopyObject | ( | ) |
Definition at line 4751 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 4789 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 1360 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 2299 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 2317 of file class.ilObjTestGUI.php.
ilObjTestGUI::deleteDefaultsObject | ( | ) |
Deletes selected test defaults.
Definition at line 3196 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 2337 of file class.ilObjTestGUI.php.
References $_POST, ilObjUser\_lookupName(), ilUtil\getImagePath(), and ilUtil\sendInfo().
ilObjTestGUI::download_paragraphObject | ( | ) |
download source code paragraph
Definition at line 1238 of file class.ilObjTestGUI.php.
ilObjTestGUI::downloadFileObject | ( | ) |
ilObjTestGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
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 1460 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 1919 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 1253 of file class.ilObjTestGUI.php.
References questionBrowser().
|
private |
Definition at line 2707 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 2827 of file class.ilObjTestGUI.php.
References participantsObject(), and ilTable2GUI\resetFilter().
ilObjTestGUI::fpSetFilterObject | ( | ) |
Definition at line 2818 of file class.ilObjTestGUI.php.
References participantsObject(), and ilTable2GUI\writeFilterToSession().
ilObjTestGUI::fullscreenObject | ( | ) |
show fullscreen view
Definition at line 1227 of file class.ilObjTestGUI.php.
References $_GET.
ilObjTestGUI::getBrowseForQuestionsTab | ( | & | $tabs_gui | ) |
Definition at line 3807 of file class.ilObjTestGUI.php.
Referenced by getTabs().
ilObjTestGUI::getParticipantsSubTabs | ( | ) |
Definition at line 3982 of file class.ilObjTestGUI.php.
Referenced by participantsObject(), timingObject(), and timingOverviewObject().
|
private |
Definition at line 4679 of file class.ilObjTestGUI.php.
References $_REQUEST, ilObjectGUI\$lng, and ilFormPropertyGUI\setRequired().
Referenced by createQuestionPoolAndCopyObject(), and createQuestionpoolTargetObject().
ilObjTestGUI::getQuestionsSubTabs | ( | ) |
Definition at line 3853 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 3823 of file class.ilObjTestGUI.php.
ilObjTestGUI::getStatisticsSubTabs | ( | ) |
Definition at line 3905 of file class.ilObjTestGUI.php.
Referenced by getTabs().
ilObjTestGUI::getTabs | ( | & | $tabs_gui | ) |
adds tabs to tab gui object
ilTabsGUI | $tabs_gui |
Reimplemented from ilObjectGUI.
Definition at line 4021 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 2394 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 3351 of file class.ilObjTestGUI.php.
ilObjTestGUI::initImportForm | ( | $a_new_type | ) |
Init object import form.
string | new type |
Reimplemented from ilObjectGUI.
Definition at line 2405 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 1859 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 1834 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 1885 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 1418 of file class.ilObjTestGUI.php.
References $_POST, $total, ilUtil\sendInfo(), and ilUtil\sendSuccess().
|
private |
Definition at line 3336 of file class.ilObjTestGUI.php.
References $infoScreenChildClasses.
|
private |
$testSession | |
$testSequence |
Definition at line 5151 of file class.ilObjTestGUI.php.
|
private |
Definition at line 5203 of file class.ilObjTestGUI.php.
References $_GET.
Referenced by createUserResults().
|
protected |
Move current page.
Definition at line 5028 of file class.ilObjTestGUI.php.
References $_REQUEST, $ilCtrl, ilObjectGUI\$lng, $options, ilObjectGUI\$tpl, and ilSelectInputGUI\setOptions().
ilObjTestGUI::movePageObject | ( | ) |
Definition at line 5071 of file class.ilObjTestGUI.php.
References $_REQUEST, ilUtil\sendInfo(), and showPageObject().
ilObjTestGUI::moveQuestionsObject | ( | ) |
Marks selected questions for moving.
Definition at line 1815 of file class.ilObjTestGUI.php.
References $_POST, $_SESSION, ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjTestGUI::npResetFilterObject | ( | ) |
Definition at line 2850 of file class.ilObjTestGUI.php.
References participantsObject(), and ilTable2GUI\resetFilter().
ilObjTestGUI::npSetFilterObject | ( | ) |
Definition at line 2838 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 2450 of file class.ilObjTestGUI.php.
References $_POST.
ilObjTestGUI::participantsObject | ( | ) |
Creates the output of the test participants.
public
Definition at line 2470 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 5180 of file class.ilObjTestGUI.php.
References ilTestPassDeletionConfirmationGUI\CONTEXT_INFO_SCREEN, and ilLinkButton\getInstance().
|
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 2969 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 1942 of file class.ilObjTestGUI.php.
References ilObjectGUI\$data.
Referenced by browseForQuestionsObject(), executeCommand(), filterObject(), and resetFilterObject().
ilObjTestGUI::questionsObject | ( | ) |
Definition at line 2070 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 1311 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 3360 of file class.ilObjTestGUI.php.
References $_GET.
ilObjTestGUI::removeParticipantObject | ( | ) |
Definition at line 2930 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 1731 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 1793 of file class.ilObjTestGUI.php.
References $_REQUEST, getQuestionsSubTabs(), removeQuestionsForm(), and ilUtil\sendFailure().
ilObjTestGUI::resetfilterAvailableQuestionsObject | ( | ) |
Definition at line 1928 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 1265 of file class.ilObjTestGUI.php.
References questionBrowser().
ilObjTestGUI::runObject | ( | ) |
Definition at line 870 of file class.ilObjTestGUI.php.
ilObjTestGUI::saveClientIPObject | ( | ) |
Definition at line 2946 of file class.ilObjTestGUI.php.
References $_POST, and ilUtil\sendInfo().
ilObjTestGUI::saveOrderAndObligationsObject | ( | ) |
Definition at line 4984 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 2867 of file class.ilObjTestGUI.php.
References $_POST, $_SESSION, and showUserResults().
ilObjTestGUI::showPageObject | ( | ) |
Definition at line 5084 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 2895 of file class.ilObjTestGUI.php.
References $_POST, $_SESSION, and showUserResults().
ilObjTestGUI::showTimingFormObject | ( | ) |
Definition at line 2769 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 2881 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 2909 of file class.ilObjTestGUI.php.
References $_SESSION, createUserResults(), ilUtil\getStyleSheetLocation(), and ilUtil\sendInfo().
Referenced by showDetailedResultsObject(), showPassOverviewObject(), and showUserAnswersObject().
ilObjTestGUI::statisticsObject | ( | ) |
Definition at line 3838 of file class.ilObjTestGUI.php.
ilObjTestGUI::takenObject | ( | ) |
Definition at line 2222 of file class.ilObjTestGUI.php.
ilObjTestGUI::timingObject | ( | ) |
Definition at line 2674 of file class.ilObjTestGUI.php.
References $_POST, $res, formTimingObject(), getParticipantsSubTabs(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjTestGUI::timingOverviewObject | ( | ) |
Definition at line 2624 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 1207 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.
Referenced by isCommandClassAnyInfoScreenChild().
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.