ILIAS
eassessment Revision 61809
|
Class ilObjTestGUI. More...
Public Member Functions | |
ilObjTestGUI () | |
Constructor public. | |
executeCommand () | |
execute command | |
runObject () | |
outEvaluationObject () | |
importFileObject () | |
form for new test object import | |
saveObject () | |
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) | |
cancelImportObject () | |
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") | |
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. | |
createObject () | |
form for new content object creation | |
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. | |
createPDFforEveryoneObject () | |
Creates multiple PDF files for all testees. | |
getParticipants () | |
removeParticipantObject () | |
saveClientIPObject () | |
printobject () | |
Print tab to create a print of all questions with points and solutions. | |
addParticipantsObject () | |
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 () | |
timingObject () | |
recalculateObject () | |
randomfillObject () | |
getTabs (&$tabs_gui) | |
adds tabs to tab gui object | |
_goto ($a_target) | |
Redirect script to call a test with the test reference id. | |
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 | |
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 | |
getAdministrationSubTabs () | |
Protected Member Functions inherited from ilObjectGUI | |
assignObject () | |
prepareOutput () | |
prepare output | |
setTitleAndDescription () | |
called by prepare output | |
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) | |
displayEditForm ($fields) | |
display edit form (usually called by editObject) | |
afterUpdate () | |
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="") |
Private Member Functions | |
formTiming () | |
formRecalculate () | |
formRandomfill () |
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 |
Class ilObjTestGUI.
ilObjTestGUI: ilObjCourseGUI, ilMDEditorGUI, ilTestOutputGUI ilObjTestGUI: ilTestEvaluationGUI, ilPermissionGUI ilObjTestGUI: ilInfoScreenGUI, ilLearningProgressGUI ilObjTestGUI: ilCertificateGUI ilObjTestGUI: ilTestScoringGUI, ilShopPurchaseGUI, ilObjectCopyGUI ilObjTestGUI: ilRepositorySearchGUI ilObjTestGUI: ilTestNewScoringGUI
Definition at line 27 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 4593 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 3590 of file class.ilObjTestGUI.php.
References $_POST, defaultsObject(), and ilUtil\sendInfo().
ilObjTestGUI::addLocatorItems | ( | ) |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 3880 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 2407 of file class.ilObjTestGUI.php.
References marksObject(), and saveMarkSchemaFormData().
ilObjTestGUI::addParticipantsObject | ( | ) |
Definition at line 3432 of file class.ilObjTestGUI.php.
References $_POST, and ilUtil\sendInfo().
ilObjTestGUI::addQuestionpoolObject | ( | ) |
Definition at line 1777 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 2453 of file class.ilObjTestGUI.php.
References marksObject().
ilObjTestGUI::addsourceObject | ( | ) |
Definition at line 1824 of file class.ilObjTestGUI.php.
References $_POST, randomQuestionsObject(), and writeRandomQuestionInput().
ilObjTestGUI::applyDefaultsObject | ( | ) |
Applies the selected test defaults.
Definition at line 3563 of file class.ilObjTestGUI.php.
References $_POST, defaultsObject(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
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 1606 of file class.ilObjTestGUI.php.
ilObjTestGUI::backToCourseObject | ( | ) |
Definition at line 281 of file class.ilObjTestGUI.php.
References $_GET, ilObjectGUI\getReturnLocation(), and ilUtil\redirect().
ilObjTestGUI::backToRepositoryObject | ( | ) |
Definition at line 274 of file class.ilObjTestGUI.php.
References $path, ilObjectGUI\getReturnLocation(), and ilUtil\redirect().
ilObjTestGUI::browseForQuestionsObject | ( | ) |
Definition at line 1948 of file class.ilObjTestGUI.php.
References questionBrowser().
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 1990 of file class.ilObjTestGUI.php.
ilObjTestGUI::cancelDeleteExportFileObject | ( | ) |
cancel deletion of export files
Definition at line 437 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 2707 of file class.ilObjTestGUI.php.
ilObjTestGUI::cancelImportObject | ( | ) |
Definition at line 669 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 2490 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 429 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 1677 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 2074 of file class.ilObjTestGUI.php.
ilObjTestGUI::certificateObject | ( | ) |
Shows the certificate editor.
Definition at line 3970 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 695 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 2667 of file class.ilObjTestGUI.php.
References ilUtil\sendSuccess().
ilObjTestGUI::confirmDeleteExportFileObject | ( | ) |
confirmation screen for export file deletion
Definition at line 391 of file class.ilObjTestGUI.php.
References $_POST, ilObjectGUI\$data, IL_CAL_DATETIME, IL_CAL_UNIX, ilUtil\sendFailure(), 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 2681 of file class.ilObjTestGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilObjTestGUI::confirmRemoveQuestionsObject | ( | ) |
Remove questions from the test after confirmation.
Remove questions from the test after confirmation
public
Definition at line 2051 of file class.ilObjTestGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilObjTestGUI::createObject | ( | ) |
form for new content object creation
Reimplemented from ilObjectGUI.
Definition at line 2854 of file class.ilObjTestGUI.php.
References $_GET, $_POST, $_SESSION, ilObjectGUI\$data, $row, ilFrameTargetInfo\_getFrame(), ilObjectGUI\fillCloneTemplate(), ilUtil\getImagePath(), ilObjectGUI\getTemplateFile(), and ilUtil\prepareFormOutput().
Referenced by importFileObject(), and uploadTstObject().
ilObjTestGUI::createPDFforEveryoneObject | ( | ) |
Creates multiple PDF files for all testees.
Erstellt von Manuel Schiegl 09.02.2012
public
Definition at line 3167 of file class.ilObjTestGUI.php.
References $_GET, ilObjectGUI\$ilias, $pass, ilObjUser\_lookupName(), exportObject(), ilUtil\getHtmlPath(), ilUtil\getImagePath(), getParticipants(), ilUtil\getStyleSheetLocation(), ilUtil\makeDirParents(), ilHTMLToPDFTransformer\transformerAvailable(), and ilUtil\zip().
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 2002 of file class.ilObjTestGUI.php.
References $_POST, and getQuestionsSubTabs().
Referenced by executeCreateQuestionObject().
ilObjTestGUI::createQuestionPool | ( | $name = "dummy" | ) |
Creates a new questionpool and returns the reference id.
Creates a new questionpool and returns the reference id
Definition at line 1619 of file class.ilObjTestGUI.php.
References $name, and ilObjectGUI\$tree.
Referenced by executeCreateQuestionObject().
ilObjTestGUI::createRandomSelectionObject | ( | ) |
Offers a random selection for insertion in the test.
Offers a random selection for insertion in the test
public
Definition at line 1689 of file class.ilObjTestGUI.php.
References $_POST, assQuestion\_getQuestionTypeName(), and getQuestionsSubTabs().
ilObjTestGUI::createTestExportObject | ( | ) |
create test export file
Definition at line 327 of file class.ilObjTestGUI.php.
References ilUtil\sendInfo().
ilObjTestGUI::createTestResultsExportObject | ( | ) |
create results export file
Definition at line 347 of file class.ilObjTestGUI.php.
References ilUtil\sendInfo().
ilObjTestGUI::defaultsObject | ( | ) |
Displays the settings page for test defaults.
public
Definition at line 3469 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 2719 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 2737 of file class.ilObjTestGUI.php.
References $name, and ilUtil\sendQuestion().
ilObjTestGUI::deleteDefaultsObject | ( | ) |
Deletes selected test defaults.
Definition at line 3548 of file class.ilObjTestGUI.php.
References $_POST, and defaultsObject().
ilObjTestGUI::deleteExportFileObject | ( | ) |
delete export files
Definition at line 447 of file class.ilObjTestGUI.php.
References $_POST, $file, ilUtil\delDir(), and ilUtil\sendSuccess().
ilObjTestGUI::deleteMarkStepsObject | ( | ) |
Delete selected mark steps.
Delete selected mark steps
public
Definition at line 2466 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 2762 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 1567 of file class.ilObjTestGUI.php.
ilObjTestGUI::downloadExportFileObject | ( | ) |
download export file
Definition at line 368 of file class.ilObjTestGUI.php.
References $_POST, ilUtil\deliverFile(), and ilUtil\sendInfo().
ilObjTestGUI::downloadFileObject | ( | ) |
ilObjTestGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 52 of file class.ilObjTestGUI.php.
References $_GET, $cmd, $GLOBALS, $ilCtrl, ilObjectGUI\$ilias, $ret, ilPaymentObject\_hasAccess(), ilPaymentObject\_isBuyable(), ilMDEditorGUI\addObserver(), exit, ilObjectGUI\getCreationMode(), 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 1960 of file class.ilObjTestGUI.php.
References $_GET, $_POST, $_SESSION, createQuestionObject(), createQuestionPool(), exit, ilUtil\redirect(), and ilUtil\sendInfo().
ilObjTestGUI::exportObject | ( | ) |
Definition at line 290 of file class.ilObjTestGUI.php.
References ilObjectGUI\$data, ilObjectGUI\$tree, IL_CAL_DATETIME, IL_CAL_UNIX, and ilUtil\sendInfo().
Referenced by createPDFforEveryoneObject().
ilObjTestGUI::filterAvailableQuestionsObject | ( | ) |
Definition at line 2259 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 1582 of file class.ilObjTestGUI.php.
References questionBrowser().
|
private |
Definition at line 4295 of file class.ilObjTestGUI.php.
References $_GET, $_POST, and ilFormPropertyGUI\setRequired().
Referenced by randomfillObject().
|
private |
Definition at line 4194 of file class.ilObjTestGUI.php.
References $_GET, $_POST, $total, and ilRadioGroupInputGUI\addOption().
Referenced by recalculateObject().
|
private |
Definition at line 4108 of file class.ilObjTestGUI.php.
References $_GET, $_POST, ilDatePresentation\formatDate(), IL_CAL_DATETIME, and ilFormPropertyGUI\setRequired().
Referenced by timingObject().
ilObjTestGUI::fullscreenObject | ( | ) |
show fullscreen view
Definition at line 1555 of file class.ilObjTestGUI.php.
References $_GET.
|
protected |
Definition at line 4028 of file class.ilObjTestGUI.php.
References ilObjectGUI\$ilias.
Referenced by getTabs().
ilObjTestGUI::getBrowseForQuestionsTab | ( | & | $tabs_gui | ) |
Definition at line 3933 of file class.ilObjTestGUI.php.
Referenced by getTabs().
ilObjTestGUI::getParticipants | ( | ) |
Definition at line 3288 of file class.ilObjTestGUI.php.
Referenced by createPDFforEveryoneObject().
ilObjTestGUI::getQuestionsSubTabs | ( | ) |
Definition at line 3978 of file class.ilObjTestGUI.php.
Referenced by createQuestionObject(), createRandomSelectionObject(), printobject(), questionsObject(), randomselectObject(), and removeQuestionsObject().
ilObjTestGUI::getRandomQuestionsTab | ( | & | $tabs_gui | ) |
Definition at line 3948 of file class.ilObjTestGUI.php.
ilObjTestGUI::getSettingsSubTabs | ( | ) |
Definition at line 4055 of file class.ilObjTestGUI.php.
References ilObjectGUI\$ilias, and ilHTMLToPDFTransformer\transformerAvailable().
Referenced by getTabs().
ilObjTestGUI::getStatisticsSubTabs | ( | ) |
Definition at line 4004 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 4355 of file class.ilObjTestGUI.php.
References $_GET, ilObjAssessmentFolder\_getManualScoring(), ilLearningProgressAccess\checkAccess(), getAdministrationSubTabs(), getBrowseForQuestionsTab(), getSettingsSubTabs(), and getStatisticsSubTabs().
ilObjTestGUI::historyObject | ( | ) |
Creates the change history for a test.
Creates the change history for a test
public
Definition at line 2840 of file class.ilObjTestGUI.php.
References $log, and ilObjAssessmentFolder\_getLog().
ilObjTestGUI::ilObjTestGUI | ( | ) |
Constructor public.
Definition at line 33 of file class.ilObjTestGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, and ilObjectGUI\ilObjectGUI().
ilObjTestGUI::importFileObject | ( | ) |
form for new test object import
Definition at line 236 of file class.ilObjTestGUI.php.
References createObject(), ilUtil\sendInfo(), and uploadTstObject().
ilObjTestGUI::importVerifiedFileObject | ( | ) |
imports question(s) into the questionpool (after verification)
Definition at line 615 of file class.ilObjTestGUI.php.
References $_GET, $_POST, $_SESSION, $results, ilObjTest\_getImportDirectory(), ilUtil\delDir(), IL_MO_PARSE_QTI, ilUtil\redirect(), and ilUtil\sendSuccess().
ilObjTestGUI::infoScreen | ( | $session_lock = "" | ) |
show information screen
Definition at line 3625 of file class.ilObjTestGUI.php.
References $_COOKIE, $_GET, $_SESSION, 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 3608 of file class.ilObjTestGUI.php.
References infoScreen().
ilObjTestGUI::insertQuestionsAfterObject | ( | ) |
Insert checked questions after the actual selection.
Definition at line 2199 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 2174 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 2225 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 1747 of file class.ilObjTestGUI.php.
References $_POST, $total, ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjTestGUI::marksObject | ( | ) |
Definition at line 2553 of file class.ilObjTestGUI.php.
References ilUtil\getImagePath(), and ilUtil\sendInfo().
Referenced by addMarkStepObject(), addSimpleMarkSchemaObject(), deleteMarkStepsObject(), and saveMarksObject().
ilObjTestGUI::moveQuestionsObject | ( | ) |
Marks selected questions for moving.
Definition at line 2164 of file class.ilObjTestGUI.php.
References $_POST, $_SESSION, and ilUtil\sendSuccess().
ilObjTestGUI::outEvaluationObject | ( | ) |
Definition at line 228 of file class.ilObjTestGUI.php.
ilObjTestGUI::participantsActionObject | ( | ) |
Evaluates the actions on the participants page.
public
Definition at line 2952 of file class.ilObjTestGUI.php.
ilObjTestGUI::participantsObject | ( | ) |
Creates the output of the test participants.
public
Definition at line 2972 of file class.ilObjTestGUI.php.
References ilObjectGUI\$data, ilObjTestAccess\_getParticipantData(), ilDatePresentation\formatDate(), IL_CAL_DATETIME, 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 3356 of file class.ilObjTestGUI.php.
References $_GET, ilObjectGUI\$ilias, ilUtil\getHtmlPath(), ilUtil\getImagePath(), getQuestionsSubTabs(), ilUtil\getStyleSheetLocation(), ilUtil\prepareFormOutput(), ilUtil\sendInfo(), and ilHTMLToPDFTransformer\transformerAvailable().
ilObjTestGUI::propertiesObject | ( | $checkonly = FALSE | ) |
Display and fill the properties form of the test.
public
Definition at line 981 of file class.ilObjTestGUI.php.
References $_GET, $errors, $total, ilRadioGroupInputGUI\addOption(), ilCheckboxGroupInputGUI\addOption(), IL_CAL_TIMESTAMP, IL_CAL_UNIX, ilUtil\sendInfo(), ilCheckboxInputGUI\setOptionTitle(), ilTextInputGUI\setSize(), ilCheckboxInputGUI\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 2280 of file class.ilObjTestGUI.php.
References ilObjectGUI\$data.
Referenced by browseForQuestionsObject(), executeCommand(), filterObject(), and resetFilterObject().
ilObjTestGUI::questionsObject | ( | ) |
Definition at line 2301 of file class.ilObjTestGUI.php.
References $_GET, $_SESSION, ilObjectGUI\$data, $total, ilObjQuestionPool\_getQuestionTypes(), getQuestionsSubTabs(), randomQuestionsObject(), ilUtil\redirect(), and ilUtil\sendInfo().
Referenced by executeCommand().
ilObjTestGUI::randomfillObject | ( | ) |
Definition at line 4326 of file class.ilObjTestGUI.php.
References $_POST, ilObjectGUI\$tree, formRandomfill(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjTestGUI::randomQuestionsObject | ( | ) |
Definition at line 1840 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 1640 of file class.ilObjTestGUI.php.
References $_POST, and getQuestionsSubTabs().
ilObjTestGUI::recalculateObject | ( | ) |
Definition at line 4266 of file class.ilObjTestGUI.php.
References $_POST, ilObjectGUI\$tree, formRecalculate(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjTestGUI::redirectToInfoScreenObject | ( | ) |
Definition at line 3615 of file class.ilObjTestGUI.php.
References $_SESSION, and infoScreen().
ilObjTestGUI::removeParticipantObject | ( | ) |
Definition at line 3317 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 2086 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 2135 of file class.ilObjTestGUI.php.
References $_POST, $total, getQuestionsSubTabs(), removeQuestionsForm(), and ilUtil\sendInfo().
ilObjTestGUI::removesourceObject | ( | ) |
Definition at line 1832 of file class.ilObjTestGUI.php.
References $_POST, randomQuestionsObject(), and writeRandomQuestionInput().
ilObjTestGUI::resetfilterAvailableQuestionsObject | ( | ) |
Definition at line 2267 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 1594 of file class.ilObjTestGUI.php.
References questionBrowser().
ilObjTestGUI::runObject | ( | ) |
Definition at line 223 of file class.ilObjTestGUI.php.
ilObjTestGUI::saveClientIPObject | ( | ) |
Definition at line 3333 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 2421 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 2502 of file class.ilObjTestGUI.php.
References $_POST, marksObject(), saveMarkSchemaFormData(), ilUtil\sendInfo(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
ilObjTestGUI::saveObject | ( | ) |
save object public
Reimplemented from ilObjectGUI.
Definition at line 252 of file class.ilObjTestGUI.php.
References $_GET, $_POST, ilUtil\redirect(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
ilObjTestGUI::savePropertiesObject | ( | ) |
Save the form input of the properties form.
public
Definition at line 1359 of file class.ilObjTestGUI.php.
References $_POST, $total, ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), confirmChangeProperties(), ilFormat\dateDB2timestamp(), propertiesObject(), and ilUtil\sendSuccess().
ilObjTestGUI::saveQuestionSelectionModeObject | ( | ) |
Definition at line 1932 of file class.ilObjTestGUI.php.
References $_POST, and randomQuestionsObject().
ilObjTestGUI::saveRandomQuestionsObject | ( | ) |
Definition at line 1812 of file class.ilObjTestGUI.php.
References ilUtil\sendSuccess(), and writeRandomQuestionInput().
ilObjTestGUI::saveScoringObject | ( | ) |
Save the form input of the scoring form.
public
Definition at line 749 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 809 of file class.ilObjTestGUI.php.
References $_GET, $errors, $total, ilCheckboxGroupInputGUI\addOption(), ilRadioGroupInputGUI\addOption(), IL_CAL_TIMESTAMP, IL_CAL_UNIX, ilUtil\sendInfo(), and ilRadioOption\setInfo().
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 3072 of file class.ilObjTestGUI.php.
References $_POST, $_SESSION, and showUserResults().
ilObjTestGUI::showPassOverviewObject | ( | ) |
Shows the pass overview of the scored pass for one ore more users.
public
Definition at line 3100 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 3086 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 3114 of file class.ilObjTestGUI.php.
References $_SESSION, $results, ilUtil\getStyleSheetLocation(), and ilUtil\sendInfo().
Referenced by showDetailedResultsObject(), showPassOverviewObject(), and showUserAnswersObject().
ilObjTestGUI::statisticsObject | ( | ) |
Definition at line 3963 of file class.ilObjTestGUI.php.
ilObjTestGUI::takenObject | ( | ) |
Definition at line 2397 of file class.ilObjTestGUI.php.
ilObjTestGUI::timingObject | ( | ) |
Definition at line 4164 of file class.ilObjTestGUI.php.
References $_POST, $res, ilObjectGUI\$tree, formTiming(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilObjTestGUI::uploadObject | ( | $redirect = true | ) |
display status information or report errors messages in case of error
public
Definition at line 681 of file class.ilObjTestGUI.php.
References uploadTstObject().
ilObjTestGUI::uploadTstObject | ( | ) |
imports test and question(s)
Definition at line 470 of file class.ilObjTestGUI.php.
References $_POST, $_SESSION, $file, ilObjTest\_createImportDirectory(), ilObjTest\_getImportDirectory(), ilObjTest\_setImportDirectory(), 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 1788 of file class.ilObjTestGUI.php.
References $_POST, ilObjectGUI\$data, and randomQuestionsObject().
Referenced by addsourceObject(), removesourceObject(), and saveRandomQuestionsObject().