ILIAS
Release_3_10_x_branch Revision 61812
|
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 () | |
createExportFileObject () | |
create 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 | |
importObject () | |
display dialogue for importing tests | |
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. | |
savePropertiesObject () | |
Save the form input of the properties form. | |
saveScoringObject () | |
Save the form input of the scoring form. | |
scoringObject () | |
Display and fill the scoring settings form of the test. | |
propertiesObject () | |
Display and fill the properties form of the test. | |
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. | |
insertQuestionsObject () | |
Insert questions from the questionbrowser into the test. | |
questionBrowser () | |
Creates a form to select questions from questionpools to insert the questions into the test. | |
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. | |
saveRandomQuestionsObject () | |
addQuestionpoolObject () | |
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. | |
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 | |
cancelFixedParticipantsStatusChangeObject () | |
Cancels the change of the fixed participants status when fixed participants already exist. | |
confirmFixedParticipantsStatusChangeObject () | |
Confirms the change of the fixed participants status when fixed participants already exist. | |
confirmFixedParticipantsStatusChange () | |
Shows a confirmation dialog to remove fixed participants from the text. | |
saveFixedParticipantsStatusObject () | |
Saves the status change of the fixed participants status. | |
inviteParticipantsObject () | |
Creates the output for user/group invitation to a test. | |
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. | |
outUserGroupTable ($a_type, $data_array, $block_result, $block_row, $title_text, $title_label, $buttons) | |
Output of the table structures for selected users and selected groups. | |
addParticipantsObject () | |
searchParticipantsObject () | |
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 () | |
getParticipantsSubTabs () | |
getSettingsSubTabs () | |
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 | |
assignObject () | |
prepareOutput () | |
prepare output | |
setTitleAndDescription () | |
called by prepare output | |
showUpperIcon () | |
showMountWebfolderIcon () | |
setTabs () | |
set admin tabs public | |
setAdminTabs () | |
set admin tabs public | |
getAdminTabs (&$tabs_gui) | |
administration tabs show only permissions and trash folder | |
getHTML () | |
setActions ($a_actions="") | |
set possible actions for objects in list. | |
setSubObjects ($a_sub_objects="") | |
set possible subobjects for this object. | |
setLocator () | |
set Locator | |
omitLocator ($a_omit=true) | |
addAdminLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) | |
undeleteObject () | |
get object back from trash | |
insertSavedNodes ($a_source_id, $a_dest_id, $a_tree_id, &$a_affected_ids) | |
recursive method to insert all saved nodes of the clipboard (maybe this function could be moved to a rbac class ?) | |
confirmedDeleteObject () | |
confirmed deletion if object -> objects are moved to trash | |
cancelDeleteObject () | |
cancel deletion of object | |
removeFromSystemObject () | |
remove objects from trash bin and all entries therefore every object needs a specific deleteObject() method | |
removeDeletedNodes ($a_node_id, $a_checked, $a_delete_objects, &$a_affected_ids) | |
remove already deleted objects within the objects in trash recursive function | |
editObject () | |
edit object | |
displayEditForm ($fields) | |
display edit form (usually called by editObject) | |
updateObject () | |
updates object entry in object_data | |
afterUpdate () | |
permObject () | |
show permissions of current node | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. | |
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 | |
permSaveObject () | |
save permissions | |
isVisible ($a_ref_id, $a_type) | |
displayList () | |
display object list | |
viewObject () | |
list childs of current object | |
deleteObject ($a_error=false) | |
display deletion confirmation screen only for referenced objects. | |
trashObject () | |
show trash content of object | |
addRoleObject () | |
adds a local role This method is only called when choose the option 'you may add local roles'. | |
showActions ($with_subobjects=false) | |
show possible action (form buttons) | |
getActions () | |
Get Actions. | |
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 | |
__showClipboardTable ($a_result_set, $a_from="") | |
infoObject () | |
__buildRoleFilterSelect () | |
__filterRoles ($a_roles, $a_filter) | |
ownerObject () | |
changeOwnerObject () | |
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. | |
fillCloneSearchTemplate ($a_tpl_varname, $a_type) | |
Add an object search in case the number of existing objects is too big to offer a selection list. | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. | |
copyWizardHasOptions ($a_mode) | |
Check if there is any modules specific option. | |
getCenterColumnHTML () | |
Get center column. | |
getRightColumnHTML () | |
Display right column. | |
setColumnSettings ($column_gui) | |
May be overwritten in subclasses. | |
checkPermission ($a_perm, $a_cmd="") |
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 | |
Protected Member Functions inherited from ilObjectGUI | |
searchCloneSourceObject () | |
Search clone source by title. | |
buildCloneSelect ($existing_objs) | |
Build a select box for clonable objects (permission write) |
Class ilObjTestGUI.
ilObjTestGUI: ilObjCourseGUI, ilMDEditorGUI, ilTestOutputGUI ilObjTestGUI: ilTestEvaluationGUI, ilPermissionGUI ilObjTestGUI: ilInfoScreenGUI, ilLearningProgressGUI ilObjTestGUI: ilTestCertificateGUI ilObjTestGUI: ilTestScoringGUI, ilShopPurchaseGUI
Definition at line 44 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 5853 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 5088 of file class.ilObjTestGUI.php.
References defaultsObject(), and ilUtil\sendInfo().
ilObjTestGUI::addLocatorItems | ( | ) |
should be overwritten to add object specific items (repository items are preloaded)
Reimplemented from ilObjectGUI.
Definition at line 5375 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 3351 of file class.ilObjTestGUI.php.
References marksObject(), and saveMarkSchemaFormData().
ilObjTestGUI::addParticipantsObject | ( | ) |
Definition at line 4901 of file class.ilObjTestGUI.php.
References ilUtil\sendInfo().
ilObjTestGUI::addQuestionpoolObject | ( | ) |
Definition at line 2617 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 3397 of file class.ilObjTestGUI.php.
References marksObject().
ilObjTestGUI::applyDefaultsObject | ( | ) |
Applies the selected test defaults.
Definition at line 5061 of file class.ilObjTestGUI.php.
References $result, defaultsObject(), and ilUtil\sendInfo().
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 1912 of file class.ilObjTestGUI.php.
ilObjTestGUI::backToCourseObject | ( | ) |
Definition at line 259 of file class.ilObjTestGUI.php.
References $_GET, ilObjectGUI\getReturnLocation(), and ilUtil\redirect().
ilObjTestGUI::backToRepositoryObject | ( | ) |
Definition at line 252 of file class.ilObjTestGUI.php.
References ilObjectGUI\getReturnLocation(), and ilUtil\redirect().
Referenced by inviteParticipantsObject(), and participantsObject().
ilObjTestGUI::browseForQuestionsObject | ( | ) |
Definition at line 2839 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 2881 of file class.ilObjTestGUI.php.
ilObjTestGUI::cancelDeleteExportFileObject | ( | ) |
cancel deletion of export files
Definition at line 500 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 3652 of file class.ilObjTestGUI.php.
ilObjTestGUI::cancelFixedParticipantsStatusChangeObject | ( | ) |
Cancels the change of the fixed participants status when fixed participants already exist.
Cancels the change of the fixed participants status when fixed participants already exist
public
Definition at line 3949 of file class.ilObjTestGUI.php.
ilObjTestGUI::cancelImportObject | ( | ) |
Definition at line 763 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 3434 of file class.ilObjTestGUI.php.
References ilUtil\sendInfo().
ilObjTestGUI::cancelObject | ( | $in_rep = false | ) |
cancel action and go back to previous page public
Reimplemented from ilObjectGUI.
Definition at line 491 of file class.ilObjTestGUI.php.
References $_GET, ilUtil\redirect(), and ilUtil\sendInfo().
ilObjTestGUI::cancelRandomSelectObject | ( | ) |
Cancels the form for random selection of questions.
Cancels the form for random selection of questions
public
Definition at line 2512 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 2965 of file class.ilObjTestGUI.php.
ilObjTestGUI::certificateObject | ( | ) |
Shows the certificate editor.
Definition at line 5465 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 790 of file class.ilObjTestGUI.php.
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 3612 of file class.ilObjTestGUI.php.
References ilUtil\sendInfo().
ilObjTestGUI::confirmDeleteExportFileObject | ( | ) |
confirmation screen for export file deletion
Definition at line 441 of file class.ilObjTestGUI.php.
References $_SESSION, $file, ilUtil\getImagePath(), ilUtil\sendInfo(), and ilUtil\switchColor().
ilObjTestGUI::confirmDeleteSelectedUserDataObject | ( | ) |
Deletes the selected user data for the test object.
Deletes the selected user data for the test object
public
Definition at line 3626 of file class.ilObjTestGUI.php.
References ilUtil\sendInfo().
ilObjTestGUI::confirmFixedParticipantsStatusChange | ( | ) |
Shows a confirmation dialog to remove fixed participants from the text.
Shows a confirmation dialog to remove fixed participants from the text
public
Definition at line 3981 of file class.ilObjTestGUI.php.
Referenced by saveFixedParticipantsStatusObject().
ilObjTestGUI::confirmFixedParticipantsStatusChangeObject | ( | ) |
Confirms the change of the fixed participants status when fixed participants already exist.
Confirms the change of the fixed participants status when fixed participants already exist
public
Definition at line 3961 of file class.ilObjTestGUI.php.
ilObjTestGUI::confirmRemoveQuestionsObject | ( | ) |
Remove questions from the test after confirmation.
Remove questions from the test after confirmation
public
Definition at line 2942 of file class.ilObjTestGUI.php.
References ilUtil\sendInfo().
ilObjTestGUI::createExportFileObject | ( | ) |
create export file
Definition at line 397 of file class.ilObjTestGUI.php.
References $_GET, and ilUtil\sendInfo().
ilObjTestGUI::createObject | ( | ) |
form for new content object creation
Reimplemented from ilObjectGUI.
Definition at line 3850 of file class.ilObjTestGUI.php.
References $_GET, $_SESSION, ilObjectGUI\$data, ilFrameTargetInfo\_getFrame(), ilObjectGUI\fillCloneTemplate(), ilUtil\getImagePath(), ilObjectGUI\getTemplateFile(), ilUtil\prepareFormOutput(), and ilUtil\stripSlashes().
Referenced by importFileObject().
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 2893 of file class.ilObjTestGUI.php.
References 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 2450 of file class.ilObjTestGUI.php.
References 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 2524 of file class.ilObjTestGUI.php.
References assQuestion\_getQuestionTypeName(), and getQuestionsSubTabs().
ilObjTestGUI::defaultsObject | ( | ) |
Displays the settings page for test defaults.
Displays the settings page for test defaults
public
Definition at line 4975 of file class.ilObjTestGUI.php.
References $_GET.
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 3664 of file class.ilObjTestGUI.php.
References ilUtil\sendInfo().
ilObjTestGUI::deleteAllUserResultsObject | ( | ) |
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 3686 of file class.ilObjTestGUI.php.
ilObjTestGUI::deleteDefaultsObject | ( | ) |
Deletes selected test defaults.
Definition at line 5046 of file class.ilObjTestGUI.php.
References defaultsObject().
ilObjTestGUI::deleteExportFileObject | ( | ) |
delete export files
Definition at line 510 of file class.ilObjTestGUI.php.
References $_SESSION, $file, and ilUtil\delDir().
ilObjTestGUI::deleteMarkStepsObject | ( | ) |
Delete selected mark steps.
Delete selected mark steps
public
Definition at line 3410 of file class.ilObjTestGUI.php.
References 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 3718 of file class.ilObjTestGUI.php.
References $user, ilObjUser\_lookupLogin(), ilObjUser\_lookupName(), ilUtil\getImagePath(), and ilUtil\sendInfo().
ilObjTestGUI::download_paragraphObject | ( | ) |
download source code paragraph
Definition at line 1873 of file class.ilObjTestGUI.php.
ilObjTestGUI::downloadExportFileObject | ( | ) |
download export file
Definition at line 418 of file class.ilObjTestGUI.php.
References ilUtil\deliverFile(), and ilUtil\sendInfo().
ilObjTestGUI::downloadFileObject | ( | ) |
& ilObjTestGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilObjectGUI.
Definition at line 68 of file class.ilObjTestGUI.php.
References $_GET, $cmd, 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 2851 of file class.ilObjTestGUI.php.
References $_GET, $_SESSION, createQuestionObject(), createQuestionPool(), exit, ilUtil\redirect(), and ilUtil\sendInfo().
ilObjTestGUI::exportObject | ( | ) |
Definition at line 268 of file class.ilObjTestGUI.php.
References $_GET, ilObjectGUI\$tree, ilUtil\getImagePath(), ilUtil\sendInfo(), and ilUtil\switchColor().
ilObjTestGUI::filterObject | ( | ) |
Sets the filter for the question browser.
Sets the filter for the question browser
public
Definition at line 1888 of file class.ilObjTestGUI.php.
References questionBrowser().
ilObjTestGUI::fullscreenObject | ( | ) |
show fullscreen view
Definition at line 1861 of file class.ilObjTestGUI.php.
References $_GET.
ilObjTestGUI::getBrowseForQuestionsTab | ( | & | $tabs_gui | ) |
Definition at line 5428 of file class.ilObjTestGUI.php.
Referenced by getTabs().
ilObjTestGUI::getParticipantsSubTabs | ( | ) |
Definition at line 5532 of file class.ilObjTestGUI.php.
Referenced by getTabs().
ilObjTestGUI::getQuestionsSubTabs | ( | ) |
Definition at line 5472 of file class.ilObjTestGUI.php.
Referenced by createQuestionObject(), createRandomSelectionObject(), printobject(), questionsObject(), randomselectObject(), and removeQuestionsObject().
ilObjTestGUI::getRandomQuestionsTab | ( | & | $tabs_gui | ) |
Definition at line 5443 of file class.ilObjTestGUI.php.
ilObjTestGUI::getSettingsSubTabs | ( | ) |
Definition at line 5557 of file class.ilObjTestGUI.php.
References ilObjectGUI\$ilias.
Referenced by getTabs().
ilObjTestGUI::getStatisticsSubTabs | ( | ) |
Definition at line 5498 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 5614 of file class.ilObjTestGUI.php.
References $_GET, ilObjAssessmentFolder\_getManualScoring(), ilLearningProgressAccess\checkAccess(), getBrowseForQuestionsTab(), getParticipantsSubTabs(), getSettingsSubTabs(), and getStatisticsSubTabs().
ilObjTestGUI::historyObject | ( | ) |
Creates the change history for a test.
Creates the change history for a test
public
Definition at line 3796 of file class.ilObjTestGUI.php.
References $log, ilObjAssessmentFolder\_getLog(), ilDatePresentation\formatDate(), IL_CAL_TIMESTAMP, ilUtil\prepareFormOutput(), and ilUtil\sendInfo().
ilObjTestGUI::ilObjTestGUI | ( | ) |
Constructor public.
Definition at line 50 of file class.ilObjTestGUI.php.
References $_GET, $ilCtrl, ilObjectGUI\$lng, and ilObjectGUI\ilObjectGUI().
ilObjTestGUI::importFileObject | ( | ) |
form for new test object import
Definition at line 214 of file class.ilObjTestGUI.php.
References createObject(), ilUtil\sendInfo(), and uploadTstObject().
ilObjTestGUI::importObject | ( | ) |
display dialogue for importing tests
public
Reimplemented from ilObjectGUI.
Definition at line 534 of file class.ilObjTestGUI.php.
References ilObjectGUI\getTemplateFile().
Referenced by uploadTstObject().
ilObjTestGUI::importVerifiedFileObject | ( | ) |
imports question(s) into the questionpool (after verification)
Definition at line 717 of file class.ilObjTestGUI.php.
References $_GET, $_SESSION, $result, ilObjTest\_getImportDirectory(), ilUtil\delDir(), IL_MO_PARSE_QTI, ilUtil\redirect(), and ilUtil\sendInfo().
ilObjTestGUI::infoScreen | ( | $session_lock = "" | ) |
show information screen
Definition at line 5123 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 5106 of file class.ilObjTestGUI.php.
References infoScreen().
ilObjTestGUI::insertQuestionsAfterObject | ( | ) |
Insert checked questions after the actual selection.
Insert checked questions after the actual selection
public
Definition at line 3112 of file class.ilObjTestGUI.php.
References ilUtil\sendInfo().
ilObjTestGUI::insertQuestionsBeforeObject | ( | ) |
Insert checked questions before the actual selection.
Insert checked questions before the actual selection
public
Definition at line 3070 of file class.ilObjTestGUI.php.
References ilUtil\sendInfo().
ilObjTestGUI::insertQuestionsObject | ( | ) |
Insert questions from the questionbrowser into the test.
Insert questions from the questionbrowser into the test
public
Definition at line 1924 of file class.ilObjTestGUI.php.
References assQuestion\_needsManualScoring(), and ilUtil\sendInfo().
ilObjTestGUI::insertRandomSelectionObject | ( | ) |
Inserts a random selection into the test.
Inserts a random selection into the test
public
Definition at line 2582 of file class.ilObjTestGUI.php.
References $total, and ilUtil\sendInfo().
ilObjTestGUI::inviteParticipantsObject | ( | ) |
Creates the output for user/group invitation to a test.
Creates the output for user/group invitation to a test
public
Definition at line 4045 of file class.ilObjTestGUI.php.
References $total, backToRepositoryObject(), outUserGroupTable(), and ilUtil\sendInfo().
Referenced by searchParticipantsObject().
ilObjTestGUI::marksObject | ( | ) |
Definition at line 3498 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.
Marks selected questions for moving
public
Definition at line 3058 of file class.ilObjTestGUI.php.
References questionsObject().
ilObjTestGUI::outEvaluationObject | ( | ) |
Definition at line 206 of file class.ilObjTestGUI.php.
ilObjTestGUI::outUserGroupTable | ( | $a_type, | |
$data_array, | |||
$block_result, | |||
$block_row, | |||
$title_text, | |||
$title_label, | |||
$buttons | |||
) |
Output of the table structures for selected users and selected groups.
Output of the table structures for selected users and selected groups for the invite participants tab
private
Definition at line 4654 of file class.ilObjTestGUI.php.
References ilObjectGUI\$data, ilDatePresentation\formatDate(), ilUtil\getImagePath(), and IL_CAL_DATETIME.
Referenced by inviteParticipantsObject(), and participantsObject().
ilObjTestGUI::participantsActionObject | ( | ) |
Evaluates the actions on the participants page.
Evaluates the actions on the participants page
public
Definition at line 4245 of file class.ilObjTestGUI.php.
References $command.
ilObjTestGUI::participantsObject | ( | ) |
Creates the output of the test participants.
Creates the output of the test participants
public
Definition at line 4267 of file class.ilObjTestGUI.php.
References ilYuiUtil\addYesNoDialog(), backToRepositoryObject(), outUserGroupTable(), and ilUtil\sendInfo().
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 4566 of file class.ilObjTestGUI.php.
References $_GET, ilObjectGUI\$ilias, ilUtil\getHtmlPath(), ilUtil\getImagePath(), getQuestionsSubTabs(), ilUtil\getStyleSheetLocation(), ilUtil\prepareFormOutput(), and ilUtil\sendInfo().
ilObjTestGUI::propertiesObject | ( | ) |
Display and fill the properties form of the test.
Display and fill the properties form of the test
public
Definition at line 1453 of file class.ilObjTestGUI.php.
References $_GET, ilObjectGUI\$data, ilObjectGUI\$obj_id, $total, ilRTE\_getRTEClassname(), ilObject\_lookupObjectId(), ilObject\_lookupType(), ilUtil\getImagePath(), ilUtil\makeDateSelect(), ilUtil\makeTimeSelect(), ilUtil\prepareFormOutput(), and ilUtil\sendInfo().
ilObjTestGUI::questionBrowser | ( | ) |
Creates a form to select questions from questionpools to insert the questions into the test.
Creates a form to select questions from questionpools to insert the questions into the test
public
Definition at line 1977 of file class.ilObjTestGUI.php.
References $_GET, ilObjectGUI\$data, assQuestion\_getQuestionTypeName(), ilObjQuestionPool\_getQuestionTypes(), ilDatePresentation\formatDate(), ilUtil\getImagePath(), ilUtil\getStyleSheetLocation(), IL_CAL_TIMESTAMP, and ilYuiUtil\initMenu().
Referenced by browseForQuestionsObject(), executeCommand(), filterObject(), and resetFilterObject().
ilObjTestGUI::questionsObject | ( | ) |
Definition at line 3147 of file class.ilObjTestGUI.php.
References $_GET, ilObjectGUI\$data, $total, assQuestion\_getQuestionTypeName(), ilObjQuestionPool\_getQuestionTypes(), ilUtil\getImagePath(), getQuestionsSubTabs(), randomQuestionsObject(), ilUtil\redirect(), and ilUtil\sendInfo().
Referenced by executeCommand(), and moveQuestionsObject().
ilObjTestGUI::randomQuestionsObject | ( | ) |
Definition at line 2622 of file class.ilObjTestGUI.php.
References $total, and ilUtil\sendInfo().
Referenced by addQuestionpoolObject(), questionsObject(), saveQuestionSelectionModeObject(), and saveRandomQuestionsObject().
ilObjTestGUI::randomselectObject | ( | ) |
Creates a form for random selection of questions.
Creates a form for random selection of questions
public
Definition at line 2475 of file class.ilObjTestGUI.php.
References getQuestionsSubTabs().
ilObjTestGUI::redirectToInfoScreenObject | ( | ) |
Definition at line 5113 of file class.ilObjTestGUI.php.
References $_SESSION, and infoScreen().
ilObjTestGUI::removeParticipantObject | ( | ) |
Definition at line 4527 of file class.ilObjTestGUI.php.
References 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 2977 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 3026 of file class.ilObjTestGUI.php.
References $total, getQuestionsSubTabs(), removeQuestionsForm(), and ilUtil\sendInfo().
ilObjTestGUI::resetFilterObject | ( | ) |
Resets the filter for the question browser.
Resets the filter for the question browser
public
Definition at line 1900 of file class.ilObjTestGUI.php.
References questionBrowser().
ilObjTestGUI::runObject | ( | ) |
Definition at line 201 of file class.ilObjTestGUI.php.
ilObjTestGUI::saveClientIPObject | ( | ) |
Definition at line 4543 of file class.ilObjTestGUI.php.
References ilUtil\sendInfo().
ilObjTestGUI::saveFixedParticipantsStatusObject | ( | ) |
Saves the status change of the fixed participants status.
Saves the status change of the fixed participants status
public
Definition at line 4015 of file class.ilObjTestGUI.php.
References confirmFixedParticipantsStatusChange().
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 3365 of file class.ilObjTestGUI.php.
Referenced by addMarkStepObject(), deleteMarkStepsObject(), and saveMarksObject().
ilObjTestGUI::saveMarksObject | ( | ) |
Save the mark schema.
Save the mark schema
public
Definition at line 3447 of file class.ilObjTestGUI.php.
References marksObject(), saveMarkSchemaFormData(), ilUtil\sendInfo(), and ilUtil\stripSlashes().
ilObjTestGUI::saveObject | ( | ) |
save object public
Reimplemented from ilObjectGUI.
Definition at line 236 of file class.ilObjTestGUI.php.
References ilUtil\redirect(), and ilUtil\sendInfo().
ilObjTestGUI::savePropertiesObject | ( | ) |
Save the form input of the properties form.
Save the form input of the properties form
public
Definition at line 846 of file class.ilObjTestGUI.php.
References ilObjectGUI\$data, $total, ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), confirmChangeProperties(), SCORE_LAST_PASS, ilUtil\sendInfo(), and ilUtil\stripSlashes().
ilObjTestGUI::saveQuestionSelectionModeObject | ( | ) |
Definition at line 2823 of file class.ilObjTestGUI.php.
References randomQuestionsObject().
ilObjTestGUI::saveRandomQuestionsObject | ( | ) |
Definition at line 2612 of file class.ilObjTestGUI.php.
References randomQuestionsObject().
ilObjTestGUI::saveScoringObject | ( | ) |
Save the form input of the scoring form.
Save the form input of the scoring form
public
Definition at line 1091 of file class.ilObjTestGUI.php.
References ilObjectGUI\$data, $total, REPORT_AFTER_DATE, and ilUtil\sendInfo().
ilObjTestGUI::scoringObject | ( | ) |
Display and fill the scoring settings form of the test.
Display and fill the scoring settings form of the test
public
Definition at line 1165 of file class.ilObjTestGUI.php.
References ilObjectGUI\$data, $total, COUNT_CORRECT_SOLUTIONS, COUNT_PARTIAL_SOLUTIONS, ilUtil\getImagePath(), ilUtil\makeDateSelect(), ilUtil\makeTimeSelect(), REPORT_AFTER_DATE, REPORT_AFTER_TEST, REPORT_ALWAYS, SCORE_BEST_PASS, SCORE_CUT_QUESTION, SCORE_CUT_TEST, SCORE_LAST_PASS, SCORE_STANDARD_SCORE_SYSTEM, SCORE_ZERO_POINTS_WHEN_UNANSWERED, and ilUtil\sendInfo().
ilObjTestGUI::searchParticipantsObject | ( | ) |
Definition at line 4963 of file class.ilObjTestGUI.php.
References inviteParticipantsObject().
ilObjTestGUI::showDetailedResultsObject | ( | ) |
Shows the pass overview and the answers of one ore more users for the scored pass.
Shows the pass overview and the answers of one ore more users for the scored pass
public
Definition at line 4433 of file class.ilObjTestGUI.php.
References $_SESSION, and showUserResults().
ilObjTestGUI::showPassOverviewObject | ( | ) |
Shows the pass overview of the scored pass for one ore more users.
Shows the pass overview of the scored pass for one ore more users
public
Definition at line 4465 of file class.ilObjTestGUI.php.
References $_SESSION, and showUserResults().
ilObjTestGUI::showUserAnswersObject | ( | ) |
Shows the answers of one ore more users for the scored pass.
Shows the answers of one ore more users for the scored pass
public
Definition at line 4449 of file class.ilObjTestGUI.php.
References $_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.
Shows the pass overview of the scored pass for one ore more users
public
Definition at line 4481 of file class.ilObjTestGUI.php.
References $_SESSION, $results, ilUtil\getStyleSheetLocation(), and ilUtil\sendInfo().
Referenced by showDetailedResultsObject(), showPassOverviewObject(), and showUserAnswersObject().
ilObjTestGUI::statisticsObject | ( | ) |
Definition at line 5458 of file class.ilObjTestGUI.php.
ilObjTestGUI::takenObject | ( | ) |
Definition at line 3341 of file class.ilObjTestGUI.php.
ilObjTestGUI::uploadObject | ( | $redirect = true | ) |
display status information or report errors messages in case of error
public
Definition at line 776 of file class.ilObjTestGUI.php.
References uploadTstObject().
ilObjTestGUI::uploadTstObject | ( | ) |
imports test and question(s)
Definition at line 569 of file class.ilObjTestGUI.php.
References $_SESSION, $file, $result, ilObjTest\_createImportDirectory(), ilObjTest\_getImportDirectory(), ilUtil\delDir(), ilUtil\getImagePath(), IL_MO_VERIFY_QTI, importObject(), 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\sendInfo(), and ilUtil\unzip().
Referenced by importFileObject(), and uploadObject().