ILIAS
Release_3_10_x_branch Revision 61812
|
Public Member Functions | |
ilObjTest ($a_id=0, $a_call_by_reference=true) | |
Constructor public. | |
create ($a_upload=false) | |
create test object | |
update () | |
update object data | |
createReference () | |
Creates a database reference id for the object. | |
read ($a_force_db=false) | |
read object data from db into object | |
delete () | |
delete object and all related data | |
deleteTest () | |
Deletes the test and all related objects, files and database entries. | |
initDefaultRoles () | |
init default roles settings | |
notify ($a_event, $a_ref_id, $a_parent_non_rbac_id, $a_node_id, $a_params=0) | |
notifys an object about an event occured Based on the event happend, each object may decide how it reacts. | |
createExportDirectory () | |
creates data directory for export files (data_dir/tst_data/tst_<id>/export, depending on data directory that is set in ILIAS setup/ini) | |
getExportDirectory () | |
Get the location of the export directory for the test. | |
getExportFiles ($dir) | |
Get a list of the already exported files in the export directory. | |
_createImportDirectory () | |
creates data directory for import files (data_dir/tst_data/tst_<id>/import, depending on data directory that is set in ILIAS setup/ini) | |
_getImportDirectory () | |
Get the import directory location of the test. | |
createImportDirectory () | |
creates data directory for import files (data_dir/tst_data/tst_<id>/import, depending on data directory that is set in ILIAS setup/ini) | |
getImportDirectory () | |
Get the import directory location of the test. | |
testTitleExists ($title) | |
Returns TRUE if the test title exists in the database. | |
isSingleChoiceTest () | |
Returns TRUE if the test contains single choice results only. | |
isSingleChoiceTestWithoutShuffle () | |
Returns TRUE if the test contains single choice results and no shuffle only. | |
isComplete () | |
Returns true, if a test is complete for use. | |
_isComplete ($obj_id) | |
Returns true, if a test is complete for use. | |
saveECTSStatus ($ects_output=0, $fx_support="", $ects_a=90, $ects_b=65, $ects_c=35, $ects_d=10, $ects_e=0) | |
Saves the ECTS status (output of ECTS grades in a test) to the database. | |
saveCompleteStatus () | |
Checks if the test is complete and saves the status in the database. | |
getAllRTEContent () | |
Returns the content of all RTE enabled text areas in the test. | |
cleanupMediaobjectUsage () | |
Cleans up the media objects for all text fields in a test which are using an RTE field. | |
saveToDb ($properties_only=FALSE) | |
Saves a ilObjTest object to a database. | |
saveQuestionsToDb () | |
Saves the test questions to the database. | |
saveRandomQuestion ($active_id, $question_id, $pass=NULL, $maxcount) | |
Saves a random question to the database. | |
getRandomQuestionDuplicate ($question_id, $active_id) | |
Returns the question id of the duplicate of a question which is already in use in a random test. | |
getNrOfResultsForPass ($active_id, $pass) | |
Calculates the number of user results for a specific test pass. | |
hasRandomQuestionsForPass ($active_id, $pass) | |
Checkes wheather a random test has already created questions for a given pass or not. | |
generateRandomQuestions ($active_id, $pass=NULL) | |
Generates new random questions for the active user. | |
saveRandomQuestionCount ($total_questions="NULL") | |
Saves the total amount of a tests random questions to the database. | |
saveRandomQuestionpools ($qpl_array) | |
Saves the question pools used for a random test. | |
& | getRandomQuestionpools () |
Returns an array containing the random questionpools saved to the database. | |
loadFromDb () | |
Loads a ilObjTest object from a database. | |
loadQuestions ($active_id="", $pass=NULL) | |
Load the test question id's from the database. | |
setIntroduction ($introduction="") | |
Sets the introduction. | |
setFinalStatement ($a_statement="") | |
Sets the final statement. | |
setShowInfo ($a_boolean=TRUE) | |
Set whether the complete information page is shown or the required data only. | |
setForceJS ($a_boolean=TRUE) | |
Set whether JavaScript should be forced for tests. | |
setCustomStyle ($a_customStyle="") | |
Set the custom style. | |
getCustomStyle () | |
Get the custom style. | |
getCustomStyles () | |
Return the available custom styles. | |
getTestStyleLocation ($mode="output") | |
get full style sheet file name (path inclusive) of current user | |
setShowFinalStatement ($show="") | |
Sets whether the final statement should be shown or not. | |
isRandomTest () | |
Gets the status of the $random_test attribute. | |
getRandomQuestionCount () | |
Gets the number of random questions used for a random test. | |
getIntroduction () | |
Gets the introduction. | |
getFinalStatement () | |
Gets the final statement. | |
getShowInfo () | |
Gets whether the complete information page is shown or the required data only. | |
getForceJS () | |
Gets whether JavaScript should be forced for tests. | |
getShowFinalStatement () | |
Returns whether the final statement should be shown or not. | |
getTestId () | |
Gets the database id of the additional test data. | |
getECTSOutput () | |
Indicates if ECTS grades output is presented in this test. | |
setECTSOutput ($a_ects_output) | |
Enables/Disables ECTS grades output for this test. | |
getECTSFX () | |
Returns the ECTS FX grade. | |
setECTSFX ($a_ects_fx) | |
Sets the ECTS FX grade. | |
& | getECTSGrades () |
Returns the ECTS grades. | |
setECTSGrades ($a_ects_grades) | |
Sets the ECTS grades. | |
setSequenceSettings ($sequence_settings=0) | |
Sets the sequence settings. | |
setScoreReporting ($score_reporting=0) | |
Sets the score reporting. | |
setInstantFeedbackSolution ($instant_feedback=0) | |
Sets the instant feedback for the solution. | |
setAnswerFeedback ($answer_feedback=0) | |
Sets the answer specific feedback for the test. | |
setAnswerFeedbackPoints ($answer_feedback_points=0) | |
Sets the answer specific feedback of reached points for the test. | |
setRandomTest ($a_random_test=0) | |
Sets the random test indicator. | |
setRandomQuestionCount ($a_random_question_count="") | |
Sets the random question count. | |
setReportingDate ($reporting_date) | |
Sets the reporting date. | |
getSequenceSettings () | |
Gets the sequence settings. | |
getScoreReporting () | |
Gets the score reporting. | |
getInstantFeedbackSolution () | |
Returns 1 if the correct solution will be shown after answering a question. | |
getAnswerFeedback () | |
Returns 1 if answer specific feedback is activated. | |
getAnswerFeedbackPoints () | |
Returns 1 if answer specific feedback as reached points is activated. | |
getCountSystem () | |
Gets the count system for the calculation of points. | |
_getCountSystem ($active_id) | |
Gets the count system for the calculation of points. | |
getMCScoring () | |
Gets the scoring type for multiple choice questions. | |
getScoreCutting () | |
Determines if the score of a question should be cut at 0 points or the score of the whole test. | |
getPassword () | |
Returns the password for test access. | |
getPassScoring () | |
Gets the pass scoring type. | |
_getPassScoring ($active_id) | |
Gets the pass scoring type. | |
_getMCScoring ($active_id) | |
Gets the scoring type for multiple choice questions. | |
_getScoreCutting ($active_id) | |
Determines if the score of a question should be cut at 0 points or the score of the whole test. | |
getReportingDate () | |
Gets the reporting date. | |
getNrOfTries () | |
Returns the nr of tries for the test. | |
getKiosk () | |
Returns the kiosk mode. | |
setKiosk ($kiosk=0) | |
Sets the kiosk mode for the test. | |
getKioskMode () | |
Returns the kiosk mode. | |
setKioskMode ($a_kiosk=FALSE) | |
Sets the kiosk mode for the test. | |
getShowKioskModeTitle () | |
Returns the status of the kiosk mode title. | |
setShowKioskModeTitle ($a_title=FALSE) | |
Set to true, if the full test title should be shown in kiosk mode. | |
getShowKioskModeParticipant () | |
Returns the status of the kiosk mode participant. | |
setShowKioskModeParticipant ($a_participant=FALSE) | |
Set to true, if the participant's name should be shown in kiosk mode. | |
getUsePreviousAnswers () | |
Returns if the previous answers should be shown for a learner. | |
getTitleOutput () | |
Returns the value of the title_output status. | |
_getTitleOutput ($active_id) | |
Returns the value of the title_output status. | |
_getUsePreviousAnswers ($active_id, $user_active_user_setting=false) | |
Returns if the previous results should be hidden for a learner. | |
getProcessingTime () | |
Returns the processing time for the test. | |
getProcessingTimeInSeconds () | |
Returns the processing time for the test in seconds. | |
getSecondsUntilEndingTime () | |
Returns the seconds left from the actual time until the ending time. | |
getEnableProcessingTime () | |
Returns the state of the processing time (enabled/disabled) | |
getResetProcessingTime () | |
Returns wheather the processing time should be reset or not. | |
getStartingTime () | |
Returns the starting time of the test. | |
getEndingTime () | |
Returns the ending time of the test. | |
setNrOfTries ($nr_of_tries=0) | |
Sets the nr of tries for the test. | |
setUsePreviousAnswers ($use_previous_answers=1) | |
Sets the status of the visibility of previous learner answers. | |
setTitleOutput ($title_output=0) | |
Sets the status of the title output. | |
setProcessingTime ($processing_time="00:00:00") | |
Sets the processing time for the test. | |
setEnableProcessingTime ($enable=0) | |
Sets the processing time enabled or disabled. | |
setResetProcessingTime ($reset=0) | |
Sets wheather the processing time should be reset or not. | |
setStartingTime ($starting_time="") | |
Sets the starting time for the test. | |
setEndingTime ($ending_time="") | |
Sets the ending time for the test. | |
setCountSystem ($a_count_system=COUNT_PARTIAL_SOLUTIONS) | |
Sets the count system for the calculation of points. | |
setPassword ($a_password="") | |
Sets the password for test access. | |
setScoreCutting ($a_score_cutting=SCORE_CUT_QUESTION) | |
Sets the type of score cutting. | |
setMCScoring ($a_mc_scoring=SCORE_ZERO_POINTS_WHEN_UNANSWERED) | |
Sets the multiple choice scoring. | |
setPassScoring ($a_pass_scoring=SCORE_LAST_PASS) | |
Sets the pass scoring. | |
removeQuestion ($question_id) | |
Removes a question from the test object. | |
removeAllTestEditings ($question_id="") | |
Removes all references to the question in executed tests in case the question has been changed. | |
removeSelectedTestResults ($active_ids) | |
removeTestResultsForUser ($user_id) | |
questionMoveUp ($question_id) | |
Moves a question up in order. | |
questionMoveDown ($question_id) | |
Moves a question down in order. | |
duplicateQuestionForTest ($question_id) | |
Takes a question and creates a copy of the question for use in the test. | |
insertQuestion ($question_id) | |
Insert a question in the list of questions. | |
& | getQuestionTitles () |
Returns the titles of the test questions in question sequence. | |
& | getQuestionTitlesAndIndexes () |
Returns the titles of the test questions in question sequence. | |
getQuestionTitle ($title) | |
Returns the title of a test question. | |
getQuestionDataset ($question_id) | |
Returns the dataset for a given question id. | |
& | getExistingQuestions ($pass=NULL) |
Get the id's of the questions which are already part of the test. | |
getQuestionType ($question_id) | |
Returns the question type of a question with a given id. | |
startWorkingTime ($active_id, $pass) | |
Write the initial entry for the tests working time to the database. | |
updateWorkingTime ($times_id) | |
Update the working time of a test when a question is answered. | |
& | getWorkedQuestions ($active_id, $pass=NULL) |
Gets the id's of all questions a user already worked through. | |
isTestFinishedToViewResults ($active_id, $currentpass) | |
Returns true if an active user completed a test pass and did not start a new pass. | |
& | getAllQuestions ($pass=NULL) |
Returns all questions of a test in test order. | |
getActiveIdOfUser ($user_id="", $anonymous_id="") | |
Gets the active id of a given user. | |
_getActiveIdOfUser ($user_id="", $test_id="") | |
Gets the active id of the tst_active table for the active user. | |
pcArrayShuffle ($array) | |
Shuffles the values of a given array. | |
& | getTestResult ($active_id, $pass=NULL, $ordered_sequence=FALSE) |
Calculates the results of a test for a given user. | |
evalTotalPersons () | |
Returns the number of persons who started the test. | |
getCompleteWorkingTime ($user_id) | |
Returns the complete working time in seconds a user worked on the test. | |
& | getCompleteWorkingTimeOfParticipants () |
Returns the complete working time in seconds for all test participants. | |
& | _getCompleteWorkingTimeOfParticipants ($test_id) |
Returns the complete working time in seconds for all test participants. | |
getCompleteWorkingTimeOfParticipant ($active_id) | |
Returns the complete working time in seconds for a test participant. | |
_getWorkingTimeOfParticipantForPass ($active_id, $pass) | |
Returns the complete working time in seconds for a test participant. | |
getVisitTimeOfParticipant ($active_id) | |
Returns the first and last visit of a participant. | |
_getVisitTimeOfParticipant ($test_id, $active_id) | |
Returns the first and last visit of a participant. | |
& | evalStatistical ($active_id) |
Returns the statistical evaluation of the test for a specified user. | |
& | getTotalPointsPassedArray () |
Returns an array with the total points of all users who passed the test. | |
& | getParticipants () |
Returns all persons who started the test. | |
& | evalTotalPersonsArray ($name_sort_order="asc") |
Returns all persons who started the test. | |
& | evalTotalParticipantsArray ($name_sort_order="asc") |
Returns all participants who started the test. | |
evalTotalFinished () | |
Returns the number of total finished tests. | |
& | getQuestionsOfTest ($active_id) |
Retrieves all the assigned questions for all test passes of a test participant. | |
& | getQuestionsOfPass ($active_id, $pass) |
Retrieves all the assigned questions for a test participant in a given test pass. | |
getUnfilteredEvaluationData () | |
_getQuestionCountAndPointsForPassOfParticipant ($active_id, $pass) | |
& | getCompleteEvaluationData ($withStatistics=TRUE, $filterby="", $filtertext="") |
& | evalResultsOverview () |
Creates an associated array with the results of all participants of a test. | |
& | _evalResultsOverview ($test_id) |
Creates an associated array with the results of all participants of a test. | |
& | evalResultsOverviewOfParticipant ($active_id) |
Creates an associated array with the results for a given participant of a test. | |
buildName ($user_id, $firstname, $lastname, $title) | |
Builds a user name for the output. | |
_buildName ($is_anonymous, $user_id, $firstname, $lastname, $title) | |
Builds a user name for the output. | |
evalTotalStartedAverageTime () | |
Returns the average processing time for all started tests. | |
& | getAvailableQuestionpools ($use_object_id=false, $equal_points=false, $could_be_offline=false, $show_path=FALSE, $with_questioncount=FALSE, $permission="read") |
Returns the available question pools for the active user. | |
getEstimatedWorkingTime () | |
Returns the estimated working time for the test calculated from the working time of the contained questions. | |
randomSelectQuestions ($nr_of_questions, $questionpool, $use_obj_id=0, $qpls="", $pass=NULL) | |
Returns a random selection of questions. | |
getImagePath () | |
Returns the image path for web accessable images of a test. | |
getImagePathWeb () | |
Returns the web image path for web accessable images of a test. | |
& | createQuestionGUI ($question_type, $question_id=-1) |
Creates a question GUI instance of a given question type. | |
& | _instanciateQuestion ($question_id) |
Creates an instance of a question with a given question id. | |
moveQuestions ($move_questions, $target_index, $insert_mode) | |
Move questions to another position. | |
startingTimeReached () | |
Returns true if the starting time of a test is reached. | |
endingTimeReached () | |
Returns true if the ending time of a test is reached. | |
getQuestionsTable ($sort, $sortorder, $textfilter, $startrow=0, $completeonly=0, $filter_question_type="", $filter_questionpool="") | |
Calculates the data for the output of the questionpool. | |
fromXML (&$assessment) | |
Creates a test from a QTI file. | |
toXML () | |
Returns a QTI xml representation of the test. | |
exportPagesXML (&$a_xml_writer, $a_inst, $a_target_dir, &$expLog) | |
export pages of test to xml (see ilias_co.dtd) | |
exportXMLMetaData (&$a_xml_writer) | |
export content objects meta data to xml (see ilias_co.dtd) | |
modifyExportIdentifier ($a_tag, $a_param, $a_value) | |
Returns the installation id for a given identifier. | |
exportXMLPageObjects (&$a_xml_writer, $a_inst, &$expLog) | |
export page objects to xml (see ilias_co.dtd) | |
exportXMLMediaObjects (&$a_xml_writer, $a_inst, $a_target_dir, &$expLog) | |
export media objects to xml (see ilias_co.dtd) | |
exportFileItems ($a_target_dir, &$expLog) | |
export files of file itmes | |
getImportMapping () | |
get array of (two) new created questions for import id | |
getECTSGrade ($passed_array, $reached_points, $max_points) | |
Returns the ECTS grade for a number of reached points. | |
_getECTSGrade ($points_passed, $reached_points, $max_points, $a, $b, $c, $d, $e, $fx) | |
Returns the ECTS grade for a number of reached points. | |
checkMarks () | |
getMarkSchema () | |
setAuthor ($author="") | |
Sets the authors name. | |
saveAuthorToMetadata ($a_author="") | |
Saves an authors name into the lifecycle metadata if no lifecycle metadata exists. | |
createMetaData () | |
Create meta data entry. | |
getAuthor () | |
Gets the authors name. | |
_lookupAuthor ($obj_id) | |
Gets the authors name. | |
& | _getAvailableTests ($use_object_id=FALSE) |
Returns the available tests for the active user. | |
cloneRandomQuestions ($new_id) | |
Duplicates the source random questionpools for another test. | |
cloneObject ($a_target_id, $a_copy_id=0) | |
Clone object. | |
_getRefIdFromObjId ($obj_id) | |
getQuestionCount () | |
Returns the number of questions in the test. | |
_getQuestionCount ($test_id) | |
Returns the number of questions in the test for a given user. | |
removeNonRandomTestData () | |
Removes all test data of a non random test when a test was set to random test. | |
removeRandomTestData () | |
Removes all test data of a random test when a test was set to non random test. | |
logAction ($logtext="", $question_id="") | |
Logs an action into the Test&Assessment log. | |
_getObjectIDFromTestID ($test_id) | |
Returns the ILIAS test object id for a given test id. | |
_getObjectIDFromActiveID ($active_id) | |
Returns the ILIAS test object id for a given active id. | |
_getTestIDFromObjectID ($object_id) | |
Returns the ILIAS test id for a given object id. | |
getTextAnswer ($active_id, $question_id, $pass=NULL) | |
Returns the text answer of a given user for a given question. | |
getQuestiontext ($question_id) | |
Returns the question text for a given question. | |
& | getInvitedUsers ($user_id="", $order="login, lastname, firstname") |
Returns a list of all invited users in a test. | |
& | getTestParticipants () |
Returns a list of all participants in a test. | |
& | getUserData ($ids) |
Returns a data of all users specified by id list. | |
& | getArrayData ($query, $id_field) |
Returns a data as id key list. | |
& | _getArrayData ($query, $id_field) |
& | getGroupData ($ids) |
& | getRoleData ($ids) |
inviteGroup ($group_id) | |
Invites all users of a group to a test. | |
inviteRole ($role_id) | |
Invites all users of a role to a test. | |
disinviteUser ($user_id) | |
Disinvites a user from a test. | |
inviteUser ($user_id, $client_ip="") | |
Invites a user to a test. | |
setClientIP ($user_id, $client_ip) | |
_getSolvedQuestions ($active_id, $question_fi=null) | |
get solved questions | |
setQuestionSetSolved ($value, $question_id, $user_id) | |
sets question solved state to value for given user_id | |
setActiveTestSubmitted ($user_id) | |
submits active test for user user_id | |
isActiveTestSubmitted ($user_id=null) | |
returns if the active for user_id has been submitted | |
hasNrOfTriesRestriction () | |
returns if the numbers of tries have to be checked | |
isNrOfTriesReached ($tries) | |
returns if number of tries are reached | |
getAllTestResults ($participants, $prepareForCSV=true) | |
returns all test results for all participants | |
& | processCSVRow ($row, $quoteAll=FALSE, $separator=";") |
Convertes an array for CSV usage. | |
_getPass ($active_id) | |
Retrieves the actual pass of a given user for a given test. | |
_getMaxPass ($active_id) | |
Retrieves the maximum pass of a given user for a given test. | |
_getBestPass ($active_id) | |
Retrieves the best pass of a given user for a given test. | |
_getResultPass ($active_id) | |
Retrieves the pass number that should be counted for a given user. | |
getAnsweredQuestionCount ($active_id, $pass=NULL) | |
Retrieves the number of answered questions for a given user in a given test. | |
getPassFinishDate ($active_id, $pass) | |
Retrieves the number of answered questions for a given user in a given test. | |
isExecutable ($user_id, $allowPassIncrease=FALSE) | |
Checks if the test is executable by the given user. | |
canViewResults () | |
Returns true, if the test results can be viewed. | |
canShowTestResults ($user_id) | |
canEditMarks () | |
getStartingTimeOfUser ($active_id) | |
Returns the unix timestamp of the time a user started a test. | |
isMaxProcessingTimeReached ($starting_time) | |
Returns wheather the maximum processing time for a test is reached or not. | |
& | getTestQuestions () |
getShuffleQuestions () | |
Returns the status of the shuffle_questions variable. | |
setShuffleQuestions ($a_shuffle) | |
Sets the status of the shuffle_questions variable. | |
getListOfQuestionsSettings () | |
Returns the settings for the list of questions options in the test properties. | |
setListOfQuestionsSettings ($a_value=0) | |
Sets the settings for the list of questions options in the test properties. | |
getListOfQuestions () | |
Returns if the list of questions should be presented to the user or not. | |
setListOfQuestions ($a_value=TRUE) | |
Sets if the the list of questions should be presented to the user or not. | |
getListOfQuestionsStart () | |
Returns if the list of questions should be presented as the first page of the test. | |
setListOfQuestionsStart ($a_value=TRUE) | |
Sets if the the list of questions as the start page of the test. | |
getListOfQuestionsEnd () | |
Returns if the list of questions should be presented as the last page of the test. | |
setListOfQuestionsEnd ($a_value=TRUE) | |
Sets if the the list of questions as the end page of the test. | |
getListOfQuestionsDescription () | |
Returns TRUE if the list of questions should be presented with the question descriptions. | |
setListOfQuestionsDescription ($a_value=TRUE) | |
Sets the show_summary attribute to TRUE if the list of questions should be presented with the question descriptions. | |
getResultsPresentation () | |
Returns the combined results presentation value. | |
getShowPassDetails () | |
Returns if the pass details should be shown when a test is not finished. | |
getShowSolutionDetails () | |
Returns if the solution details should be presented to the user or not. | |
getShowSolutionPrintview () | |
Returns if the solution printview should be presented to the user or not. | |
getShowSolutionFeedback () | |
Returns if the feedback should be presented to the solution or not. | |
getShowSolutionAnswersOnly () | |
Returns if the full solution (including ILIAS content) should be presented to the solution or not. | |
getShowSolutionSignature () | |
Returns if the signature field should be shown in the test results. | |
setResultsPresentation ($a_results_presentation=3) | |
Sets the combined results presentation value. | |
setShowPassDetails ($a_details=1) | |
Sets if the pass details should be shown when a test is not finished. | |
setShowSolutionDetails ($a_details=1) | |
Sets if the the solution details should be presented to the user or not. | |
canShowSolutionPrintview ($user_id=NULL) | |
Calculates if a user may see the solution printview of his/her test results. | |
setShowSolutionPrintview ($a_printview=1) | |
Sets if the the solution printview should be presented to the user or not. | |
setShowSolutionFeedback ($a_feedback=TRUE) | |
Sets if the the feedback should be presented to the user in the solution or not. | |
setShowSolutionAnswersOnly ($a_full=TRUE) | |
Set to true, if the full solution (including the ILIAS content pages) should be shown in the solution output. | |
setShowSolutionSignature ($a_signature=FALSE) | |
Set to TRUE, if the signature field should be shown in the solution. | |
createNewAccessCode () | |
Returns a new, unused test access code. | |
isAccessCodeUsed ($code) | |
_getUserIdFromActiveId ($active_id) | |
getAccessCodeSession () | |
setAccessCodeSession ($access_code) | |
unsetAccessCodeSession () | |
getAllowedUsers () | |
setAllowedUsers ($a_allowed_users) | |
getAllowedUsersTimeGap () | |
setAllowedUsersTimeGap ($a_allowed_users_time_gap) | |
checkMaximumAllowedUsers () | |
_getLastAccess ($active_id) | |
isHTML ($a_text) | |
Checks if a given string contains HTML or not. | |
QTIMaterialToString ($a_material) | |
Reads an QTI material tag an creates a text string. | |
addQTIMaterial (&$a_xml_writer, $a_material) | |
Creates a QTI material tag from a plain text or xhtml text. | |
prepareTextareaOutput ($txt_output, $prepare_for_latex_output=FALSE) | |
Prepares a string for a text area output in tests. | |
saveCertificateVisibility ($a_value) | |
Saves the visibility settings of the certificate. | |
getCertificateVisibility () | |
Returns the visibility settings of the certificate. | |
setCertificateVisibility ($a_value) | |
Sets the visibility settings of the certificate. | |
getAnonymity () | |
Returns the anonymity status of the test. | |
setAnonymity ($a_value=0) | |
Sets the anonymity status of the test. | |
getShowCancel () | |
Returns wheather the cancel test button is shown or not. | |
setShowCancel ($a_value=1) | |
Sets the cancel test button status. | |
getShowMarker () | |
Returns wheather the marker button is shown or not. | |
setShowMarker ($a_value=1) | |
Sets the marker button status. | |
getFixedParticipants () | |
Returns the fixed participants status. | |
setFixedParticipants ($a_value=1) | |
Sets the fixed participants status. | |
_lookupAnonymity ($a_obj_id) | |
Returns the anonymity status of a test with a given object id. | |
_lookupRandomTestFromActiveId ($active_id) | |
Returns the random status of a test with a given object id. | |
userLookupFullName ($user_id, $overwrite_anonymity=FALSE, $sorted_order=FALSE, $suffix="") | |
Returns the full name of a test user according to the anonymity status. | |
getStartTestLabel ($active_id) | |
Returns the "Start the Test" label for the Info page. | |
& | getAvailableDefaults ($sortby="name", $sortorder="asc") |
Returns the available test defaults for the active user. | |
& | getTestDefaults ($test_defaults_id) |
Returns the test defaults for a given id. | |
deleteDefaults ($test_default_id) | |
Deletes the defaults for a test. | |
addDefaults ($a_name) | |
Adds the defaults of this test to the test defaults. | |
applyDefaults ($test_defaults_id) | |
Applies given test defaults to this test. | |
processPrintoutput2FO ($print_output) | |
Convert a print output to XSL-FO. | |
deliverPDFfromFO ($fo, $title=null) | |
Delivers a PDF file from a XSL-FO string. | |
saveManualFeedback ($active_id, $question_id, $pass, $feedback) | |
Saves the manual feedback for a question in a test. | |
getJavaScriptOutput () | |
Returns if Javascript should be chosen for drag & drop actions for the active user. | |
& | createTestSession () |
Creates the test session data for the active user. | |
& | setTestSession ($active_id="") |
Sets the test session data for the active user. | |
& | getTestSession ($active_id="") |
Returns the test session data for the active user. | |
& | createTestSequence ($active_id, $pass, $shuffle) |
& | getTestSequence ($active_id="", $pass="") |
hideCorrectAnsweredQuestions () | |
getDetailedTestResults ($participants) | |
returns all test results for all participants | |
_lookupTestObjIdForQuestionId ($a_q_id) | |
Get test Object ID for question ID. | |
isPluginActive ($a_pname) | |
Checks wheather or not a question plugin with a given name is active. | |
setEvaluationAdditionalFields ($fields) | |
Sets additional user fields that should be shown in the user evaluation. | |
getEvaluationAdditionalFields () | |
Gets additional user fields that should be shown in the user evaluation. | |
canShowCertificate ($user_id, $active_id) | |
Checks wheather the certificate button could be shown on the info page or not. | |
getParticipantsForTestAndQuestion ($test_id, $question_id) | |
Creates an associated array with all active id's for a given test and original question id. | |
hasPDFProcessing () | |
Returns true if PDF processing is enabled, false otherwise. | |
getAggregatedResultsData () | |
Returns the aggregated test results. | |
Public Member Functions inherited from ilObject | |
ilObject ($a_id=0, $a_reference=true) | |
Constructor public. | |
withReferences () | |
determines wehter objects are referenced or not (got ref ids or not) | |
getId () | |
get object id public | |
setId ($a_id) | |
set object id public | |
setRefId ($a_id) | |
set reference id public | |
getRefId () | |
get reference id public | |
getType () | |
get object type public | |
setType ($a_type) | |
set object type public | |
getPresentationTitle () | |
get presentation title Normally same as title Overwritten for sessions | |
getTitle () | |
get object title public | |
getUntranslatedTitle () | |
get untranslated object title public | |
setTitle ($a_title) | |
set object title | |
getDescription () | |
get object description | |
setDescription ($a_desc) | |
set object description | |
getLongDescription () | |
get object long description (stored in object_description) | |
getImportId () | |
get import id | |
setImportId ($a_import_id) | |
set import id | |
_lookupObjIdByImportId ($a_import_id) | |
getOwner () | |
get object owner | |
getOwnerName () | |
_lookupOwnerName ($a_owner_id) | |
lookup owner name for owner id | |
setOwner ($a_owner) | |
set object owner | |
getCreateDate () | |
get create date public | |
getLastUpdateDate () | |
get last update date public | |
setObjDataRecord ($a_record) | |
set object_data record (note: this method should only be called from the ilObjectFactory class) | |
create () | |
create | |
MDUpdateListener ($a_element) | |
Meta data update listener. | |
updateMetaData () | |
update meta data entry | |
deleteMetaData () | |
delete meta data entry | |
updateOwner () | |
update owner of object in db | |
_getIdForImportId ($a_import_id) | |
get current object id for import id (static) | |
_getAllReferences ($a_id) | |
get all reference ids of object | |
_lookupTitle ($a_id) | |
lookup object title | |
_lookupDescription ($a_id) | |
lookup object description | |
_lookupLastUpdate ($a_id, $a_as_string=false) | |
lookup last update | |
_getLastUpdateOfObjects ($a_objs) | |
Get last update for a set of media objects. | |
_lookupObjId ($a_id) | |
_setDeletedDate ($a_ref_id) | |
only called in ilTree::saveSubTree | |
_resetDeletedDate ($a_ref_id) | |
only called in ilObjectGUI::insertSavedNodes | |
_writeTitle ($a_obj_id, $a_title) | |
write title to db (static) | |
_writeDescription ($a_obj_id, $a_desc) | |
write description to db (static) | |
_writeImportId ($a_obj_id, $a_import_id) | |
write import id to db (static) | |
_lookupType ($a_id, $a_reference=false) | |
lookup object type | |
_isInTrash ($a_ref_id) | |
checks wether object is in trash | |
_hasUntrashedReference ($a_obj_id) | |
checks wether an object has at least one reference that is not in trash | |
_lookupObjectId ($a_ref_id) | |
lookup object id | |
_getObjectsDataForType ($a_type, $a_omit_trash=false) | |
get all objects of a certain type | |
putInTree ($a_parent_ref) | |
maybe this method should be in tree object!? | |
setPermissions ($a_parent_ref) | |
set permissions of object | |
countReferences () | |
count references of object | |
createRoleFolder () | |
creates a local role folder | |
setRegisterMode ($a_bool) | |
isUserRegistered ($a_user_id=0) | |
requireRegistration () | |
getXMLZip () | |
getHTMLDirectory () | |
appendCopyInfo ($a_target_id, $a_copy_id) | |
Prepend Copy info if object with same name exists in that container. | |
cloneDependencies ($a_target_id, $a_copy_id) | |
Clone object dependencies. | |
cloneMetaData ($target_obj) | |
Copy meta data. |
Static Public Member Functions | |
static | getManualFeedback ($active_id, $question_id, $pass) |
Retrieves the manual feedback for a question in a test. | |
Static Public Member Functions inherited from ilObject | |
static | _getIdsForTitle ($title, $type= '') |
_exists ($a_id, $a_reference=false) | |
checks if an object exists in object_data | |
static | _getObjectsByType ($a_obj_type="") |
Get objects by type. | |
static | _prepareCloneSelection ($a_ref_ids, $new_type) |
Prepare copy wizard object selection. | |
static | _getIcon ($a_obj_id="", $a_size="big", $a_type="", $a_offline=false) |
Protected Attributes | |
$_kiosk |
Private Member Functions | |
getMembershipByType ($a_usr_id, $a_type) |
Private Attributes | |
$_showfinalstatement | |
$_finalstatement | |
$_showinfo | |
$_forcejs | |
$_customStyle |
Definition at line 37 of file class.ilObjTest.php.
ilObjTest::_buildName | ( | $is_anonymous, | |
$user_id, | |||
$firstname, | |||
$lastname, | |||
$title | |||
) |
Builds a user name for the output.
Builds a user name for the output depending on test type and existence of the user
boolean | $is_anonymous | Indicates if it is an anonymized test or not |
int | $user_id | The database ID of the user |
string | $firstname | The first name of the user |
string | $lastname | The last name of the user |
string | $title | The title of the user |
Definition at line 5329 of file class.ilObjTest.php.
References ilObject\$lng, and ilObject\$title.
ilObjTest::_createImportDirectory | ( | ) |
creates data directory for import files (data_dir/tst_data/tst_<id>/import, depending on data directory that is set in ILIAS setup/ini)
Definition at line 914 of file class.ilObjTest.php.
References ilObject\$ilias, ilUtil\getDataDir(), and ilUtil\makeDir().
Referenced by ilObjTestGUI\uploadTstObject().
& ilObjTest::_evalResultsOverview | ( | $test_id | ) |
Creates an associated array with the results of all participants of a test.
Creates an associated array with the results of all participants of a test
Definition at line 5183 of file class.ilObjTest.php.
References $result, and $test_id.
Referenced by evalResultsOverview().
ilObjTest::_getActiveIdOfUser | ( | $user_id = "" , |
|
$test_id = "" |
|||
) |
Gets the active id of the tst_active table for the active user.
Gets the active id of the tst_active table for the active user
integer | $user_id | The database id of the user |
integer | $test_id | The database id of the test |
Definition at line 4195 of file class.ilObjTest.php.
References $result, and $test_id.
Referenced by ilSoapTestAdministration\saveQuestionResult().
& ilObjTest::_getArrayData | ( | $query, | |
$id_field | |||
) |
Definition at line 7595 of file class.ilObjTest.php.
References $result.
Referenced by _getSolvedQuestions(), and getArrayData().
& ilObjTest::_getAvailableTests | ( | $use_object_id = FALSE | ) |
Returns the available tests for the active user.
Returns the available tests for the active user
Definition at line 6931 of file class.ilObjTest.php.
References $result, $tests, ilUtil\_getObjectsByOperations(), and ilObject\_prepareCloneSelection().
Referenced by ilObjAssessmentFolderGUI\logAdminObject(), and ilObjAssessmentFolderGUI\logsObject().
ilObjTest::_getBestPass | ( | $active_id | ) |
Retrieves the best pass of a given user for a given test.
Retrieves the best pass of a given user for a given test
integer | $user_id | The user id |
integer | $test_id | The test id |
Definition at line 8019 of file class.ilObjTest.php.
References $result.
Referenced by _getResultPass().
& ilObjTest::_getCompleteWorkingTimeOfParticipants | ( | $test_id | ) |
Returns the complete working time in seconds for all test participants.
Returns the complete working time in seconds for all test participants
integer | $test_id | The database ID of the test |
Definition at line 4449 of file class.ilObjTest.php.
References $result, and $test_id.
Referenced by getCompleteWorkingTimeOfParticipants().
ilObjTest::_getCountSystem | ( | $active_id | ) |
Gets the count system for the calculation of points.
Gets the count system for the calculation of points
Definition at line 2669 of file class.ilObjTest.php.
References $result.
Referenced by assQuestion\calculateReachedPoints().
ilObjTest::_getECTSGrade | ( | $points_passed, | |
$reached_points, | |||
$max_points, | |||
$a, | |||
$b, | |||
$c, | |||
$d, | |||
$e, | |||
$fx | |||
) |
Returns the ECTS grade for a number of reached points.
Returns the ECTS grade for a number of reached points
double | $reached_points | The points reached in the test |
double | $max_points | The maximum number of points for the test |
Definition at line 6722 of file class.ilObjTest.php.
References $d.
Referenced by getECTSGrade().
ilObjTest::_getImportDirectory | ( | ) |
Get the import directory location of the test.
Get the import directory location of the test
Definition at line 945 of file class.ilObjTest.php.
References ilUtil\getDataDir().
Referenced by assFlashQuestionImport\fromXML(), assTextSubsetImport\fromXML(), assClozeTestImport\fromXML(), assSingleChoiceImport\fromXML(), assOrderingQuestionImport\fromXML(), assMultipleChoiceImport\fromXML(), assNumericImport\fromXML(), assMatchingQuestionImport\fromXML(), assTextQuestionImport\fromXML(), assImagemapQuestionImport\fromXML(), assJavaAppletImport\fromXML(), ilObjTestGUI\importVerifiedFileObject(), and ilObjTestGUI\uploadTstObject().
ilObjTest::_getLastAccess | ( | $active_id | ) |
Definition at line 9058 of file class.ilObjTest.php.
References $result.
ilObjTest::_getMaxPass | ( | $active_id | ) |
Retrieves the maximum pass of a given user for a given test.
Retrieves the maximum pass of a given user for a given test in which the user answered at least one question
integer | $user_id | The user id |
integer | $test_id | The test id |
Definition at line 7990 of file class.ilObjTest.php.
References $result.
Referenced by _getResultPass().
ilObjTest::_getMCScoring | ( | $active_id | ) |
Gets the scoring type for multiple choice questions.
Gets the scoring type for multiple choice questions
Definition at line 2773 of file class.ilObjTest.php.
References $result.
Referenced by assMultipleChoice\calculateReachedPoints().
ilObjTest::_getObjectIDFromActiveID | ( | $active_id | ) |
Returns the ILIAS test object id for a given active id.
Returns the ILIAS test object id for a given active id
integer | $active_id | The active id |
Definition at line 7327 of file class.ilObjTest.php.
References $result.
Referenced by assQuestion\_logAction(), and assQuestion\logAction().
ilObjTest::_getObjectIDFromTestID | ( | $test_id | ) |
Returns the ILIAS test object id for a given test id.
Returns the ILIAS test object id for a given test id
integer | $test_id | The test id |
Definition at line 7302 of file class.ilObjTest.php.
References $result, and $test_id.
Referenced by assJavaAppletGUI\getSolutionOutput(), assJavaAppletGUI\getTestOutput(), and ASS_MarkSchema\logAction().
ilObjTest::_getPass | ( | $active_id | ) |
Retrieves the actual pass of a given user for a given test.
Retrieves the actual pass of a given user for a given test
integer | $user_id | The user id |
integer | $test_id | The test id |
Definition at line 7961 of file class.ilObjTest.php.
References $result.
Referenced by getAllQuestions(), assJavaAppletGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), getStartingTimeOfUser(), getStartTestLabel(), assTextQuestionGUI\getTestOutput(), assNumericGUI\getTestOutput(), assTextSubsetGUI\getTestOutput(), assJavaAppletGUI\getTestOutput(), assOrderingQuestionGUI\getTestOutput(), assSingleChoiceGUI\getTestOutput(), assMultipleChoiceGUI\getTestOutput(), assMatchingQuestionGUI\getTestOutput(), assImagemapQuestionGUI\getTestOutput(), assClozeTestGUI\getTestOutput(), isExecutable(), loadQuestions(), assImagemapQuestionGUI\outQuestionForTest(), assQuestionTypeTemplate\saveWorkingData(), assTextQuestion\saveWorkingData(), assNumeric\saveWorkingData(), assSingleChoice\saveWorkingData(), assMultipleChoice\saveWorkingData(), assTextSubset\saveWorkingData(), assImagemapQuestion\saveWorkingData(), assOrderingQuestion\saveWorkingData(), assQuestion\saveWorkingData(), assMatchingQuestion\saveWorkingData(), and assClozeTest\saveWorkingData().
ilObjTest::_getPassScoring | ( | $active_id | ) |
Gets the pass scoring type.
Gets the pass scoring type
Definition at line 2749 of file class.ilObjTest.php.
References $result.
Referenced by _getResultPass().
ilObjTest::_getQuestionCount | ( | $test_id | ) |
Returns the number of questions in the test for a given user.
Returns the number of questions in the test for a given user
Definition at line 7156 of file class.ilObjTest.php.
References $data, $result, $test, and $test_id.
Referenced by saveRandomQuestionpools().
ilObjTest::_getQuestionCountAndPointsForPassOfParticipant | ( | $active_id, | |
$pass | |||
) |
Definition at line 5112 of file class.ilObjTest.php.
References $pass, $result, _lookupRandomTestFromActiveId(), and DB_FETCHMODE_ASSOC.
Referenced by assQuestion\_updateTestPassResults(), and ilTestEvaluationData\generateOverview().
ilObjTest::_getRefIdFromObjId | ( | $obj_id | ) |
Definition at line 7089 of file class.ilObjTest.php.
References $result.
ilObjTest::_getResultPass | ( | $active_id | ) |
Retrieves the pass number that should be counted for a given user.
Retrieves the pass number that should be counted for a given user
integer | $user_id | The user id |
integer | $test_id | The test id |
Definition at line 8064 of file class.ilObjTest.php.
References _getBestPass(), _getMaxPass(), _getPassScoring(), and SCORE_BEST_PASS.
Referenced by canShowCertificate(), evalStatistical(), getTestResult(), ilTestCertificateGUI\outCertificate(), and ilTestEvaluationGUI\outParticipantsResultsOverview().
ilObjTest::_getScoreCutting | ( | $active_id | ) |
Determines if the score of a question should be cut at 0 points or the score of the whole test.
Determines if the score of a question should be cut at 0 points or the score of the whole test
Definition at line 2797 of file class.ilObjTest.php.
References $result.
Referenced by assQuestion\calculateReachedPoints().
ilObjTest::_getSolvedQuestions | ( | $active_id, | |
$question_fi = null |
|||
) |
get solved questions
Definition at line 7733 of file class.ilObjTest.php.
References _getArrayData().
Referenced by ilTestSequence\getSequenceSummary(), ilTestOutputGUI\outQuestionSummary(), and ilTestOutputGUI\outWorkingForm().
ilObjTest::_getTestIDFromObjectID | ( | $object_id | ) |
Returns the ILIAS test id for a given object id.
Returns the ILIAS test id for a given object id
integer | $object_id | The object id |
Definition at line 7352 of file class.ilObjTest.php.
ilObjTest::_getTitleOutput | ( | $active_id | ) |
Returns the value of the title_output status.
Returns the value of the title_output status
integer | $active_id | The active id of a user |
Definition at line 3040 of file class.ilObjTest.php.
References $result.
Referenced by assQuestionGUI\outQuestionPage().
ilObjTest::_getUsePreviousAnswers | ( | $active_id, | |
$user_active_user_setting = false |
|||
) |
Returns if the previous results should be hidden for a learner.
Returns if the previous results should be hidden for a learner
integer | $test_id | The test id |
boolean | $use_active_user_setting | If true, the tst_use_previous_answers- of the active user should be used as well |
Definition at line 3067 of file class.ilObjTest.php.
References $res, $result, and $use_previous_answers.
Referenced by assImagemapQuestionGUI\getSolutionOutput(), assTextQuestionGUI\getTestOutput(), assNumericGUI\getTestOutput(), assTextSubsetGUI\getTestOutput(), assJavaAppletGUI\getTestOutput(), assOrderingQuestionGUI\getTestOutput(), assSingleChoiceGUI\getTestOutput(), assMultipleChoiceGUI\getTestOutput(), assMatchingQuestionGUI\getTestOutput(), assImagemapQuestionGUI\getTestOutput(), assClozeTestGUI\getTestOutput(), and assImagemapQuestionGUI\outQuestionForTest().
ilObjTest::_getUserIdFromActiveId | ( | $active_id | ) |
Definition at line 8958 of file class.ilObjTest.php.
References $result.
Referenced by assQuestion\_setReachedPoints(), removeSelectedTestResults(), and removeTestResultsForUser().
ilObjTest::_getVisitTimeOfParticipant | ( | $test_id, | |
$active_id | |||
) |
Returns the first and last visit of a participant.
Returns the first and last visit of a participant
integer | $test_id | The database ID of the test |
integer | $active_id | The active ID of the participant |
Definition at line 4556 of file class.ilObjTest.php.
References $result, and $test_id.
Referenced by getVisitTimeOfParticipant().
ilObjTest::_getWorkingTimeOfParticipantForPass | ( | $active_id, | |
$pass | |||
) |
Returns the complete working time in seconds for a test participant.
Returns the complete working time in seconds for a test participant
Definition at line 4511 of file class.ilObjTest.php.
References $pass, and $result.
Referenced by assQuestion\_updateTestPassResults().
& ilObjTest::_instanciateQuestion | ( | $question_id | ) |
Creates an instance of a question with a given question id.
Creates an instance of a question with a given question id
integer | $question_id | The question id |
Definition at line 5646 of file class.ilObjTest.php.
Referenced by ilCourseObjectiveQuestion\__read(), cloneObject(), ilObjQuestionPool\deleteQuestion(), duplicateQuestionForTest(), getAllTestResults(), getDetailedTestResults(), getEstimatedWorkingTime(), ilCourseObjectiveQuestion\getMaxPointsByObjective(), ilCourseObjectiveQuestion\getMaxPointsByTest(), ilTestSequence\getSequenceSummary(), ilCourseObjectiveQuestionAssignmentTableGUI\parse(), removeQuestion(), and toXML().
ilObjTest::_isComplete | ( | $obj_id | ) |
Returns true, if a test is complete for use.
Returns true, if a test is complete for use
Definition at line 1131 of file class.ilObjTest.php.
References $test, and ilObjTest().
ilObjTest::_lookupAnonymity | ( | $a_obj_id | ) |
Returns the anonymity status of a test with a given object id.
Returns the anonymity status of a test with a given object id
int | $a_obj_id | The object id of the test object |
Definition at line 9371 of file class.ilObjTest.php.
References $res.
Referenced by ilLPListOfSettingsGUI\__checkItemAnonymized(), ilLPCollections\__read(), ilLPTestListGUI\__readAnonymized(), ilLPCollections\_getItems(), ilObjTestAccess\_getParticipantData(), assJavaAppletGUI\getSolutionOutput(), assJavaAppletGUI\getTestOutput(), ilLearningProgressBaseGUI\isObjectAnonymized(), and ilLPFilter\searchFilterListener().
ilObjTest::_lookupAuthor | ( | $obj_id | ) |
Gets the authors name.
Gets the authors name of the ilObjTest object
Definition at line 6897 of file class.ilObjTest.php.
References $author, and ilObject\$id.
Referenced by assQuestion\getInstances().
ilObjTest::_lookupRandomTestFromActiveId | ( | $active_id | ) |
Returns the random status of a test with a given object id.
Returns the random status of a test with a given object id
int | $a_obj_id | The object id of the test object |
Definition at line 9394 of file class.ilObjTest.php.
References $res.
Referenced by _getQuestionCountAndPointsForPassOfParticipant().
ilObjTest::_lookupTestObjIdForQuestionId | ( | $a_q_id | ) |
Get test Object ID for question ID.
Definition at line 9981 of file class.ilObjTest.php.
References DB_FETCHMODE_ASSOC.
Referenced by ilObjMediaObject\getParentObjectIdForUsage().
ilObjTest::addDefaults | ( | $a_name | ) |
Adds the defaults of this test to the test defaults.
Adds the defaults of this test to the test defaults
string | $a_name | The name of the test defaults public |
Definition at line 9555 of file class.ilObjTest.php.
References $result, getAnonymity(), getAnswerFeedback(), getAnswerFeedbackPoints(), getCountSystem(), getCustomStyle(), getECTSFX(), getECTSGrades(), getECTSOutput(), getEnableProcessingTime(), getEndingTime(), getFinalStatement(), getForceJS(), getInstantFeedbackSolution(), getIntroduction(), getKiosk(), getListOfQuestionsSettings(), getMCScoring(), getNrOfTries(), getPassScoring(), getProcessingTime(), getRandomQuestionCount(), getReportingDate(), getResetProcessingTime(), getResultsPresentation(), getScoreReporting(), getSequenceSettings(), getShowCancel(), getShowFinalStatement(), getShowInfo(), getShowMarker(), getStartingTime(), getTitleOutput(), getUsePreviousAnswers(), and isRandomTest().
ilObjTest::addQTIMaterial | ( | & | $a_xml_writer, |
$a_material | |||
) |
Creates a QTI material tag from a plain text or xhtml text.
object | $a_xml_writer | Reference to the ILIAS XML writer |
string | $a_material | plain text or html text containing the material |
Definition at line 9134 of file class.ilObjTest.php.
References $mobs, ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilRTE\_replaceMediaObjectImageSrc(), ilObject\getId(), and isHTML().
Referenced by toXML().
ilObjTest::applyDefaults | ( | $test_defaults_id | ) |
Applies given test defaults to this test.
Applies given test defaults to this test
integer | $test_defaults_id | The database id of the test defaults |
Definition at line 9613 of file class.ilObjTest.php.
References $result, $total, evalTotalPersons(), getQuestionCount(), getTestDefaults(), saveToDb(), setAnonymity(), setAnswerFeedback(), setAnswerFeedbackPoints(), setCountSystem(), setCustomStyle(), setECTSFX(), setECTSGrades(), setECTSOutput(), setEnableProcessingTime(), setEndingTime(), setFinalStatement(), setForceJS(), setInstantFeedbackSolution(), setIntroduction(), setKiosk(), setListOfQuestionsSettings(), setMCScoring(), setNrOfTries(), setPassScoring(), setProcessingTime(), setRandomQuestionCount(), setRandomTest(), setReportingDate(), setResetProcessingTime(), setResultsPresentation(), setScoreReporting(), setSequenceSettings(), setShowCancel(), setShowFinalStatement(), setShowInfo(), setShowMarker(), setStartingTime(), setTitleOutput(), and setUsePreviousAnswers().
ilObjTest::buildName | ( | $user_id, | |
$firstname, | |||
$lastname, | |||
$title | |||
) |
Builds a user name for the output.
Builds a user name for the output depending on test type and existence of the user
int | $user_id | The database ID of the user |
string | $firstname | The first name of the user |
string | $lastname | The last name of the user |
string | $title | The title of the user |
Definition at line 5290 of file class.ilObjTest.php.
References ilObject\$title, and getAnonymity().
ilObjTest::canEditMarks | ( | ) |
Definition at line 8269 of file class.ilObjTest.php.
References $total, evalTotalPersons(), and getReportingDate().
ilObjTest::canShowCertificate | ( | $user_id, | |
$active_id | |||
) |
Checks wheather the certificate button could be shown on the info page or not.
Checks wheather the certificate button could be shown on the info page or not
public
Definition at line 10042 of file class.ilObjTest.php.
References _getResultPass(), canShowTestResults(), getCertificateVisibility(), and getTestResult().
ilObjTest::canShowSolutionPrintview | ( | $user_id = NULL | ) |
Calculates if a user may see the solution printview of his/her test results.
Calculates if a user may see the solution printview of his/her test results
Definition at line 8818 of file class.ilObjTest.php.
References getShowSolutionPrintview().
ilObjTest::canShowTestResults | ( | $user_id | ) |
Definition at line 8244 of file class.ilObjTest.php.
References $result, $starting_time, canViewResults(), endingTimeReached(), getActiveIdOfUser(), getScoreReporting(), getStartingTimeOfUser(), getTestSession(), isMaxProcessingTimeReached(), isTestFinishedToViewResults(), and REPORT_AFTER_TEST.
Referenced by canShowCertificate().
ilObjTest::canViewResults | ( | ) |
Returns true, if the test results can be viewed.
Returns true, if the test results can be viewed
Definition at line 8226 of file class.ilObjTest.php.
References $result, and getReportingDate().
Referenced by canShowTestResults().
ilObjTest::checkMarks | ( | ) |
Definition at line 6782 of file class.ilObjTest.php.
ilObjTest::checkMaximumAllowedUsers | ( | ) |
Definition at line 9025 of file class.ilObjTest.php.
References $result, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), getAllowedUsers(), getAllowedUsersTimeGap(), getTestId(), and logAction().
ilObjTest::cleanupMediaobjectUsage | ( | ) |
Cleans up the media objects for all text fields in a test which are using an RTE field.
Cleans up the media objects for all text fields in a test which are using an RTE field
private
Definition at line 1222 of file class.ilObjTest.php.
References ilRTE\_cleanupMediaObjectUsage(), getAllRTEContent(), ilObject\getId(), and ilObject\getType().
Referenced by saveToDb().
ilObjTest::cloneObject | ( | $a_target_id, | |
$a_copy_id = 0 |
|||
) |
Clone object.
public
int | ref id of parent container |
int | copy id |
Reimplemented from ilObject.
Definition at line 7002 of file class.ilObjTest.php.
References $ilLog, $mark_schema, ilCopyWizardOptions\_getInstance(), assQuestion\_getOriginalId(), _instanciateQuestion(), ilObject\cloneMetaData(), cloneRandomQuestions(), getAnonymity(), getAnswerFeedback(), getAnswerFeedbackPoints(), getAuthor(), getCertificateVisibility(), getCountSystem(), getCustomStyle(), getECTSFX(), getECTSGrades(), getECTSOutput(), getEnableProcessingTime(), getEndingTime(), getFinalStatement(), getFixedParticipants(), getForceJS(), getInstantFeedbackSolution(), getIntroduction(), getListOfQuestionsSettings(), getMCScoring(), getNrOfTries(), getPassScoring(), getPassword(), getProcessingTime(), getRandomQuestionCount(), ilObject\getRefId(), getReportingDate(), getResetProcessingTime(), getResultsPresentation(), getScoreCutting(), getScoreReporting(), getSequenceSettings(), getShowCancel(), getShowFinalStatement(), getShowInfo(), getShowMarker(), getShuffleQuestions(), getStartingTime(), getTitleOutput(), getUsePreviousAnswers(), isRandomTest(), and loadFromDb().
ilObjTest::cloneRandomQuestions | ( | $new_id | ) |
Duplicates the source random questionpools for another test.
Duplicates the source random questionpools for another test
integer | $new_id | Test id of the new test which should take the random questionpools public |
Definition at line 6968 of file class.ilObjTest.php.
References $result.
Referenced by cloneObject().
ilObjTest::create | ( | $a_upload = false | ) |
create test object
Definition at line 542 of file class.ilObjTest.php.
References ilObject\create(), and createMetaData().
ilObjTest::createExportDirectory | ( | ) |
creates data directory for export files (data_dir/tst_data/tst_<id>/export, depending on data directory that is set in ILIAS setup/ini)
Definition at line 822 of file class.ilObjTest.php.
References ilUtil\getDataDir(), ilObject\getId(), and ilUtil\makeDir().
ilObjTest::createImportDirectory | ( | ) |
creates data directory for import files (data_dir/tst_data/tst_<id>/import, depending on data directory that is set in ILIAS setup/ini)
Definition at line 964 of file class.ilObjTest.php.
References ilObject\$ilias, ilUtil\getDataDir(), and ilUtil\makeDir().
ilObjTest::createMetaData | ( | ) |
Create meta data entry.
Create meta data entry
public
Reimplemented from ilObject.
Definition at line 6847 of file class.ilObjTest.php.
References saveAuthorToMetadata().
Referenced by create().
ilObjTest::createNewAccessCode | ( | ) |
Returns a new, unused test access code.
Definition at line 8920 of file class.ilObjTest.php.
References isAccessCodeUsed().
& ilObjTest::createQuestionGUI | ( | $question_type, | |
$question_id = -1 |
|||
) |
Creates a question GUI instance of a given question type.
Creates a question GUI instance of a given question type
integer | $question_type | The question type of the question |
integer | $question_id | The question id of the question, if available |
Definition at line 5620 of file class.ilObjTest.php.
References assQuestion\_includeClass(), and getQuestionType().
ilObjTest::createReference | ( | ) |
Creates a database reference id for the object.
Creates a database reference id for the object (saves the object to the database and creates a reference id in the database)
public
Reimplemented from ilObject.
Definition at line 580 of file class.ilObjTest.php.
References $result, and saveToDb().
& ilObjTest::createTestSequence | ( | $active_id, | |
$pass, | |||
$shuffle | |||
) |
Definition at line 9874 of file class.ilObjTest.php.
References $pass, getQuestionCount(), and isRandomTest().
& ilObjTest::createTestSession | ( | ) |
Creates the test session data for the active user.
Definition at line 9819 of file class.ilObjTest.php.
References $_SESSION, $testSession, and getTestId().
ilObjTest::delete | ( | ) |
delete object and all related data
public
Reimplemented from ilObject.
Definition at line 604 of file class.ilObjTest.php.
References ilObject\deleteMetaData(), and deleteTest().
ilObjTest::deleteDefaults | ( | $test_default_id | ) |
Deletes the defaults for a test.
Deletes the defaults for a test
integer | $test_default_id | The database ID of the test defaults public |
Definition at line 9538 of file class.ilObjTest.php.
References $result.
ilObjTest::deleteTest | ( | ) |
Deletes the test and all related objects, files and database entries.
Deletes the test and all related objects, files and database entries
public
Definition at line 628 of file class.ilObjTest.php.
References $mobs, $result, ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilUtil\delDir(), ilUtil\getDataDir(), ilObject\getId(), removeAllTestEditings(), and removeQuestion().
Referenced by delete().
ilObjTest::deliverPDFfromFO | ( | $fo, | |
$title = null |
|||
) |
Delivers a PDF file from a XSL-FO string.
string | $fo | The XSL-FO string public |
Definition at line 9710 of file class.ilObjTest.php.
References $filename, $result, ilObject\$title, ilUtil\deliverData(), ilUtil\getASCIIFilename(), ilObject\getTitle(), and ilUtil\ilTempnam().
ilObjTest::disinviteUser | ( | $user_id | ) |
Disinvites a user from a test.
Disinvites a user from a test
integer | $user_id | The database id of the disinvited user public |
Definition at line 7684 of file class.ilObjTest.php.
References $result.
ilObjTest::duplicateQuestionForTest | ( | $question_id | ) |
Takes a question and creates a copy of the question for use in the test.
Takes a question and creates a copy of the question for use in the test
integer | $question_id | The database id of the question |
Definition at line 3769 of file class.ilObjTest.php.
References _instanciateQuestion().
Referenced by insertQuestion(), and saveRandomQuestion().
ilObjTest::endingTimeReached | ( | ) |
Returns true if the ending time of a test is reached.
Returns true if the ending time of a test is reached An ending time is not available for self assessment tests
Definition at line 5740 of file class.ilObjTest.php.
References getEndingTime().
Referenced by canShowTestResults(), and isExecutable().
& ilObjTest::evalResultsOverview | ( | ) |
Creates an associated array with the results of all participants of a test.
Creates an associated array with the results of all participants of a test
Definition at line 5170 of file class.ilObjTest.php.
References _evalResultsOverview(), and getTestId().
& ilObjTest::evalResultsOverviewOfParticipant | ( | $active_id | ) |
Creates an associated array with the results for a given participant of a test.
Creates an associated array with the results for a given participant of a test
integer | $active_id | The active id of the participant |
Definition at line 5234 of file class.ilObjTest.php.
References $result.
& ilObjTest::evalStatistical | ( | $active_id | ) |
Returns the statistical evaluation of the test for a specified user.
Returns the statistical evaluation of the test for a specified user
Definition at line 4587 of file class.ilObjTest.php.
References $pass, $result, _getResultPass(), and getTestResult().
ilObjTest::evalTotalFinished | ( | ) |
Returns the number of total finished tests.
Returns the number of total finished tests
Definition at line 4874 of file class.ilObjTest.php.
References $result.
Referenced by getAggregatedResultsData().
& ilObjTest::evalTotalParticipantsArray | ( | $name_sort_order = "asc" | ) |
Returns all participants who started the test.
Returns all participants who started the test
Definition at line 4830 of file class.ilObjTest.php.
References $result, and getAnonymity().
Referenced by getTotalPointsPassedArray().
ilObjTest::evalTotalPersons | ( | ) |
Returns the number of persons who started the test.
Returns the number of persons who started the test
Definition at line 4386 of file class.ilObjTest.php.
References $result.
Referenced by applyDefaults(), canEditMarks(), and saveToDb().
& ilObjTest::evalTotalPersonsArray | ( | $name_sort_order = "asc" | ) |
Returns all persons who started the test.
Returns all persons who started the test
Definition at line 4786 of file class.ilObjTest.php.
References $result, and getAnonymity().
ilObjTest::evalTotalStartedAverageTime | ( | ) |
Returns the average processing time for all started tests.
Returns the average processing time for all started tests
Definition at line 5363 of file class.ilObjTest.php.
References $result.
Referenced by getAggregatedResultsData().
ilObjTest::exportFileItems | ( | $a_target_dir, | |
& | $expLog | ||
) |
export files of file itmes
Definition at line 6669 of file class.ilObjTest.php.
Referenced by exportPagesXML().
ilObjTest::exportPagesXML | ( | & | $a_xml_writer, |
$a_inst, | |||
$a_target_dir, | |||
& | $expLog | ||
) |
export pages of test to xml (see ilias_co.dtd)
object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 6507 of file class.ilObjTest.php.
References $ilBench, exportFileItems(), exportXMLMediaObjects(), exportXMLMetaData(), and exportXMLPageObjects().
ilObjTest::exportXMLMediaObjects | ( | & | $a_xml_writer, |
$a_inst, | |||
$a_target_dir, | |||
& | $expLog | ||
) |
export media objects to xml (see ilias_co.dtd)
object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 6648 of file class.ilObjTest.php.
References ilObjMediaObject\_exists().
Referenced by exportPagesXML().
ilObjTest::exportXMLMetaData | ( | & | $a_xml_writer | ) |
export content objects meta data to xml (see ilias_co.dtd)
object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 6551 of file class.ilObjTest.php.
References ilObject\getId(), and ilObject\getType().
Referenced by exportPagesXML().
ilObjTest::exportXMLPageObjects | ( | & | $a_xml_writer, |
$a_inst, | |||
& | $expLog | ||
) |
export page objects to xml (see ilias_co.dtd)
object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 6585 of file class.ilObjTest.php.
References $ilBench.
Referenced by exportPagesXML().
ilObjTest::fromXML | ( | & | $assessment | ) |
Creates a test from a QTI file.
Receives parameters from a QTI parser and creates a valid ILIAS test object
object | $assessment | The QTI assessment object public |
Definition at line 5939 of file class.ilObjTest.php.
References $_SESSION, $ilLog, $metadata, ilObject\$type, ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveTempFileAsMediaObject(), ilObjMediaObject\_saveUsage(), getFinalStatement(), ilObject\getId(), getImportDirectory(), getIntroduction(), QTIMaterialToString(), saveToDb(), setAllowedUsers(), setAllowedUsersTimeGap(), setAnonymity(), setAnswerFeedback(), setAnswerFeedbackPoints(), setAuthor(), setCountSystem(), setCustomStyle(), ilObject\setDescription(), setEndingTime(), setFinalStatement(), setFixedParticipants(), setForceJS(), setInstantFeedbackSolution(), setIntroduction(), setKiosk(), setListOfQuestionsSettings(), setMCScoring(), setNrOfTries(), setPassScoring(), setPassword(), setProcessingTime(), setRandomQuestionCount(), setRandomTest(), setReportingDate(), setResetProcessingTime(), setResultsPresentation(), setScoreCutting(), setScoreReporting(), setSequenceSettings(), setShowCancel(), setShowFinalStatement(), setShowInfo(), setShowMarker(), setShowSolutionDetails(), setShowSolutionFeedback(), setShowSolutionPrintview(), setShuffleQuestions(), setStartingTime(), ilObject\setTitle(), setTitleOutput(), and setUsePreviousAnswers().
ilObjTest::generateRandomQuestions | ( | $active_id, | |
$pass = NULL |
|||
) |
Generates new random questions for the active user.
Generates new random questions for the active user
private
Definition at line 1735 of file class.ilObjTest.php.
References $data, $ilErr, ilObject\$ilias, $pass, getNrOfResultsForPass(), getRandomQuestionCount(), getRandomQuestionpools(), getShuffleQuestions(), getTestId(), hasRandomQuestionsForPass(), randomSelectQuestions(), and saveRandomQuestion().
ilObjTest::getAccessCodeSession | ( | ) |
Definition at line 8976 of file class.ilObjTest.php.
References $_SESSION, ilObject\$id, and getTestId().
ilObjTest::getActiveIdOfUser | ( | $user_id = "" , |
|
$anonymous_id = "" |
|||
) |
Gets the active id of a given user.
Gets the active id of a given user
integer | $user_id | The database id of the user |
string | $anonymous_id | The anonymous id if the test is an anonymized test |
Definition at line 4140 of file class.ilObjTest.php.
References $_SESSION, $result, and getTestId().
Referenced by canShowTestResults(), getAllQuestions(), getExistingQuestions(), isExecutable(), loadQuestions(), removeTestResultsForUser(), and setQuestionSetSolved().
ilObjTest::getAggregatedResultsData | ( | ) |
Returns the aggregated test results.
public
Definition at line 10138 of file class.ilObjTest.php.
References $data, $results, evalTotalFinished(), evalTotalStartedAverageTime(), and getCompleteEvaluationData().
ilObjTest::getAllowedUsers | ( | ) |
Definition at line 9005 of file class.ilObjTest.php.
References $allowedUsers.
Referenced by checkMaximumAllowedUsers(), saveToDb(), and toXML().
ilObjTest::getAllowedUsersTimeGap | ( | ) |
Definition at line 9015 of file class.ilObjTest.php.
References $allowedUsersTimeGap.
Referenced by checkMaximumAllowedUsers(), saveToDb(), and toXML().
& ilObjTest::getAllQuestions | ( | $pass = NULL | ) |
Returns all questions of a test in test order.
Returns all questions of a test in test order
Definition at line 4097 of file class.ilObjTest.php.
References $pass, $result, _getPass(), getActiveIdOfUser(), isRandomTest(), and loadQuestions().
ilObjTest::getAllRTEContent | ( | ) |
Returns the content of all RTE enabled text areas in the test.
Returns the content of all RTE enabled text areas in the test
private
Definition at line 1207 of file class.ilObjTest.php.
References $result, getFinalStatement(), and getIntroduction().
Referenced by cleanupMediaobjectUsage().
ilObjTest::getAllTestResults | ( | $participants, | |
$prepareForCSV = true |
|||
) |
returns all test results for all participants
array | $partipants | array of user ids |
boolean | if true, the result will be prepared for csv output (see processCSVRow) |
Definition at line 7830 of file class.ilObjTest.php.
References $results, _instanciateQuestion(), getAnonymity(), getECTSGrade(), getTotalPointsPassedArray(), and processCSVRow().
ilObjTest::getAnonymity | ( | ) |
Returns the anonymity status of the test.
Returns the anonymity status of the test
Definition at line 9234 of file class.ilObjTest.php.
References $anonymity.
Referenced by addDefaults(), buildName(), cloneObject(), evalTotalParticipantsArray(), evalTotalPersonsArray(), getAllTestResults(), getDetailedTestResults(), getInvitedUsers(), getParticipants(), getTestParticipants(), getUserData(), saveToDb(), toXML(), and userLookupFullName().
ilObjTest::getAnsweredQuestionCount | ( | $active_id, | |
$pass = NULL |
|||
) |
Retrieves the number of answered questions for a given user in a given test.
Retrieves the number of answered questions for a given user in a given test
integer | $user_id | The user id |
integer | $test_id | The test id |
integer | $pass | The pass of the test (optional) |
Definition at line 8089 of file class.ilObjTest.php.
References $pass, assQuestion\_isWorkedThrough(), isRandomTest(), and loadQuestions().
ilObjTest::getAnswerFeedback | ( | ) |
Returns 1 if answer specific feedback is activated.
Returns 1 if answer specific feedback is activated
Definition at line 2627 of file class.ilObjTest.php.
References $answer_feedback.
Referenced by addDefaults(), cloneObject(), saveToDb(), and toXML().
ilObjTest::getAnswerFeedbackPoints | ( | ) |
Returns 1 if answer specific feedback as reached points is activated.
Returns 1 if answer specific feedback as reached points is activated
Definition at line 2641 of file class.ilObjTest.php.
References $answer_feedback_points.
Referenced by addDefaults(), cloneObject(), saveToDb(), and toXML().
& ilObjTest::getArrayData | ( | $query, | |
$id_field | |||
) |
Returns a data as id key list.
Returns a data as id key list
$query | |
$id_field | index for array |
Definition at line 7590 of file class.ilObjTest.php.
References _getArrayData().
Referenced by getGroupData(), getInvitedUsers(), getRoleData(), getTestParticipants(), and getUserData().
ilObjTest::getAuthor | ( | ) |
Gets the authors name.
Gets the authors name of the ilObjTest object
Definition at line 6862 of file class.ilObjTest.php.
References $author, ilObject\$id, ilObject\getId(), and ilObject\getType().
Referenced by cloneObject(), loadFromDb(), and toXML().
& ilObjTest::getAvailableDefaults | ( | $sortby = "name" , |
|
$sortorder = "asc" |
|||
) |
Returns the available test defaults for the active user.
Returns the available test defaults for the active user
string | $sortby | Sort field for the database query |
string | $sortorder | Sort order for the database query |
Definition at line 9485 of file class.ilObjTest.php.
References $result.
& ilObjTest::getAvailableQuestionpools | ( | $use_object_id = false , |
|
$equal_points = false , |
|||
$could_be_offline = false , |
|||
$show_path = FALSE , |
|||
$with_questioncount = FALSE , |
|||
$permission = "read" |
|||
) |
Returns the available question pools for the active user.
Returns the available question pools for the active user
Definition at line 5406 of file class.ilObjTest.php.
References ilObjQuestionPool\_getAvailableQuestionpools().
ilObjTest::getCertificateVisibility | ( | ) |
Returns the visibility settings of the certificate.
Returns the visibility settings of the certificate
Definition at line 9208 of file class.ilObjTest.php.
References $certificate_visibility.
Referenced by canShowCertificate(), cloneObject(), and saveToDb().
& ilObjTest::getCompleteEvaluationData | ( | $withStatistics = TRUE , |
|
$filterby = "" , |
|||
$filtertext = "" |
|||
) |
Definition at line 5148 of file class.ilObjTest.php.
References $data, and getUnfilteredEvaluationData().
Referenced by getAggregatedResultsData().
ilObjTest::getCompleteWorkingTime | ( | $user_id | ) |
Returns the complete working time in seconds a user worked on the test.
Returns the complete working time in seconds a user worked on the test
Definition at line 4406 of file class.ilObjTest.php.
References $result.
ilObjTest::getCompleteWorkingTimeOfParticipant | ( | $active_id | ) |
Returns the complete working time in seconds for a test participant.
Returns the complete working time in seconds for a test participant
Definition at line 4482 of file class.ilObjTest.php.
References $result.
& ilObjTest::getCompleteWorkingTimeOfParticipants | ( | ) |
Returns the complete working time in seconds for all test participants.
Returns the complete working time in seconds for all test participants
Definition at line 4435 of file class.ilObjTest.php.
References _getCompleteWorkingTimeOfParticipants(), and getTestId().
ilObjTest::getCountSystem | ( | ) |
Gets the count system for the calculation of points.
Gets the count system for the calculation of points
Definition at line 2655 of file class.ilObjTest.php.
References $count_system.
Referenced by addDefaults(), cloneObject(), and toXML().
ilObjTest::getCustomStyle | ( | ) |
Get the custom style.
Definition at line 2155 of file class.ilObjTest.php.
References $_customStyle.
Referenced by addDefaults(), cloneObject(), getTestStyleLocation(), saveToDb(), and toXML().
ilObjTest::getCustomStyles | ( | ) |
Return the available custom styles.
Definition at line 2167 of file class.ilObjTest.php.
References $filename, $results, ilUtil\getStyleSheetLocation(), and ilFileUtils\recursive_dirscan().
ilObjTest::getDetailedTestResults | ( | $participants | ) |
returns all test results for all participants
array | $partipants | array of user ids |
boolean | if true, the result will be prepared for csv output (see processCSVRow) |
Definition at line 9928 of file class.ilObjTest.php.
References $results, _instanciateQuestion(), and getAnonymity().
ilObjTest::getECTSFX | ( | ) |
Returns the ECTS FX grade.
Returns the ECTS FX grade
Definition at line 2382 of file class.ilObjTest.php.
References $ects_fx.
Referenced by addDefaults(), and cloneObject().
ilObjTest::getECTSGrade | ( | $passed_array, | |
$reached_points, | |||
$max_points | |||
) |
Returns the ECTS grade for a number of reached points.
array | $passed_array | An array with the points of all users who passed the test |
double | $reached_points | The points reached in the test |
double | $max_points | The maximum number of points for the test |
Definition at line 6707 of file class.ilObjTest.php.
References _getECTSGrade().
Referenced by getAllTestResults(), and getUnfilteredEvaluationData().
& ilObjTest::getECTSGrades | ( | ) |
Returns the ECTS grades.
Returns the ECTS grades
Definition at line 2410 of file class.ilObjTest.php.
References $ects_grades.
Referenced by addDefaults(), and cloneObject().
ilObjTest::getECTSOutput | ( | ) |
Indicates if ECTS grades output is presented in this test.
Indicates if ECTS grades output is presented in this test
Definition at line 2354 of file class.ilObjTest.php.
References $ects_output.
Referenced by addDefaults(), and cloneObject().
ilObjTest::getEnableProcessingTime | ( | ) |
Returns the state of the processing time (enabled/disabled)
Returns the state of the processing time (enabled/disabled)
Definition at line 3165 of file class.ilObjTest.php.
References $enable_processing_time.
Referenced by addDefaults(), cloneObject(), isExecutable(), and isMaxProcessingTimeReached().
ilObjTest::getEndingTime | ( | ) |
Returns the ending time of the test.
Returns the ending time of the test
Definition at line 3207 of file class.ilObjTest.php.
References $ending_time.
Referenced by addDefaults(), cloneObject(), endingTimeReached(), getSecondsUntilEndingTime(), isExecutable(), and toXML().
ilObjTest::getEstimatedWorkingTime | ( | ) |
Returns the estimated working time for the test calculated from the working time of the contained questions.
Returns the estimated working time for the test calculated from the working time of the contained questions
Definition at line 5420 of file class.ilObjTest.php.
References $result, and _instanciateQuestion().
ilObjTest::getEvaluationAdditionalFields | ( | ) |
Gets additional user fields that should be shown in the user evaluation.
Definition at line 10026 of file class.ilObjTest.php.
References ilObject\getId().
& ilObjTest::getExistingQuestions | ( | $pass = NULL | ) |
Get the id's of the questions which are already part of the test.
Get the id's of the questions which are already part of the test
Definition at line 3935 of file class.ilObjTest.php.
References $data, $pass, $result, getActiveIdOfUser(), and isRandomTest().
ilObjTest::getExportDirectory | ( | ) |
Get the location of the export directory for the test.
Get the location of the export directory for the test
public
Definition at line 856 of file class.ilObjTest.php.
References ilUtil\getDataDir().
ilObjTest::getExportFiles | ( | $dir | ) |
Get a list of the already exported files in the export directory.
Get a list of the already exported files in the export directory
Definition at line 871 of file class.ilObjTest.php.
ilObjTest::getFinalStatement | ( | ) |
Gets the final statement.
Definition at line 2290 of file class.ilObjTest.php.
References $_finalstatement.
Referenced by addDefaults(), cloneObject(), fromXML(), getAllRTEContent(), saveToDb(), and toXML().
ilObjTest::getFixedParticipants | ( | ) |
Returns the fixed participants status.
Returns the fixed participants status
Definition at line 9336 of file class.ilObjTest.php.
References $fixed_participants.
Referenced by cloneObject(), saveToDb(), and toXML().
ilObjTest::getForceJS | ( | ) |
Gets whether JavaScript should be forced for tests.
Definition at line 2314 of file class.ilObjTest.php.
References $_forcejs.
Referenced by addDefaults(), cloneObject(), getJavaScriptOutput(), saveToDb(), and toXML().
& ilObjTest::getGroupData | ( | $ids | ) |
Definition at line 7606 of file class.ilObjTest.php.
References getArrayData().
ilObjTest::getImagePath | ( | ) |
Returns the image path for web accessable images of a test.
Returns the image path for web accessable images of a test The image path is under the CLIENT_WEB_DIR in assessment/REFERENCE_ID_OF_TEST/images
public
Definition at line 5590 of file class.ilObjTest.php.
References ilObject\getId().
Referenced by getQuestionsTable().
ilObjTest::getImagePathWeb | ( | ) |
Returns the web image path for web accessable images of a test.
Returns the web image path for web accessable images of a test The image path is under the web accessable data dir in assessment/REFERENCE_ID_OF_TEST/images
public
Definition at line 5603 of file class.ilObjTest.php.
References ilObject\getId(), ILIAS_ABSOLUTE_PATH, and ilUtil\removeTrailingPathSeparators().
ilObjTest::getImportDirectory | ( | ) |
Get the import directory location of the test.
Get the import directory location of the test
Definition at line 993 of file class.ilObjTest.php.
References ilUtil\getDataDir().
Referenced by fromXML().
ilObjTest::getImportMapping | ( | ) |
get array of (two) new created questions for import id
Definition at line 6686 of file class.ilObjTest.php.
ilObjTest::getInstantFeedbackSolution | ( | ) |
Returns 1 if the correct solution will be shown after answering a question.
Returns 1 if the correct solution will be shown after answering a question
Definition at line 2613 of file class.ilObjTest.php.
References $instant_verification.
Referenced by addDefaults(), cloneObject(), saveToDb(), and toXML().
ilObjTest::getIntroduction | ( | ) |
Gets the introduction.
Gets the introduction text of the ilObjTest object
Definition at line 2278 of file class.ilObjTest.php.
References $introduction.
Referenced by addDefaults(), cloneObject(), fromXML(), getAllRTEContent(), and toXML().
& ilObjTest::getInvitedUsers | ( | $user_id = "" , |
|
$order = "login, lastname, firstname" |
|||
) |
Returns a list of all invited users in a test.
Returns a list of all invited users in a test
Definition at line 7442 of file class.ilObjTest.php.
References getAnonymity(), and getArrayData().
ilObjTest::getJavaScriptOutput | ( | ) |
Returns if Javascript should be chosen for drag & drop actions for the active user.
Definition at line 9804 of file class.ilObjTest.php.
References $_GET, and getForceJS().
ilObjTest::getKiosk | ( | ) |
Returns the kiosk mode.
Returns the kiosk mode
Definition at line 2849 of file class.ilObjTest.php.
References $_kiosk.
Referenced by addDefaults(), saveToDb(), and toXML().
ilObjTest::getKioskMode | ( | ) |
Returns the kiosk mode.
Returns the kiosk mode
Definition at line 2878 of file class.ilObjTest.php.
Referenced by setKioskMode().
ilObjTest::getListOfQuestions | ( | ) |
Returns if the list of questions should be presented to the user or not.
Returns if the list of questions should be presented to the user or not
Definition at line 8457 of file class.ilObjTest.php.
Referenced by setListOfQuestionsDescription(), setListOfQuestionsEnd(), and setListOfQuestionsStart().
ilObjTest::getListOfQuestionsDescription | ( | ) |
Returns TRUE if the list of questions should be presented with the question descriptions.
Returns TRUE if the list of questions should be presented with the question descriptions
Definition at line 8583 of file class.ilObjTest.php.
Referenced by setListOfQuestionsDescription().
ilObjTest::getListOfQuestionsEnd | ( | ) |
Returns if the list of questions should be presented as the last page of the test.
Returns if the list of questions should be presented as the last page of the test
Definition at line 8540 of file class.ilObjTest.php.
Referenced by setListOfQuestionsEnd().
ilObjTest::getListOfQuestionsSettings | ( | ) |
Returns the settings for the list of questions options in the test properties.
Returns the settings for the list of questions options in the test properties This could contain one of the following values: 0 = No list of questions offered 1 = A list of questions is offered 3 = A list of questions is offered and the list of questions is shown as first page of the test 5 = A list of questions is offered and the list of questions is shown as last page of the test 7 = A list of questions is offered and the list of questions is shown as first and last page of the test
Definition at line 8425 of file class.ilObjTest.php.
References $show_summary.
Referenced by addDefaults(), cloneObject(), saveToDb(), and toXML().
ilObjTest::getListOfQuestionsStart | ( | ) |
Returns if the list of questions should be presented as the first page of the test.
Returns if the list of questions should be presented as the first page of the test
Definition at line 8497 of file class.ilObjTest.php.
Referenced by setListOfQuestionsStart().
|
static |
Retrieves the manual feedback for a question in a test.
Retrieves the manual feedback for a question in a test
integer | $active_id | Active ID of the user |
integer | $question_id | Question ID |
integer | $pass | Pass number |
Definition at line 9734 of file class.ilObjTest.php.
References $pass, $result, and ilRTE\_replaceMediaObjectImageSrc().
Referenced by assQuestionGUI\getAnswerFeedbackOutput().
ilObjTest::getMarkSchema | ( | ) |
Definition at line 6787 of file class.ilObjTest.php.
References $mark_schema.
ilObjTest::getMCScoring | ( | ) |
Gets the scoring type for multiple choice questions.
Gets the scoring type for multiple choice questions
Definition at line 2693 of file class.ilObjTest.php.
References $mc_scoring.
Referenced by addDefaults(), cloneObject(), and toXML().
|
private |
Definition at line 4976 of file class.ilObjTest.php.
References $res, and DB_FETCHMODE_OBJECT.
ilObjTest::getNrOfResultsForPass | ( | $active_id, | |
$pass | |||
) |
Calculates the number of user results for a specific test pass.
Calculates the number of user results for a specific test pass
private
Definition at line 1687 of file class.ilObjTest.php.
References $pass, and $result.
Referenced by generateRandomQuestions(), and getStartTestLabel().
ilObjTest::getNrOfTries | ( | ) |
Returns the nr of tries for the test.
Returns the nr of tries for the test
Definition at line 2835 of file class.ilObjTest.php.
References $nr_of_tries.
Referenced by addDefaults(), cloneObject(), getStartTestLabel(), hasNrOfTriesRestriction(), isExecutable(), isNrOfTriesReached(), saveToDb(), and toXML().
& ilObjTest::getParticipants | ( | ) |
Returns all persons who started the test.
Returns all persons who started the test
Definition at line 4733 of file class.ilObjTest.php.
References $result, and getAnonymity().
ilObjTest::getParticipantsForTestAndQuestion | ( | $test_id, | |
$question_id | |||
) |
Creates an associated array with all active id's for a given test and original question id.
public
Definition at line 10095 of file class.ilObjTest.php.
References $result, $test_id, and DB_FETCHMODE_ASSOC.
ilObjTest::getPassFinishDate | ( | $active_id, | |
$pass | |||
) |
Retrieves the number of answered questions for a given user in a given test.
Retrieves the number of answered questions for a given user in a given test
integer | $user_id | The user id |
integer | $test_id | The test id |
integer | $pass | The pass of the test |
Definition at line 8118 of file class.ilObjTest.php.
References $pass, and $result.
Referenced by isTestFinishedToViewResults().
ilObjTest::getPassScoring | ( | ) |
Gets the pass scoring type.
Gets the pass scoring type
Definition at line 2735 of file class.ilObjTest.php.
References $pass_scoring.
Referenced by addDefaults(), cloneObject(), saveToDb(), and toXML().
ilObjTest::getPassword | ( | ) |
Returns the password for test access.
Returns the password for test access
Definition at line 2721 of file class.ilObjTest.php.
References $password.
Referenced by cloneObject(), saveToDb(), and toXML().
ilObjTest::getProcessingTime | ( | ) |
Returns the processing time for the test.
Returns the processing time for the test
Definition at line 3107 of file class.ilObjTest.php.
References $processing_time.
Referenced by addDefaults(), cloneObject(), getProcessingTimeInSeconds(), and toXML().
ilObjTest::getProcessingTimeInSeconds | ( | ) |
Returns the processing time for the test in seconds.
Returns the processing time for the test in seconds
Definition at line 3121 of file class.ilObjTest.php.
References getProcessingTime().
Referenced by isMaxProcessingTimeReached().
ilObjTest::getQuestionCount | ( | ) |
Returns the number of questions in the test.
Returns the number of questions in the test
Definition at line 7114 of file class.ilObjTest.php.
References $data, getRandomQuestionCount(), getRandomQuestionpools(), and isRandomTest().
Referenced by applyDefaults(), createTestSequence(), getQuestionsOfPass(), getQuestionsOfTest(), and getUnfilteredEvaluationData().
ilObjTest::getQuestionDataset | ( | $question_id | ) |
Returns the dataset for a given question id.
Returns the dataset for a given question id
integer | $question_id | The database id of the question |
Definition at line 3915 of file class.ilObjTest.php.
References $result.
& ilObjTest::getQuestionsOfPass | ( | $active_id, | |
$pass | |||
) |
Retrieves all the assigned questions for a test participant in a given test pass.
Retrieves all the assigned questions for a test participant in a given test pass
Definition at line 4938 of file class.ilObjTest.php.
References $pass, $result, getQuestionCount(), and isRandomTest().
& ilObjTest::getQuestionsOfTest | ( | $active_id | ) |
Retrieves all the assigned questions for all test passes of a test participant.
Retrieves all the assigned questions for all test passes of a test participant
Definition at line 4894 of file class.ilObjTest.php.
References $result, getQuestionCount(), and isRandomTest().
ilObjTest::getQuestionsTable | ( | $sort, | |
$sortorder, | |||
$textfilter, | |||
$startrow = 0 , |
|||
$completeonly = 0 , |
|||
$filter_question_type = "" , |
|||
$filter_questionpool = "" |
|||
) |
Calculates the data for the output of the questionpool.
Calculates the data for the output of the questionpool
public
Definition at line 5765 of file class.ilObjTest.php.
References $result, ilObjQuestionPool\_getAvailableQuestionpools(), getImagePath(), and isPluginActive().
ilObjTest::getQuestiontext | ( | $question_id | ) |
Returns the question text for a given question.
Returns the question text for a given question
integer | $question_id | The question id |
Definition at line 7414 of file class.ilObjTest.php.
ilObjTest::getQuestionTitle | ( | $title | ) |
Returns the title of a test question.
Returns the title of a test question and checks if the title output is allowed. If not, the localized text "question" will be returned.
string | $title | The original title of the question |
Definition at line 3893 of file class.ilObjTest.php.
References ilObject\$title, and getTitleOutput().
Referenced by getTestResult().
& ilObjTest::getQuestionTitles | ( | ) |
Returns the titles of the test questions in question sequence.
Definition at line 3840 of file class.ilObjTest.php.
References $result, and isRandomTest().
& ilObjTest::getQuestionTitlesAndIndexes | ( | ) |
Returns the titles of the test questions in question sequence.
Definition at line 3865 of file class.ilObjTest.php.
References $result, and isRandomTest().
ilObjTest::getQuestionType | ( | $question_id | ) |
Returns the question type of a question with a given id.
Returns the question type of a question with a given id
integer | $question_id | The database id of the question |
Definition at line 3972 of file class.ilObjTest.php.
References $data, and $result.
Referenced by createQuestionGUI().
ilObjTest::getRandomQuestionCount | ( | ) |
Gets the number of random questions used for a random test.
Gets the number of random questions used for a random test
Definition at line 2264 of file class.ilObjTest.php.
References $random_question_count.
Referenced by addDefaults(), cloneObject(), generateRandomQuestions(), getQuestionCount(), isComplete(), and toXML().
ilObjTest::getRandomQuestionDuplicate | ( | $question_id, | |
$active_id | |||
) |
Returns the question id of the duplicate of a question which is already in use in a random test.
Returns the question id of the duplicate of a question which is already in use in a random test
integer | $question_id | Question ID of the original question |
integer | $active_id | Active ID of the user |
Definition at line 1659 of file class.ilObjTest.php.
References $result.
Referenced by saveRandomQuestion().
& ilObjTest::getRandomQuestionpools | ( | ) |
Returns an array containing the random questionpools saved to the database.
Returns an array containing the random questionpools saved to the database
public
Definition at line 1909 of file class.ilObjTest.php.
References $result.
Referenced by generateRandomQuestions(), getQuestionCount(), and isComplete().
ilObjTest::getReportingDate | ( | ) |
Gets the reporting date.
Gets the reporting date of the ilObjTest object
Definition at line 2821 of file class.ilObjTest.php.
References $reporting_date.
Referenced by addDefaults(), canEditMarks(), canViewResults(), cloneObject(), and toXML().
ilObjTest::getResetProcessingTime | ( | ) |
Returns wheather the processing time should be reset or not.
Returns wheather the processing time should be reset or not
Definition at line 3179 of file class.ilObjTest.php.
References $reset_processing_time.
Referenced by addDefaults(), cloneObject(), getStartingTimeOfUser(), isExecutable(), saveToDb(), and toXML().
ilObjTest::getResultsPresentation | ( | ) |
Returns the combined results presentation value.
Returns the combined results presentation value
Definition at line 8626 of file class.ilObjTest.php.
References $results_presentation.
Referenced by addDefaults(), cloneObject(), saveToDb(), and toXML().
& ilObjTest::getRoleData | ( | $ids | ) |
Definition at line 7620 of file class.ilObjTest.php.
References getArrayData().
ilObjTest::getScoreCutting | ( | ) |
Determines if the score of a question should be cut at 0 points or the score of the whole test.
Determines if the score of a question should be cut at 0 points or the score of the whole test
Definition at line 2707 of file class.ilObjTest.php.
References $score_cutting.
Referenced by cloneObject(), getTestResult(), saveToDb(), and toXML().
ilObjTest::getScoreReporting | ( | ) |
Gets the score reporting.
Gets the score reporting of the ilObjTest object
Definition at line 2599 of file class.ilObjTest.php.
References $score_reporting.
Referenced by addDefaults(), canShowTestResults(), cloneObject(), and toXML().
ilObjTest::getSecondsUntilEndingTime | ( | ) |
Returns the seconds left from the actual time until the ending time.
Returns the seconds left from the actual time until the ending time
Definition at line 3142 of file class.ilObjTest.php.
References getEndingTime().
ilObjTest::getSequenceSettings | ( | ) |
Gets the sequence settings.
Gets the sequence settings of the ilObjTest object
Definition at line 2585 of file class.ilObjTest.php.
References $sequence_settings.
Referenced by addDefaults(), cloneObject(), and toXML().
ilObjTest::getShowCancel | ( | ) |
Returns wheather the cancel test button is shown or not.
Returns wheather the cancel test button is shown or not
Definition at line 9268 of file class.ilObjTest.php.
References $show_cancel.
Referenced by addDefaults(), cloneObject(), saveToDb(), and toXML().
ilObjTest::getShowFinalStatement | ( | ) |
Returns whether the final statement should be shown or not.
Definition at line 2326 of file class.ilObjTest.php.
References $_showfinalstatement.
Referenced by addDefaults(), cloneObject(), and toXML().
ilObjTest::getShowInfo | ( | ) |
Gets whether the complete information page is shown or the required data only.
Definition at line 2302 of file class.ilObjTest.php.
References $_showinfo.
Referenced by addDefaults(), cloneObject(), saveToDb(), and toXML().
ilObjTest::getShowKioskModeParticipant | ( | ) |
Returns the status of the kiosk mode participant.
Returns the status of the kiosk mode participant
Definition at line 2967 of file class.ilObjTest.php.
Referenced by setShowKioskModeParticipant().
ilObjTest::getShowKioskModeTitle | ( | ) |
Returns the status of the kiosk mode title.
Returns the status of the kiosk mode title
Definition at line 2923 of file class.ilObjTest.php.
Referenced by setShowKioskModeTitle().
ilObjTest::getShowMarker | ( | ) |
Returns wheather the marker button is shown or not.
Returns wheather the marker button is shown or not
Definition at line 9302 of file class.ilObjTest.php.
References $show_marker.
Referenced by addDefaults(), cloneObject(), saveToDb(), and toXML().
ilObjTest::getShowPassDetails | ( | ) |
Returns if the pass details should be shown when a test is not finished.
Returns if the pass details should be shown when a test is not finished
Definition at line 8639 of file class.ilObjTest.php.
Referenced by setShowPassDetails().
ilObjTest::getShowSolutionAnswersOnly | ( | ) |
Returns if the full solution (including ILIAS content) should be presented to the solution or not.
Returns if the full solution (including ILIAS content) should be presented to the solution or not
Definition at line 8719 of file class.ilObjTest.php.
Referenced by setShowSolutionAnswersOnly().
ilObjTest::getShowSolutionDetails | ( | ) |
Returns if the solution details should be presented to the user or not.
Returns if the solution details should be presented to the user or not
Definition at line 8659 of file class.ilObjTest.php.
Referenced by setShowSolutionDetails().
ilObjTest::getShowSolutionFeedback | ( | ) |
Returns if the feedback should be presented to the solution or not.
Returns if the feedback should be presented to the solution or not
Definition at line 8699 of file class.ilObjTest.php.
Referenced by setShowSolutionFeedback().
ilObjTest::getShowSolutionPrintview | ( | ) |
Returns if the solution printview should be presented to the user or not.
Returns if the solution printview should be presented to the user or not
Definition at line 8679 of file class.ilObjTest.php.
Referenced by canShowSolutionPrintview(), and setShowSolutionPrintview().
ilObjTest::getShowSolutionSignature | ( | ) |
Returns if the signature field should be shown in the test results.
Returns if the signature field should be shown in the test results
Definition at line 8739 of file class.ilObjTest.php.
Referenced by setShowSolutionSignature().
ilObjTest::getShuffleQuestions | ( | ) |
Returns the status of the shuffle_questions variable.
Returns the status of the shuffle_questions variable
Definition at line 8386 of file class.ilObjTest.php.
References $shuffle_questions.
Referenced by cloneObject(), generateRandomQuestions(), saveToDb(), and toXML().
ilObjTest::getStartingTime | ( | ) |
Returns the starting time of the test.
Returns the starting time of the test
Definition at line 3193 of file class.ilObjTest.php.
References $starting_time.
Referenced by addDefaults(), cloneObject(), isExecutable(), startingTimeReached(), and toXML().
ilObjTest::getStartingTimeOfUser | ( | $active_id | ) |
Returns the unix timestamp of the time a user started a test.
Returns the unix timestamp of the time a user started a test
integer | $active_id | The active id of the user |
Definition at line 8303 of file class.ilObjTest.php.
References $pass, $result, _getPass(), and getResetProcessingTime().
Referenced by canShowTestResults(), and isExecutable().
ilObjTest::getStartTestLabel | ( | $active_id | ) |
Returns the "Start the Test" label for the Info page.
Returns the "Start the Test" label for the Info page
int | $active_id | The active id of the current user |
Definition at line 9450 of file class.ilObjTest.php.
References $res, _getPass(), getNrOfResultsForPass(), and getNrOfTries().
& ilObjTest::getTestDefaults | ( | $test_defaults_id | ) |
Returns the test defaults for a given id.
Returns the test defaults for a given id
integer | $test_defaults_id | The database id of a test defaults dataset |
Definition at line 9511 of file class.ilObjTest.php.
References $result.
Referenced by applyDefaults().
ilObjTest::getTestId | ( | ) |
Gets the database id of the additional test data.
Gets the database id of the additional test data
Definition at line 2340 of file class.ilObjTest.php.
References $test_id.
Referenced by checkMaximumAllowedUsers(), createTestSession(), evalResultsOverview(), generateRandomQuestions(), getAccessCodeSession(), getActiveIdOfUser(), getCompleteWorkingTimeOfParticipants(), getVisitTimeOfParticipant(), removeSelectedTestResults(), removeTestResultsForUser(), saveCertificateVisibility(), saveECTSStatus(), setAccessCodeSession(), setTestSession(), and unsetAccessCodeSession().
& ilObjTest::getTestParticipants | ( | ) |
Returns a list of all participants in a test.
Returns a list of all participants in a test
Definition at line 7517 of file class.ilObjTest.php.
References $data, getAnonymity(), and getArrayData().
& ilObjTest::getTestQuestions | ( | ) |
Definition at line 8363 of file class.ilObjTest.php.
& ilObjTest::getTestResult | ( | $active_id, | |
$pass = NULL , |
|||
$ordered_sequence = FALSE |
|||
) |
Calculates the results of a test for a given user.
Calculates the results of a test for a given user and returns an array with all test results
Definition at line 4262 of file class.ilObjTest.php.
References $pass, $testSequence, assQuestion\_getInternalLinkHref(), assQuestion\_getMaximumPoints(), assQuestion\_getQuestionInfo(), assQuestion\_getReachedPoints(), _getResultPass(), assQuestion\_getSuggestedSolution(), assQuestion\_getSuggestedSolutionCount(), assQuestion\_isWorkedThrough(), getQuestionTitle(), getScoreCutting(), isRandomTest(), and ilUtil\prepareFormOutput().
Referenced by canShowCertificate(), evalStatistical(), getTotalPointsPassedArray(), and hideCorrectAnsweredQuestions().
& ilObjTest::getTestSequence | ( | $active_id = "" , |
|
$pass = "" |
|||
) |
Definition at line 9885 of file class.ilObjTest.php.
References $pass, $testSequence, getTestSession(), and isRandomTest().
Referenced by hideCorrectAnsweredQuestions().
& ilObjTest::getTestSession | ( | $active_id = "" | ) |
Returns the test session data for the active user.
Definition at line 9868 of file class.ilObjTest.php.
References $testSession, and setTestSession().
Referenced by canShowTestResults(), getTestSequence(), hideCorrectAnsweredQuestions(), and isExecutable().
ilObjTest::getTestStyleLocation | ( | $mode = "output" | ) |
get full style sheet file name (path inclusive) of current user
$mode | string Output mode of the style sheet ("output" or "filesystem"). !"filesystem" generates the ILIAS version number as attribute to force the reload of the style sheet in a different ILIAS version public |
Definition at line 2198 of file class.ilObjTest.php.
References getCustomStyle(), and ilUtil\getStyleSheetLocation().
ilObjTest::getTextAnswer | ( | $active_id, | |
$question_id, | |||
$pass = NULL |
|||
) |
Returns the text answer of a given user for a given question.
Returns the text answer of a given user for a given question
integer | $user_id | The user id |
integer | $question_id | The question id |
Definition at line 7378 of file class.ilObjTest.php.
References $pass, $res, $result, and assQuestion\_getSolutionMaxPass().
ilObjTest::getTitleOutput | ( | ) |
Returns the value of the title_output status.
Returns the value of the title_output status
Definition at line 3025 of file class.ilObjTest.php.
References $title_output.
Referenced by addDefaults(), cloneObject(), getQuestionTitle(), saveToDb(), and toXML().
& ilObjTest::getTotalPointsPassedArray | ( | ) |
Returns an array with the total points of all users who passed the test.
Returns an array with the total points of all users who passed the test This array could be used for statistics
Definition at line 4703 of file class.ilObjTest.php.
References $total, evalTotalParticipantsArray(), and getTestResult().
Referenced by getAllTestResults(), and getUnfilteredEvaluationData().
ilObjTest::getUnfilteredEvaluationData | ( | ) |
Definition at line 4998 of file class.ilObjTest.php.
References $data, $pass, $result, DB_FETCHMODE_ASSOC, getECTSGrade(), getQuestionCount(), getTotalPointsPassedArray(), getVisitTimeOfParticipant(), and isRandomTest().
Referenced by getCompleteEvaluationData().
ilObjTest::getUsePreviousAnswers | ( | ) |
Returns if the previous answers should be shown for a learner.
Returns if the previous answers should be shown for a learner
Definition at line 3011 of file class.ilObjTest.php.
References $use_previous_answers.
Referenced by addDefaults(), cloneObject(), saveToDb(), and toXML().
& ilObjTest::getUserData | ( | $ids | ) |
Returns a data of all users specified by id list.
Returns a data of all users specified by id list
$usr_ids | kommaseparated list of ids |
Definition at line 7556 of file class.ilObjTest.php.
References getAnonymity(), and getArrayData().
ilObjTest::getVisitTimeOfParticipant | ( | $active_id | ) |
Returns the first and last visit of a participant.
Returns the first and last visit of a participant
integer | $active_id | The active ID of the participant |
Definition at line 4541 of file class.ilObjTest.php.
References _getVisitTimeOfParticipant(), and getTestId().
Referenced by getUnfilteredEvaluationData().
& ilObjTest::getWorkedQuestions | ( | $active_id, | |
$pass = NULL |
|||
) |
Gets the id's of all questions a user already worked through.
Gets the id's of all questions a user already worked through
Definition at line 4039 of file class.ilObjTest.php.
References $pass, and $result.
ilObjTest::hasNrOfTriesRestriction | ( | ) |
returns if the numbers of tries have to be checked
Definition at line 7806 of file class.ilObjTest.php.
References getNrOfTries().
Referenced by isExecutable().
ilObjTest::hasPDFProcessing | ( | ) |
Returns true if PDF processing is enabled, false otherwise.
public
Definition at line 10120 of file class.ilObjTest.php.
References ilObject\$ilias.
ilObjTest::hasRandomQuestionsForPass | ( | $active_id, | |
$pass | |||
) |
Checkes wheather a random test has already created questions for a given pass or not.
Checkes wheather a random test has already created questions for a given pass or not
private
$active_id | Active id of the test |
$pass | Pass of the test |
Definition at line 1709 of file class.ilObjTest.php.
References $pass, and $result.
Referenced by generateRandomQuestions().
ilObjTest::hideCorrectAnsweredQuestions | ( | ) |
Definition at line 9901 of file class.ilObjTest.php.
References $result, getTestResult(), getTestSequence(), and getTestSession().
ilObjTest::ilObjTest | ( | $a_id = 0 , |
|
$a_call_by_reference = true |
|||
) |
Constructor public.
integer | reference_id or object_id |
boolean | treat the id as reference_id (true) or object_id (false) |
Definition at line 472 of file class.ilObjTest.php.
References ilObject\$lng, COUNT_PARTIAL_SOLUTIONS, ilObject\ilObject(), REPORT_AFTER_TEST, SCORE_CUT_QUESTION, SCORE_LAST_PASS, SCORE_ZERO_POINTS_WHEN_UNANSWERED, setShowPassDetails(), setShowSolutionAnswersOnly(), setShowSolutionDetails(), setShowSolutionSignature(), and TEST_FIXED_SEQUENCE.
Referenced by _isComplete().
ilObjTest::initDefaultRoles | ( | ) |
init default roles settings
If your module does not require any default roles, delete this method (For an example how this method is used, look at ilObjForum)
public
Reimplemented from ilObject.
Definition at line 734 of file class.ilObjTest.php.
ilObjTest::insertQuestion | ( | $question_id | ) |
Insert a question in the list of questions.
Insert a question in the list of questions
integer | $question_id | The database id of the inserted question public |
Definition at line 3786 of file class.ilObjTest.php.
References $data, ilObject\$ilias, $result, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), duplicateQuestionForTest(), loadQuestions(), logAction(), and saveCompleteStatus().
ilObjTest::inviteGroup | ( | $group_id | ) |
Invites all users of a group to a test.
Invites all users of a group to a test
integer | $group_id | The database id of the invited group public |
Definition at line 7643 of file class.ilObjTest.php.
References ilObjUser\_lookupClientIP(), and inviteUser().
ilObjTest::inviteRole | ( | $role_id | ) |
Invites all users of a role to a test.
Invites all users of a role to a test
integer | $group_id | The database id of the invited group public |
Definition at line 7663 of file class.ilObjTest.php.
References ilObjUser\_lookupClientIP(), and inviteUser().
ilObjTest::inviteUser | ( | $user_id, | |
$client_ip = "" |
|||
) |
Invites a user to a test.
Invites a user to a test
integer | $user_id | The database id of the invited user public |
Definition at line 7703 of file class.ilObjTest.php.
References $result.
Referenced by inviteGroup(), and inviteRole().
ilObjTest::isAccessCodeUsed | ( | $code | ) |
Definition at line 8939 of file class.ilObjTest.php.
References $result.
Referenced by createNewAccessCode().
ilObjTest::isActiveTestSubmitted | ( | $user_id = null | ) |
returns if the active for user_id has been submitted
Definition at line 7786 of file class.ilObjTest.php.
References $result.
ilObjTest::isComplete | ( | ) |
Returns true, if a test is complete for use.
Returns true, if a test is complete for use
Definition at line 1094 of file class.ilObjTest.php.
References getRandomQuestionCount(), getRandomQuestionpools(), and isRandomTest().
Referenced by saveCompleteStatus(), and saveToDb().
ilObjTest::isExecutable | ( | $user_id, | |
$allowPassIncrease = FALSE |
|||
) |
Checks if the test is executable by the given user.
Checks if the test is executable by the given user
integer | $user_id | The user id |
Definition at line 8147 of file class.ilObjTest.php.
References $result, $starting_time, _getPass(), endingTimeReached(), ilFormat\ftimestamp2datetimeDB(), getActiveIdOfUser(), getEnableProcessingTime(), getEndingTime(), getNrOfTries(), getResetProcessingTime(), getStartingTime(), getStartingTimeOfUser(), getTestSession(), hasNrOfTriesRestriction(), isMaxProcessingTimeReached(), isNrOfTriesReached(), and startingTimeReached().
ilObjTest::isHTML | ( | $a_text | ) |
Checks if a given string contains HTML or not.
string | $a_text | Text which should be checked |
Definition at line 9081 of file class.ilObjTest.php.
Referenced by addQTIMaterial().
ilObjTest::isMaxProcessingTimeReached | ( | $starting_time | ) |
Returns wheather the maximum processing time for a test is reached or not.
Returns wheather the maximum processing time for a test is reached or not
long | $starting_time | The unix timestamp of the starting time of the test |
Definition at line 8342 of file class.ilObjTest.php.
References $processing_time, $starting_time, getEnableProcessingTime(), and getProcessingTimeInSeconds().
Referenced by canShowTestResults(), and isExecutable().
ilObjTest::isNrOfTriesReached | ( | $tries | ) |
returns if number of tries are reached
Definition at line 7816 of file class.ilObjTest.php.
References getNrOfTries().
Referenced by isExecutable().
ilObjTest::isPluginActive | ( | $a_pname | ) |
Checks wheather or not a question plugin with a given name is active.
string | $a_pname | The plugin name public |
Definition at line 9997 of file class.ilObjTest.php.
References IL_COMP_MODULE.
Referenced by getQuestionsTable().
ilObjTest::isRandomTest | ( | ) |
Gets the status of the $random_test attribute.
Gets the status of the $random_test attribute
Definition at line 2250 of file class.ilObjTest.php.
References $random_test.
Referenced by addDefaults(), cloneObject(), createTestSequence(), getAllQuestions(), getAnsweredQuestionCount(), getExistingQuestions(), getQuestionCount(), getQuestionsOfPass(), getQuestionsOfTest(), getQuestionTitles(), getQuestionTitlesAndIndexes(), getTestResult(), getTestSequence(), getUnfilteredEvaluationData(), isComplete(), loadQuestions(), removeAllTestEditings(), removeSelectedTestResults(), removeTestResultsForUser(), saveToDb(), and toXML().
ilObjTest::isSingleChoiceTest | ( | ) |
Returns TRUE if the test contains single choice results only.
Definition at line 1039 of file class.ilObjTest.php.
References $result.
ilObjTest::isSingleChoiceTestWithoutShuffle | ( | ) |
Returns TRUE if the test contains single choice results and no shuffle only.
Definition at line 1069 of file class.ilObjTest.php.
References $result.
ilObjTest::isTestFinishedToViewResults | ( | $active_id, | |
$currentpass | |||
) |
Returns true if an active user completed a test pass and did not start a new pass.
Returns true if an active user completed a test pass and did not start a new pass
integer | $active_id | The active id of the user |
integer | $currentpass | The current test pass of the user |
Definition at line 4076 of file class.ilObjTest.php.
References getPassFinishDate().
Referenced by canShowTestResults().
ilObjTest::loadFromDb | ( | ) |
Loads a ilObjTest object from a database.
Loads a ilObjTest object from a database
object | $db | A pear DB object |
integer | $test_id | A unique key which defines the test in the database public |
Definition at line 1944 of file class.ilObjTest.php.
References $data, $result, ilRTE\_replaceMediaObjectImageSrc(), getAuthor(), loadQuestions(), saveAuthorToMetadata(), setAllowedUsers(), setAllowedUsersTimeGap(), setCertificateVisibility(), setCustomStyle(), setFinalStatement(), setForceJS(), setKiosk(), setListOfQuestionsSettings(), setPassScoring(), setPassword(), setResultsPresentation(), setScoreCutting(), setShowFinalStatement(), setShowInfo(), setShuffleQuestions(), setTitleOutput(), and setUsePreviousAnswers().
Referenced by cloneObject(), and read().
ilObjTest::loadQuestions | ( | $active_id = "" , |
|
$pass = NULL |
|||
) |
Load the test question id's from the database.
Load the test question id's from the database
integer | $user_id | The user id of the test user (necessary for random tests) public |
Definition at line 2023 of file class.ilObjTest.php.
References $data, $pass, $result, _getPass(), getActiveIdOfUser(), and isRandomTest().
Referenced by getAllQuestions(), getAnsweredQuestionCount(), insertQuestion(), loadFromDb(), questionMoveDown(), questionMoveUp(), and removeQuestion().
ilObjTest::logAction | ( | $logtext = "" , |
|
$question_id = "" |
|||
) |
Logs an action into the Test&Assessment log.
Logs an action into the Test&Assessment log
string | $logtext | The log text |
integer | $question_id | If given, saves the question id to the database public |
Definition at line 7279 of file class.ilObjTest.php.
References ilObjAssessmentFolder\_addLog(), assQuestion\_getOriginalId(), ilObject\getId(), and ilObject\getRefId().
Referenced by checkMaximumAllowedUsers(), insertQuestion(), questionMoveDown(), questionMoveUp(), removeAllTestEditings(), removeQuestion(), removeSelectedTestResults(), removeTestResultsForUser(), saveQuestionsToDb(), saveRandomQuestionCount(), saveRandomQuestionpools(), and saveToDb().
ilObjTest::modifyExportIdentifier | ( | $a_tag, | |
$a_param, | |||
$a_value | |||
) |
Returns the installation id for a given identifier.
Returns the installation id for a given identifier
private
Definition at line 6567 of file class.ilObjTest.php.
References ilUtil\insertInstIntoID().
ilObjTest::moveQuestions | ( | $move_questions, | |
$target_index, | |||
$insert_mode | |||
) |
Move questions to another position.
Move questions to another position
array | $move_questions | An array with the question id's of the questions to move |
integer | $target_index | The question id of the target position |
integer | $insert_mode | 0, if insert before the target position, 1 if insert after the target position public |
Definition at line 5665 of file class.ilObjTest.php.
References saveQuestionsToDb().
ilObjTest::notify | ( | $a_event, | |
$a_ref_id, | |||
$a_parent_non_rbac_id, | |||
$a_node_id, | |||
$a_params = 0 |
|||
) |
notifys an object about an event occured Based on the event happend, each object may decide how it reacts.
If you are not required to handle any events related to your module, just delete this method. (For an example how this method is used, look at ilObjGroup)
public
string | event |
integer | reference id of object where the event occured |
array | passes optional parameters if required |
Reimplemented from ilObject.
Definition at line 764 of file class.ilObjTest.php.
References $_GET, and ilObject\getType().
ilObjTest::pcArrayShuffle | ( | $array | ) |
Shuffles the values of a given array.
Shuffles the values of a given array
array | $array | An array which should be shuffled public |
Definition at line 4232 of file class.ilObjTest.php.
ilObjTest::prepareTextareaOutput | ( | $txt_output, | |
$prepare_for_latex_output = FALSE |
|||
) |
Prepares a string for a text area output in tests.
string | $txt_output | String which should be prepared for output public |
Definition at line 9175 of file class.ilObjTest.php.
& ilObjTest::processCSVRow | ( | $row, | |
$quoteAll = FALSE , |
|||
$separator = ";" |
|||
) |
Convertes an array for CSV usage.
Processes an array as a CSV row and converts the array values to correct CSV values. The "converted" array is returned
array | $row | The array containing the values for a CSV row |
string | $quoteAll | Indicates to quote every value (=TRUE) or only values containing quotes and separators (=FALSE, default) |
string | $separator | The value separator in the CSV row (used for quoting) (; = default) |
Definition at line 7918 of file class.ilObjTest.php.
References $separator.
Referenced by getAllTestResults().
ilObjTest::processPrintoutput2FO | ( | $print_output | ) |
Convert a print output to XSL-FO.
Convert a print output to XSL-FO
string | $print_output | The print output |
Definition at line 9673 of file class.ilObjTest.php.
References $config, $tidy, xslt_create(), xslt_error(), xslt_free(), and xslt_process().
ilObjTest::QTIMaterialToString | ( | $a_material | ) |
Reads an QTI material tag an creates a text string.
string | $a_material | QTI material tag |
Definition at line 9100 of file class.ilObjTest.php.
References $_SESSION, $ilLog, and $result.
Referenced by fromXML().
ilObjTest::questionMoveDown | ( | $question_id | ) |
Moves a question down in order.
integer | $question_id | The database id of the question to be moved down public |
Definition at line 3719 of file class.ilObjTest.php.
References $data, $result, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), loadQuestions(), and logAction().
ilObjTest::questionMoveUp | ( | $question_id | ) |
Moves a question up in order.
Moves a question up in order
integer | $question_id | The database id of the question to be moved up public |
Definition at line 3672 of file class.ilObjTest.php.
References $data, $result, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), loadQuestions(), and logAction().
ilObjTest::randomSelectQuestions | ( | $nr_of_questions, | |
$questionpool, | |||
$use_obj_id = 0 , |
|||
$qpls = "" , |
|||
$pass = NULL |
|||
) |
Returns a random selection of questions.
Returns a random selection of questions
integer | $nr_of_questions | Number of questions to return |
integer | $questionpool | ID of questionpool to choose the questions from (0 = all available questionpools) |
boolean | $user_obj_id | Use the object id instead of the reference id when set to true |
array | $qpls | An array of questionpool id's if the random questions should only be chose from the contained questionpools |
Definition at line 5449 of file class.ilObjTest.php.
References $result, and ilObjQuestionPool\_getAvailableQuestionpools().
Referenced by generateRandomQuestions().
ilObjTest::read | ( | $a_force_db = false | ) |
read object data from db into object
boolean | public |
Reimplemented from ilObject.
Definition at line 591 of file class.ilObjTest.php.
References loadFromDb().
ilObjTest::removeAllTestEditings | ( | $question_id = "" | ) |
Removes all references to the question in executed tests in case the question has been changed.
Removes all references to the question in executed tests in case the question has been changed. If a question was changed it cannot be guaranteed that the content and the meaning of the question is the same as before. So we have to delete all already started or completed tests using that question. Therefore we have to delete all references to that question in tst_solutions and the tst_active entries which were created for the user and test in the tst_solutions entry.
public
Definition at line 3465 of file class.ilObjTest.php.
References $result, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), isRandomTest(), and logAction().
Referenced by deleteTest(), removeNonRandomTestData(), removeQuestion(), and removeRandomTestData().
ilObjTest::removeNonRandomTestData | ( | ) |
Removes all test data of a non random test when a test was set to random test.
Removes all test data of a non random test when a test was set to random test
private
Definition at line 7236 of file class.ilObjTest.php.
References $result, removeAllTestEditings(), and saveCompleteStatus().
ilObjTest::removeQuestion | ( | $question_id | ) |
Removes a question from the test object.
Removes a question from the test object
integer | $question_id | The database id of the question to be removed public |
Definition at line 3440 of file class.ilObjTest.php.
References ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), _instanciateQuestion(), loadQuestions(), logAction(), removeAllTestEditings(), and saveQuestionsToDb().
Referenced by deleteTest().
ilObjTest::removeRandomTestData | ( | ) |
Removes all test data of a random test when a test was set to non random test.
Removes all test data of a random test when a test was set to non random test
private
Definition at line 7257 of file class.ilObjTest.php.
References $result, removeAllTestEditings(), and saveCompleteStatus().
ilObjTest::removeSelectedTestResults | ( | $active_ids | ) |
Definition at line 3537 of file class.ilObjTest.php.
References $result, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), _getUserIdFromActiveId(), getTestId(), isRandomTest(), logAction(), and userLookupFullName().
ilObjTest::removeTestResultsForUser | ( | $user_id | ) |
Definition at line 3603 of file class.ilObjTest.php.
References $result, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), _getUserIdFromActiveId(), getActiveIdOfUser(), getTestId(), isRandomTest(), logAction(), and userLookupFullName().
ilObjTest::saveAuthorToMetadata | ( | $a_author = "" | ) |
Saves an authors name into the lifecycle metadata if no lifecycle metadata exists.
Saves an authors name into the lifecycle metadata if no lifecycle metadata exists This will only be called for conversion of "old" tests where the author hasn't been stored in the lifecycle metadata
string | $a_author | A string containing the name of the test author private |
Definition at line 6817 of file class.ilObjTest.php.
References ilObject\getId(), and ilObject\getType().
Referenced by createMetaData(), and loadFromDb().
ilObjTest::saveCertificateVisibility | ( | $a_value | ) |
Saves the visibility settings of the certificate.
Saves the visibility settings of the certificate
integer | $a_value | The value for the visibility settings (0 = always, 1 = only passed, 2 = never) private |
Definition at line 9189 of file class.ilObjTest.php.
References $result, and getTestId().
ilObjTest::saveCompleteStatus | ( | ) |
Checks if the test is complete and saves the status in the database.
Checks if the test is complete and saves the status in the database
public
Definition at line 1181 of file class.ilObjTest.php.
References $result, and isComplete().
Referenced by insertQuestion(), removeNonRandomTestData(), and removeRandomTestData().
ilObjTest::saveECTSStatus | ( | $ects_output = 0 , |
|
$fx_support = "" , |
|||
$ects_a = 90 , |
|||
$ects_b = 65 , |
|||
$ects_c = 35 , |
|||
$ects_d = 10 , |
|||
$ects_e = 0 |
|||
) |
Saves the ECTS status (output of ECTS grades in a test) to the database.
Saves the ECTS status (output of ECTS grades in a test) to the database
public
Definition at line 1145 of file class.ilObjTest.php.
References $ects_output, $result, and getTestId().
ilObjTest::saveManualFeedback | ( | $active_id, | |
$question_id, | |||
$pass, | |||
$feedback | |||
) |
Saves the manual feedback for a question in a test.
Saves the manual feedback for a question in a test
integer | $active_id | Active ID of the user |
integer | $question_id | Question ID |
integer | $pass | Pass number |
string | $feedback | The feedback text |
Definition at line 9765 of file class.ilObjTest.php.
References ilObject\$ilias, $pass, $result, and ilRTE\_replaceMediaObjectImageSrc().
ilObjTest::saveQuestionsToDb | ( | ) |
Saves the test questions to the database.
Saves the test questions to the database
public
Definition at line 1536 of file class.ilObjTest.php.
References $result, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), and logAction().
Referenced by moveQuestions(), removeQuestion(), and saveToDb().
ilObjTest::saveRandomQuestion | ( | $active_id, | |
$question_id, | |||
$pass = NULL , |
|||
$maxcount | |||
) |
Saves a random question to the database.
Saves a random question to the database
public
Definition at line 1619 of file class.ilObjTest.php.
References $pass, $result, duplicateQuestionForTest(), and getRandomQuestionDuplicate().
Referenced by generateRandomQuestions().
ilObjTest::saveRandomQuestionCount | ( | $total_questions = "NULL" | ) |
Saves the total amount of a tests random questions to the database.
Saves the total amount of a tests random questions to the database
integer | $total_questions | The amount of random questions public |
Definition at line 1831 of file class.ilObjTest.php.
References $result, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), logAction(), and setRandomQuestionCount().
ilObjTest::saveRandomQuestionpools | ( | $qpl_array | ) |
Saves the question pools used for a random test.
Saves the question pools used for a random test
array | $qpl_array | An array containing the questionpool id's public |
Definition at line 1862 of file class.ilObjTest.php.
References $result, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), _getQuestionCount(), and logAction().
ilObjTest::saveToDb | ( | $properties_only = FALSE | ) |
Saves a ilObjTest object to a database.
Saves a ilObjTest object to a database (experimental)
object | $db | A pear DB object public |
Definition at line 1242 of file class.ilObjTest.php.
References $allowedUsers, $allowedUsersTimeGap, $ects_fx, ilObject\$ilias, $ilLog, $random_question_count, $result, $shuffle_questions, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), ilRTE\_replaceMediaObjectImageSrc(), cleanupMediaobjectUsage(), evalTotalPersons(), getAllowedUsers(), getAllowedUsersTimeGap(), getAnonymity(), getAnswerFeedback(), getAnswerFeedbackPoints(), getCertificateVisibility(), getCustomStyle(), getFinalStatement(), getFixedParticipants(), getForceJS(), getInstantFeedbackSolution(), getKiosk(), getListOfQuestionsSettings(), getNrOfTries(), getPassScoring(), getPassword(), getResetProcessingTime(), getResultsPresentation(), getScoreCutting(), getShowCancel(), getShowInfo(), getShowMarker(), getShuffleQuestions(), getTitleOutput(), getUsePreviousAnswers(), isComplete(), isRandomTest(), logAction(), and saveQuestionsToDb().
Referenced by applyDefaults(), createReference(), and fromXML().
ilObjTest::setAccessCodeSession | ( | $access_code | ) |
Definition at line 8989 of file class.ilObjTest.php.
References $_SESSION, ilObject\$id, and getTestId().
ilObjTest::setActiveTestSubmitted | ( | $user_id | ) |
submits active test for user user_id
Definition at line 7771 of file class.ilObjTest.php.
ilObjTest::setAllowedUsers | ( | $a_allowed_users | ) |
Definition at line 9010 of file class.ilObjTest.php.
Referenced by fromXML(), and loadFromDb().
ilObjTest::setAllowedUsersTimeGap | ( | $a_allowed_users_time_gap | ) |
Definition at line 9020 of file class.ilObjTest.php.
Referenced by fromXML(), and loadFromDb().
ilObjTest::setAnonymity | ( | $a_value = 0 | ) |
Sets the anonymity status of the test.
Sets the anonymity status of the test
integer | $a_value | The value for the anonymity status (0 = personalized, 1 = anonymized) public |
Definition at line 9247 of file class.ilObjTest.php.
Referenced by applyDefaults(), and fromXML().
ilObjTest::setAnswerFeedback | ( | $answer_feedback = 0 | ) |
Sets the answer specific feedback for the test.
Sets the answer specific feedback for the test
integer | $answer_feedback | If 1, answer specific feedback will be shown after answering a question public |
Definition at line 2491 of file class.ilObjTest.php.
References $answer_feedback.
Referenced by applyDefaults(), and fromXML().
ilObjTest::setAnswerFeedbackPoints | ( | $answer_feedback_points = 0 | ) |
Sets the answer specific feedback of reached points for the test.
Sets the answer specific feedback of reached points for the test
integer | $answer_feedback_points | If 1, answer specific feedback will show the reached points after answering a question public |
Definition at line 2513 of file class.ilObjTest.php.
References $answer_feedback_points.
Referenced by applyDefaults(), and fromXML().
ilObjTest::setAuthor | ( | $author = "" | ) |
Sets the authors name.
Sets the authors name of the ilObjTest object
string | $author | A string containing the name of the test author public |
Definition at line 6801 of file class.ilObjTest.php.
References $author.
Referenced by fromXML().
ilObjTest::setCertificateVisibility | ( | $a_value | ) |
Sets the visibility settings of the certificate.
Sets the visibility settings of the certificate
integer | $a_value | The value for the visibility settings (0 = always, 1 = only passed, 2 = never) public |
Definition at line 9221 of file class.ilObjTest.php.
Referenced by loadFromDb().
ilObjTest::setClientIP | ( | $user_id, | |
$client_ip | |||
) |
Definition at line 7716 of file class.ilObjTest.php.
ilObjTest::setCountSystem | ( | $a_count_system = COUNT_PARTIAL_SOLUTIONS | ) |
Sets the count system for the calculation of points.
Sets the count system for the calculation of points
integer | $a_count_system | The count system for the calculation of points. public |
Definition at line 3362 of file class.ilObjTest.php.
Referenced by applyDefaults(), and fromXML().
ilObjTest::setCustomStyle | ( | $a_customStyle = "" | ) |
Set the custom style.
string | $a_customStyle | The custom style public |
Definition at line 2143 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setECTSFX | ( | $a_ects_fx | ) |
Sets the ECTS FX grade.
Sets the ECTS FX grade
string | $a_ects_fx | The ECTS FX grade public |
Definition at line 2396 of file class.ilObjTest.php.
Referenced by applyDefaults().
ilObjTest::setECTSGrades | ( | $a_ects_grades | ) |
Sets the ECTS grades.
Sets the ECTS grades
array | $a_ects_grades | The ECTS grades public |
Definition at line 2424 of file class.ilObjTest.php.
Referenced by applyDefaults().
ilObjTest::setECTSOutput | ( | $a_ects_output | ) |
Enables/Disables ECTS grades output for this test.
Enables/Disables ECTS grades output for this test
integer | $a_ects_output | 0 if ECTS grades output should be deactivated, 1 otherwise public |
Definition at line 2368 of file class.ilObjTest.php.
Referenced by applyDefaults().
ilObjTest::setEnableProcessingTime | ( | $enable = 0 | ) |
Sets the processing time enabled or disabled.
Sets the processing time enabled or disabled
integer | $enable | 0 to disable the processing time, 1 to enable the processing time public |
Definition at line 3295 of file class.ilObjTest.php.
Referenced by applyDefaults().
ilObjTest::setEndingTime | ( | $ending_time = "" | ) |
Sets the ending time for the test.
Sets the ending time in database timestamp format for the test
string | $ending_time | The ending time for the test. Empty string for no ending time. public |
Definition at line 3348 of file class.ilObjTest.php.
References $ending_time.
Referenced by applyDefaults(), and fromXML().
ilObjTest::setEvaluationAdditionalFields | ( | $fields | ) |
Sets additional user fields that should be shown in the user evaluation.
array | $fields | Array of database fields that should be shown in the evaluation |
Definition at line 10015 of file class.ilObjTest.php.
References ilObject\getId().
ilObjTest::setFinalStatement | ( | $a_statement = "" | ) |
Sets the final statement.
Sets the final statement text of the ilObjTest object
string | $a_statement | A final statement public |
Definition at line 2093 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setFixedParticipants | ( | $a_value = 1 | ) |
Sets the fixed participants status.
Sets the fixed participants status
integer | $a_value | The value for the fixed participants status (0 = don't allow, 1 = allow) public |
Definition at line 9349 of file class.ilObjTest.php.
Referenced by fromXML().
ilObjTest::setForceJS | ( | $a_boolean = TRUE | ) |
Set whether JavaScript should be forced for tests.
boolean | $a_boolean | TRUE to force JavaScript, FALSE otherwise public |
Definition at line 2124 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setInstantFeedbackSolution | ( | $instant_feedback = 0 | ) |
Sets the instant feedback for the solution.
Sets the instant feedback for the solution
integer | $instant_feedback | If 1, the solution will be shown after answering a question public |
Definition at line 2469 of file class.ilObjTest.php.
Referenced by applyDefaults(), and fromXML().
ilObjTest::setIntroduction | ( | $introduction = "" | ) |
Sets the introduction.
Sets the introduction text of the ilObjTest object
string | $introduction | An introduction string for the test public |
Definition at line 2079 of file class.ilObjTest.php.
References $introduction.
Referenced by applyDefaults(), and fromXML().
ilObjTest::setKiosk | ( | $kiosk = 0 | ) |
Sets the kiosk mode for the test.
Sets the kiosk mode for the test
integer | $kiosk | The value for the kiosk mode. public |
Definition at line 2864 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setKioskMode | ( | $a_kiosk = FALSE | ) |
Sets the kiosk mode for the test.
Sets the kiosk mode for the test
boolean | $kiosk | The value for the kiosk mode public |
Definition at line 2899 of file class.ilObjTest.php.
References getKioskMode().
ilObjTest::setListOfQuestions | ( | $a_value = TRUE | ) |
Sets if the the list of questions should be presented to the user or not.
Sets if the the list of questions should be presented to the user or not
boolean | $a_value | TRUE if the list of questions should be presented, FALSE otherwise public |
Definition at line 8477 of file class.ilObjTest.php.
ilObjTest::setListOfQuestionsDescription | ( | $a_value = TRUE | ) |
Sets the show_summary attribute to TRUE if the list of questions should be presented with the question descriptions.
Sets the show_summary attribute to TRUE if the list of questions should be presented with the question descriptions
boolean | $a_value | TRUE if the list of questions should be shown with question descriptions, FALSE otherwise public |
Definition at line 8603 of file class.ilObjTest.php.
References getListOfQuestions(), and getListOfQuestionsDescription().
ilObjTest::setListOfQuestionsEnd | ( | $a_value = TRUE | ) |
Sets if the the list of questions as the end page of the test.
Sets if the the list of questions as the end page of the test
boolean | $a_value | TRUE if the list of questions should be the end page, FALSE otherwise public |
Definition at line 8560 of file class.ilObjTest.php.
References getListOfQuestions(), and getListOfQuestionsEnd().
ilObjTest::setListOfQuestionsSettings | ( | $a_value = 0 | ) |
Sets the settings for the list of questions options in the test properties.
Sets the settings for the list of questions options in the test properties This could contain one of the following values: 0 = No list of questions offered 1 = A list of questions is offered 3 = A list of questions is offered and the list of questions is shown as first page of the test 5 = A list of questions is offered and the list of questions is shown as last page of the test 7 = A list of questions is offered and the list of questions is shown as first and last page of the test
integer | $a_value | 0, 1, 3, 5 or 7 public |
Definition at line 8444 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setListOfQuestionsStart | ( | $a_value = TRUE | ) |
Sets if the the list of questions as the start page of the test.
Sets if the the list of questions as the start page of the test
boolean | $a_value | TRUE if the list of questions should be the start page, FALSE otherwise public |
Definition at line 8517 of file class.ilObjTest.php.
References getListOfQuestions(), and getListOfQuestionsStart().
ilObjTest::setMCScoring | ( | $a_mc_scoring = SCORE_ZERO_POINTS_WHEN_UNANSWERED | ) |
Sets the multiple choice scoring.
Sets the multiple choice scoring
integer | $a_mc_scoring | The scoring for multiple choice questions public |
Definition at line 3404 of file class.ilObjTest.php.
Referenced by applyDefaults(), and fromXML().
ilObjTest::setNrOfTries | ( | $nr_of_tries = 0 | ) |
Sets the nr of tries for the test.
Sets the nr of tries for the test
integer | $nr_of_tries | The maximum number of tries for the test. 0 for infinite tries. public |
Definition at line 3221 of file class.ilObjTest.php.
References $nr_of_tries.
Referenced by applyDefaults(), and fromXML().
ilObjTest::setPassScoring | ( | $a_pass_scoring = SCORE_LAST_PASS | ) |
Sets the pass scoring.
Sets the pass scoring
integer | $a_pass_scoring | The pass scoring type public |
Definition at line 3418 of file class.ilObjTest.php.
References SCORE_BEST_PASS, and SCORE_LAST_PASS.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setPassword | ( | $a_password = "" | ) |
Sets the password for test access.
Sets the password for test access
string | $a_password | The password for test access public |
Definition at line 3376 of file class.ilObjTest.php.
Referenced by fromXML(), and loadFromDb().
ilObjTest::setProcessingTime | ( | $processing_time = "00:00:00" | ) |
Sets the processing time for the test.
Sets the processing time for the test
string | $processing_time | The maximum processing time for the test given in hh:mm:ss public |
Definition at line 3281 of file class.ilObjTest.php.
References $processing_time.
Referenced by applyDefaults(), and fromXML().
ilObjTest::setQuestionSetSolved | ( | $value, | |
$question_id, | |||
$user_id | |||
) |
sets question solved state to value for given user_id
Definition at line 7753 of file class.ilObjTest.php.
References getActiveIdOfUser().
ilObjTest::setRandomQuestionCount | ( | $a_random_question_count = "" | ) |
Sets the random question count.
Sets the random question count
integer | $a_random_question_count | The random question count public |
Definition at line 2549 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and saveRandomQuestionCount().
ilObjTest::setRandomTest | ( | $a_random_test = 0 | ) |
Sets the random test indicator.
Sets the random test indicator
integer | $a_random_test | The random test indicator (0 = no random test, 1 = random test) public |
Definition at line 2535 of file class.ilObjTest.php.
Referenced by applyDefaults(), and fromXML().
ilObjTest::setReportingDate | ( | $reporting_date | ) |
Sets the reporting date.
Sets the reporting date of the ilObjTest object
timestamp | $reporting_date | The date and time the score reporting is available public |
Definition at line 2563 of file class.ilObjTest.php.
References $reporting_date.
Referenced by applyDefaults(), and fromXML().
ilObjTest::setResetProcessingTime | ( | $reset = 0 | ) |
Sets wheather the processing time should be reset or not.
Sets wheather the processing time should be reset or not
integer | $reset | 1 to reset the processing time, 0 otherwise public |
Definition at line 3313 of file class.ilObjTest.php.
Referenced by applyDefaults(), and fromXML().
ilObjTest::setResultsPresentation | ( | $a_results_presentation = 3 | ) |
Sets the combined results presentation value.
Sets the combined results presentation value
integer | $a_results_presentation | The combined results presentation value public |
Definition at line 8759 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setScoreCutting | ( | $a_score_cutting = SCORE_CUT_QUESTION | ) |
Sets the type of score cutting.
Sets the type of score cutting
integer | $a_score_cutting | The type of score cutting. 0 for cut questions, 1 for cut tests public |
Definition at line 3390 of file class.ilObjTest.php.
Referenced by fromXML(), and loadFromDb().
ilObjTest::setScoreReporting | ( | $score_reporting = 0 | ) |
Sets the score reporting.
Sets the score reporting of the ilObjTest object
integer | $score_reporting | The score reporting public |
Definition at line 2455 of file class.ilObjTest.php.
References $score_reporting.
Referenced by applyDefaults(), and fromXML().
ilObjTest::setSequenceSettings | ( | $sequence_settings = 0 | ) |
Sets the sequence settings.
Sets the sequence settings of the ilObjTest object
integer | $sequence_settings | The sequence settings public |
Definition at line 2441 of file class.ilObjTest.php.
References $sequence_settings.
Referenced by applyDefaults(), and fromXML().
ilObjTest::setShowCancel | ( | $a_value = 1 | ) |
Sets the cancel test button status.
Sets the cancel test button status
integer | $a_value | The value for the cancel test status (0 = don't show, 1 = show) public |
Definition at line 9281 of file class.ilObjTest.php.
Referenced by applyDefaults(), and fromXML().
ilObjTest::setShowFinalStatement | ( | $show = "" | ) |
Sets whether the final statement should be shown or not.
boolean | $show | TRUE or FALSE public |
Definition at line 2228 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setShowInfo | ( | $a_boolean = TRUE | ) |
Set whether the complete information page is shown or the required data only.
boolean | $a_boolean | TRUE for the complete information, FALSE otherwise public |
Definition at line 2105 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setShowKioskModeParticipant | ( | $a_participant = FALSE | ) |
Set to true, if the participant's name should be shown in kiosk mode.
Set to true, if the participant's name should be shown in kiosk mode
boolean | $a_title | TRUE if the participant's name should be shown in kiosk mode, FALSE otherwise public |
Definition at line 2987 of file class.ilObjTest.php.
References getShowKioskModeParticipant().
ilObjTest::setShowKioskModeTitle | ( | $a_title = FALSE | ) |
Set to true, if the full test title should be shown in kiosk mode.
Set to true, if the full test title should be shown in kiosk mode
boolean | $a_title | TRUE if the test title should be shown in kiosk mode, FALSE otherwise public |
Definition at line 2943 of file class.ilObjTest.php.
References getShowKioskModeTitle().
ilObjTest::setShowMarker | ( | $a_value = 1 | ) |
Sets the marker button status.
Sets the marker button status
integer | $a_value | The value for the marker status (0 = don't show, 1 = show) public |
Definition at line 9315 of file class.ilObjTest.php.
Referenced by applyDefaults(), and fromXML().
ilObjTest::setShowPassDetails | ( | $a_details = 1 | ) |
Sets if the pass details should be shown when a test is not finished.
Sets if the pass details should be shown when a test is not finished
boolean | $a_details | TRUE if the pass details should be shown, FALSE otherwise public |
Definition at line 8772 of file class.ilObjTest.php.
References getShowPassDetails().
Referenced by ilObjTest().
ilObjTest::setShowSolutionAnswersOnly | ( | $a_full = TRUE | ) |
Set to true, if the full solution (including the ILIAS content pages) should be shown in the solution output.
Set to true, if the full solution (including the ILIAS content pages) should be shown in the solution output
boolean | $a_full | TRUE if the full solution should be shown in the solution output, FALSE otherwise public |
Definition at line 8877 of file class.ilObjTest.php.
References getShowSolutionAnswersOnly().
Referenced by ilObjTest().
ilObjTest::setShowSolutionDetails | ( | $a_details = 1 | ) |
Sets if the the solution details should be presented to the user or not.
Sets if the the solution details should be presented to the user or not
integer | $a_details | 1 if the solution details should be presented, 0 otherwise public |
Definition at line 8795 of file class.ilObjTest.php.
References getShowSolutionDetails().
Referenced by fromXML(), and ilObjTest().
ilObjTest::setShowSolutionFeedback | ( | $a_feedback = TRUE | ) |
Sets if the the feedback should be presented to the user in the solution or not.
Sets if the the feedback should be presented to the user in the solution or not
boolean | $a_feedback | TRUE if the feedback should be presented in the solution, FALSE otherwise public |
Definition at line 8854 of file class.ilObjTest.php.
References getShowSolutionFeedback().
Referenced by fromXML().
ilObjTest::setShowSolutionPrintview | ( | $a_printview = 1 | ) |
Sets if the the solution printview should be presented to the user or not.
Sets if the the solution printview should be presented to the user or not
boolean | $a_details | TRUE if the solution printview should be presented, FALSE otherwise public |
Definition at line 8831 of file class.ilObjTest.php.
References getShowSolutionPrintview().
Referenced by fromXML().
ilObjTest::setShowSolutionSignature | ( | $a_signature = FALSE | ) |
Set to TRUE, if the signature field should be shown in the solution.
Set to TRUE, if the signature field should be shown in the solution
boolean | $a_signature | TRUE if the signature field should be shown, FALSE otherwise public |
Definition at line 8900 of file class.ilObjTest.php.
References getShowSolutionSignature().
Referenced by ilObjTest().
ilObjTest::setShuffleQuestions | ( | $a_shuffle | ) |
Sets the status of the shuffle_questions variable.
Sets the status of the shuffle_questions variable
boolean | $a_shuffle | FALSE if the test questions are not shuffled, TRUE if the test questions are shuffled public |
Definition at line 8399 of file class.ilObjTest.php.
Referenced by fromXML(), and loadFromDb().
ilObjTest::setStartingTime | ( | $starting_time = "" | ) |
Sets the starting time for the test.
Sets the starting time in database timestamp format for the test
string | $starting_time | The starting time for the test. Empty string for no starting time. public |
Definition at line 3334 of file class.ilObjTest.php.
References $starting_time.
Referenced by applyDefaults(), and fromXML().
& ilObjTest::setTestSession | ( | $active_id = "" | ) |
Sets the test session data for the active user.
integer | $active_id | The active id of the active user |
Definition at line 9841 of file class.ilObjTest.php.
References $_SESSION, $testSession, and getTestId().
Referenced by getTestSession().
ilObjTest::setTitleOutput | ( | $title_output = 0 | ) |
Sets the status of the title output.
Sets the status of the title output
integer | $title_output | 0 for full title, 1 for title without points, 2 for no title public |
Definition at line 3256 of file class.ilObjTest.php.
References $title_output.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setUsePreviousAnswers | ( | $use_previous_answers = 1 | ) |
Sets the status of the visibility of previous learner answers.
Sets the status of the visibility of previous learner answers
integer | $use_previous_answers | 1 if the previous answers should be shown public |
Definition at line 3235 of file class.ilObjTest.php.
References $use_previous_answers.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::startingTimeReached | ( | ) |
Returns true if the starting time of a test is reached.
Returns true if the starting time of a test is reached A starting time is not available for self assessment tests
Definition at line 5713 of file class.ilObjTest.php.
References getStartingTime().
Referenced by isExecutable().
ilObjTest::startWorkingTime | ( | $active_id, | |
$pass | |||
) |
Write the initial entry for the tests working time to the database.
Write the initial entry for the tests working time to the database
integer | $user_id | The database id of the user working with the test public |
Definition at line 3998 of file class.ilObjTest.php.
References $pass, and $result.
ilObjTest::testTitleExists | ( | $title | ) |
Returns TRUE if the test title exists in the database.
Returns TRUE if the test title exists in the database
string | $title | The title of the test |
Definition at line 1017 of file class.ilObjTest.php.
References $result, and ilObject\$title.
ilObjTest::toXML | ( | ) |
Returns a QTI xml representation of the test.
Returns a QTI xml representation of the test
Definition at line 6186 of file class.ilObjTest.php.
References _instanciateQuestion(), addQTIMaterial(), getAllowedUsers(), getAllowedUsersTimeGap(), getAnonymity(), getAnswerFeedback(), getAnswerFeedbackPoints(), getAuthor(), getCountSystem(), getCustomStyle(), ilObject\getDescription(), getEndingTime(), getFinalStatement(), getFixedParticipants(), getForceJS(), getInstantFeedbackSolution(), getIntroduction(), getKiosk(), getListOfQuestionsSettings(), getMCScoring(), getNrOfTries(), getPassScoring(), getPassword(), getProcessingTime(), getRandomQuestionCount(), getReportingDate(), getResetProcessingTime(), getResultsPresentation(), getScoreCutting(), getScoreReporting(), getSequenceSettings(), getShowCancel(), getShowFinalStatement(), getShowInfo(), getShowMarker(), getShuffleQuestions(), getStartingTime(), ilObject\getTitle(), getTitleOutput(), getUsePreviousAnswers(), isRandomTest(), and ilXmlWriter\xmlHeader().
ilObjTest::unsetAccessCodeSession | ( | ) |
Definition at line 8999 of file class.ilObjTest.php.
References $_SESSION, ilObject\$id, and getTestId().
ilObjTest::update | ( | ) |
update object data
public
Reimplemented from ilObject.
Definition at line 560 of file class.ilObjTest.php.
ilObjTest::updateWorkingTime | ( | $times_id | ) |
Update the working time of a test when a question is answered.
Update the working time of a test when a question is answered
integer | $times_id | The database id of a working time entry public |
Definition at line 4020 of file class.ilObjTest.php.
References $result.
ilObjTest::userLookupFullName | ( | $user_id, | |
$overwrite_anonymity = FALSE , |
|||
$sorted_order = FALSE , |
|||
$suffix = "" |
|||
) |
Returns the full name of a test user according to the anonymity status.
Returns the full name of a test user according to the anonymity status
int | $user_id | The database ID of the user |
boolean | $overwrite_anonymity | Indicates if the anonymity status should be ignored |
Definition at line 9419 of file class.ilObjTest.php.
References ilObjUser\_lookupName(), and getAnonymity().
Referenced by removeSelectedTestResults(), and removeTestResultsForUser().
|
private |
Definition at line 464 of file class.ilObjTest.php.
Referenced by getCustomStyle().
|
private |
Definition at line 443 of file class.ilObjTest.php.
Referenced by getFinalStatement().
|
private |
Definition at line 457 of file class.ilObjTest.php.
Referenced by getForceJS().
|
protected |
Definition at line 46 of file class.ilObjTest.php.
Referenced by getKiosk().
|
private |
Definition at line 436 of file class.ilObjTest.php.
Referenced by getShowFinalStatement().
|
private |
Definition at line 450 of file class.ilObjTest.php.
Referenced by getShowInfo().
ilObjTest::$allowedUsers |
Definition at line 366 of file class.ilObjTest.php.
Referenced by getAllowedUsers(), and saveToDb().
ilObjTest::$allowedUsersTimeGap |
Definition at line 373 of file class.ilObjTest.php.
Referenced by getAllowedUsersTimeGap(), and saveToDb().
ilObjTest::$anonymity |
Definition at line 387 of file class.ilObjTest.php.
Referenced by getAnonymity().
ilObjTest::$answer_feedback |
Definition at line 415 of file class.ilObjTest.php.
Referenced by getAnswerFeedback(), and setAnswerFeedback().
ilObjTest::$answer_feedback_points |
Definition at line 156 of file class.ilObjTest.php.
Referenced by getAnswerFeedbackPoints(), and setAnswerFeedbackPoints().
ilObjTest::$author |
Definition at line 75 of file class.ilObjTest.php.
Referenced by _lookupAuthor(), getAuthor(), and setAuthor().
ilObjTest::$certificate_visibility |
Definition at line 380 of file class.ilObjTest.php.
Referenced by getCertificateVisibility().
ilObjTest::$count_system |
Definition at line 309 of file class.ilObjTest.php.
Referenced by getCountSystem().
ilObjTest::$ects_fx |
Definition at line 272 of file class.ilObjTest.php.
Referenced by getECTSFX(), and saveToDb().
ilObjTest::$ects_grades |
Definition at line 281 of file class.ilObjTest.php.
Referenced by getECTSGrades().
ilObjTest::$ects_output |
Definition at line 263 of file class.ilObjTest.php.
Referenced by getECTSOutput(), and saveECTSStatus().
ilObjTest::$enable_processing_time |
Definition at line 227 of file class.ilObjTest.php.
Referenced by getEnableProcessingTime().
ilObjTest::$ending_time |
Definition at line 254 of file class.ilObjTest.php.
Referenced by getEndingTime(), and setEndingTime().
ilObjTest::$evaluation_data |
Definition at line 177 of file class.ilObjTest.php.
ilObjTest::$fixed_participants |
Definition at line 408 of file class.ilObjTest.php.
Referenced by getFixedParticipants().
ilObjTest::$instant_verification |
Definition at line 147 of file class.ilObjTest.php.
Referenced by getInstantFeedbackSolution().
ilObjTest::$introduction |
Definition at line 103 of file class.ilObjTest.php.
Referenced by getIntroduction(), and setIntroduction().
ilObjTest::$invitation = INVITATION_OFF |
Definition at line 64 of file class.ilObjTest.php.
ilObjTest::$mark_schema |
Definition at line 112 of file class.ilObjTest.php.
Referenced by cloneObject(), and getMarkSchema().
ilObjTest::$mc_scoring |
Definition at line 316 of file class.ilObjTest.php.
Referenced by getMCScoring().
ilObjTest::$metadata |
Definition at line 84 of file class.ilObjTest.php.
Referenced by fromXML().
ilObjTest::$nr_of_tries |
Definition at line 187 of file class.ilObjTest.php.
Referenced by getNrOfTries(), and setNrOfTries().
ilObjTest::$pass_scoring |
Definition at line 323 of file class.ilObjTest.php.
Referenced by getPassScoring().
ilObjTest::$password |
Definition at line 359 of file class.ilObjTest.php.
Referenced by getPassword().
ilObjTest::$processing_time |
Definition at line 218 of file class.ilObjTest.php.
Referenced by getProcessingTime(), isMaxProcessingTimeReached(), and setProcessingTime().
ilObjTest::$questions |
Definition at line 93 of file class.ilObjTest.php.
ilObjTest::$random_question_count |
Definition at line 301 of file class.ilObjTest.php.
Referenced by getRandomQuestionCount(), and saveToDb().
ilObjTest::$random_test |
Definition at line 292 of file class.ilObjTest.php.
Referenced by isRandomTest().
ilObjTest::$reporting_date |
Definition at line 168 of file class.ilObjTest.php.
Referenced by getReportingDate(), and setReportingDate().
ilObjTest::$reset_processing_time |
Definition at line 236 of file class.ilObjTest.php.
Referenced by getResetProcessingTime().
ilObjTest::$results_presentation |
Definition at line 338 of file class.ilObjTest.php.
Referenced by getResultsPresentation().
ilObjTest::$score_cutting |
Definition at line 352 of file class.ilObjTest.php.
Referenced by getScoreCutting().
ilObjTest::$score_reporting |
Definition at line 136 of file class.ilObjTest.php.
Referenced by getScoreReporting(), and setScoreReporting().
ilObjTest::$sequence_settings |
Definition at line 123 of file class.ilObjTest.php.
Referenced by getSequenceSettings(), and setSequenceSettings().
ilObjTest::$show_cancel |
Definition at line 394 of file class.ilObjTest.php.
Referenced by getShowCancel().
ilObjTest::$show_marker |
Definition at line 401 of file class.ilObjTest.php.
Referenced by getShowMarker().
ilObjTest::$show_summary |
Definition at line 345 of file class.ilObjTest.php.
Referenced by getListOfQuestionsSettings().
ilObjTest::$shuffle_questions |
Definition at line 331 of file class.ilObjTest.php.
Referenced by getShuffleQuestions(), and saveToDb().
ilObjTest::$starting_time |
Definition at line 245 of file class.ilObjTest.php.
Referenced by canShowTestResults(), getStartingTime(), isExecutable(), isMaxProcessingTimeReached(), and setStartingTime().
ilObjTest::$test_id |
Definition at line 55 of file class.ilObjTest.php.
Referenced by _evalResultsOverview(), _getActiveIdOfUser(), _getCompleteWorkingTimeOfParticipants(), _getObjectIDFromTestID(), _getQuestionCount(), _getTestIDFromObjectID(), _getVisitTimeOfParticipant(), getParticipantsForTestAndQuestion(), and getTestId().
ilObjTest::$testSequence |
Definition at line 429 of file class.ilObjTest.php.
Referenced by getTestResult(), and getTestSequence().
ilObjTest::$testSession |
Definition at line 422 of file class.ilObjTest.php.
Referenced by createTestSession(), getTestSession(), and setTestSession().
ilObjTest::$title_output |
Definition at line 209 of file class.ilObjTest.php.
Referenced by getTitleOutput(), and setTitleOutput().
ilObjTest::$use_previous_answers |
Definition at line 197 of file class.ilObjTest.php.
Referenced by _getUsePreviousAnswers(), getUsePreviousAnswers(), and setUsePreviousAnswers().