ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilObjTestGUI. More...
Public Member Functions | |
ilObjTestGUI () | |
Constructor public. | |
executeCommand () | |
execute command | |
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 () | |
backToCourseObject () | |
exportObject () | |
createTestExportObject () | |
create test export file | |
createTestResultsExportObject () | |
create results export file | |
downloadExportFileObject () | |
download export file | |
confirmDeleteExportFileObject () | |
confirmation screen for export file deletion | |
cancelObject ($in_rep=false) | |
cancel action and go back to previous page public | |
cancelDeleteExportFileObject () | |
cancel deletion of export files | |
deleteExportFileObject () | |
delete export files | |
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 | |
confirmChangeProperties ($direction=0) | |
Displays a save confirmation dialog for test properties. | |
saveScoringObject () | |
Save the form input of the scoring form. | |
scoringObject ($checkonly=FALSE) | |
Display and fill the scoring settings form of the test. | |
propertiesObject ($checkonly=FALSE) | |
Display and fill the properties form of the test. | |
savePropertiesObject () | |
Save the form input of the properties form. | |
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. | |
addQuestionpoolObject () | |
writeRandomQuestionInput ($always=false) | |
Evaluates a posted random question form and saves the form data. | |
saveRandomQuestionsObject () | |
addsourceObject () | |
removesourceObject () | |
randomQuestionsObject () | |
saveQuestionSelectionModeObject () | |
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. | |
questionsObject () | |
takenObject () | |
addMarkStepObject () | |
Add a new mark step to the tests marks. | |
saveMarkSchemaFormData () | |
Save the mark schema POST data when the form was submitted. | |
addSimpleMarkSchemaObject () | |
Add a simple mark schema to the tests marks. | |
deleteMarkStepsObject () | |
Delete selected mark steps. | |
cancelMarksObject () | |
Cancel the mark schema form and return to the properties form. | |
saveMarksObject () | |
Save the mark schema. | |
marksObject () | |
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. | |
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()) | |
defaultsObject () | |
Displays the settings page for test defaults. | |
deleteDefaultsObject () | |
Deletes selected test defaults. | |
applyDefaultsObject () | |
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 () | |
infoScreen ($session_lock="") | |
show information screen | |
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 () | |
getSettingsSubTabs ($hiddenTabs=array()) | |
getTabs (&$tabs_gui) | |
adds tabs to tab gui object | |
_goto ($a_target) | |
Redirect script to call a test with the test reference id. | |
buildPageViewToolbar ($qid=0) | |
Questions per page. | |
copyQuestionsToPoolObject ($returnResult=false) | |
copyAndLinkQuestionsToPoolObject () | |
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. | |
confirmResetTemplateObject () | |
Enable all settings - Confirmation. | |
resetTemplateObject () | |
Enable all settings - remove template. | |
saveOrderObject () | |
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 () | |
undeleteObject () | |
Get objects back from trash. | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled | |
cancelDeleteObject () | |
cancel deletion of object | |
removeFromSystemObject () | |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
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. | |
trashObject () | |
Show trash content of object. | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. | |
copyWizardHasOptions ($a_mode) | |
Check if there is any modules specific option. |
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. | |
showUpperIcon () | |
setTabs () | |
set admin tabs public | |
setAdminTabs () | |
set admin tabs public | |
setLocator () | |
set Locator | |
omitLocator ($a_omit=true) | |
addAdminLocatorItems () | |
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. | |
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) | |
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 | |
__showClipboardTable ($a_result_set, $a_from="") | |
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. |
Private Member Functions | |
getQuestionpoolCreationForm () | |
applyTemplate ($templateData, $object) | |
formShowGeneralSection ($templateData) | |
formShowBeginningEndingInformation ($templateData) | |
formShowPresentationSection ($templateData) | |
formShowSequenceSection ($templateData) | |
formShowKioskSection ($templateData) | |
formShowSessionSection ($templateData) | |
formShowParticipantSection ($templateData) | |
formShowNotificationSection ($templateData) | |
formsectionHasVisibleFields ($templateData, $fields) |
Additional Inherited Members | |
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 |
Class ilObjTestGUI.
ilObjTestGUI: ilObjCourseGUI, ilMDEditorGUI, ilTestOutputGUI ilObjTestGUI: ilTestEvaluationGUI, ilPermissionGUI ilObjTestGUI: ilInfoScreenGUI, ilLearningProgressGUI ilObjTestGUI: ilCertificateGUI ilObjTestGUI: ilTestScoringGUI, ilShopPurchaseGUI, ilObjectCopyGUI ilObjTestGUI: ilRepositorySearchGUI ilObjTestGUI: assMultipleChoiceGUI, assClozeTestGUI, assMatchingQuestionGUI ilObjTestGUI: assOrderingQuestionGUI, assImagemapQuestionGUI, assJavaAppletGUI ilObjTestGUI: assNumericGUI, assErrorTextGUI ilObjTestGUI: assTextSubsetGUI, assOrderingHorizontalGUI ilObjTestGUI: assSingleChoiceGUI, assFileUploadGUI ilObjTestGUI: assTextQuestionGUI, assFlashQuestionGUI ilObjTestGUI: ilTestExpressPageObjectGUI, ilPageEditorGUI, ilPageObjectGUI ilObjTestGUI: ilObjQuestionPoolGUI, ilEditClipboardGUI ilObjTestGUI: ilCommonActionDispatcherGUI
Definition at line 37 of file class.ilObjTestGUI.php.
ilObjTestGUI::_goto | ( | $a_target | ) |
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 4866 of file class.ilObjTestGUI.php.
References $_GET, $ilErr, ilObjectGUI\$lng, ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, and ilUtil\sendInfo().
ilObjTestGUI::addDefaultsObject | ( | ) |
Adds the defaults of this test to the defaults.
Definition at line 4029 of file class.ilObjTestGUI.php.
References $_POST, defaultsObject(), and ilUtil\sendInfo().
ilObjTestGUI::addDidacticTemplateOptions | ( | array & | $a_options | ) |
Add custom templates.
array | $a_options |
Reimplemented from ilObjectGUI.
Definition at line 466 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 4365 of file class.ilObjTestGUI.php.
References $_GET.
ilObjTestGUI::addMarkStepObject | ( | ) |
Add a new mark step to the tests marks.
Add a new mark step to the tests marks
public
Definition at line 3017 of file class.ilObjTestGUI.php.
References marksObject(), and saveMarkSchemaFormData().
ilObjTestGUI::addParticipantsObject | ( | $a_user_ids = array() | ) |
Definition at line 3870 of file class.ilObjTestGUI.php.
References $_POST, and ilUtil\sendInfo().
ilObjTestGUI::addQuestionpoolObject | ( | ) |
Definition at line 2282 of file class.ilObjTestGUI.php.
References randomQuestionsObject().
ilObjTestGUI::addSimpleMarkSchemaObject | ( | ) |
Add a simple mark schema to the tests marks.
Add a simple mark schema to the tests marks
public
Definition at line 3063 of file class.ilObjTestGUI.php.
References marksObject().
ilObjTestGUI::addsourceObject | ( | ) |
Definition at line 2329 of file class.ilObjTestGUI.php.
References $_POST, randomQuestionsObject(), and writeRandomQuestionInput().
ilObjTestGUI::afterSave | ( | ilObject | $a_new_object | ) |
save object public
Reimplemented from ilObjectGUI.
Definition at line 497 of file class.ilObjTestGUI.php.
References applyTemplate(), ilObjectGUI\getDidacticTemplateVar(), ilObject\getRefId(), ilObjAssessmentFolderGUI\getSettingsTemplateConfig(), ilUtil\redirect(), and ilUtil\sendSuccess().
ilObjTestGUI::applyDefaultsObject | ( | ) |
Applies the selected test defaults.
Definition at line 4002 of file class.ilObjTestGUI.php.
References $_POST, $result, defaultsObject(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
|
private |
Definition at line 5222 of file class.ilObjTestGUI.php.
References ilObjectGUI\$object.
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 2111 of file class.ilObjTestGUI.php.
Referenced by copyAndLinkQuestionsToPoolObject(), copyAndLinkToQuestionpoolObject(), and copyQuestionsToPoolObject().
ilObjTestGUI::backToCourseObject | ( | ) |
Definition at line 534 of file class.ilObjTestGUI.php.
References $_GET, ilObjectGUI\getReturnLocation(), and ilUtil\redirect().
ilObjTestGUI::backToRepositoryObject | ( | ) |
Definition at line 527 of file class.ilObjTestGUI.php.
References $path, ilObjectGUI\getReturnLocation(), and ilUtil\redirect().
ilObjTestGUI::browseForQuestionsObject | ( | ) |
Definition at line 2453 of file class.ilObjTestGUI.php.
References questionBrowser().
ilObjTestGUI::buildPageViewToolbar | ( | $qid = 0 | ) |
Questions per page.
@return |
Definition at line 4904 of file class.ilObjTestGUI.php.
References $_REQUEST, $ilCtrl, ilObjectGUI\$lng, $total, ilSelectInputGUI\addCustomAttribute(), 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 2518 of file class.ilObjTestGUI.php.
ilObjTestGUI::cancelDeleteExportFileObject | ( | ) |
cancel deletion of export files
Definition at line 707 of file class.ilObjTestGUI.php.
References ilUtil\sendInfo().
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 3334 of file class.ilObjTestGUI.php.
ilObjTestGUI::cancelMarksObject | ( | ) |
Cancel the mark schema form and return to the properties form.
Cancel the mark schema form and return to the properties form
public
Definition at line 3100 of file class.ilObjTestGUI.php.
ilObjTestGUI::cancelObject | ( | $in_rep = false | ) |
cancel action and go back to previous page public
Reimplemented from ilObjectGUI.
Definition at line 699 of file class.ilObjTestGUI.php.
References $_GET, and ilUtil\redirect().
ilObjTestGUI::cancelRandomSelectObject | ( | ) |
Cancels the form for random selection of questions.
Cancels the form for random selection of questions
public
Definition at line 2182 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 2658 of file class.ilObjTestGUI.php.
References $_REQUEST.
ilObjTestGUI::certificateObject | ( | ) |
Shows the certificate editor.
Definition at line 4456 of file class.ilObjTestGUI.php.
ilObjTestGUI::confirmChangeProperties | ( | $direction = 0 | ) |
Displays a save confirmation dialog for test properties.
Displays a save confirmation dialog for test properties when already defined questions or question pools get lost after saving
int | $direction | Direction of the change (0 = from random test to standard, anything else = from standard to random test) private |
Definition at line 995 of file class.ilObjTestGUI.php.
References $_POST.
Referenced by savePropertiesObject().
ilObjTestGUI::confirmDeleteAllUserResultsObject | ( | ) |
Deletes all user data for the test object.
Deletes all user data for the test object
public
Definition at line 3284 of file class.ilObjTestGUI.php.
References ilLPStatusWrapper\_refreshStatus(), and ilUtil\sendSuccess().
ilObjTestGUI::confirmDeleteExportFileObject | ( | ) |
confirmation screen for export file deletion
Definition at line 655 of file class.ilObjTestGUI.php.
References $_POST, ilObjectGUI\$data, ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\sendQuestion().
ilObjTestGUI::confirmDeleteSelectedUserDataObject | ( | ) |
Deletes the selected user data for the test object.
Deletes the selected user data for the test object
public
Definition at line 3303 of file class.ilObjTestGUI.php.
References $_POST, ilLPStatusWrapper\_refreshStatus(), and ilUtil\sendSuccess().
ilObjTestGUI::confirmRemoveQuestionsObject | ( | ) |
Remove questions from the test after confirmation.
Remove questions from the test after confirmation
public
Definition at line 2601 of file class.ilObjTestGUI.php.
References $_POST, $_REQUEST, and ilUtil\sendSuccess().
ilObjTestGUI::confirmResetTemplateObject | ( | ) |
Enable all settings - Confirmation.
Definition at line 5337 of file class.ilObjTestGUI.php.
References ilUtil\sendQuestion().
ilObjTestGUI::copyAndLinkQuestionsToPoolObject | ( | ) |
Definition at line 5067 of file class.ilObjTestGUI.php.
References $result, assQuestion\_instanciateQuestion(), backObject(), and copyQuestionsToPoolObject().
Referenced by createQuestionPoolAndCopyObject().
ilObjTestGUI::copyAndLinkToQuestionpoolObject | ( | ) |
Definition at line 5109 of file class.ilObjTestGUI.php.
References $_REQUEST, ilObjectGUI\$lng, assQuestion\_instanciateQuestion(), ilObject\_lookupType(), backObject(), createQuestionpoolTargetObject(), and ilUtil\sendFailure().
Referenced by createQuestionPoolAndCopyObject().
ilObjTestGUI::copyQuestionObject | ( | ) |
Definition at line 5441 of file class.ilObjTestGUI.php.
References $_REQUEST, $title, assQuestion\_instanciateQuestionGUI(), ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjTestGUI::copyQuestionsToPoolObject | ( | $returnResult = false | ) |
Definition at line 5045 of file class.ilObjTestGUI.php.
References $_REQUEST, $result, ilObjQuestionPool\_lookupOnline(), and backObject().
Referenced by copyAndLinkQuestionsToPoolObject().
ilObjTestGUI::copyToQuestionpoolObject | ( | ) |
Definition at line 5105 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 2530 of file class.ilObjTestGUI.php.
References $_REQUEST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjQuestionPool\_getAvailableQuestionpools(), getQuestionsSubTabs(), 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 2124 of file class.ilObjTestGUI.php.
References ilObjectGUI\$tree.
Referenced by createQuestionPoolAndCopyObject(), and executeCreateQuestionObject().
ilObjTestGUI::createQuestionPoolAndCopyObject | ( | ) |
Definition at line 5127 of file class.ilObjTestGUI.php.
References $_REQUEST, ilObjectGUI\$ref_id, $title, copyAndLinkQuestionsToPoolObject(), copyAndLinkToQuestionpoolObject(), createQuestionPool(), getQuestionpoolCreationForm(), and ilUtil\sendInfo().
ilObjTestGUI::createQuestionpoolTargetObject | ( | $cmd | ) |
Called when a new question should be created from a test Important: $cmd may be overwritten if no question pool is available.
public
Definition at line 5159 of file class.ilObjTestGUI.php.
References $_REQUEST, $cmd, 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 2194 of file class.ilObjTestGUI.php.
References $_POST, assQuestion\_getQuestionTypeName(), and getQuestionsSubTabs().
ilObjTestGUI::createTestExportObject | ( | ) |
create test export file
Definition at line 579 of file class.ilObjTestGUI.php.
References ilUtil\sendInfo().
ilObjTestGUI::createTestResultsExportObject | ( | ) |
create results export file
Definition at line 599 of file class.ilObjTestGUI.php.
References ilUtil\sendInfo().
ilObjTestGUI::defaultsObject | ( | ) |
Displays the settings page for test defaults.
public
Definition at line 3908 of file class.ilObjTestGUI.php.
References $_GET, $row, and ilUtil\sendInfo().
Referenced by addDefaultsObject(), applyDefaultsObject(), and deleteDefaultsObject().
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
public
Definition at line 3346 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 3364 of file class.ilObjTestGUI.php.
References ilUtil\sendQuestion().
ilObjTestGUI::deleteDefaultsObject | ( | ) |
Deletes selected test defaults.
Definition at line 3987 of file class.ilObjTestGUI.php.
References $_POST, and defaultsObject().
ilObjTestGUI::deleteExportFileObject | ( | ) |
delete export files
Definition at line 724 of file class.ilObjTestGUI.php.
References $_POST, $dir, $file, ilUtil\delDir(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjTestGUI::deleteMarkStepsObject | ( | ) |
Delete selected mark steps.
Delete selected mark steps
public
Definition at line 3076 of file class.ilObjTestGUI.php.
References $_POST, marksObject(), saveMarkSchemaFormData(), 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 3389 of file class.ilObjTestGUI.php.
References $_POST, ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), ilUtil\getImagePath(), ilUtil\sendInfo(), and ilUtil\sendQuestion().
ilObjTestGUI::download_paragraphObject | ( | ) |
download source code paragraph
Definition at line 2072 of file class.ilObjTestGUI.php.
ilObjTestGUI::downloadExportFileObject | ( | ) |
download export file
Definition at line 620 of file class.ilObjTestGUI.php.
References $_POST, $file, $filename, ilUtil\deliverFile(), and ilUtil\sendInfo().
ilObjTestGUI::downloadFileObject | ( | ) |
ilObjTestGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 61 of file class.ilObjTestGUI.php.
References $_GET, $_POST, $_REQUEST, $cmd, $ilCtrl, ilObjectGUI\$ilias, ilObjectGUI\$object, $ret, assQuestionGUI\_getQuestionGUI(), ilPaymentObject\_requiresPurchaseToAccess(), ilObjectGUI\addHeaderAction(), ilMDEditorGUI\addObserver(), buildPageViewToolbar(), exit, ilObjStyleSheet\getContentStylePath(), ilObjectGUI\getCreationMode(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), assQuestion\getQuestionTypeFromDb(), ilObjStyleSheet\getSyntaxStylePath(), infoScreen(), LP_MODE_REPOSITORY, ilObjectGUI\prepareOutput(), questionBrowser(), questionsObject(), 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 2465 of file class.ilObjTestGUI.php.
References $_GET, $_REQUEST, $_SESSION, createQuestionObject(), createQuestionPool(), exit, ilUtil\redirect(), and ilUtil\sendInfo().
ilObjTestGUI::exportObject | ( | ) |
Definition at line 543 of file class.ilObjTestGUI.php.
References ilObjectGUI\$data, ilObjectGUI\$tree, and ilUtil\sendInfo().
ilObjTestGUI::filterAvailableQuestionsObject | ( | ) |
Definition at line 2859 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 2087 of file class.ilObjTestGUI.php.
References questionBrowser().
|
private |
Definition at line 5321 of file class.ilObjTestGUI.php.
Referenced by formShowKioskSection(), formShowNotificationSection(), and formShowParticipantSection().
|
private |
Definition at line 5277 of file class.ilObjTestGUI.php.
Referenced by propertiesObject().
|
private |
Definition at line 5272 of file class.ilObjTestGUI.php.
Referenced by propertiesObject().
|
private |
Definition at line 5292 of file class.ilObjTestGUI.php.
References formsectionHasVisibleFields().
Referenced by propertiesObject().
|
private |
Definition at line 5313 of file class.ilObjTestGUI.php.
References formsectionHasVisibleFields().
Referenced by propertiesObject().
|
private |
Definition at line 5304 of file class.ilObjTestGUI.php.
References formsectionHasVisibleFields().
Referenced by propertiesObject().
|
private |
Definition at line 5282 of file class.ilObjTestGUI.php.
Referenced by propertiesObject().
|
private |
Definition at line 5287 of file class.ilObjTestGUI.php.
Referenced by propertiesObject().
|
private |
Definition at line 5299 of file class.ilObjTestGUI.php.
Referenced by propertiesObject().
ilObjTestGUI::fullscreenObject | ( | ) |
show fullscreen view
Definition at line 2060 of file class.ilObjTestGUI.php.
References $_GET.
ilObjTestGUI::getBrowseForQuestionsTab | ( | & | $tabs_gui | ) |
Definition at line 4418 of file class.ilObjTestGUI.php.
Referenced by getTabs().
|
private |
Definition at line 5081 of file class.ilObjTestGUI.php.
References $_REQUEST, ilObjectGUI\$lng, and $title.
Referenced by createQuestionPoolAndCopyObject(), and createQuestionpoolTargetObject().
ilObjTestGUI::getQuestionsSubTabs | ( | ) |
Definition at line 4464 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 4434 of file class.ilObjTestGUI.php.
ilObjTestGUI::getSettingsSubTabs | ( | $hiddenTabs = array() | ) |
Definition at line 4536 of file class.ilObjTestGUI.php.
References ilObjectGUI\$ilias, and ilRPCServerSettings\getInstance().
Referenced by getTabs().
ilObjTestGUI::getStatisticsSubTabs | ( | ) |
Definition at line 4512 of file class.ilObjTestGUI.php.
Referenced by getTabs().
ilObjTestGUI::getTabs | ( | & | $tabs_gui | ) |
adds tabs to tab gui object
object | $tabs_gui | ilTabsGUI object |
Reimplemented from ilObjectGUI.
Definition at line 4598 of file class.ilObjTestGUI.php.
References $_GET, ilObjAssessmentFolder\_getManualScoring(), ilLearningProgressAccess\checkAccess(), getBrowseForQuestionsTab(), getSettingsSubTabs(), ilObjAssessmentFolderGUI\getSettingsTemplateConfig(), and getStatisticsSubTabs().
ilObjTestGUI::historyObject | ( | ) |
Creates the change history for a test.
Creates the change history for a test
public
Definition at line 3467 of file class.ilObjTestGUI.php.
References $log, and ilObjAssessmentFolder\_getLog().
ilObjTestGUI::ilObjTestGUI | ( | ) |
Constructor public.
Definition at line 43 of file class.ilObjTestGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, and ilObjectGUI\ilObjectGUI().
ilObjTestGUI::importFileObject | ( | ) |
form for new test object import
Definition at line 452 of file class.ilObjTestGUI.php.
References $_REQUEST, initImportForm(), and uploadTstObject().
ilObjTestGUI::importVerifiedFileObject | ( | ) |
imports question(s) into the questionpool (after verification)
Definition at line 912 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::infoScreen | ( | $session_lock = "" | ) |
show information screen
Definition at line 4064 of file class.ilObjTestGUI.php.
References $_COOKIE, $_GET, $_SESSION, $out, ilObjTestAccess\_lookupOnlineTestAccess(), COUNT_PARTIAL_SOLUTIONS, ilDatePresentation\formatDate(), IL_CAL_TIMESTAMP, REPORT_AFTER_DATE, REPORT_AFTER_TEST, REPORT_ALWAYS, SCORE_BEST_PASS, SCORE_ZERO_POINTS_WHEN_UNANSWERED, ilUtil\sendInfo(), and TEST_FIXED_SEQUENCE.
Referenced by executeCommand(), infoScreenObject(), and redirectToInfoScreenObject().
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 4047 of file class.ilObjTestGUI.php.
References infoScreen().
ilObjTestGUI::initImportForm | ( | $a_new_type | ) |
Init object import form.
string | new type |
Reimplemented from ilObjectGUI.
Definition at line 3478 of file class.ilObjTestGUI.php.
References ilSelectInputGUI\setOptions(), and ilFileInputGUI\setSuffixes().
Referenced by importFileObject().
ilObjTestGUI::insertQuestionsAfterObject | ( | ) |
Insert checked questions after the actual selection.
Definition at line 2799 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 2774 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 2825 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 2252 of file class.ilObjTestGUI.php.
References $_POST, $total, ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjTestGUI::marksObject | ( | ) |
Definition at line 3170 of file class.ilObjTestGUI.php.
References ilUtil\getImagePath(), and ilUtil\sendInfo().
Referenced by addMarkStepObject(), addSimpleMarkSchemaObject(), deleteMarkStepsObject(), and saveMarksObject().
|
protected |
Move current page.
Definition at line 5378 of file class.ilObjTestGUI.php.
References $_REQUEST, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, and ilSelectInputGUI\setOptions().
ilObjTestGUI::movePageObject | ( | ) |
Definition at line 5421 of file class.ilObjTestGUI.php.
References $_REQUEST, ilUtil\sendInfo(), and showPageObject().
ilObjTestGUI::moveQuestionsObject | ( | ) |
Marks selected questions for moving.
Definition at line 2764 of file class.ilObjTestGUI.php.
References $_POST, $_SESSION, and ilUtil\sendSuccess().
ilObjTestGUI::outEvaluationObject | ( | ) |
Definition at line 444 of file class.ilObjTestGUI.php.
ilObjTestGUI::participantsActionObject | ( | ) |
Evaluates the actions on the participants page.
public
Definition at line 3521 of file class.ilObjTestGUI.php.
ilObjTestGUI::participantsObject | ( | ) |
Creates the output of the test participants.
public
Definition at line 3541 of file class.ilObjTestGUI.php.
References ilObjectGUI\$data, ilObjectGUI\$lng, ilObjTestAccess\_getParticipantData(), ilRepositorySearchGUI\fillAutoCompleteToolbar(), ilUtil\sendInfo(), and ilTable2GUI\setData().
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 3795 of file class.ilObjTestGUI.php.
References $_GET, ilObjectGUI\$ilias, ilUtil\getHtmlPath(), ilUtil\getImagePath(), ilRPCServerSettings\getInstance(), getQuestionsSubTabs(), ilUtil\getStyleSheetLocation(), ilUtil\prepareFormOutput(), and ilUtil\sendInfo().
ilObjTestGUI::propertiesObject | ( | $checkonly = FALSE | ) |
Display and fill the properties form of the test.
public
Definition at line 1305 of file class.ilObjTestGUI.php.
References $_GET, $errors, $title, $total, ilObjectGUI\$tpl, ilRadioGroupInputGUI\addOption(), ilCheckboxGroupInputGUI\addOption(), formShowBeginningEndingInformation(), formShowGeneralSection(), formShowKioskSection(), formShowNotificationSection(), formShowParticipantSection(), formShowPresentationSection(), formShowSequenceSection(), formShowSessionSection(), ilMD\getGeneral(), ilObjAssessmentFolderGUI\getSettingsTemplateConfig(), IL_CAL_TIMESTAMP, IL_CAL_UNIX, ilUtil\sendFailure(), ilUtil\sendInfo(), ilTextAreaInputGUI\setCols(), ilFormPropertyGUI\setDisabled(), ilTextInputGUI\setSize(), ilCheckboxInputGUI\setValue(), ilRadioOption\setValue(), and ilTextAreaInputGUI\setValue().
Referenced by savePropertiesObject().
ilObjTestGUI::questionBrowser | ( | ) |
Creates a form to select questions from questionpools to insert the questions into the test.
public
Definition at line 2880 of file class.ilObjTestGUI.php.
References ilObjectGUI\$data.
Referenced by browseForQuestionsObject(), executeCommand(), filterObject(), and resetFilterObject().
ilObjTestGUI::questionsObject | ( | ) |
Definition at line 2901 of file class.ilObjTestGUI.php.
References $_GET, $_SESSION, ilObjectGUI\$data, $total, ilObjQuestionPool\_getQuestionTypes(), getQuestionsSubTabs(), randomQuestionsObject(), ilUtil\redirect(), ilUtil\sendInfo(), and ilSelectInputGUI\setOptions().
Referenced by executeCommand().
ilObjTestGUI::randomQuestionsObject | ( | ) |
Definition at line 2345 of file class.ilObjTestGUI.php.
References $_POST, $errors, $total, ilRandomTestInputGUI\setUseEqualPointsOnly(), ilCheckboxInputGUI\setValue(), ilNumberInputGUI\setValue(), and ilRandomTestROInputGUI\setValues().
Referenced by addQuestionpoolObject(), addsourceObject(), questionsObject(), removesourceObject(), saveQuestionSelectionModeObject(), and writeRandomQuestionInput().
ilObjTestGUI::randomselectObject | ( | ) |
Creates a form for random selection of questions.
Definition at line 2145 of file class.ilObjTestGUI.php.
References $_POST, and getQuestionsSubTabs().
ilObjTestGUI::redirectToInfoScreenObject | ( | ) |
Definition at line 4054 of file class.ilObjTestGUI.php.
References $_SESSION, and infoScreen().
ilObjTestGUI::removeParticipantObject | ( | ) |
Definition at line 3756 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 2676 of file class.ilObjTestGUI.php.
References ilObjectGUI\$data, assQuestion\_getQuestionTypeName(), and ilUtil\sendInfo().
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 2729 of file class.ilObjTestGUI.php.
References $_REQUEST, $total, getQuestionsSubTabs(), removeQuestionsForm(), ilUtil\sendInfo(), and ilUtil\sendQuestion().
ilObjTestGUI::removesourceObject | ( | ) |
Definition at line 2337 of file class.ilObjTestGUI.php.
References $_POST, randomQuestionsObject(), and writeRandomQuestionInput().
ilObjTestGUI::resetfilterAvailableQuestionsObject | ( | ) |
Definition at line 2867 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 2099 of file class.ilObjTestGUI.php.
References questionBrowser().
ilObjTestGUI::resetTemplateObject | ( | ) |
Enable all settings - remove template.
Definition at line 5351 of file class.ilObjTestGUI.php.
References ilUtil\sendSuccess().
ilObjTestGUI::runObject | ( | ) |
Definition at line 439 of file class.ilObjTestGUI.php.
ilObjTestGUI::saveClientIPObject | ( | ) |
Definition at line 3772 of file class.ilObjTestGUI.php.
References $_POST, and ilUtil\sendInfo().
ilObjTestGUI::saveMarkSchemaFormData | ( | ) |
Save the mark schema POST data when the form was submitted.
Save the mark schema POST data when the form was submitted
public
Definition at line 3031 of file class.ilObjTestGUI.php.
References $_POST, and ilUtil\stripSlashes().
Referenced by addMarkStepObject(), deleteMarkStepsObject(), and saveMarksObject().
ilObjTestGUI::saveMarksObject | ( | ) |
Save the mark schema.
Save the mark schema
public
Definition at line 3112 of file class.ilObjTestGUI.php.
References $_POST, marksObject(), saveMarkSchemaFormData(), ilUtil\sendFailure(), ilUtil\sendInfo(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilObjTestGUI::saveOrderObject | ( | ) |
Definition at line 5360 of file class.ilObjTestGUI.php.
References $_REQUEST, $ilCtrl, and ilUtil\sendInfo().
ilObjTestGUI::savePropertiesObject | ( | ) |
Save the form input of the properties form.
public
Definition at line 1808 of file class.ilObjTestGUI.php.
References $_POST, $total, ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), confirmChangeProperties(), ilFormat\dateDB2timestamp(), ilMD\getGeneral(), ilObjAssessmentFolderGUI\getSettingsTemplateConfig(), propertiesObject(), ilMDBase\save(), ilUtil\sendInfo(), ilUtil\sendSuccess(), ilUtil\stripSlashes(), and ilMDBase\update().
ilObjTestGUI::saveQuestionSelectionModeObject | ( | ) |
Definition at line 2437 of file class.ilObjTestGUI.php.
References $_POST, and randomQuestionsObject().
ilObjTestGUI::saveRandomQuestionsObject | ( | ) |
Definition at line 2317 of file class.ilObjTestGUI.php.
References ilUtil\sendSuccess(), and writeRandomQuestionInput().
ilObjTestGUI::saveScoringObject | ( | ) |
Save the form input of the scoring form.
public
I introduced a single setter for instant_feedback options
Definition at line 1049 of file class.ilObjTestGUI.php.
References $_POST, $total, REPORT_AFTER_DATE, scoringObject(), and ilUtil\sendSuccess().
ilObjTestGUI::scoringObject | ( | $checkonly = FALSE | ) |
Display and fill the scoring settings form of the test.
public
Definition at line 1115 of file class.ilObjTestGUI.php.
References $_GET, $errors, $total, ilRadioGroupInputGUI\addOption(), ilCheckboxGroupInputGUI\addOption(), ilObjAssessmentFolderGUI\getSettingsTemplateConfig(), IL_CAL_TIMESTAMP, IL_CAL_UNIX, and ilUtil\sendInfo().
Referenced by saveScoringObject().
ilObjTestGUI::showDetailedResultsObject | ( | ) |
Shows the pass overview and the answers of one ore more users for the scored pass.
public
Definition at line 3668 of file class.ilObjTestGUI.php.
References $_POST, $_SESSION, and showUserResults().
ilObjTestGUI::showPageObject | ( | ) |
Definition at line 5434 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 3696 of file class.ilObjTestGUI.php.
References $_POST, $_SESSION, and showUserResults().
ilObjTestGUI::showUserAnswersObject | ( | ) |
Shows the answers of one ore more users for the scored pass.
public
Definition at line 3682 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 3710 of file class.ilObjTestGUI.php.
References $_SESSION, $results, ilUtil\getStyleSheetLocation(), and ilUtil\sendInfo().
Referenced by showDetailedResultsObject(), showPassOverviewObject(), and showUserAnswersObject().
ilObjTestGUI::statisticsObject | ( | ) |
Definition at line 4449 of file class.ilObjTestGUI.php.
ilObjTestGUI::takenObject | ( | ) |
Definition at line 3007 of file class.ilObjTestGUI.php.
ilObjTestGUI::uploadObject | ( | $redirect = true | ) |
display status information or report errors messages in case of error
public
Definition at line 981 of file class.ilObjTestGUI.php.
References uploadTstObject().
ilObjTestGUI::uploadTstObject | ( | ) |
imports test and question(s)
Definition at line 762 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, ilUtil\moveUploadedFile(), QT_CLOZE, QT_IMAGEMAP, QT_JAVAAPPLET, 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().
ilObjTestGUI::writeRandomQuestionInput | ( | $always = false | ) |
Evaluates a posted random question form and saves the form data.
Definition at line 2293 of file class.ilObjTestGUI.php.
References $_POST, ilObjectGUI\$data, and randomQuestionsObject().
Referenced by addsourceObject(), removesourceObject(), and saveRandomQuestionsObject().