ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Public Member Functions | ||||||||||
__construct ($a_id=0, $a_call_by_reference=true) | ||||||||||
Constructor. More... | ||||||||||
create ($a_upload=false) | ||||||||||
create test object More... | ||||||||||
update () | ||||||||||
update object data More... | ||||||||||
read ($a_force_db=false) | ||||||||||
read object data from db into object More... | ||||||||||
delete () | ||||||||||
delete object and all related data More... | ||||||||||
deleteTest () | ||||||||||
Deletes the test and all related objects, files and database entries. More... | ||||||||||
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. More... | ||||||||||
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) More... | ||||||||||
getExportDirectory () | ||||||||||
Get the location of the export directory for the test. More... | ||||||||||
_setImportDirectory ($a_import_dir=null) | ||||||||||
set import directory More... | ||||||||||
_getImportDirectory () | ||||||||||
Get the import directory location of the test. More... | ||||||||||
getImportDirectory () | ||||||||||
_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) More... | ||||||||||
hasSingleChoiceQuestions () | ||||||||||
Returns TRUE if the test contains single choice results. More... | ||||||||||
isSingleChoiceTest () | ||||||||||
Returns TRUE if the test contains single choice results only. More... | ||||||||||
isSingleChoiceTestWithoutShuffle () | ||||||||||
Returns TRUE if the test contains single choice results and no shuffle only. More... | ||||||||||
isComplete (ilTestQuestionSetConfig $testQuestionSetConfig) | ||||||||||
Returns true, if a test is complete for use and can be set online. More... | ||||||||||
_isComplete ($obj_id) | ||||||||||
Returns true, if a test is complete for use. More... | ||||||||||
saveCompleteStatus (ilTestQuestionSetConfig $testQuestionSetConfig) | ||||||||||
Checks if the test is complete and saves the status in the database. More... | ||||||||||
getAllRTEContent () | ||||||||||
Returns the content of all RTE enabled text areas in the test. More... | ||||||||||
cleanupMediaobjectUsage () | ||||||||||
Cleans up the media objects for all text fields in a test which are using an RTE field. More... | ||||||||||
saveToDb ($properties_only=FALSE) | ||||||||||
Saves a ilObjTest object to a database. More... | ||||||||||
saveQuestionsToDb () | ||||||||||
Saves the test questions to the database. More... | ||||||||||
randomSelectQuestions ($nr_of_questions, $questionpool, $use_obj_id=0, $qpls="", $pass=NULL) | ||||||||||
Returns a random selection of questions. More... | ||||||||||
getNrOfResultsForPass ($active_id, $pass) | ||||||||||
Calculates the number of user results for a specific test pass. More... | ||||||||||
hasRandomQuestionsForPass ($active_id, $pass) | ||||||||||
Checkes wheather a random test has already created questions for a given pass or not. More... | ||||||||||
loadFromDb () | ||||||||||
Loads a ilObjTest object from a database. More... | ||||||||||
loadQuestions ($active_id="", $pass=NULL) | ||||||||||
Load the test question id's from the database. More... | ||||||||||
isIntroductionEnabled () | ||||||||||
setIntroductionEnabled ($introductionEnabled) | ||||||||||
getIntroduction () | ||||||||||
Gets the introduction text of the ilObjTest object. More... | ||||||||||
setIntroduction ($introduction="") | ||||||||||
Sets the introduction text of the ilObjTest object. More... | ||||||||||
setFinalStatement ($a_statement="") | ||||||||||
Sets the final statement text of the ilObjTest object. More... | ||||||||||
setShowInfo ($a_info=1) | ||||||||||
Set whether the complete information page is shown or the required data only. More... | ||||||||||
setForceJS ($a_js=1) | ||||||||||
Set whether JavaScript should be forced for tests. More... | ||||||||||
setCustomStyle ($a_customStyle=NULL) | ||||||||||
Set the custom style. More... | ||||||||||
getCustomStyle () | ||||||||||
Get the custom style. More... | ||||||||||
getCustomStyles () | ||||||||||
Return the available custom styles. More... | ||||||||||
getTestStyleLocation ($mode="output") | ||||||||||
get full style sheet file name (path inclusive) of current user More... | ||||||||||
setShowFinalStatement ($show=0) | ||||||||||
Sets whether the final statement should be shown or not. More... | ||||||||||
getFinalStatement () | ||||||||||
Gets the final statement. More... | ||||||||||
getShowInfo () | ||||||||||
Gets whether the complete information page is shown or the required data only. More... | ||||||||||
getForceJS () | ||||||||||
Gets whether JavaScript should be forced for tests. More... | ||||||||||
getShowFinalStatement () | ||||||||||
Returns whether the final statement should be shown or not. More... | ||||||||||
getTestId () | ||||||||||
Gets the database id of the additional test data. More... | ||||||||||
getECTSOutput () | ||||||||||
{
| ||||||||||
setECTSOutput ($a_ects_output) | ||||||||||
{
| ||||||||||
getECTSFX () | ||||||||||
{
| ||||||||||
setECTSFX ($a_ects_fx) | ||||||||||
{
| ||||||||||
getECTSGrades () | ||||||||||
{
| ||||||||||
setECTSGrades (array $a_ects_grades) | ||||||||||
{
| ||||||||||
getSequenceSettings () | ||||||||||
SEQUENCE SETTING = POSTPONING ENABLED !! More... | ||||||||||
setSequenceSettings ($sequence_settings=0) | ||||||||||
SEQUENCE SETTING = POSTPONING ENABLED !! More... | ||||||||||
isPostponingEnabled () | ||||||||||
setPostponingEnabled ($postponingEnabled) | ||||||||||
setScoreReporting ($score_reporting=0) | ||||||||||
Sets the score reporting of the ilObjTest object. More... | ||||||||||
setInstantFeedbackSolution ($instant_feedback=0) | ||||||||||
Sets the instant feedback for the solution. More... | ||||||||||
setAnswerFeedback ($answer_feedback=0) | ||||||||||
Sets the generic feedback for the test Use setGenericAnswerFeedback instead. More... | ||||||||||
setGenericAnswerFeedback ($generic_answer_feedback=0) | ||||||||||
Sets if the generic feedback is to be shown in the test. More... | ||||||||||
setAnswerFeedbackPoints ($answer_feedback_points=0) | ||||||||||
Sets the answer specific feedback of reached points for the test. More... | ||||||||||
setReportingDate ($reporting_date) | ||||||||||
Sets the reporting date of the ilObjTest object. More... | ||||||||||
getScoreReporting () | ||||||||||
Gets the score reporting of the ilObjTest object. More... | ||||||||||
isScoreReportingEnabled () | ||||||||||
getInstantFeedbackSolution () | ||||||||||
Returns 1 if the correct solution will be shown after answering a question. More... | ||||||||||
getAnswerFeedback () | ||||||||||
Returns 1 if generic answer feedback is activated. More... | ||||||||||
getGenericAnswerFeedback () | ||||||||||
Returns 1 if generic answer feedback is to be shown. More... | ||||||||||
getAnswerFeedbackPoints () | ||||||||||
Returns 1 if answer specific feedback as reached points is activated. More... | ||||||||||
getCountSystem () | ||||||||||
Gets the count system for the calculation of points. More... | ||||||||||
_getCountSystem ($active_id) | ||||||||||
Gets the count system for the calculation of points. More... | ||||||||||
getMCScoring () | ||||||||||
Gets the scoring type for multiple choice questions. More... | ||||||||||
getScoreCutting () | ||||||||||
Determines if the score of a question should be cut at 0 points or the score of the whole test. More... | ||||||||||
getPassScoring () | ||||||||||
Gets the pass scoring type. More... | ||||||||||
_getPassScoring ($active_id) | ||||||||||
Gets the pass scoring type. More... | ||||||||||
_getMCScoring ($active_id) | ||||||||||
Gets the scoring type for multiple choice questions. More... | ||||||||||
_getScoreCutting ($active_id) | ||||||||||
Determines if the score of a question should be cut at 0 points or the score of the whole test. More... | ||||||||||
getReportingDate () | ||||||||||
Gets the reporting date of the ilObjTest object. More... | ||||||||||
getNrOfTries () | ||||||||||
Returns the nr of tries for the test. More... | ||||||||||
getKiosk () | ||||||||||
Returns the kiosk mode. More... | ||||||||||
setKiosk ($kiosk=0) | ||||||||||
Sets the kiosk mode for the test. More... | ||||||||||
getKioskMode () | ||||||||||
Returns the kiosk mode. More... | ||||||||||
setKioskMode ($a_kiosk=FALSE) | ||||||||||
Sets the kiosk mode for the test. More... | ||||||||||
getShowKioskModeTitle () | ||||||||||
Returns the status of the kiosk mode title. More... | ||||||||||
setShowKioskModeTitle ($a_title=FALSE) | ||||||||||
Set to true, if the full test title should be shown in kiosk mode. More... | ||||||||||
getShowKioskModeParticipant () | ||||||||||
Returns the status of the kiosk mode participant. More... | ||||||||||
setShowKioskModeParticipant ($a_participant=FALSE) | ||||||||||
Set to true, if the participant's name should be shown in kiosk mode. More... | ||||||||||
getUsePreviousAnswers () | ||||||||||
Returns if the previous answers should be shown for a learner. More... | ||||||||||
getTitleOutput () | ||||||||||
Returns the value of the title_output status. More... | ||||||||||
_getTitleOutput ($active_id) | ||||||||||
Returns the value of the title_output status. More... | ||||||||||
_getUsePreviousAnswers ($active_id, $user_active_user_setting=false) | ||||||||||
Returns if the previous results should be hidden for a learner. More... | ||||||||||
getProcessingTime () | ||||||||||
Returns the processing time for the test. More... | ||||||||||
getProcessingTimeAsArray () | ||||||||||
Returns the processing time for the test. More... | ||||||||||
getProcessingTimeAsMinutes () | ||||||||||
getProcessingTimeInSeconds ($active_id="") | ||||||||||
Returns the processing time for the test in seconds. More... | ||||||||||
getSecondsUntilEndingTime () | ||||||||||
Returns the seconds left from the actual time until the ending time. More... | ||||||||||
getEnableProcessingTime () | ||||||||||
Returns the state of the processing time (enabled/disabled) More... | ||||||||||
getResetProcessingTime () | ||||||||||
Returns wheather the processing time should be reset or not. More... | ||||||||||
isStartingTimeEnabled () | ||||||||||
setStartingTimeEnabled ($starting_time_enabled) | ||||||||||
getStartingTime () | ||||||||||
Returns the starting time of the test. More... | ||||||||||
setStartingTime ($starting_time=NULL) | ||||||||||
Sets the starting time in database timestamp format for the test. More... | ||||||||||
isEndingTimeEnabled () | ||||||||||
setEndingTimeEnabled ($ending_time_enabled) | ||||||||||
getEndingTime () | ||||||||||
Returns the ending time of the test. More... | ||||||||||
setEndingTime ($ending_time=NULL) | ||||||||||
Sets the ending time in database timestamp format for the test. More... | ||||||||||
setNrOfTries ($nr_of_tries=0) | ||||||||||
Sets the nr of tries for the test. More... | ||||||||||
setUsePreviousAnswers ($use_previous_answers=1) | ||||||||||
Sets the status of the visibility of previous learner answers. More... | ||||||||||
setRedirectionMode ($redirection_mode=0) | ||||||||||
getRedirectionMode () | ||||||||||
setRedirectionUrl ($redirection_url=NULL) | ||||||||||
getRedirectionUrl () | ||||||||||
setTitleOutput ($title_output=0) | ||||||||||
Sets the status of the title output. More... | ||||||||||
setProcessingTime ($processing_time="00:00:00") | ||||||||||
Sets the processing time for the test. More... | ||||||||||
setProcessingTimeByMinutes ($minutes) | ||||||||||
setEnableProcessingTime ($enable=0) | ||||||||||
Sets the processing time enabled or disabled. More... | ||||||||||
setResetProcessingTime ($reset=0) | ||||||||||
Sets wheather the processing time should be reset or not. More... | ||||||||||
setCountSystem ($a_count_system=COUNT_PARTIAL_SOLUTIONS) | ||||||||||
Sets the count system for the calculation of points. More... | ||||||||||
isPasswordEnabled () | ||||||||||
setPasswordEnabled ($passwordEnabled) | ||||||||||
getPassword () | ||||||||||
Returns the password for test access. More... | ||||||||||
setPassword ($a_password=NULL) | ||||||||||
Sets the password for test access. More... | ||||||||||
setScoreCutting ($a_score_cutting=SCORE_CUT_QUESTION) | ||||||||||
Sets the type of score cutting. More... | ||||||||||
setMCScoring ($a_mc_scoring=SCORE_ZERO_POINTS_WHEN_UNANSWERED) | ||||||||||
Sets the multiple choice scoring. More... | ||||||||||
setPassScoring ($a_pass_scoring=SCORE_LAST_PASS) | ||||||||||
Sets the pass scoring. More... | ||||||||||
removeQuestion ($question_id) | ||||||||||
Removes a question from the test object. More... | ||||||||||
removeAllTestEditings ($question_id="") | ||||||||||
Removes all references to the question in executed tests in case the question has been changed. More... | ||||||||||
removeTestResults (ilTestParticipantData $participantData) | ||||||||||
removeTestResultsByUserIds ($userIds) | ||||||||||
removeTestResultsByActiveIds ($activeIds) | ||||||||||
removeTestActives ($activeIds) | ||||||||||
removeTestResultsForUser ($user_id) | ||||||||||
questionMoveUp ($question_id) | ||||||||||
Moves a question up in order. More... | ||||||||||
questionMoveDown ($question_id) | ||||||||||
Moves a question down in order. More... | ||||||||||
duplicateQuestionForTest ($question_id) | ||||||||||
Takes a question and creates a copy of the question for use in the test. More... | ||||||||||
insertQuestion (ilTestQuestionSetConfig $testQuestionSetConfig, $question_id, $linkOnly=false) | ||||||||||
Insert a question in the list of questions. More... | ||||||||||
& | getQuestionTitles () | |||||||||
Returns the titles of the test questions in question sequence. More... | ||||||||||
& | getQuestionTitlesAndIndexes () | |||||||||
Returns the titles of the test questions in question sequence. More... | ||||||||||
getQuestionTitle ($title) | ||||||||||
Returns the title of a test question and checks if the title output is allowed. More... | ||||||||||
getQuestionDataset ($question_id) | ||||||||||
Returns the dataset for a given question id. More... | ||||||||||
& | getExistingQuestions ($pass=NULL) | |||||||||
Get the id's of the questions which are already part of the test. More... | ||||||||||
getQuestionType ($question_id) | ||||||||||
Returns the question type of a question with a given id. More... | ||||||||||
startWorkingTime ($active_id, $pass) | ||||||||||
Write the initial entry for the tests working time to the database. More... | ||||||||||
updateWorkingTime ($times_id) | ||||||||||
Update the working time of a test when a question is answered. More... | ||||||||||
& | getWorkedQuestions ($active_id, $pass=NULL) | |||||||||
Gets the id's of all questions a user already worked through. More... | ||||||||||
isTestFinishedToViewResults ($active_id, $currentpass) | ||||||||||
Returns true if an active user completed a test pass and did not start a new pass. More... | ||||||||||
& | getAllQuestions ($pass=NULL) | |||||||||
Returns all questions of a test in test order. More... | ||||||||||
getActiveIdOfUser ($user_id="", $anonymous_id="") | ||||||||||
Gets the active id of a given user. More... | ||||||||||
_getActiveIdOfUser ($user_id="", $test_id="") | ||||||||||
Gets the active id of the tst_active table for the active user. More... | ||||||||||
pcArrayShuffle ($array) | ||||||||||
Shuffles the values of a given array. More... | ||||||||||
& | getTestResult ($active_id, $pass=NULL, $ordered_sequence=FALSE) | |||||||||
Calculates the results of a test for a given user and returns an array with all test results. More... | ||||||||||
evalTotalPersons () | ||||||||||
Returns the number of persons who started the test. More... | ||||||||||
getCompleteWorkingTime ($user_id) | ||||||||||
Returns the complete working time in seconds a user worked on the test. More... | ||||||||||
& | getCompleteWorkingTimeOfParticipants () | |||||||||
Returns the complete working time in seconds for all test participants. More... | ||||||||||
& | _getCompleteWorkingTimeOfParticipants ($test_id) | |||||||||
Returns the complete working time in seconds for all test participants. More... | ||||||||||
getCompleteWorkingTimeOfParticipant ($active_id) | ||||||||||
Returns the complete working time in seconds for a test participant. More... | ||||||||||
_getWorkingTimeOfParticipantForPass ($active_id, $pass) | ||||||||||
Returns the complete working time in seconds for a test participant. More... | ||||||||||
getVisitTimeOfParticipant ($active_id) | ||||||||||
Returns the first and last visit of a participant. More... | ||||||||||
_getVisitTimeOfParticipant ($test_id, $active_id) | ||||||||||
Returns the first and last visit of a participant. More... | ||||||||||
& | evalStatistical ($active_id) | |||||||||
Returns the statistical evaluation of the test for a specified user. More... | ||||||||||
& | getTotalPointsPassedArray () | |||||||||
Returns an array with the total points of all users who passed the test This array could be used for statistics. More... | ||||||||||
& | getParticipants () | |||||||||
Returns all persons who started the test. More... | ||||||||||
& | evalTotalPersonsArray ($name_sort_order="asc") | |||||||||
Returns all persons who started the test. More... | ||||||||||
& | evalTotalParticipantsArray ($name_sort_order="asc") | |||||||||
Returns all participants who started the test. More... | ||||||||||
evalTotalFinished () | ||||||||||
Returns the number of total finished tests. More... | ||||||||||
& | getQuestionsOfTest ($active_id) | |||||||||
Retrieves all the assigned questions for all test passes of a test participant. More... | ||||||||||
& | getQuestionsOfPass ($active_id, $pass) | |||||||||
Retrieves all the assigned questions for a test participant in a given test pass. More... | ||||||||||
_getQuestionCountAndPointsForPassOfParticipant ($active_id, $pass) | ||||||||||
& | getCompleteEvaluationData ($withStatistics=TRUE, $filterby="", $filtertext="") | |||||||||
& | evalResultsOverview () | |||||||||
Creates an associated array with the results of all participants of a test. More... | ||||||||||
& | _evalResultsOverview ($test_id) | |||||||||
Creates an associated array with the results of all participants of a test. More... | ||||||||||
& | evalResultsOverviewOfParticipant ($active_id) | |||||||||
Creates an associated array with the results for a given participant of a test. More... | ||||||||||
buildName ($user_id, $firstname, $lastname, $title) | ||||||||||
Builds a user name for the output depending on test type and existence of the user. More... | ||||||||||
_buildName ($is_anonymous, $user_id, $firstname, $lastname, $title) | ||||||||||
Builds a user name for the output depending on test type and existence of the user. More... | ||||||||||
evalTotalStartedAverageTime () | ||||||||||
Returns the average processing time for all started tests. More... | ||||||||||
& | 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. More... | ||||||||||
getEstimatedWorkingTime () | ||||||||||
Returns the estimated working time for the test calculated from the working time of the contained questions. More... | ||||||||||
getImagePath () | ||||||||||
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. More... | ||||||||||
getImagePathWeb () | ||||||||||
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. More... | ||||||||||
& | createQuestionGUI ($question_type, $question_id=-1) | |||||||||
Creates a question GUI instance of a given question type. More... | ||||||||||
& | _instanciateQuestion ($question_id) | |||||||||
Creates an instance of a question with a given question id. More... | ||||||||||
moveQuestions ($move_questions, $target_index, $insert_mode) | ||||||||||
Move questions to another position. More... | ||||||||||
startingTimeReached () | ||||||||||
Returns true if the starting time of a test is reached A starting time is not available for self assessment tests. More... | ||||||||||
endingTimeReached () | ||||||||||
Returns true if the ending time of a test is reached An ending time is not available for self assessment tests. More... | ||||||||||
getAvailableQuestions ($arrFilter, $completeonly=0) | ||||||||||
Calculates the available questions for a test. More... | ||||||||||
& | getQuestionTypeTranslations () | |||||||||
fromXML (ilQTIAssessment $assessment) | ||||||||||
Receives parameters from a QTI parser and creates a valid ILIAS test object. More... | ||||||||||
toXML () | ||||||||||
Returns a QTI xml representation of the test. More... | ||||||||||
exportPagesXML (&$a_xml_writer, $a_inst, $a_target_dir, &$expLog) | ||||||||||
export pages of test to xml (see ilias_co.dtd) More... | ||||||||||
exportXMLMetaData (&$a_xml_writer) | ||||||||||
export content objects meta data to xml (see ilias_co.dtd) More... | ||||||||||
modifyExportIdentifier ($a_tag, $a_param, $a_value) | ||||||||||
Returns the installation id for a given identifier. More... | ||||||||||
exportXMLPageObjects (&$a_xml_writer, $a_inst, &$expLog) | ||||||||||
export page objects to xml (see ilias_co.dtd) More... | ||||||||||
exportXMLMediaObjects (&$a_xml_writer, $a_inst, $a_target_dir, &$expLog) | ||||||||||
export media objects to xml (see ilias_co.dtd) More... | ||||||||||
exportFileItems ($a_target_dir, &$expLog) | ||||||||||
export files of file itmes More... | ||||||||||
getImportMapping () | ||||||||||
get array of (two) new created questions for import id More... | ||||||||||
canEditEctsGrades () | ||||||||||
{
| ||||||||||
getECTSGrade ($passed_array, $reached_points, $max_points) | ||||||||||
{Returns the ECTS grade for a number of reached points.
| ||||||||||
checkMarks () | ||||||||||
{
| ||||||||||
getMarkSchema () | ||||||||||
{
| ||||||||||
getMarkSchemaForeignId () | ||||||||||
{
| ||||||||||
canEditMarks () | ||||||||||
setAuthor ($author="") | ||||||||||
Sets the authors name of the ilObjTest object. More... | ||||||||||
saveAuthorToMetadata ($a_author="") | ||||||||||
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. More... | ||||||||||
createMetaData () | ||||||||||
Create meta data entry. More... | ||||||||||
getAuthor () | ||||||||||
Gets the authors name of the ilObjTest object. More... | ||||||||||
_lookupAuthor ($obj_id) | ||||||||||
Gets the authors name of the ilObjTest object. More... | ||||||||||
& | _getAvailableTests ($use_object_id=FALSE) | |||||||||
Returns the available tests for the active user. More... | ||||||||||
getQuestionCount () | ||||||||||
Returns the number of questions in the test. More... | ||||||||||
logAction ($logtext="", $question_id="") | ||||||||||
Logs an action into the Test&Assessment log. More... | ||||||||||
_getObjectIDFromTestID ($test_id) | ||||||||||
Returns the ILIAS test object id for a given test id. More... | ||||||||||
_getObjectIDFromActiveID ($active_id) | ||||||||||
Returns the ILIAS test object id for a given active id. More... | ||||||||||
_getTestIDFromObjectID ($object_id) | ||||||||||
Returns the ILIAS test id for a given object id. More... | ||||||||||
getTextAnswer ($active_id, $question_id, $pass=NULL) | ||||||||||
Returns the text answer of a given user for a given question. More... | ||||||||||
getQuestiontext ($question_id) | ||||||||||
Returns the question text for a given question. More... | ||||||||||
& | getInvitedUsers ($user_id="", $order="login, lastname, firstname") | |||||||||
Returns a list of all invited users in a test. More... | ||||||||||
& | getTestParticipants () | |||||||||
Returns a list of all participants in a test. More... | ||||||||||
getTestParticipantsForManualScoring ($filter=NULL) | ||||||||||
& | getUserData ($ids) | |||||||||
Returns a data of all users specified by id list. More... | ||||||||||
& | getGroupData ($ids) | |||||||||
& | getRoleData ($ids) | |||||||||
inviteGroup ($group_id) | ||||||||||
Invites all users of a group to a test. More... | ||||||||||
inviteRole ($role_id) | ||||||||||
Invites all users of a role to a test. More... | ||||||||||
disinviteUser ($user_id) | ||||||||||
Disinvites a user from a test. More... | ||||||||||
inviteUser ($user_id, $client_ip="") | ||||||||||
Invites a user to a test. More... | ||||||||||
setClientIP ($user_id, $client_ip) | ||||||||||
_getSolvedQuestions ($active_id, $question_fi=null) | ||||||||||
get solved questions More... | ||||||||||
setQuestionSetSolved ($value, $question_id, $user_id) | ||||||||||
sets question solved state to value for given user_id More... | ||||||||||
isTestFinished ($active_id) | ||||||||||
returns if the active for user_id has been submitted More... | ||||||||||
isActiveTestSubmitted ($user_id=null) | ||||||||||
returns if the active for user_id has been submitted More... | ||||||||||
hasNrOfTriesRestriction () | ||||||||||
returns if the numbers of tries have to be checked More... | ||||||||||
isNrOfTriesReached ($tries) | ||||||||||
returns if number of tries are reached More... | ||||||||||
getAllTestResults ($participants, $prepareForCSV=true) | ||||||||||
returns all test results for all participants More... | ||||||||||
& | processCSVRow ($row, $quoteAll=FALSE, $separator=";") | |||||||||
Processes an array as a CSV row and converts the array values to correct CSV values. More... | ||||||||||
_getPass ($active_id) | ||||||||||
Retrieves the actual pass of a given user for a given test. More... | ||||||||||
_getMaxPass ($active_id) | ||||||||||
Retrieves the maximum pass of a given user for a given test in which the user answered at least one question. More... | ||||||||||
_getBestPass ($active_id) | ||||||||||
Retrieves the best pass of a given user for a given test. More... | ||||||||||
_getResultPass ($active_id) | ||||||||||
Retrieves the pass number that should be counted for a given user. More... | ||||||||||
getAnsweredQuestionCount ($active_id, $pass=NULL) | ||||||||||
Retrieves the number of answered questions for a given user in a given test. More... | ||||||||||
getPassFinishDate ($active_id, $pass) | ||||||||||
Retrieves the number of answered questions for a given user in a given test. More... | ||||||||||
isExecutable ($testSession, $user_id, $allowPassIncrease=FALSE) | ||||||||||
Checks if the test is executable by the given user. More... | ||||||||||
canViewResults () | ||||||||||
Returns true, if the test results can be viewed. More... | ||||||||||
canShowTestResults ($testSession, $user_id) | ||||||||||
getStartingTimeOfUser ($active_id, $pass=null) | ||||||||||
Returns the unix timestamp of the time a user started a test. More... | ||||||||||
isMaxProcessingTimeReached ($starting_time, $active_id) | ||||||||||
Returns whether the maximum processing time for a test is reached or not. More... | ||||||||||
& | getTestQuestions () | |||||||||
getShuffleQuestions () | ||||||||||
Returns the status of the shuffle_questions variable. More... | ||||||||||
setShuffleQuestions ($a_shuffle) | ||||||||||
Sets the status of the shuffle_questions variable. More... | ||||||||||
getListOfQuestionsSettings () | ||||||||||
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. More... | ||||||||||
setListOfQuestionsSettings ($a_value=0) | ||||||||||
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. More... | ||||||||||
getListOfQuestions () | ||||||||||
Returns if the list of questions should be presented to the user or not. More... | ||||||||||
setListOfQuestions ($a_value=TRUE) | ||||||||||
Sets if the the list of questions should be presented to the user or not. More... | ||||||||||
getListOfQuestionsStart () | ||||||||||
Returns if the list of questions should be presented as the first page of the test. More... | ||||||||||
setListOfQuestionsStart ($a_value=TRUE) | ||||||||||
Sets if the the list of questions as the start page of the test. More... | ||||||||||
getListOfQuestionsEnd () | ||||||||||
Returns if the list of questions should be presented as the last page of the test. More... | ||||||||||
setListOfQuestionsEnd ($a_value=TRUE) | ||||||||||
Sets if the the list of questions as the end page of the test. More... | ||||||||||
getListOfQuestionsDescription () | ||||||||||
Returns TRUE if the list of questions should be presented with the question descriptions. More... | ||||||||||
setListOfQuestionsDescription ($a_value=TRUE) | ||||||||||
Sets the show_summary attribute to TRUE if the list of questions should be presented with the question descriptions. More... | ||||||||||
getResultsPresentation () | ||||||||||
Returns the combined results presentation value. More... | ||||||||||
getShowPassDetails () | ||||||||||
Returns if the pass details should be shown when a test is not finished. More... | ||||||||||
getShowSolutionDetails () | ||||||||||
Returns if the solution details should be presented to the user or not. More... | ||||||||||
getShowSolutionPrintview () | ||||||||||
Returns if the solution printview should be presented to the user or not. More... | ||||||||||
getShowSolutionFeedback () | ||||||||||
Returns if the feedback should be presented to the solution or not. More... | ||||||||||
getShowSolutionAnswersOnly () | ||||||||||
Returns if the full solution (including ILIAS content) should be presented to the solution or not. More... | ||||||||||
getShowSolutionSignature () | ||||||||||
Returns if the signature field should be shown in the test results. More... | ||||||||||
getShowSolutionSuggested () | ||||||||||
getShowSolutionListComparison () | ||||||||||
setResultsPresentation ($a_results_presentation=3) | ||||||||||
Sets the combined results presentation value. More... | ||||||||||
setShowPassDetails ($a_details=1) | ||||||||||
Sets if the pass details should be shown when a test is not finished. More... | ||||||||||
setShowSolutionDetails ($a_details=1) | ||||||||||
Sets if the the solution details should be presented to the user or not. More... | ||||||||||
canShowSolutionPrintview ($user_id=NULL) | ||||||||||
Calculates if a user may see the solution printview of his/her test results. More... | ||||||||||
setShowSolutionPrintview ($a_printview=1) | ||||||||||
Sets if the the solution printview should be presented to the user or not. More... | ||||||||||
setShowSolutionFeedback ($a_feedback=TRUE) | ||||||||||
Sets if the the feedback should be presented to the user in the solution or not. More... | ||||||||||
setShowSolutionAnswersOnly ($a_full=TRUE) | ||||||||||
Set to true, if the full solution (including the ILIAS content pages) should be shown in the solution output. More... | ||||||||||
setShowSolutionSignature ($a_signature=FALSE) | ||||||||||
Set to TRUE, if the signature field should be shown in the solution. More... | ||||||||||
setShowSolutionSuggested ($a_solution=FALSE) | ||||||||||
Set to TRUE, if the suggested solution should be shown in the solution. More... | ||||||||||
setShowSolutionListComparison ($a_comparison=FALSE) | ||||||||||
Set to TRUE, if the list of answers should be shown prior to finish the test. More... | ||||||||||
isLimitUsersEnabled () | ||||||||||
setLimitUsersEnabled ($limitUsersEnabled) | ||||||||||
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. More... | ||||||||||
QTIMaterialToString ($a_material) | ||||||||||
Reads an QTI material tag an creates a text string. More... | ||||||||||
addQTIMaterial (&$a_xml_writer, $a_material) | ||||||||||
Creates a QTI material tag from a plain text or xhtml text. More... | ||||||||||
prepareTextareaOutput ($txt_output, $prepare_for_latex_output=FALSE, $omitNl2BrWhenTextArea=false) | ||||||||||
Prepares a string for a text area output in tests. More... | ||||||||||
saveCertificateVisibility ($a_value) | ||||||||||
Saves the visibility settings of the certificate. More... | ||||||||||
getCertificateVisibility () | ||||||||||
Returns the visibility settings of the certificate. More... | ||||||||||
setCertificateVisibility ($a_value) | ||||||||||
Sets the visibility settings of the certificate. More... | ||||||||||
getAnonymity () | ||||||||||
Returns the anonymity status of the test. More... | ||||||||||
setAnonymity ($a_value=0) | ||||||||||
Sets the anonymity status of the test. More... | ||||||||||
getShowCancel () | ||||||||||
Returns wheather the cancel test button is shown or not. More... | ||||||||||
setShowCancel ($a_value=1) | ||||||||||
Sets the cancel test button status. More... | ||||||||||
getShowMarker () | ||||||||||
Returns wheather the marker button is shown or not. More... | ||||||||||
setShowMarker ($a_value=1) | ||||||||||
Sets the marker button status. More... | ||||||||||
getFixedParticipants () | ||||||||||
Returns the fixed participants status. More... | ||||||||||
setFixedParticipants ($a_value=1) | ||||||||||
Sets the fixed participants status. More... | ||||||||||
_lookupAnonymity ($a_obj_id) | ||||||||||
Returns the anonymity status of a test with a given object id. More... | ||||||||||
_lookupRandomTestFromActiveId ($active_id) | ||||||||||
Returns the random status of a test with a given object id. More... | ||||||||||
userLookupFullName ($user_id, $overwrite_anonymity=FALSE, $sorted_order=FALSE, $suffix="") | ||||||||||
Returns the full name of a test user according to the anonymity status. More... | ||||||||||
getStartTestLabel ($active_id) | ||||||||||
Returns the "Start the Test" label for the Info page. More... | ||||||||||
& | getTestDefaults ($test_defaults_id) | |||||||||
Returns the test defaults for a given id. More... | ||||||||||
deleteDefaults ($test_default_id) | ||||||||||
Deletes the defaults for a test. More... | ||||||||||
addDefaults ($a_name) | ||||||||||
Adds the defaults of this test to the test defaults. More... | ||||||||||
applyDefaults ($test_defaults) | ||||||||||
Applies given test defaults to this test. More... | ||||||||||
processPrintoutput2FO ($print_output) | ||||||||||
Convert a print output to XSL-FO. More... | ||||||||||
deliverPDFfromHTML ($content, $title=NULL) | ||||||||||
Delivers a PDF file from XHTML. More... | ||||||||||
deliverPDFfromFO ($fo, $title=null) | ||||||||||
Delivers a PDF file from a XSL-FO string. More... | ||||||||||
getJavaScriptOutput () | ||||||||||
Returns if Javascript should be chosen for drag & drop actions for the active user. More... | ||||||||||
& | createTestSequence ($active_id, $pass, $shuffle) | |||||||||
setTestId ($a_id) | ||||||||||
Sets the test ID. More... | ||||||||||
getDetailedTestResults ($participants) | ||||||||||
returns all test results for all participants More... | ||||||||||
_lookupTestObjIdForQuestionId ($a_q_id) | ||||||||||
Get test Object ID for question ID. More... | ||||||||||
isPluginActive ($a_pname) | ||||||||||
Checks wheather or not a question plugin with a given name is active. More... | ||||||||||
getPassed ($active_id) | ||||||||||
canShowCertificate ($testSession, $user_id, $active_id) | ||||||||||
Checks whether the certificate button could be shown on the info page or not. More... | ||||||||||
getAggregatedResultsData () | ||||||||||
Returns the aggregated test results. More... | ||||||||||
getXMLZip () | ||||||||||
Get zipped xml file for test. More... | ||||||||||
getMailNotification () | ||||||||||
Get mail notification settings. More... | ||||||||||
setMailNotification ($a_notification) | ||||||||||
Set mail notification settings. More... | ||||||||||
sendSimpleNotification ($active_id) | ||||||||||
getEvaluationAdditionalFields () | ||||||||||
Gets additional user fields that should be shown in the user evaluation. More... | ||||||||||
sendAdvancedNotification ($active_id) | ||||||||||
createRandomSolutions ($number) | ||||||||||
getResultsForActiveId ($active_id) | ||||||||||
getMailNotificationType () | ||||||||||
setMailNotificationType ($a_type) | ||||||||||
getExportSettings () | ||||||||||
setExportSettings ($a_settings) | ||||||||||
getExportSettingsSingleChoiceShort () | ||||||||||
setExportSettingsSingleChoiceShort ($a_settings) | ||||||||||
getEnabledViewMode () | ||||||||||
setEnabledViewMode ($mode) | ||||||||||
setTemplate ($template_id) | ||||||||||
getTemplate () | ||||||||||
moveQuestionAfterOLD ($previous_question_id, $new_question_id) | ||||||||||
setScoringFeedbackOptionsByArray ($options) | ||||||||||
setResultsPresentationOptionsByArray ($options) | ||||||||||
getPoolUsage () | ||||||||||
setPoolUsage ($usage) | ||||||||||
setQuestionOrderAndObligations ($orders, $obligations) | ||||||||||
moveQuestionAfter ($question_to_move, $question_before) | ||||||||||
hasQuestionsWithoutQuestionpool () | ||||||||||
getQuestions () | ||||||||||
isOnline () | ||||||||||
setOnline ($a_online=true) | ||||||||||
setPrintBestSolutionWithResult ($status) | ||||||||||
isBestSolutionPrintedWithResult () | ||||||||||
isOfferingQuestionHintsEnabled () | ||||||||||
returns the fact wether offering hints is enabled or not More... | ||||||||||
setOfferingQuestionHintsEnabled ($offeringQuestionHintsEnabled) | ||||||||||
sets offering question hints enabled/disabled More... | ||||||||||
setActivationVisibility ($a_value) | ||||||||||
getActivationVisibility () | ||||||||||
isActivationLimited () | ||||||||||
setActivationLimited ($a_value) | ||||||||||
setHighscoreEnabled ($a_enabled) | ||||||||||
Sets if the highscore feature should be enabled. More... | ||||||||||
getHighscoreEnabled () | ||||||||||
Gets the setting which determines if the highscore feature is enabled. More... | ||||||||||
setHighscoreAnon ($a_anon) | ||||||||||
Sets if the highscores should be anonymized. More... | ||||||||||
getHighscoreAnon () | ||||||||||
Gets if the highscores should be anonymized per setting. More... | ||||||||||
isHighscoreAnon () | ||||||||||
Gets if the highscores should be displayed anonymized. More... | ||||||||||
setHighscoreAchievedTS ($a_achieved_ts) | ||||||||||
Sets if the date and time of the scores achievement should be displayed. More... | ||||||||||
getHighscoreAchievedTS () | ||||||||||
Returns if date and time of the scores achievement should be displayed. More... | ||||||||||
setHighscoreScore ($a_score) | ||||||||||
Sets if the actual score should be displayed. More... | ||||||||||
getHighscoreScore () | ||||||||||
Gets if the score column should be shown. More... | ||||||||||
setHighscorePercentage ($a_percentage) | ||||||||||
Sets if the percentages of the scores pass should be shown. More... | ||||||||||
getHighscorePercentage () | ||||||||||
Gets if the percentage column should be shown. More... | ||||||||||
setHighscoreHints ($a_hints) | ||||||||||
Sets if the number of requested hints should be shown. More... | ||||||||||
getHighscoreHints () | ||||||||||
Gets, if the column with the number of requested hints should be shown. More... | ||||||||||
setHighscoreWTime ($a_wtime) | ||||||||||
Sets if the workingtime of the scores should be shown. More... | ||||||||||
getHighscoreWTime () | ||||||||||
Gets if the column with the workingtime should be shown. More... | ||||||||||
setHighscoreOwnTable ($a_own_table) | ||||||||||
Sets if the table with the own ranking should be shown. More... | ||||||||||
getHighscoreOwnTable () | ||||||||||
Gets if the own rankings table should be shown. More... | ||||||||||
setHighscoreTopTable ($a_top_table) | ||||||||||
Sets if the top-rankings table should be shown. More... | ||||||||||
getHighscoreTopTable () | ||||||||||
Gets, if the top-rankings table should be shown. More... | ||||||||||
setHighscoreTopNum ($a_top_num) | ||||||||||
Sets the number of entries which are to be shown in the top-rankings table. More... | ||||||||||
getHighscoreTopNum ($a_retval=10) | ||||||||||
Gets the number of entries which are to be shown in the top-rankings table. More... | ||||||||||
getHighscoreMode () | ||||||||||
setHighscoreMode ($mode) | ||||||||||
setSpecificAnswerFeedback ($specific_answer_feedback) | ||||||||||
getSpecificAnswerFeedback () | ||||||||||
setObligationsEnabled ($obligationsEnabled=true) | ||||||||||
sets obligations enabled/disabled More... | ||||||||||
areObligationsEnabled () | ||||||||||
returns the fact wether obligations are enabled or not More... | ||||||||||
setAutosave ($autosave) | ||||||||||
getAutosave () | ||||||||||
setAutosaveIval ($autosave_ival) | ||||||||||
getAutosaveIval () | ||||||||||
isPassDeletionAllowed () | ||||||||||
getter for the test setting passDeletionAllowed More... | ||||||||||
setPassDeletionAllowed ($passDeletionAllowed) | ||||||||||
setter for the test setting passDeletionAllowed More... | ||||||||||
setShowExamviewHtml ($show_examview_html) | ||||||||||
getShowExamviewHtml () | ||||||||||
setShowExamviewPdf ($show_examview_pdf) | ||||||||||
getShowExamviewPdf () | ||||||||||
setEnableExamview ($enable_examview) | ||||||||||
getEnableExamview () | ||||||||||
setActivationStartingTime ($starting_time=NULL) | ||||||||||
setActivationEndingTime ($ending_time=NULL) | ||||||||||
getActivationStartingTime () | ||||||||||
getActivationEndingTime () | ||||||||||
getStartingTimeOfParticipants () | ||||||||||
getTimeExtensionsOfParticipants () | ||||||||||
getExtraTime ($active_id) | ||||||||||
addExtraTime ($active_id, $minutes) | ||||||||||
setEnableArchiving ($enable_archiving) | ||||||||||
getEnableArchiving () | ||||||||||
lookupExamId ($active_id, $pass) | ||||||||||
setShowExamIdInTestPassEnabled ($show_exam_id_in_test_pass_enabled) | ||||||||||
isShowExamIdInTestPassEnabled () | ||||||||||
setShowExamIdInTestResultsEnabled ($show_exam_id_in_test_results_enabled) | ||||||||||
isShowExamIdInTestResultsEnabled () | ||||||||||
setSignSubmission ($sign_submission) | ||||||||||
getSignSubmission () | ||||||||||
setCharSelectorAvailability ($availability) | ||||||||||
getCharSelectorAvailability () | ||||||||||
setCharSelectorDefinition ($definition='') | ||||||||||
getCharSelectorDefinition () | ||||||||||
setQuestionSetType ($questionSetType) | ||||||||||
setter for question set type More... | ||||||||||
getQuestionSetType () | ||||||||||
getter for question set type More... | ||||||||||
isFixedTest () | ||||||||||
Returns the fact wether this test is a fixed question set test or not. More... | ||||||||||
isRandomTest () | ||||||||||
Returns the fact wether this test is a random questions test or not. More... | ||||||||||
isDynamicTest () | ||||||||||
Returns the fact wether this test is a dynamic question set test or not. More... | ||||||||||
getQuestionSetTypeTranslation (ilLanguage $lng, $questionSetType) | ||||||||||
participantDataExist () | ||||||||||
isScoreReportingAvailable () | ||||||||||
recalculateScores ($preserve_manscoring=false) | ||||||||||
setSkillServiceEnabled ($skillServiceEnabled) | ||||||||||
isSkillServiceEnabled () | ||||||||||
setResultFilterTaxIds ($resultFilterTaxIds) | ||||||||||
getResultFilterTaxIds () | ||||||||||
isSkillServiceToBeConsidered () | ||||||||||
setShowGradingStatusEnabled ($showGradingStatusEnabled) | ||||||||||
isShowGradingStatusEnabled () | ||||||||||
setShowGradingMarkEnabled ($showGradingMarkEnabled) | ||||||||||
isShowGradingMarkEnabled () | ||||||||||
setInstantFeedbackAnswerFixationEnabled ($instantFeedbackAnswerFixationEnabled) | ||||||||||
isInstantFeedbackAnswerFixationEnabled () | ||||||||||
isTestFinalBroken () | ||||||||||
setTestFinalBroken ($testFinalBroken) | ||||||||||
![]() | ||||||||||
ilObject ($a_id=0, $a_reference=true) | ||||||||||
Constructor public. More... | ||||||||||
withReferences () | ||||||||||
determines wehter objects are referenced or not (got ref ids or not) More... | ||||||||||
read ($a_force_db=false) | ||||||||||
read object data from db into object More... | ||||||||||
getId () | ||||||||||
get object id public More... | ||||||||||
setId ($a_id) | ||||||||||
set object id public More... | ||||||||||
setRefId ($a_id) | ||||||||||
set reference id public More... | ||||||||||
getRefId () | ||||||||||
get reference id public More... | ||||||||||
getType () | ||||||||||
get object type public More... | ||||||||||
setType ($a_type) | ||||||||||
set object type public More... | ||||||||||
getPresentationTitle () | ||||||||||
get presentation title Normally same as title Overwritten for sessions More... | ||||||||||
getTitle () | ||||||||||
get object title public More... | ||||||||||
getUntranslatedTitle () | ||||||||||
get untranslated object title public More... | ||||||||||
setTitle ($a_title) | ||||||||||
set object title More... | ||||||||||
getDescription () | ||||||||||
get object description More... | ||||||||||
setDescription ($a_desc) | ||||||||||
set object description More... | ||||||||||
getLongDescription () | ||||||||||
get object long description (stored in object_description) More... | ||||||||||
getImportId () | ||||||||||
get import id More... | ||||||||||
setImportId ($a_import_id) | ||||||||||
set import id More... | ||||||||||
getOwner () | ||||||||||
get object owner More... | ||||||||||
getOwnerName () | ||||||||||
_lookupOwnerName ($a_owner_id) | ||||||||||
lookup owner name for owner id More... | ||||||||||
setOwner ($a_owner) | ||||||||||
set object owner More... | ||||||||||
getCreateDate () | ||||||||||
get create date public More... | ||||||||||
getLastUpdateDate () | ||||||||||
get last update date public More... | ||||||||||
getDiskUsage () | ||||||||||
Gets the disk usage of the object in bytes. More... | ||||||||||
setObjDataRecord ($a_record) | ||||||||||
set object_data record (note: this method should only be called from the ilObjectFactory class) More... | ||||||||||
create () | ||||||||||
create More... | ||||||||||
update () | ||||||||||
update object in db More... | ||||||||||
MDUpdateListener ($a_element) | ||||||||||
Meta data update listener. More... | ||||||||||
createMetaData () | ||||||||||
create meta data entry More... | ||||||||||
updateMetaData () | ||||||||||
update meta data entry More... | ||||||||||
deleteMetaData () | ||||||||||
delete meta data entry More... | ||||||||||
updateOwner () | ||||||||||
update owner of object in db More... | ||||||||||
_getIdForImportId ($a_import_id) | ||||||||||
get current object id for import id (static) More... | ||||||||||
_lookupOwner ($a_id) | ||||||||||
lookup object owner More... | ||||||||||
_lookupLastUpdate ($a_id, $a_as_string=false) | ||||||||||
lookup last update More... | ||||||||||
_getLastUpdateOfObjects ($a_objs) | ||||||||||
Get last update for a set of media objects. More... | ||||||||||
_setDeletedDate ($a_ref_id) | ||||||||||
only called in ilTree::saveSubTree More... | ||||||||||
_resetDeletedDate ($a_ref_id) | ||||||||||
only called in ilObjectGUI::insertSavedNodes More... | ||||||||||
_lookupDeletedDate ($a_ref_id) | ||||||||||
only called in ilObjectGUI::insertSavedNodes More... | ||||||||||
_writeTitle ($a_obj_id, $a_title) | ||||||||||
write title to db (static) More... | ||||||||||
_writeDescription ($a_obj_id, $a_desc) | ||||||||||
write description to db (static) More... | ||||||||||
_writeImportId ($a_obj_id, $a_import_id) | ||||||||||
write import id to db (static) More... | ||||||||||
_isInTrash ($a_ref_id) | ||||||||||
checks wether object is in trash More... | ||||||||||
_hasUntrashedReference ($a_obj_id) | ||||||||||
checks wether an object has at least one reference that is not in trash More... | ||||||||||
_getObjectsDataForType ($a_type, $a_omit_trash=false) | ||||||||||
get all objects of a certain type More... | ||||||||||
putInTree ($a_parent_ref) | ||||||||||
maybe this method should be in tree object!? More... | ||||||||||
setPermissions ($a_parent_ref) | ||||||||||
set permissions of object More... | ||||||||||
setParentRolePermissions ($a_parent_ref) | ||||||||||
Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g courses, groups for building permission intersections with non_member templates. More... | ||||||||||
createReference () | ||||||||||
creates reference for object More... | ||||||||||
countReferences () | ||||||||||
count references of object More... | ||||||||||
delete () | ||||||||||
delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | ||||||||||
initDefaultRoles () | ||||||||||
init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type If you want to setup default local roles you MUST overwrite this method in derived object classes (see ilObjForum for an example) public More... | ||||||||||
applyDidacticTemplate ($a_tpl_id) | ||||||||||
Apply template. More... | ||||||||||
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 passed, each object may decide how it reacts. More... | ||||||||||
setRegisterMode ($a_bool) | ||||||||||
isUserRegistered ($a_user_id=0) | ||||||||||
requireRegistration () | ||||||||||
getXMLZip () | ||||||||||
getHTMLDirectory () | ||||||||||
cloneObject ($a_target_id, $a_copy_id=0, $a_omit_tree=false) | ||||||||||
Clone object permissions, put in tree ... More... | ||||||||||
appendCopyInfo ($a_target_id, $a_copy_id) | ||||||||||
Prepend Copy info if object with same name exists in that container. More... | ||||||||||
cloneDependencies ($a_target_id, $a_copy_id) | ||||||||||
Clone object dependencies. More... | ||||||||||
cloneMetaData ($target_obj) | ||||||||||
Copy meta data. More... | ||||||||||
_lookupCreationDate ($a_id) | ||||||||||
Lookup creation date. More... | ||||||||||
![]() | ||||||||||
onMarkSchemaSaved () | ||||||||||
![]() | ||||||||||
saveECTSStatus () | ||||||||||
Static Public Member Functions | |||||||
static | _getECTSGrade ($points_passed, $reached_points, $max_points, $a, $b, $c, $d, $e, $fx) | ||||||
{Returns the ECTS grade for a number of reached points.
| |||||||
static | _getUserIdFromActiveId ($active_id) | ||||||
static | lookupQuestionSetTypeByActiveId ($active_id) | ||||||
returns the question set type of test relating to passed active id More... | |||||||
static | _getTestDefaults ($test_defaults_id) | ||||||
static | getManualFeedback ($active_id, $question_id, $pass) | ||||||
Retrieves the manual feedback for a question in a test. More... | |||||||
static | _lookupFinishedUserTests ($a_user_id) | ||||||
Gather all finished tests for user. More... | |||||||
static | isQuestionObligationPossible ($questionId) | ||||||
checks wether the obligation for question with given id is possible or not More... | |||||||
static | isQuestionObligatory ($question_id) | ||||||
checks wether the question with given id is marked as obligatory or not More... | |||||||
static | allObligationsAnswered ($test_id, $active_id, $pass) | ||||||
checks wether all questions marked as obligatory were answered within the test pass with given testId, activeId and pass index More... | |||||||
static | hasObligations ($test_id) | ||||||
returns the fact wether the test with given test id contains questions markes as obligatory or not More... | |||||||
static | buildExamId ($active_id, $pass, $test_obj_id=null) | ||||||
static | lookupQuestionSetType ($objId) | ||||||
lookup-er for question set type More... | |||||||
static | _lookupRandomTest ($a_obj_id) | ||||||
Returns the fact wether the test with passed obj id is a random questions test or not. More... | |||||||
static | getPoolQuestionChangeListeners (ilDB $db, $poolObjId) | ||||||
static | getTestObjIdsWithActiveForUserId ($userId) | ||||||
static | isSkillManagementGloballyActivated () | ||||||
static | ensureParticipantsLastActivePassFinished ($testObjId, $userId, $a_force_new_run=FALSE) | ||||||
static | isParticipantsLastPassActive ($testObjId, $userId) | ||||||
![]() | |||||||
static | _lookupObjIdByImportId ($a_import_id) | ||||||
static | _getAllReferences ($a_id) | ||||||
get all reference ids of object More... | |||||||
static | _lookupTitle ($a_id) | ||||||
lookup object title More... | |||||||
static | _getIdsForTitle ($title, $type='', $partialmatch=false) | ||||||
static | _lookupDescription ($a_id) | ||||||
lookup object description More... | |||||||
static | _lookupObjId ($a_id) | ||||||
static | setDeletedDates ($a_ref_ids) | ||||||
Set deleted date type $ilDB. More... | |||||||
static | _lookupType ($a_id, $a_reference=false) | ||||||
lookup object type More... | |||||||
static | _lookupObjectId ($a_ref_id) | ||||||
lookup object id More... | |||||||
static | _exists ($a_id, $a_reference=false, $a_type=null) | ||||||
checks if an object exists in object_data More... | |||||||
static | _getObjectsByType ($a_obj_type="", $a_owner="") | ||||||
Get objects by type. More... | |||||||
static | _prepareCloneSelection ($a_ref_ids, $new_type, $show_path=true) | ||||||
Prepare copy wizard object selection. More... | |||||||
static | _getIcon ($a_obj_id="", $a_size="big", $a_type="", $a_offline=false) | ||||||
Get icon for repository item. More... | |||||||
static | collectDeletionDependencies (&$deps, $a_ref_id, $a_obj_id, $a_type, $a_depth=0) | ||||||
Collect deletion dependencies. More... | |||||||
static | getDeletionDependencies ($a_obj_id) | ||||||
Get deletion dependencies. More... | |||||||
static | getLongDescriptions (array $a_obj_ids) | ||||||
Get long description data. More... | |||||||
static | getAllOwnedRepositoryObjects ($a_user_id) | ||||||
Get all ids of objects user owns. More... | |||||||
static | hasAutoRating ($a_type, $a_ref_id) | ||||||
Check if auto rating is active for parent group/course. More... | |||||||
Protected Member Functions | |
isNewRandomTest () | |
Checks wheather the test is a new random test (using tst_rnd_cpy) or an old one. More... | |
Private Attributes | |
$questionSetType = self::QUESTION_SET_TYPE_FIXED | |
$skillServiceEnabled = false | |
$resultFilterTaxIds = array() | |
$_showfinalstatement | |
$_finalstatement | |
$_showinfo | |
$_forcejs = TRUE | |
$_customStyle | |
$template_id | |
$online = null | |
the object's online status More... | |
$offeringQuestionHintsEnabled = null | |
$obligationsEnabled = null | |
$passDeletionAllowed = null | |
$participantDataExist = null | |
holds the fact wether participant data exists or not DO NOT USE TIS PROPERTY DRIRECTLY ALWAYS USE ilObjTest::paricipantDataExist() since this method initialises this property More... | |
$redirection_mode = 0 | |
$redirection_url = NULL | |
Static Private Attributes | |
static | $isSkillManagementGloballyActivated = null |
Definition at line 19 of file class.ilObjTest.php.
ilObjTest::__construct | ( | $a_id = 0 , |
|
$a_call_by_reference = true |
|||
) |
Constructor.
$a_id | integer Reference_id or object_id. |
$a_call_by_reference | boolean Treat the id as reference_id (true) or object_id (false). |
Definition at line 581 of file class.ilObjTest.php.
References $ilUser, 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.
ilObjTest::_buildName | ( | $is_anonymous, | |
$user_id, | |||
$firstname, | |||
$lastname, | |||
$title | |||
) |
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 5481 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 1025 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.
Definition at line 5342 of file class.ilObjTest.php.
References $ilDB, $result, and $row.
Referenced by evalResultsOverview().
ilObjTest::_getActiveIdOfUser | ( | $user_id = "" , |
|
$test_id = "" |
|||
) |
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 4169 of file class.ilObjTest.php.
References $ilDB, $ilUser, $result, and $row.
& ilObjTest::_getAvailableTests | ( | $use_object_id = FALSE | ) |
Returns the available tests for the active user.
Definition at line 7283 of file class.ilObjTest.php.
References $ilDB, $ilLog, $ilUser, $mark_schema, ilObject\$ref_id, $tests, ilCopyWizardOptions\_getInstance(), ilUtil\_getObjectsByOperations(), ilObject\_lookupObjId(), ilObject\_prepareCloneSelection(), ilObject\cloneMetaData(), ilObject\cloneObject(), getAllowedUsers(), getAllowedUsersTimeGap(), getAnonymity(), getAnswerFeedback(), getAnswerFeedbackPoints(), getAuthor(), getCertificateVisibility(), getCharSelectorAvailability(), getCharSelectorDefinition(), getCountSystem(), getCustomStyle(), getECTSFX(), getECTSGrades(), getECTSOutput(), getEnableArchiving(), getEnabledViewMode(), getEnableExamview(), getEnableProcessingTime(), getEndingTime(), getFinalStatement(), getFixedParticipants(), getForceJS(), ilObject\getId(), getInstantFeedbackSolution(), getIntroduction(), getKiosk(), getListOfQuestionsSettings(), getMailNotification(), getMailNotificationType(), getMCScoring(), getNrOfTries(), getPassScoring(), getPassword(), getPoolUsage(), getProcessingTime(), getQuestionSetType(), getRedirectionMode(), getRedirectionUrl(), getReportingDate(), getResetProcessingTime(), getResultFilterTaxIds(), getResultsPresentation(), getScoreCutting(), getScoreReporting(), getSequenceSettings(), getShowCancel(), getShowExamviewHtml(), getShowExamviewPdf(), getShowFinalStatement(), getShowInfo(), getShowMarker(), getShuffleQuestions(), getSignSubmission(), getStartingTime(), getTemplate(), getTitleOutput(), getUsePreviousAnswers(), isBestSolutionPrintedWithResult(), isEndingTimeEnabled(), isInstantFeedbackAnswerFixationEnabled(), isIntroductionEnabled(), isLimitUsersEnabled(), isOnline(), isPasswordEnabled(), isShowExamIdInTestPassEnabled(), isShowExamIdInTestResultsEnabled(), isSkillServiceEnabled(), isStartingTimeEnabled(), and loadFromDb().
Referenced by ilObjAssessmentFolderGUI\exportLogObject(), ilObjAssessmentFolderGUI\logAdminObject(), and ilObjAssessmentFolderGUI\logsObject().
ilObjTest::_getBestPass | ( | $active_id | ) |
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 8260 of file class.ilObjTest.php.
References $ilDB, $result, and $row.
Referenced by _getResultPass().
& ilObjTest::_getCompleteWorkingTimeOfParticipants | ( | $test_id | ) |
Returns the complete working time in seconds for all test participants.
integer | $test_id | The database ID of the test |
Definition at line 4488 of file class.ilObjTest.php.
References $ilDB, $result, and $row.
Referenced by getCompleteWorkingTimeOfParticipants().
ilObjTest::_getCountSystem | ( | $active_id | ) |
Gets the count system for the calculation of points.
Definition at line 2592 of file class.ilObjTest.php.
References $ilDB, $result, and $row.
Referenced by assQuestion\adjustReachedPointsByScoringOptions().
|
static |
{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 |
Implements ilEctsGradesEnabled.
Definition at line 7023 of file class.ilObjTest.php.
References $d.
ilObjTest::_getImportDirectory | ( | ) |
Get the import directory location of the test.
Definition at line 1006 of file class.ilObjTest.php.
References $_SESSION.
Referenced by assFormulaQuestionImport\fromXML(), fromXML(), getImportDirectory(), assQuestionImport\getTstImportArchivDirectory(), ilObjTestGUI\importVerifiedFileObject(), and ilObjTestGUI\uploadTstObject().
ilObjTest::_getLastAccess | ( | $active_id | ) |
ilObjTest::_getMaxPass | ( | $active_id | ) |
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 8231 of file class.ilObjTest.php.
References $ilDB, $result, and $row.
Referenced by _getResultPass().
ilObjTest::_getMCScoring | ( | $active_id | ) |
Gets the scoring type for multiple choice questions.
Definition at line 2672 of file class.ilObjTest.php.
References $ilDB, $result, and $row.
Referenced by assKprimChoice\calculateReachedPointsForSolution(), and assMultipleChoice\calculateReachedPointsForSolution().
ilObjTest::_getObjectIDFromActiveID | ( | $active_id | ) |
Returns the ILIAS test object id for a given active id.
integer | $active_id | The active id |
Definition at line 7524 of file class.ilObjTest.php.
References $ilDB, $result, and $row.
Referenced by assQuestion\_logAction(), assFileUpload\handleSubmission(), and assQuestion\logAction().
ilObjTest::_getObjectIDFromTestID | ( | $test_id | ) |
Returns the ILIAS test object id for a given test id.
integer | $test_id | The test id |
Definition at line 7501 of file class.ilObjTest.php.
References $ilDB, $result, and $row.
Referenced by assJavaAppletGUI\getSolutionOutput(), assJavaAppletGUI\getTestOutput(), and ASS_MarkSchema\setMarkSteps().
ilObjTest::_getPass | ( | $active_id | ) |
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 8204 of file class.ilObjTest.php.
References $ilDB, $result, and $row.
Referenced by assMultipleChoice\calculateReachedPoints(), assQuestion\calculateResultsFromSolution(), assQuestion\getAdjustedReachedPoints(), getAllQuestions(), assFileUploadGUI\getSolutionOutput(), assFlashQuestionGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), assFormulaQuestionGUI\getSolutionOutput(), getStartingTimeOfUser(), getStartTestLabel(), assOrderingHorizontalGUI\getTestOutput(), assTextSubsetGUI\getTestOutput(), assNumericGUI\getTestOutput(), assErrorTextGUI\getTestOutput(), assKprimChoiceGUI\getTestOutput(), assFileUploadGUI\getTestOutput(), assTextQuestionGUI\getTestOutput(), assFlashQuestionGUI\getTestOutput(), assSingleChoiceGUI\getTestOutput(), assMultipleChoiceGUI\getTestOutput(), assJavaAppletGUI\getTestOutput(), assImagemapQuestionGUI\getTestOutput(), assMatchingQuestionGUI\getTestOutput(), assOrderingQuestionGUI\getTestOutput(), assFormulaQuestionGUI\getTestOutput(), assClozeTestGUI\getTestOutput(), assKprimChoice\isComplete(), isExecutable(), assNumeric\isValidSolutionSubmit(), loadQuestions(), assImagemapQuestionGUI\outQuestionForTest(), assQuestion\persistWorkingState(), assOrderingHorizontal\saveWorkingData(), assErrorText\saveWorkingData(), assTextSubset\saveWorkingData(), assFileUpload\saveWorkingData(), assTextQuestion\saveWorkingData(), assSingleChoice\saveWorkingData(), assImagemapQuestion\saveWorkingData(), assOrderingQuestion\saveWorkingData(), assFormulaQuestion\saveWorkingData(), assMatchingQuestion\saveWorkingData(), and assClozeTest\saveWorkingData().
ilObjTest::_getPassScoring | ( | $active_id | ) |
Gets the pass scoring type.
Definition at line 2650 of file class.ilObjTest.php.
References $ilDB, $result, and $row.
Referenced by _getResultPass().
ilObjTest::_getQuestionCountAndPointsForPassOfParticipant | ( | $active_id, | |
$pass | |||
) |
Definition at line 5221 of file class.ilObjTest.php.
References $ilDB, $pass, $questionSetType, $res, $row, lookupQuestionSetTypeByActiveId(), QUESTION_SET_TYPE_DYNAMIC, QUESTION_SET_TYPE_FIXED, and QUESTION_SET_TYPE_RANDOM.
Referenced by assQuestion\_updateTestResultCache(), and ilTestEvaluationData\generateOverview().
ilObjTest::_getResultPass | ( | $active_id | ) |
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 8312 of file class.ilObjTest.php.
References _getBestPass(), _getMaxPass(), _getPassScoring(), and SCORE_BEST_PASS.
Referenced by assQuestion\_updateTestResultCache(), ilObjTestVerification\createFromTest(), evalStatistical(), getPassed(), ilTestEvaluationGUI\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.
Definition at line 2694 of file class.ilObjTest.php.
References $ilDB, $result, and $row.
Referenced by assQuestion\adjustReachedPointsByScoringOptions().
ilObjTest::_getSolvedQuestions | ( | $active_id, | |
$question_fi = null |
|||
) |
get solved questions
Definition at line 7975 of file class.ilObjTest.php.
References $ilDB, $result, and $row.
Referenced by ilTestPlayerAbstractGUI\getMarkedQuestions(), ilTestSequence\getSequenceSummary(), ilTestPlayerAbstractGUI\outQuestionSummaryCmd(), ilTestOutputGUI\outWorkingForm(), and ilTestPlayerDynamicQuestionSetGUI\outWorkingForm().
|
static |
Definition at line 9822 of file class.ilObjTest.php.
References $ilDB, $result, and $row.
Referenced by ilObjTestGUI\afterSave().
ilObjTest::_getTestIDFromObjectID | ( | $object_id | ) |
ilObjTest::_getTitleOutput | ( | $active_id | ) |
Returns the value of the title_output status.
integer | $active_id | The active id of a user |
Definition at line 2911 of file class.ilObjTest.php.
References $ilDB, $result, and $row.
Referenced by assQuestionGUI\outQuestionPage().
ilObjTest::_getUsePreviousAnswers | ( | $active_id, | |
$user_active_user_setting = false |
|||
) |
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 2936 of file class.ilObjTest.php.
References $ilDB, $ilUser, $res, $result, $row, and $use_previous_answers.
Referenced by assFileUploadGUI\getSolutionOutput(), assImagemapQuestionGUI\getSolutionOutput(), assFormulaQuestionGUI\getSolutionOutput(), assTextSubsetGUI\getTestOutput(), assOrderingHorizontalGUI\getTestOutput(), assNumericGUI\getTestOutput(), assErrorTextGUI\getTestOutput(), assKprimChoiceGUI\getTestOutput(), assFileUploadGUI\getTestOutput(), assTextQuestionGUI\getTestOutput(), assSingleChoiceGUI\getTestOutput(), assMultipleChoiceGUI\getTestOutput(), assJavaAppletGUI\getTestOutput(), assImagemapQuestionGUI\getTestOutput(), assMatchingQuestionGUI\getTestOutput(), assOrderingQuestionGUI\getTestOutput(), assClozeTestGUI\getTestOutput(), and assImagemapQuestionGUI\outQuestionForTest().
|
static |
Definition at line 9270 of file class.ilObjTest.php.
References $ilDB, $result, and $row.
Referenced by assQuestion\_setReachedPoints(), removeTestResultsByActiveIds(), removeTestResultsForUser(), sendAdvancedNotification(), and sendSimpleNotification().
ilObjTest::_getVisitTimeOfParticipant | ( | $test_id, | |
$active_id | |||
) |
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 4585 of file class.ilObjTest.php.
References $ilDB, $result, and $row.
Referenced by getVisitTimeOfParticipant().
ilObjTest::_getWorkingTimeOfParticipantForPass | ( | $active_id, | |
$pass | |||
) |
Returns the complete working time in seconds for a test participant.
Definition at line 4545 of file class.ilObjTest.php.
References $ilDB, $pass, $result, and $row.
Referenced by assQuestion\_updateTestResultCache().
& ilObjTest::_instanciateQuestion | ( | $question_id | ) |
Creates an instance of a question with a given question id.
integer | $question_id | The question id |
Definition at line 5663 of file class.ilObjTest.php.
References assQuestion\_instanciateQuestion().
Referenced by ilCourseObjectiveQuestion\__read(), createRandomSolutions(), 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.
Definition at line 1166 of file class.ilObjTest.php.
References $ilDB, $test, getECTSFX(), getECTSGrades(), getECTSOutput(), getTestId(), ilEctsGradesEnabled\saveECTSStatus(), and setECTSFX().
ilObjTest::_lookupAnonymity | ( | $a_obj_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 9652 of file class.ilObjTest.php.
References $ilDB, $result, and $row.
Referenced by ilObjTestAccess\_getParticipantData(), assJavaAppletGUI\getSolutionOutput(), assJavaAppletGUI\getTestOutput(), and ilTestLP\isAnonymized().
ilObjTest::_lookupAuthor | ( | $obj_id | ) |
Gets the authors name of the ilObjTest object.
Definition at line 7251 of file class.ilObjTest.php.
References ilObject\$id.
Referenced by assQuestion\getInstances().
|
static |
Gather all finished tests for user.
int | $a_user_id |
Definition at line 11092 of file class.ilObjTest.php.
References $ilDB, $result, and $row.
|
static |
Returns the fact wether the test with passed obj id is a random questions test or not.
integer | $a_obj_id |
Definition at line 12053 of file class.ilObjTest.php.
Referenced by ilLOSettings\isRandomTestType(), ilCourseObjectivesGUI\isRandomTestType(), ilLOUtils\lookupRandomTest(), and ilCourseObjectiveQuestionAssignmentTableGUI\parse().
ilObjTest::_lookupRandomTestFromActiveId | ( | $active_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 9703 of file class.ilObjTest.php.
ilObjTest::_lookupTestObjIdForQuestionId | ( | $a_q_id | ) |
Get test Object ID for question ID.
Definition at line 10414 of file class.ilObjTest.php.
References $ilDB, and $result.
Referenced by ilObjMediaObject\getParentObjectIdForUsage().
ilObjTest::_setImportDirectory | ( | $a_import_dir = null | ) |
set import directory
Definition at line 988 of file class.ilObjTest.php.
References $_SESSION.
Referenced by ilTestImporter\importXmlRepresentation(), ilObjQuestionPoolGUI\uploadQplObject(), and ilObjTestGUI\uploadTstObject().
ilObjTest::addDefaults | ( | $a_name | ) |
Adds the defaults of this test to the test defaults.
string | $a_name | The name of the test defaults public |
Definition at line 9862 of file class.ilObjTest.php.
References $ilDB, $ilUser, areObligationsEnabled(), getActivationEndingTime(), getActivationStartingTime(), getActivationVisibility(), getAllowedUsers(), getAllowedUsersTimeGap(), getAnonymity(), getAnswerFeedback(), getAnswerFeedbackPoints(), getAutosave(), getAutosaveIval(), getCharSelectorAvailability(), getCharSelectorDefinition(), getCountSystem(), getCustomStyle(), getECTSFX(), getECTSGrades(), getECTSOutput(), getEnableArchiving(), getEnableExamview(), getEnableProcessingTime(), getEndingTime(), getExportSettings(), getFinalStatement(), getFixedParticipants(), getForceJS(), getHighscoreAchievedTS(), getHighscoreAnon(), getHighscoreEnabled(), getHighscoreHints(), getHighscoreOwnTable(), getHighscorePercentage(), getHighscoreScore(), getHighscoreTopNum(), getHighscoreTopTable(), getHighscoreWTime(), getInstantFeedbackSolution(), getIntroduction(), getKiosk(), getListOfQuestionsSettings(), getMailNotification(), getMailNotificationType(), getMCScoring(), getNrOfTries(), getPassScoring(), getPassword(), getPoolUsage(), getProcessingTime(), getQuestionSetType(), getRedirectionMode(), getRedirectionUrl(), getReportingDate(), getResetProcessingTime(), getResultFilterTaxIds(), getResultsPresentation(), getScoreCutting(), getScoreReporting(), getSequenceSettings(), getShowCancel(), getShowExamviewHtml(), getShowExamviewPdf(), getShowFinalStatement(), getShowInfo(), getShowMarker(), getShuffleQuestions(), getSignSubmission(), getSpecificAnswerFeedback(), getStartingTime(), getTitleOutput(), getUsePreviousAnswers(), isActivationLimited(), isBestSolutionPrintedWithResult(), isEndingTimeEnabled(), isInstantFeedbackAnswerFixationEnabled(), isIntroductionEnabled(), isLimitUsersEnabled(), isOfferingQuestionHintsEnabled(), isPassDeletionAllowed(), isPasswordEnabled(), isShowExamIdInTestPassEnabled(), isShowExamIdInTestResultsEnabled(), isShowGradingMarkEnabled(), isShowGradingStatusEnabled(), isSkillServiceEnabled(), and isStartingTimeEnabled().
ilObjTest::addExtraTime | ( | $active_id, | |
$minutes | |||
) |
Definition at line 11755 of file class.ilObjTest.php.
References $ilDB, $result, $row, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), getTestId(), and logAction().
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 9440 of file class.ilObjTest.php.
References $mobs, ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilRTE\_replaceMediaObjectImageSrc(), ilObject\getId(), and isHTML().
Referenced by toXML().
|
static |
checks wether all questions marked as obligatory were answered within the test pass with given testId, activeId and pass index
public ilDB $ilDB
integer | $test_id | |
integer | $active_id | |
integer | $pass |
Definition at line 11559 of file class.ilObjTest.php.
References $ilDB, $pass, and $row.
Referenced by ilTestPlayerAbstractGUI\finishTestCmd(), and ilTestOutputGUI\redirectQuestionCmd().
ilObjTest::applyDefaults | ( | $test_defaults | ) |
Applies given test defaults to this test.
array | $test_default | The test defaults database id. |
Definition at line 9978 of file class.ilObjTest.php.
References saveToDb(), setActivationEndingTime(), setActivationLimited(), setActivationStartingTime(), setActivationVisibility(), setAllowedUsers(), setAllowedUsersTimeGap(), setAnonymity(), setAnswerFeedback(), setAnswerFeedbackPoints(), setAutosave(), setAutosaveIval(), setCharSelectorAvailability(), setCharSelectorDefinition(), setCountSystem(), setCustomStyle(), setECTSFX(), setECTSGrades(), setECTSOutput(), setEnableArchiving(), setEnableExamview(), setEnableProcessingTime(), setEndingTime(), setEndingTimeEnabled(), setExportSettings(), setFinalStatement(), setFixedParticipants(), setForceJS(), setHighscoreAchievedTS(), setHighscoreAnon(), setHighscoreEnabled(), setHighscoreHints(), setHighscoreOwnTable(), setHighscorePercentage(), setHighscoreScore(), setHighscoreTopNum(), setHighscoreTopTable(), setHighscoreWTime(), setInstantFeedbackAnswerFixationEnabled(), setInstantFeedbackSolution(), setIntroduction(), setIntroductionEnabled(), setKiosk(), setLimitUsersEnabled(), setListOfQuestionsSettings(), setMailNotification(), setMailNotificationType(), setMCScoring(), setNrOfTries(), setObligationsEnabled(), setOfferingQuestionHintsEnabled(), setPassDeletionAllowed(), setPassScoring(), setPassword(), setPasswordEnabled(), setPoolUsage(), setPrintBestSolutionWithResult(), setProcessingTime(), setQuestionSetType(), setRedirectionMode(), setRedirectionUrl(), setReportingDate(), setResetProcessingTime(), setResultFilterTaxIds(), setResultsPresentation(), setScoreCutting(), setScoreReporting(), setSequenceSettings(), setShowCancel(), setShowExamIdInTestPassEnabled(), setShowExamIdInTestResultsEnabled(), setShowExamviewHtml(), setShowExamviewPdf(), setShowFinalStatement(), setShowGradingMarkEnabled(), setShowGradingStatusEnabled(), setShowInfo(), setShowMarker(), setShuffleQuestions(), setSignSubmission(), setSkillServiceEnabled(), setSpecificAnswerFeedback(), setStartingTime(), setStartingTimeEnabled(), setTitleOutput(), and setUsePreviousAnswers().
ilObjTest::areObligationsEnabled | ( | ) |
returns the fact wether obligations are enabled or not
Definition at line 11501 of file class.ilObjTest.php.
References $obligationsEnabled.
Referenced by addDefaults(), createQuestionGUI(), saveToDb(), and toXML().
|
static |
$active_id | |
$pass | |
$test_obj_id |
Move this to a proper place.
Definition at line 11875 of file class.ilObjTest.php.
References $ilSetting, and $pass.
Referenced by assQuestion\_updateTestResultCache(), and ilTestPlayerAbstractGUI\getKioskHead().
ilObjTest::buildName | ( | $user_id, | |
$firstname, | |||
$lastname, | |||
$title | |||
) |
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 5444 of file class.ilObjTest.php.
References ilObject\$title, and getAnonymity().
ilObjTest::canEditEctsGrades | ( | ) |
{
Implements ilEctsGradesEnabled.
Definition at line 7007 of file class.ilObjTest.php.
References getReportingDate().
ilObjTest::canEditMarks | ( | ) |
Implements ilMarkSchemaAware.
Definition at line 7131 of file class.ilObjTest.php.
References $total, evalTotalPersons(), and getReportingDate().
ilObjTest::canShowCertificate | ( | $testSession, | |
$user_id, | |||
$active_id | |||
) |
Checks whether the certificate button could be shown on the info page or not.
public
Definition at line 10471 of file class.ilObjTest.php.
References $ilDB, $query, $result, $row, canShowTestResults(), getCertificateVisibility(), and getPassed().
ilObjTest::canShowSolutionPrintview | ( | $user_id = NULL | ) |
Calculates if a user may see the solution printview of his/her test results.
Definition at line 9137 of file class.ilObjTest.php.
References getShowSolutionPrintview().
ilObjTest::canShowTestResults | ( | $testSession, | |
$user_id | |||
) |
Definition at line 8532 of file class.ilObjTest.php.
References $result, $starting_time, canViewResults(), endingTimeReached(), getActiveIdOfUser(), getScoreReporting(), getStartingTimeOfUser(), isMaxProcessingTimeReached(), isTestFinishedToViewResults(), and REPORT_AFTER_TEST.
Referenced by canShowCertificate().
ilObjTest::canViewResults | ( | ) |
Returns true, if the test results can be viewed.
Definition at line 8513 of file class.ilObjTest.php.
References $result, getReportingDate(), and getScoreReporting().
Referenced by canShowTestResults().
ilObjTest::checkMarks | ( | ) |
{
Implements ilMarkSchemaAware.
Definition at line 7086 of file class.ilObjTest.php.
ilObjTest::checkMaximumAllowedUsers | ( | ) |
Definition at line 9324 of file class.ilObjTest.php.
References $ilDB, $query, $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.
private
Definition at line 1254 of file class.ilObjTest.php.
References ilRTE\_cleanupMediaObjectUsage(), getAllRTEContent(), ilObject\getId(), and ilObject\getType().
Referenced by saveToDb().
ilObjTest::create | ( | $a_upload = false | ) |
create test object
Definition at line 692 of file class.ilObjTest.php.
References 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 913 of file class.ilObjTest.php.
References ilUtil\getDataDir(), ilObject\getId(), and ilUtil\makeDir().
ilObjTest::createMetaData | ( | ) |
Create meta data entry.
public
Definition at line 7205 of file class.ilObjTest.php.
References saveAuthorToMetadata().
Referenced by create().
& ilObjTest::createQuestionGUI | ( | $question_type, | |
$question_id = -1 |
|||
) |
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 5615 of file class.ilObjTest.php.
References $ilCtrl, $ilDB, $ilUser, ilObject\$lng, ilObjAssessmentFolder\_enabledAssessmentLogging(), assQuestion\_includeClass(), areObligationsEnabled(), assQuestion\getFeedbackClassNameByQuestionType(), assQuestion\getGuiClassNameByQuestionType(), and getQuestionType().
ilObjTest::createRandomSolutions | ( | $number | ) |
Definition at line 10713 of file class.ilObjTest.php.
References $data, $ilDB, $pass, $query, $result, _instanciateQuestion(), getNrOfTries(), getQuestionCount(), ilObject\getRefId(), getTestId(), and isRandomTest().
& ilObjTest::createTestSequence | ( | $active_id, | |
$pass, | |||
$shuffle | |||
) |
Definition at line 10337 of file class.ilObjTest.php.
References $pass, and isRandomTest().
ilObjTest::delete | ( | ) |
delete object and all related data
public
Definition at line 740 of file class.ilObjTest.php.
References ilObject\deleteMetaData(), and deleteTest().
ilObjTest::deleteDefaults | ( | $test_default_id | ) |
Deletes the defaults for a test.
integer | $test_default_id | The database ID of the test defaults public |
Definition at line 9847 of file class.ilObjTest.php.
References $ilDB.
ilObjTest::deleteTest | ( | ) |
Deletes the test and all related objects, files and database entries.
public
Definition at line 762 of file class.ilObjTest.php.
References $ilDB, $mobs, $result, $row, ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilUtil\delDir(), ilUtil\getDataDir(), ilObject\getId(), getTestId(), and removeAllTestEditings().
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 10203 of file class.ilObjTest.php.
References $filename, $ilLog, ilObject\$title, ilUtil\deliverData(), ilRpcClientFactory\factory(), ilUtil\getASCIIFilename(), ilObject\getTitle(), and ilUtil\ilTempnam().
Referenced by deliverPDFfromHTML().
ilObjTest::deliverPDFfromHTML | ( | $content, | |
$title = NULL |
|||
) |
Delivers a PDF file from XHTML.
string | $html | The XHTML string public |
Definition at line 10160 of file class.ilObjTest.php.
References ilObject\$title, deliverPDFfromFO(), ilUtil\getStyleSheetLocation(), getTestStyleLocation(), ilObject\getTitle(), ilUtil\prepareFormOutput(), and processPrintoutput2FO().
ilObjTest::disinviteUser | ( | $user_id | ) |
Disinvites a user from a test.
integer | $user_id | The database id of the disinvited user public |
Definition at line 7929 of file class.ilObjTest.php.
References $ilDB, and getTestId().
ilObjTest::duplicateQuestionForTest | ( | $question_id | ) |
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 $ilUser, _instanciateQuestion(), and ilObject\getId().
Referenced by insertQuestion().
ilObjTest::endingTimeReached | ( | ) |
Returns true if the ending time of a test is reached An ending time is not available for self assessment tests.
Definition at line 5751 of file class.ilObjTest.php.
References getEndingTime(), and isEndingTimeEnabled().
Referenced by canShowTestResults(), and isExecutable().
|
static |
Definition at line 12224 of file class.ilObjTest.php.
References $ilDB, ilObject\$lng, and ilObjectFactory\getInstanceByRefId().
Referenced by ilObjCourseGUI\redirectLocToTestObject().
& ilObjTest::evalResultsOverview | ( | ) |
Creates an associated array with the results of all participants of a test.
Definition at line 5331 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.
integer | $active_id | The active id of the participant |
Definition at line 5391 of file class.ilObjTest.php.
References $ilDB, $result, $row, and getTestId().
& ilObjTest::evalStatistical | ( | $active_id | ) |
Returns the statistical evaluation of the test for a specified user.
Definition at line 4613 of file class.ilObjTest.php.
References $ilDB, $pass, $result, $row, _getResultPass(), and getTestResult().
ilObjTest::evalTotalFinished | ( | ) |
Returns the number of total finished tests.
Definition at line 4898 of file class.ilObjTest.php.
References $ilDB, $result, $row, and getTestId().
Referenced by getAggregatedResultsData().
& ilObjTest::evalTotalParticipantsArray | ( | $name_sort_order = "asc" | ) |
Returns all participants who started the test.
Definition at line 4856 of file class.ilObjTest.php.
References $ilDB, $result, $row, getAnonymity(), and getTestId().
Referenced by getTotalPointsPassedArray().
ilObjTest::evalTotalPersons | ( | ) |
Returns the number of persons who started the test.
Definition at line 4432 of file class.ilObjTest.php.
References $ilDB, $result, $row, and getTestId().
Referenced by canEditMarks(), participantDataExist(), and saveToDb().
& ilObjTest::evalTotalPersonsArray | ( | $name_sort_order = "asc" | ) |
Returns all persons who started the test.
Definition at line 4814 of file class.ilObjTest.php.
References $ilDB, $result, $row, getAnonymity(), and getTestId().
ilObjTest::evalTotalStartedAverageTime | ( | ) |
Returns the average processing time for all started tests.
Definition at line 5513 of file class.ilObjTest.php.
References $ilDB, $result, $row, and getTestId().
Referenced by getAggregatedResultsData().
ilObjTest::exportFileItems | ( | $a_target_dir, | |
& | $expLog | ||
) |
export files of file itmes
Definition at line 6975 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 6813 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 6954 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 6857 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 6889 of file class.ilObjTest.php.
References $ilBench, and ilPCFileList\collectFileItems().
Referenced by exportPagesXML().
ilObjTest::fromXML | ( | ilQTIAssessment | $assessment | ) |
Receives parameters from a QTI parser and creates a valid ILIAS test object.
ilQTIAssessment | $assessment |
Definition at line 5892 of file class.ilObjTest.php.
References $_SESSION, $ilLog, ilObject\$type, _getImportDirectory(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveTempFileAsMediaObject(), ilObjMediaObject\_saveUsage(), ilQTIAssessment\getComment(), getFinalStatement(), ilObject\getId(), getIntroduction(), ilQTIAssessment\getPresentationMaterial(), ilQTIAssessment\getTitle(), QTIMaterialToString(), saveToDb(), setActivationEndingTime(), setActivationLimited(), setActivationStartingTime(), setActivationVisibility(), setAllowedUsers(), setAllowedUsersTimeGap(), setAnonymity(), setAnswerFeedback(), setAnswerFeedbackPoints(), setAuthor(), setAutosave(), setAutosaveIval(), setCharSelectorAvailability(), setCharSelectorDefinition(), setCountSystem(), setCustomStyle(), ilObject\setDescription(), setEnableArchiving(), setEnableExamview(), setEnableProcessingTime(), setEndingTime(), setEndingTimeEnabled(), setExportSettings(), setFinalStatement(), setFixedParticipants(), setForceJS(), setHighscoreAchievedTS(), setHighscoreAnon(), setHighscoreEnabled(), setHighscoreHints(), setHighscoreOwnTable(), setHighscorePercentage(), setHighscoreScore(), setHighscoreTopNum(), setHighscoreTopTable(), setHighscoreWTime(), setInstantFeedbackAnswerFixationEnabled(), setInstantFeedbackSolution(), setIntroduction(), setIntroductionEnabled(), setKiosk(), setLimitUsersEnabled(), setListOfQuestionsSettings(), setMailNotification(), setMailNotificationType(), setMCScoring(), setNrOfTries(), setObligationsEnabled(), setOfferingQuestionHintsEnabled(), setPassScoring(), setPassword(), setPasswordEnabled(), setPrintBestSolutionWithResult(), setProcessingTime(), setQuestionSetType(), setRedirectionMode(), setRedirectionUrl(), setReportingDate(), setResetProcessingTime(), setResultFilterTaxIds(), setResultsPresentation(), setScoreCutting(), setScoreReporting(), setSequenceSettings(), setShowCancel(), setShowExamIdInTestPassEnabled(), setShowExamIdInTestResultsEnabled(), setShowExamviewHtml(), setShowExamviewPdf(), setShowFinalStatement(), setShowGradingMarkEnabled(), setShowGradingStatusEnabled(), setShowInfo(), setShowMarker(), setShowSolutionDetails(), setShowSolutionPrintview(), setShuffleQuestions(), setSignSubmission(), setSkillServiceEnabled(), setSpecificAnswerFeedback(), setStartingTime(), setStartingTimeEnabled(), ilObject\setTitle(), setTitleOutput(), and setUsePreviousAnswers().
ilObjTest::getActivationEndingTime | ( | ) |
Definition at line 11705 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
ilObjTest::getActivationStartingTime | ( | ) |
Definition at line 11700 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
ilObjTest::getActivationVisibility | ( | ) |
Definition at line 11161 of file class.ilObjTest.php.
References $activation_visibility.
Referenced by addDefaults(), saveToDb(), and toXML().
ilObjTest::getActiveIdOfUser | ( | $user_id = "" , |
|
$anonymous_id = "" |
|||
) |
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 4119 of file class.ilObjTest.php.
References $_SESSION, $ilDB, $ilUser, $result, $row, and getTestId().
Referenced by canShowTestResults(), ilObjTestVerification\createFromTest(), getAllQuestions(), getExistingQuestions(), isExecutable(), loadQuestions(), removeTestResultsForUser(), ilCourseObjectiveResult\resetTestForUser(), and setQuestionSetSolved().
ilObjTest::getAggregatedResultsData | ( | ) |
Returns the aggregated test results.
public
Definition at line 10555 of file class.ilObjTest.php.
References $data, $results, evalTotalFinished(), evalTotalStartedAverageTime(), and getCompleteEvaluationData().
ilObjTest::getAllowedUsers | ( | ) |
Definition at line 9304 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), checkMaximumAllowedUsers(), saveToDb(), and toXML().
ilObjTest::getAllowedUsersTimeGap | ( | ) |
Definition at line 9314 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), checkMaximumAllowedUsers(), saveToDb(), and toXML().
& ilObjTest::getAllQuestions | ( | $pass = NULL | ) |
Returns all questions of a test in test order.
Definition at line 4079 of file class.ilObjTest.php.
References $ilDB, $ilUser, $pass, $result, $row, _getPass(), getActiveIdOfUser(), isRandomTest(), and loadQuestions().
ilObjTest::getAllRTEContent | ( | ) |
Returns the content of all RTE enabled text areas in the test.
private
Definition at line 1241 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 8079 of file class.ilObjTest.php.
References $results, $row, _instanciateQuestion(), getAnonymity(), getECTSGrade(), getECTSOutput(), getTotalPointsPassedArray(), and processCSVRow().
ilObjTest::getAnonymity | ( | ) |
Returns the anonymity status of the test.
Definition at line 9531 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), buildName(), evalTotalParticipantsArray(), evalTotalPersonsArray(), getAllTestResults(), getDetailedTestResults(), getEvaluationAdditionalFields(), getInvitedUsers(), getParticipants(), getTestParticipants(), getUserData(), isHighscoreAnon(), saveToDb(), toXML(), and userLookupFullName().
ilObjTest::getAnsweredQuestionCount | ( | $active_id, | |
$pass = NULL |
|||
) |
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 8335 of file class.ilObjTest.php.
References $ilDB, ilObject\$lng, $pass, assQuestion\_isWorkedThrough(), isDynamicTest(), isRandomTest(), and loadQuestions().
ilObjTest::getAnswerFeedback | ( | ) |
Returns 1 if generic answer feedback is activated.
Definition at line 2543 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getAnswerFeedbackPoints | ( | ) |
Returns 1 if answer specific feedback as reached points is activated.
Definition at line 2568 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getAuthor | ( | ) |
Gets the authors name of the ilObjTest object.
Definition at line 7218 of file class.ilObjTest.php.
References ilObject\$id, ilObject\getId(), and ilObject\getType().
Referenced by _getAvailableTests(), loadFromDb(), saveToDb(), and toXML().
ilObjTest::getAutosave | ( | ) |
Definition at line 11604 of file class.ilObjTest.php.
References $autosave.
Referenced by addDefaults(), saveToDb(), and toXML().
ilObjTest::getAutosaveIval | ( | ) |
Definition at line 11614 of file class.ilObjTest.php.
References $autosave_ival.
Referenced by addDefaults(), saveToDb(), and toXML().
& 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.
Definition at line 5554 of file class.ilObjTest.php.
References ilObjQuestionPool\_getAvailableQuestionpools().
ilObjTest::getAvailableQuestions | ( | $arrFilter, | |
$completeonly = 0 |
|||
) |
Calculates the available questions for a test.
public
Definition at line 5774 of file class.ilObjTest.php.
References $ilDB, $ilUser, $row, ilObjQuestionPool\_getAvailableQuestionpools(), getExistingQuestions(), getQuestionTypeTranslations(), and isPluginActive().
ilObjTest::getCertificateVisibility | ( | ) |
Returns the visibility settings of the certificate.
Definition at line 9509 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), canShowCertificate(), and saveToDb().
ilObjTest::getCharSelectorAvailability | ( | ) |
Definition at line 11949 of file class.ilObjTest.php.
References $char_selector_availability.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getCharSelectorDefinition | ( | ) |
Definition at line 11965 of file class.ilObjTest.php.
References $char_selector_definition.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
& ilObjTest::getCompleteEvaluationData | ( | $withStatistics = TRUE , |
|
$filterby = "" , |
|||
$filtertext = "" |
|||
) |
Definition at line 5311 of file class.ilObjTest.php.
References $data.
Referenced by getAggregatedResultsData().
ilObjTest::getCompleteWorkingTime | ( | $user_id | ) |
Returns the complete working time in seconds a user worked on the test.
Definition at line 4450 of file class.ilObjTest.php.
References $ilDB, $result, $row, and getTestId().
ilObjTest::getCompleteWorkingTimeOfParticipant | ( | $active_id | ) |
Returns the complete working time in seconds for a test participant.
Definition at line 4519 of file class.ilObjTest.php.
References $ilDB, $result, $row, and getTestId().
& ilObjTest::getCompleteWorkingTimeOfParticipants | ( | ) |
Returns the complete working time in seconds for all test participants.
Definition at line 4476 of file class.ilObjTest.php.
References _getCompleteWorkingTimeOfParticipants(), and getTestId().
ilObjTest::getCountSystem | ( | ) |
Gets the count system for the calculation of points.
Definition at line 2580 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getCustomStyle | ( | ) |
Get the custom style.
Definition at line 2172 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), getTestStyleLocation(), saveToDb(), and toXML().
ilObjTest::getCustomStyles | ( | ) |
Return the available custom styles.
Definition at line 2184 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 10361 of file class.ilObjTest.php.
References $results, $row, _instanciateQuestion(), and getAnonymity().
ilObjTest::getECTSFX | ( | ) |
{
Implements ilEctsGradesEnabled.
Definition at line 2328 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), _isComplete(), addDefaults(), and saveToDb().
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 |
Implements ilEctsGradesEnabled.
Definition at line 7015 of file class.ilObjTest.php.
Referenced by getAllTestResults(), and getQuestionsOfPass().
ilObjTest::getECTSGrades | ( | ) |
{
Implements ilEctsGradesEnabled.
Definition at line 2344 of file class.ilObjTest.php.
References $ects_grades.
Referenced by _getAvailableTests(), _isComplete(), and addDefaults().
ilObjTest::getECTSOutput | ( | ) |
{
Implements ilEctsGradesEnabled.
Definition at line 2312 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), _isComplete(), addDefaults(), getAllTestResults(), getQuestionsOfPass(), and saveToDb().
ilObjTest::getEnableArchiving | ( | ) |
Definition at line 11821 of file class.ilObjTest.php.
References $data, $enable_archiving, $ilDB, $query, $res, and getTestId().
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getEnabledViewMode | ( | ) |
Definition at line 10889 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), and saveToDb().
ilObjTest::getEnableExamview | ( | ) |
Definition at line 11683 of file class.ilObjTest.php.
References $enable_examview.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getEnableProcessingTime | ( | ) |
Returns the state of the processing time (enabled/disabled)
Definition at line 3069 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), isExecutable(), isMaxProcessingTimeReached(), saveToDb(), and toXML().
ilObjTest::getEndingTime | ( | ) |
Returns the ending time of the test.
Definition at line 3149 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), endingTimeReached(), getSecondsUntilEndingTime(), isExecutable(), saveToDb(), and toXML().
ilObjTest::getEstimatedWorkingTime | ( | ) |
Returns the estimated working time for the test calculated from the working time of the contained questions.
Definition at line 5566 of file class.ilObjTest.php.
References $result, and _instanciateQuestion().
Referenced by getProcessingTimeAsArray().
ilObjTest::getEvaluationAdditionalFields | ( | ) |
Gets additional user fields that should be shown in the user evaluation.
Definition at line 10679 of file class.ilObjTest.php.
References getAnonymity().
& ilObjTest::getExistingQuestions | ( | $pass = NULL | ) |
Get the id's of the questions which are already part of the test.
Definition at line 3931 of file class.ilObjTest.php.
References $data, $ilDB, $ilUser, $pass, $result, getActiveIdOfUser(), getTestId(), and isRandomTest().
Referenced by getAvailableQuestions().
ilObjTest::getExportDirectory | ( | ) |
Get the location of the export directory for the test.
public
Definition at line 945 of file class.ilObjTest.php.
References $file, and ilUtil\getDataDir().
ilObjTest::getExportSettings | ( | ) |
Definition at line 10838 of file class.ilObjTest.php.
References $exportsettings.
Referenced by addDefaults(), saveToDb(), and toXML().
ilObjTest::getExportSettingsSingleChoiceShort | ( | ) |
Definition at line 10862 of file class.ilObjTest.php.
Referenced by setExportSettingsSingleChoiceShort().
ilObjTest::getExtraTime | ( | $active_id | ) |
Definition at line 11739 of file class.ilObjTest.php.
References $ilDB, $result, and $row.
Referenced by getProcessingTimeInSeconds().
ilObjTest::getFinalStatement | ( | ) |
Gets the final statement.
Definition at line 2256 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), fromXML(), getAllRTEContent(), saveToDb(), and toXML().
ilObjTest::getFixedParticipants | ( | ) |
Returns the fixed participants status.
Definition at line 9621 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getForceJS | ( | ) |
Gets whether JavaScript should be forced for tests.
Definition at line 2280 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getGenericAnswerFeedback | ( | ) |
Returns 1 if generic answer feedback is to be shown.
Definition at line 2556 of file class.ilObjTest.php.
Referenced by saveToDb().
& ilObjTest::getGroupData | ( | $ids | ) |
Definition at line 7862 of file class.ilObjTest.php.
References ilObject\$ref_id, $result, ilObject\_lookupDescription(), ilObject\_lookupObjId(), and ilObject\_lookupTitle().
ilObjTest::getHighscoreAchievedTS | ( | ) |
Returns if date and time of the scores achievement should be displayed.
Definition at line 11259 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
ilObjTest::getHighscoreAnon | ( | ) |
Gets if the highscores should be anonymized per setting.
Note: This method will retrieve the setting as set by the user. If you want to figure out, if the highscore is to be shown anonymized or not, with consideration of the global anon switch you should
Definition at line 11219 of file class.ilObjTest.php.
Referenced by addDefaults(), isHighscoreAnon(), saveToDb(), and toXML().
ilObjTest::getHighscoreEnabled | ( | ) |
Gets the setting which determines if the highscore feature is enabled.
Definition at line 11193 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
ilObjTest::getHighscoreHints | ( | ) |
Gets, if the column with the number of requested hints should be shown.
Definition at line 11319 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
ilObjTest::getHighscoreMode | ( | ) |
Definition at line 11417 of file class.ilObjTest.php.
References getHighscoreOwnTable(), and getHighscoreTopTable().
ilObjTest::getHighscoreOwnTable | ( | ) |
Gets if the own rankings table should be shown.
Definition at line 11359 of file class.ilObjTest.php.
Referenced by addDefaults(), getHighscoreMode(), saveToDb(), and toXML().
ilObjTest::getHighscorePercentage | ( | ) |
Gets if the percentage column should be shown.
Definition at line 11299 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
ilObjTest::getHighscoreScore | ( | ) |
Gets if the score column should be shown.
Definition at line 11279 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
ilObjTest::getHighscoreTopNum | ( | $a_retval = 10 | ) |
Gets the number of entries which are to be shown in the top-rankings table.
Default: 10 entries
integer | $a_retval | Optional return value if nothing is set, defaults to 10. |
Definition at line 11403 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
ilObjTest::getHighscoreTopTable | ( | ) |
Gets, if the top-rankings table should be shown.
Definition at line 11379 of file class.ilObjTest.php.
Referenced by addDefaults(), getHighscoreMode(), saveToDb(), and toXML().
ilObjTest::getHighscoreWTime | ( | ) |
Gets if the column with the workingtime should be shown.
Definition at line 11339 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
ilObjTest::getImagePath | ( | ) |
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 5589 of file class.ilObjTest.php.
References ilObject\getId().
ilObjTest::getImagePathWeb | ( | ) |
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 5600 of file class.ilObjTest.php.
References ilObject\getId(), ILIAS_ABSOLUTE_PATH, and ilUtil\removeTrailingPathSeparators().
ilObjTest::getImportDirectory | ( | ) |
Definition at line 1015 of file class.ilObjTest.php.
References _getImportDirectory().
ilObjTest::getImportMapping | ( | ) |
get array of (two) new created questions for import id
Definition at line 6992 of file class.ilObjTest.php.
ilObjTest::getInstantFeedbackSolution | ( | ) |
Returns 1 if the correct solution will be shown after answering a question.
Definition at line 2530 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getIntroduction | ( | ) |
Gets the introduction text of the ilObjTest object.
Definition at line 2099 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), fromXML(), getAllRTEContent(), saveToDb(), and toXML().
& ilObjTest::getInvitedUsers | ( | $user_id = "" , |
|
$order = "login, lastname, firstname" |
|||
) |
Returns a list of all invited users in a test.
Definition at line 7629 of file class.ilObjTest.php.
References $ilDB, $result, $row, getAnonymity(), and getTestId().
ilObjTest::getJavaScriptOutput | ( | ) |
Returns if Javascript should be chosen for drag & drop actions for the active user.
Definition at line 10326 of file class.ilObjTest.php.
ilObjTest::getKiosk | ( | ) |
Returns the kiosk mode.
Definition at line 2740 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getKioskMode | ( | ) |
Returns the kiosk mode.
Definition at line 2765 of file class.ilObjTest.php.
Referenced by setKioskMode().
ilObjTest::getListOfQuestions | ( | ) |
Returns if the list of questions should be presented to the user or not.
Definition at line 8778 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.
Definition at line 8892 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.
Definition at line 8853 of file class.ilObjTest.php.
Referenced by setListOfQuestionsEnd().
ilObjTest::getListOfQuestionsSettings | ( | ) |
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 8750 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getListOfQuestionsStart | ( | ) |
Returns if the list of questions should be presented as the first page of the test.
Definition at line 8814 of file class.ilObjTest.php.
Referenced by setListOfQuestionsStart().
ilObjTest::getMailNotification | ( | ) |
Get mail notification settings.
Definition at line 10649 of file class.ilObjTest.php.
References $mailnotification.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getMailNotificationType | ( | ) |
Definition at line 10814 of file class.ilObjTest.php.
References $mailnottype.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
|
static |
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 10249 of file class.ilObjTest.php.
References $ilDB, ilObject\$ilias, $ilUser, ilObject\$lng, $pass, $result, $row, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), ilObjTestAccess\_getParticipantData(), assQuestion\_getQuestionTitle(), ilRTE\_replaceMediaObjectImageSrc(), PEAR\isError(), and logAction().
Referenced by assClozeTestGUI\getAnswerFeedbackOutput(), and assQuestionGUI\getGenericFeedbackOutput().
ilObjTest::getMarkSchema | ( | ) |
{
Implements ilMarkSchemaAware.
Definition at line 7094 of file class.ilObjTest.php.
References $mark_schema.
ilObjTest::getMarkSchemaForeignId | ( | ) |
{
Implements ilMarkSchemaAware.
Definition at line 7102 of file class.ilObjTest.php.
References $ilDB, getTestId(), ilMarkSchemaAware\onMarkSchemaSaved(), participantDataExist(), recalculateScores(), and saveCompleteStatus().
ilObjTest::getMCScoring | ( | ) |
Gets the scoring type for multiple choice questions.
Definition at line 2614 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getNrOfResultsForPass | ( | $active_id, | |
$pass | |||
) |
Calculates the number of user results for a specific test pass.
private
Definition at line 1853 of file class.ilObjTest.php.
References $ilDB, $pass, and $result.
Referenced by getStartTestLabel().
ilObjTest::getNrOfTries | ( | ) |
Returns the nr of tries for the test.
Definition at line 2728 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), createRandomSolutions(), getStartTestLabel(), hasNrOfTriesRestriction(), isExecutable(), isNrOfTriesReached(), saveToDb(), and toXML().
& ilObjTest::getParticipants | ( | ) |
Returns all persons who started the test.
Definition at line 4763 of file class.ilObjTest.php.
References $ilDB, $result, $row, getAnonymity(), and getTestId().
ilObjTest::getPassed | ( | $active_id | ) |
Definition at line 10445 of file class.ilObjTest.php.
References $ilDB, $result, $row, _getResultPass(), and getTestResult().
Referenced by canShowCertificate().
ilObjTest::getPassFinishDate | ( | $active_id, | |
$pass | |||
) |
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 8384 of file class.ilObjTest.php.
References $ilDB, $pass, $query, $result, and $row.
Referenced by ilObjTestVerification\createFromTest(), and isTestFinishedToViewResults().
ilObjTest::getPassScoring | ( | ) |
Gets the pass scoring type.
Definition at line 2638 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getPassword | ( | ) |
Returns the password for test access.
Definition at line 3324 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
|
static |
Definition at line 12108 of file class.ilObjTest.php.
References ilObjTestDynamicQuestionSetConfig\getPoolQuestionChangeListener().
Referenced by ilObjQuestionPool\addQuestionChangeListeners().
ilObjTest::getPoolUsage | ( | ) |
Definition at line 10991 of file class.ilObjTest.php.
References $poolUsage.
Referenced by _getAvailableTests(), addDefaults(), and saveToDb().
ilObjTest::getProcessingTime | ( | ) |
Returns the processing time for the test.
Definition at line 2974 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), getProcessingTimeInSeconds(), saveToDb(), and toXML().
ilObjTest::getProcessingTimeAsArray | ( | ) |
Returns the processing time for the test.
Definition at line 2985 of file class.ilObjTest.php.
References getEstimatedWorkingTime().
ilObjTest::getProcessingTimeAsMinutes | ( | ) |
Definition at line 3008 of file class.ilObjTest.php.
ilObjTest::getProcessingTimeInSeconds | ( | $active_id = "" | ) |
Returns the processing time for the test in seconds.
Definition at line 3028 of file class.ilObjTest.php.
References getExtraTime(), and getProcessingTime().
Referenced by isMaxProcessingTimeReached().
ilObjTest::getQuestionCount | ( | ) |
Returns the number of questions in the test.
Definition at line 7432 of file class.ilObjTest.php.
References $ilDB, and isRandomTest().
Referenced by createRandomSolutions(), getQuestionsOfPass(), and getQuestionsOfTest().
ilObjTest::getQuestionDataset | ( | $question_id | ) |
Returns the dataset for a given question id.
integer | $question_id | The database id of the question |
Definition at line 3913 of file class.ilObjTest.php.
References $ilDB, $result, and $row.
ilObjTest::getQuestions | ( | ) |
ilObjTest::getQuestionSetType | ( | ) |
getter for question set type
Definition at line 11986 of file class.ilObjTest.php.
References $questionSetType.
Referenced by _getAvailableTests(), addDefaults(), getQuestionTitles(), getQuestionTitlesAndIndexes(), isDynamicTest(), isFixedTest(), isRandomTest(), saveToDb(), and toXML().
ilObjTest::getQuestionSetTypeTranslation | ( | ilLanguage | $lng, |
$questionSetType | |||
) |
Definition at line 12058 of file class.ilObjTest.php.
References $questionSetType, QUESTION_SET_TYPE_DYNAMIC, QUESTION_SET_TYPE_FIXED, QUESTION_SET_TYPE_RANDOM, and ilLanguage\txt().
& ilObjTest::getQuestionsOfPass | ( | $active_id, | |
$pass | |||
) |
Retrieves all the assigned questions for a test participant in a given test pass.
Definition at line 4959 of file class.ilObjTest.php.
References $data, $ilDB, $pass, $query, $res, $result, $row, getECTSGrade(), getECTSOutput(), getQuestionCount(), getTestId(), getTotalPointsPassedArray(), getVisitTimeOfParticipant(), isDynamicTest(), isRandomTest(), and ilObjTestDynamicQuestionSetConfig\loadFromDb().
& ilObjTest::getQuestionsOfTest | ( | $active_id | ) |
Retrieves all the assigned questions for all test passes of a test participant.
Definition at line 4916 of file class.ilObjTest.php.
References $ilDB, $result, $row, getQuestionCount(), and isRandomTest().
ilObjTest::getQuestiontext | ( | $question_id | ) |
ilObjTest::getQuestionTitle | ( | $title | ) |
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().
& ilObjTest::getQuestionTitles | ( | ) |
Returns the titles of the test questions in question sequence.
Definition at line 3842 of file class.ilObjTest.php.
References $ilDB, $result, $row, getQuestionSetType(), and getTestId().
& ilObjTest::getQuestionTitlesAndIndexes | ( | ) |
Returns the titles of the test questions in question sequence.
Definition at line 3867 of file class.ilObjTest.php.
References $ilDB, $result, $row, getQuestionSetType(), and getTestId().
Referenced by hasQuestionsWithoutQuestionpool().
ilObjTest::getQuestionType | ( | $question_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, $ilDB, and $result.
Referenced by createQuestionGUI().
& ilObjTest::getQuestionTypeTranslations | ( | ) |
Definition at line 5855 of file class.ilObjTest.php.
References $ilDB, $ilLog, ilObject\$lng, $result, $row, ilPlugin\getPluginObject(), and IL_COMP_MODULE.
Referenced by getAvailableQuestions().
ilObjTest::getRedirectionMode | ( | ) |
Definition at line 3201 of file class.ilObjTest.php.
References $redirection_mode.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getRedirectionUrl | ( | ) |
Definition at line 3209 of file class.ilObjTest.php.
References $redirection_url.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getReportingDate | ( | ) |
Gets the reporting date of the ilObjTest object.
Definition at line 2716 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), canEditEctsGrades(), canEditMarks(), canViewResults(), isScoreReportingAvailable(), saveToDb(), and toXML().
ilObjTest::getResetProcessingTime | ( | ) |
Returns wheather the processing time should be reset or not.
Definition at line 3081 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), getStartingTimeOfUser(), isExecutable(), saveToDb(), and toXML().
ilObjTest::getResultFilterTaxIds | ( | ) |
Definition at line 12158 of file class.ilObjTest.php.
References $resultFilterTaxIds.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getResultsForActiveId | ( | $active_id | ) |
Definition at line 10777 of file class.ilObjTest.php.
References $ilDB, $query, $result, $row, and assQuestion\_updateTestResultCache().
Referenced by getTestResult().
ilObjTest::getResultsPresentation | ( | ) |
Returns the combined results presentation value.
Definition at line 8931 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
& ilObjTest::getRoleData | ( | $ids | ) |
Definition at line 7874 of file class.ilObjTest.php.
References $result, ilObject\_lookupDescription(), and ilObject\_lookupTitle().
ilObjTest::getScoreCutting | ( | ) |
Determines if the score of a question should be cut at 0 points or the score of the whole test.
Definition at line 2626 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), getTestResult(), saveToDb(), and toXML().
ilObjTest::getScoreReporting | ( | ) |
Gets the score reporting of the ilObjTest object.
Definition at line 2513 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), canShowTestResults(), canViewResults(), isScoreReportingAvailable(), isScoreReportingEnabled(), saveToDb(), and toXML().
ilObjTest::getSecondsUntilEndingTime | ( | ) |
Returns the seconds left from the actual time until the ending time.
Definition at line 3048 of file class.ilObjTest.php.
References getEndingTime().
ilObjTest::getSequenceSettings | ( | ) |
SEQUENCE SETTING = POSTPONING ENABLED !!
Definition at line 2362 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), isPostponingEnabled(), saveToDb(), and toXML().
ilObjTest::getShowCancel | ( | ) |
Returns wheather the cancel test button is shown or not.
Definition at line 9561 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getShowExamviewHtml | ( | ) |
Definition at line 11651 of file class.ilObjTest.php.
References $show_examview_html.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getShowExamviewPdf | ( | ) |
Definition at line 11667 of file class.ilObjTest.php.
References $show_examview_pdf.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getShowFinalStatement | ( | ) |
Returns whether the final statement should be shown or not.
Definition at line 2292 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getShowInfo | ( | ) |
Gets whether the complete information page is shown or the required data only.
Definition at line 2268 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getShowKioskModeParticipant | ( | ) |
Returns the status of the kiosk mode participant.
Definition at line 2846 of file class.ilObjTest.php.
Referenced by setShowKioskModeParticipant().
ilObjTest::getShowKioskModeTitle | ( | ) |
Returns the status of the kiosk mode title.
Definition at line 2806 of file class.ilObjTest.php.
Referenced by setShowKioskModeTitle().
ilObjTest::getShowMarker | ( | ) |
Returns wheather the marker button is shown or not.
Definition at line 9591 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getShowPassDetails | ( | ) |
Returns if the pass details should be shown when a test is not finished.
Definition at line 8942 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.
Definition at line 9014 of file class.ilObjTest.php.
Referenced by setShowSolutionAnswersOnly().
ilObjTest::getShowSolutionDetails | ( | ) |
Returns if the solution details should be presented to the user or not.
Definition at line 8960 of file class.ilObjTest.php.
Referenced by setShowSolutionDetails(), and toXML().
ilObjTest::getShowSolutionFeedback | ( | ) |
Returns if the feedback should be presented to the solution or not.
Definition at line 8996 of file class.ilObjTest.php.
Referenced by setShowSolutionFeedback().
ilObjTest::getShowSolutionListComparison | ( | ) |
Definition at line 9064 of file class.ilObjTest.php.
Referenced by setShowSolutionListComparison().
ilObjTest::getShowSolutionPrintview | ( | ) |
Returns if the solution printview should be presented to the user or not.
Definition at line 8978 of file class.ilObjTest.php.
Referenced by canShowSolutionPrintview(), and setShowSolutionPrintview().
ilObjTest::getShowSolutionSignature | ( | ) |
Returns if the signature field should be shown in the test results.
Definition at line 9032 of file class.ilObjTest.php.
Referenced by setShowSolutionSignature().
ilObjTest::getShowSolutionSuggested | ( | ) |
Definition at line 9048 of file class.ilObjTest.php.
Referenced by setShowSolutionSuggested().
ilObjTest::getShuffleQuestions | ( | ) |
Returns the status of the shuffle_questions variable.
Definition at line 8722 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getSignSubmission | ( | ) |
Definition at line 11933 of file class.ilObjTest.php.
References $sign_submission.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::getSpecificAnswerFeedback | ( | ) |
Definition at line 11475 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
ilObjTest::getStartingTime | ( | ) |
Returns the starting time of the test.
Definition at line 3109 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), isExecutable(), saveToDb(), startingTimeReached(), and toXML().
ilObjTest::getStartingTimeOfParticipants | ( | ) |
ilObjTest::getStartingTimeOfUser | ( | $active_id, | |
$pass = null |
|||
) |
Returns the unix timestamp of the time a user started a test.
integer | $active_id | The active id of the user |
Definition at line 8564 of file class.ilObjTest.php.
References $ilDB, $pass, $result, $row, _getPass(), and getResetProcessingTime().
Referenced by canShowTestResults(), and isExecutable().
ilObjTest::getStartTestLabel | ( | $active_id | ) |
Returns the "Start the Test" label for the Info page.
int | $active_id | The active id of the current user |
Definition at line 9759 of file class.ilObjTest.php.
References $ilDB, $ilUser, $res, $result, $row, _getPass(), getNrOfResultsForPass(), and getNrOfTries().
ilObjTest::getTemplate | ( | ) |
Definition at line 10901 of file class.ilObjTest.php.
References $template_id.
Referenced by _getAvailableTests(), and saveToDb().
& ilObjTest::getTestDefaults | ( | $test_defaults_id | ) |
Returns the test defaults for a given id.
integer | $test_defaults_id | The database id of a test defaults dataset |
Definition at line 9817 of file class.ilObjTest.php.
ilObjTest::getTestId | ( | ) |
Gets the database id of the additional test data.
Definition at line 2304 of file class.ilObjTest.php.
References $test_id.
Referenced by _isComplete(), addExtraTime(), checkMaximumAllowedUsers(), createRandomSolutions(), deleteTest(), disinviteUser(), evalResultsOverview(), evalResultsOverviewOfParticipant(), evalTotalFinished(), evalTotalParticipantsArray(), evalTotalPersons(), evalTotalPersonsArray(), evalTotalStartedAverageTime(), getActiveIdOfUser(), getCompleteWorkingTime(), getCompleteWorkingTimeOfParticipant(), getCompleteWorkingTimeOfParticipants(), getEnableArchiving(), getExistingQuestions(), getInvitedUsers(), getMarkSchemaForeignId(), getParticipants(), getQuestionsOfPass(), getQuestionTitles(), getQuestionTitlesAndIndexes(), getTestParticipants(), getTestQuestions(), getTimeExtensionsOfParticipants(), getVisitTimeOfParticipant(), hasSingleChoiceQuestions(), insertQuestion(), inviteUser(), isActiveTestSubmitted(), isNewRandomTest(), isSingleChoiceTest(), isSingleChoiceTestWithoutShuffle(), loadFromDb(), moveQuestionAfter(), moveQuestionAfterOLD(), questionMoveDown(), questionMoveUp(), randomSelectQuestions(), removeAllTestEditings(), removeTestResultsByActiveIds(), removeTestResultsByUserIds(), removeTestResultsForUser(), saveCertificateVisibility(), saveCompleteStatus(), saveQuestionsToDb(), saveToDb(), and setClientIP().
|
static |
Definition at line 12119 of file class.ilObjTest.php.
References $ilDB, $query, $res, and $row.
Referenced by ilTestVerificationTableGUI\getItems().
& ilObjTest::getTestParticipants | ( | ) |
Returns a list of all participants in a test.
Definition at line 7699 of file class.ilObjTest.php.
References $data, $ilDB, $result, $row, getAnonymity(), and getTestId().
Referenced by getTestParticipantsForManualScoring().
ilObjTest::getTestParticipantsForManualScoring | ( | $filter = NULL | ) |
Definition at line 7734 of file class.ilObjTest.php.
References $ilDB, $result, $row, ilObjAssessmentFolder\_getManualScoring(), and getTestParticipants().
& ilObjTest::getTestQuestions | ( | ) |
Definition at line 8624 of file class.ilObjTest.php.
References $ilDB, $query, $questions, $row, and getTestId().
& ilObjTest::getTestResult | ( | $active_id, | |
$pass = NULL , |
|||
$ordered_sequence = FALSE |
|||
) |
Calculates the results of a test for a given user and returns an array with all test results.
Definition at line 4221 of file class.ilObjTest.php.
References $data, $ilDB, ilObject\$lng, $pass, $query, $result, $results, $row, assQuestion\_getSuggestedSolutionOutput(), getResultsForActiveId(), getScoreCutting(), isDynamicTest(), and ilUtil\prepareFormOutput().
Referenced by evalStatistical(), getPassed(), getTotalPointsPassedArray(), and ilTestSequence\hideCorrectAnsweredQuestions().
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 2215 of file class.ilObjTest.php.
References getCustomStyle(), and ilUtil\getStyleSheetLocation().
Referenced by deliverPDFfromHTML().
ilObjTest::getTextAnswer | ( | $active_id, | |
$question_id, | |||
$pass = NULL |
|||
) |
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 7571 of file class.ilObjTest.php.
References $ilDB, $pass, $res, $result, $row, and assQuestion\_getSolutionMaxPass().
ilObjTest::getTimeExtensionsOfParticipants | ( | ) |
Definition at line 11723 of file class.ilObjTest.php.
References $ilDB, $result, $row, and getTestId().
ilObjTest::getTitleOutput | ( | ) |
Returns the value of the title_output status.
Definition at line 2898 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), getQuestionTitle(), saveToDb(), and toXML().
& ilObjTest::getTotalPointsPassedArray | ( | ) |
Returns an array with the total points of all users who passed the test This array could be used for statistics.
Definition at line 4733 of file class.ilObjTest.php.
References $total, evalTotalParticipantsArray(), and getTestResult().
Referenced by getAllTestResults(), and getQuestionsOfPass().
ilObjTest::getUsePreviousAnswers | ( | ) |
Returns if the previous answers should be shown for a learner.
Definition at line 2886 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
& ilObjTest::getUserData | ( | $ids | ) |
Returns a data of all users specified by id list.
$usr_ids | kommaseparated list of ids |
Definition at line 7836 of file class.ilObjTest.php.
References $ilDB, $result, $row, and getAnonymity().
ilObjTest::getVisitTimeOfParticipant | ( | $active_id | ) |
Returns the first and last visit of a participant.
integer | $active_id | The active ID of the participant |
Definition at line 4572 of file class.ilObjTest.php.
References _getVisitTimeOfParticipant(), and getTestId().
Referenced by getQuestionsOfPass().
& ilObjTest::getWorkedQuestions | ( | $active_id, | |
$pass = NULL |
|||
) |
Gets the id's of all questions a user already worked through.
Definition at line 4032 of file class.ilObjTest.php.
ilObjTest::getXMLZip | ( | ) |
ilObjTest::hasNrOfTriesRestriction | ( | ) |
returns if the numbers of tries have to be checked
Definition at line 8054 of file class.ilObjTest.php.
References getNrOfTries().
Referenced by isExecutable().
|
static |
returns the fact wether the test with given test id contains questions markes as obligatory or not
ilDB $ilDB
integer | $test_id |
Definition at line 11585 of file class.ilObjTest.php.
ilObjTest::hasQuestionsWithoutQuestionpool | ( | ) |
Definition at line 11059 of file class.ilObjTest.php.
References $ilDB, $query, $row, and getQuestionTitlesAndIndexes().
ilObjTest::hasRandomQuestionsForPass | ( | $active_id, | |
$pass | |||
) |
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 1874 of file class.ilObjTest.php.
References $ilDB, $pass, and $result.
ilObjTest::hasSingleChoiceQuestions | ( | ) |
Returns TRUE if the test contains single choice results.
Definition at line 1054 of file class.ilObjTest.php.
References $ilDB, $result, $row, and getTestId().
Referenced by isSingleChoiceTestWithoutShuffle().
ilObjTest::insertQuestion | ( | ilTestQuestionSetConfig | $testQuestionSetConfig, |
$question_id, | |||
$linkOnly = false |
|||
) |
Insert a question in the list of questions.
ilTestQuestionSetConfig | $testQuestionSetConfig | |
integer | $question_id | The database id of the inserted question |
boolean | $linkOnly |
Definition at line 3786 of file class.ilObjTest.php.
References $data, $ilDB, $result, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), duplicateQuestionForTest(), getTestId(), loadQuestions(), logAction(), and saveCompleteStatus().
ilObjTest::inviteGroup | ( | $group_id | ) |
Invites all users of a group to a test.
integer | $group_id | The database id of the invited group public |
Definition at line 7892 of file class.ilObjTest.php.
References ilObjUser\_lookupClientIP(), and inviteUser().
ilObjTest::inviteRole | ( | $role_id | ) |
Invites all users of a role to a test.
integer | $group_id | The database id of the invited group public |
Definition at line 7910 of file class.ilObjTest.php.
References ilObjUser\_lookupClientIP(), and inviteUser().
ilObjTest::inviteUser | ( | $user_id, | |
$client_ip = "" |
|||
) |
Invites a user to a test.
integer | $user_id | The database id of the invited user public |
Definition at line 7945 of file class.ilObjTest.php.
References $ilDB, and getTestId().
Referenced by inviteGroup(), and inviteRole().
ilObjTest::isActivationLimited | ( | ) |
Definition at line 11166 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
ilObjTest::isActiveTestSubmitted | ( | $user_id = null | ) |
returns if the active for user_id has been submitted
Definition at line 8036 of file class.ilObjTest.php.
References $ilDB, $ilUser, $result, and getTestId().
ilObjTest::isBestSolutionPrintedWithResult | ( | ) |
Definition at line 11131 of file class.ilObjTest.php.
References $print_best_solution_with_result.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
|
final |
Returns true, if a test is complete for use and can be set online.
ilTestQuestionSetConfig | $testQuestionSetConfig |
Definition at line 1145 of file class.ilObjTest.php.
References ilTestQuestionSetConfig\isQuestionSetConfigured().
Referenced by saveCompleteStatus(), and saveToDb().
ilObjTest::isDynamicTest | ( | ) |
Returns the fact wether this test is a dynamic question set test or not.
Definition at line 12041 of file class.ilObjTest.php.
References getQuestionSetType().
Referenced by getAnsweredQuestionCount(), getQuestionsOfPass(), getTestResult(), and removeTestResultsByActiveIds().
ilObjTest::isEndingTimeEnabled | ( | ) |
Definition at line 3129 of file class.ilObjTest.php.
References $ending_time_enabled.
Referenced by _getAvailableTests(), addDefaults(), endingTimeReached(), and saveToDb().
ilObjTest::isExecutable | ( | $testSession, | |
$user_id, | |||
$allowPassIncrease = FALSE |
|||
) |
Checks if the test is executable by the given user.
ilTestSession|ilTestSessionDynamicQuestionSet | ||
integer | $user_id | The user id |
Definition at line 8435 of file class.ilObjTest.php.
References $GLOBALS, $result, $starting_time, _getPass(), endingTimeReached(), ilDatePresentation\formatDate(), getActiveIdOfUser(), getEnableProcessingTime(), getEndingTime(), getNrOfTries(), getResetProcessingTime(), getStartingTime(), getStartingTimeOfUser(), hasNrOfTriesRestriction(), IL_CAL_TIMESTAMP, isMaxProcessingTimeReached(), and startingTimeReached().
ilObjTest::isFixedTest | ( | ) |
Returns the fact wether this test is a fixed question set test or not.
Definition at line 12021 of file class.ilObjTest.php.
References getQuestionSetType().
ilObjTest::isHighscoreAnon | ( | ) |
Gets if the highscores should be displayed anonymized.
Note: This method considers the global anonymity switch. If you need access to the users setting,
Definition at line 11232 of file class.ilObjTest.php.
References getAnonymity(), and getHighscoreAnon().
ilObjTest::isHTML | ( | $a_text | ) |
Checks if a given string contains HTML or not.
string | $a_text | Text which should be checked |
Definition at line 9387 of file class.ilObjTest.php.
Referenced by addQTIMaterial().
ilObjTest::isInstantFeedbackAnswerFixationEnabled | ( | ) |
Definition at line 12219 of file class.ilObjTest.php.
References $instantFeedbackAnswerFixationEnabled.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::isIntroductionEnabled | ( | ) |
Definition at line 2080 of file class.ilObjTest.php.
References $introductionEnabled.
Referenced by _getAvailableTests(), addDefaults(), and saveToDb().
ilObjTest::isLimitUsersEnabled | ( | ) |
Definition at line 9291 of file class.ilObjTest.php.
References $limitUsersEnabled.
Referenced by _getAvailableTests(), addDefaults(), and saveToDb().
ilObjTest::isMaxProcessingTimeReached | ( | $starting_time, | |
$active_id | |||
) |
Returns whether 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 8603 of file class.ilObjTest.php.
References $starting_time, getEnableProcessingTime(), and getProcessingTimeInSeconds().
Referenced by canShowTestResults(), and isExecutable().
|
protected |
Checks wheather the test is a new random test (using tst_rnd_cpy) or an old one.
Definition at line 1731 of file class.ilObjTest.php.
References $ilDB, $result, and getTestId().
ilObjTest::isNrOfTriesReached | ( | $tries | ) |
returns if number of tries are reached
Definition at line 8065 of file class.ilObjTest.php.
References getNrOfTries().
ilObjTest::isOfferingQuestionHintsEnabled | ( | ) |
returns the fact wether offering hints is enabled or not
Definition at line 11141 of file class.ilObjTest.php.
References $offeringQuestionHintsEnabled.
Referenced by addDefaults(), saveToDb(), and toXML().
ilObjTest::isOnline | ( | ) |
Definition at line 11116 of file class.ilObjTest.php.
References $online.
Referenced by _getAvailableTests(), and saveToDb().
|
static |
Definition at line 12257 of file class.ilObjTest.php.
References $ilDB, ilObject\$lng, and ilObjectFactory\getInstanceByRefId().
Referenced by ilObjCourseGUI\handleActivePass(), ilLOUtils\hasActiveRun(), ilObjCourseGUI\redirectLocToTestObject(), and ilContainerObjectiveGUI\updateResult().
ilObjTest::isPassDeletionAllowed | ( | ) |
getter for the test setting passDeletionAllowed
Definition at line 11624 of file class.ilObjTest.php.
References $passDeletionAllowed.
Referenced by addDefaults(), and saveToDb().
ilObjTest::isPasswordEnabled | ( | ) |
Definition at line 3304 of file class.ilObjTest.php.
References $passwordEnabled.
Referenced by _getAvailableTests(), addDefaults(), and saveToDb().
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 10432 of file class.ilObjTest.php.
References IL_COMP_MODULE.
Referenced by getAvailableQuestions().
ilObjTest::isPostponingEnabled | ( | ) |
Definition at line 2380 of file class.ilObjTest.php.
References getSequenceSettings().
|
static |
checks wether the obligation for question with given id is possible or not
integer | $questionId |
Definition at line 11512 of file class.ilObjTest.php.
References assQuestion\_getQuestionType(), and assQuestion\_includeClass().
Referenced by ilObjTestGUI\saveOrderAndObligationsObject().
|
static |
checks wether the question with given id is marked as obligatory or not
integer | $questionId |
Definition at line 11533 of file class.ilObjTest.php.
Referenced by assQuestion\calculateResultsFromSolution(), ilTestSequence\getSequenceSummary(), assQuestionGUI\outQuestionPage(), ilTestOutputGUI\outWorkingForm(), and ilTestPlayerDynamicQuestionSetGUI\outWorkingForm().
ilObjTest::isRandomTest | ( | ) |
Returns the fact wether this test is a random questions test or not.
Definition at line 12031 of file class.ilObjTest.php.
References getQuestionSetType().
Referenced by createRandomSolutions(), createTestSequence(), getAllQuestions(), getAnsweredQuestionCount(), getExistingQuestions(), getQuestionCount(), getQuestionsOfPass(), getQuestionsOfTest(), loadQuestions(), removeAllTestEditings(), removeTestResultsByActiveIds(), and removeTestResultsForUser().
ilObjTest::isScoreReportingAvailable | ( | ) |
Definition at line 12085 of file class.ilObjTest.php.
References getReportingDate(), and getScoreReporting().
ilObjTest::isScoreReportingEnabled | ( | ) |
Definition at line 2518 of file class.ilObjTest.php.
References getScoreReporting().
ilObjTest::isShowExamIdInTestPassEnabled | ( | ) |
Definition at line 11901 of file class.ilObjTest.php.
References $show_exam_id_in_test_pass_enabled.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::isShowExamIdInTestResultsEnabled | ( | ) |
Definition at line 11917 of file class.ilObjTest.php.
References $show_exam_id_in_test_results_enabled.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and toXML().
ilObjTest::isShowGradingMarkEnabled | ( | ) |
Definition at line 12209 of file class.ilObjTest.php.
References $showGradingMarkEnabled.
Referenced by addDefaults(), saveToDb(), and toXML().
ilObjTest::isShowGradingStatusEnabled | ( | ) |
Definition at line 12198 of file class.ilObjTest.php.
References $showGradingStatusEnabled.
Referenced by addDefaults(), saveToDb(), and toXML().
ilObjTest::isSingleChoiceTest | ( | ) |
Returns TRUE if the test contains single choice results only.
Definition at line 1079 of file class.ilObjTest.php.
References $ilDB, $result, $row, and getTestId().
ilObjTest::isSingleChoiceTestWithoutShuffle | ( | ) |
Returns TRUE if the test contains single choice results and no shuffle only.
Definition at line 1108 of file class.ilObjTest.php.
References $ilDB, $result, $row, getTestId(), and hasSingleChoiceQuestions().
|
static |
Definition at line 12180 of file class.ilObjTest.php.
Referenced by ilObjTestSettingsGeneralGUI\buildForm(), ilObjTestGUI\getTabs(), ilTestSkillAdministrationGUI\isAccessDenied(), ilObjTestSettingsGeneralGUI\isSkillServiceSettingToBeAdjusted(), and ilObjTestSettingsGeneralGUI\performSaveForm().
ilObjTest::isSkillServiceEnabled | ( | ) |
Definition at line 12148 of file class.ilObjTest.php.
References $skillServiceEnabled.
Referenced by _getAvailableTests(), addDefaults(), isSkillServiceToBeConsidered(), saveToDb(), and toXML().
ilObjTest::isSkillServiceToBeConsidered | ( | ) |
Definition at line 12163 of file class.ilObjTest.php.
References isSkillServiceEnabled().
ilObjTest::isStartingTimeEnabled | ( | ) |
Definition at line 3089 of file class.ilObjTest.php.
References $starting_time_enabled.
Referenced by _getAvailableTests(), addDefaults(), saveToDb(), and startingTimeReached().
ilObjTest::isTestFinalBroken | ( | ) |
Definition at line 12286 of file class.ilObjTest.php.
References $testFinalBroken.
Referenced by saveToDb().
ilObjTest::isTestFinished | ( | $active_id | ) |
returns if the active for user_id has been submitted
Definition at line 8022 of file class.ilObjTest.php.
References $ilDB, and $result.
Referenced by isTestFinishedToViewResults().
ilObjTest::isTestFinishedToViewResults | ( | $active_id, | |
$currentpass | |||
) |
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 4067 of file class.ilObjTest.php.
References getPassFinishDate(), and isTestFinished().
Referenced by canShowTestResults().
ilObjTest::loadFromDb | ( | ) |
Loads a ilObjTest object from a database.
Definition at line 1887 of file class.ilObjTest.php.
References $data, $ilDB, $result, ilRTE\_replaceMediaObjectImageSrc(), getAuthor(), ilObject\getId(), ilObjectActivation\getItem(), getTestId(), loadQuestions(), saveAuthorToMetadata(), setActivationEndingTime(), setActivationLimited(), setActivationStartingTime(), setActivationVisibility(), setAllowedUsers(), setAllowedUsersTimeGap(), setAnonymity(), setAnswerFeedback(), setAnswerFeedbackPoints(), setAuthor(), setAutosave(), setAutosaveIval(), setCertificateVisibility(), setCharSelectorAvailability(), setCharSelectorDefinition(), setCountSystem(), setCustomStyle(), setECTSFX(), setECTSGrades(), setECTSOutput(), setEnableArchiving(), setEnabledViewMode(), setEnableExamview(), setEnableProcessingTime(), setEndingTime(), setEndingTimeEnabled(), setExportSettings(), setFinalStatement(), setFixedParticipants(), setForceJS(), setHighscoreAchievedTS(), setHighscoreAnon(), setHighscoreEnabled(), setHighscoreHints(), setHighscoreOwnTable(), setHighscorePercentage(), setHighscoreScore(), setHighscoreTopNum(), setHighscoreTopTable(), setHighscoreWTime(), setInstantFeedbackAnswerFixationEnabled(), setInstantFeedbackSolution(), setIntroduction(), setIntroductionEnabled(), setKiosk(), setLimitUsersEnabled(), setListOfQuestionsSettings(), setMailNotification(), setMailNotificationType(), setMCScoring(), setNrOfTries(), setObligationsEnabled(), setOfferingQuestionHintsEnabled(), setOnline(), setPassDeletionAllowed(), setPassScoring(), setPassword(), setPasswordEnabled(), setPoolUsage(), setPrintBestSolutionWithResult(), setProcessingTime(), setQuestionSetType(), setRedirectionMode(), setRedirectionUrl(), setReportingDate(), setResetProcessingTime(), setResultFilterTaxIds(), setResultsPresentation(), setScoreCutting(), setScoreReporting(), setSequenceSettings(), setShowCancel(), setShowExamIdInTestPassEnabled(), setShowExamIdInTestResultsEnabled(), setShowExamviewHtml(), setShowExamviewPdf(), setShowFinalStatement(), setShowGradingMarkEnabled(), setShowGradingStatusEnabled(), setShowInfo(), setShowMarker(), setShuffleQuestions(), setSignSubmission(), setSkillServiceEnabled(), setSpecificAnswerFeedback(), setStartingTime(), setStartingTimeEnabled(), setTemplate(), setTestFinalBroken(), setTestId(), setTitleOutput(), setUsePreviousAnswers(), and ilObjectActivation\TIMINGS_ACTIVATION.
Referenced by _getAvailableTests(), and read().
ilObjTest::loadQuestions | ( | $active_id = "" , |
|
$pass = NULL |
|||
) |
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 2031 of file class.ilObjTest.php.
References $data, $ilDB, $ilUser, $pass, $result, _getPass(), getActiveIdOfUser(), and isRandomTest().
Referenced by getAllQuestions(), getAnsweredQuestionCount(), insertQuestion(), loadFromDb(), questionMoveDown(), questionMoveUp(), removeQuestion(), and setQuestionOrderAndObligations().
ilObjTest::logAction | ( | $logtext = "" , |
|
$question_id = "" |
|||
) |
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 7480 of file class.ilObjTest.php.
References $ilUser, ilObjAssessmentFolder\_addLog(), assQuestion\_getOriginalId(), ilObject\getId(), and ilObject\getRefId().
Referenced by addExtraTime(), checkMaximumAllowedUsers(), getManualFeedback(), insertQuestion(), questionMoveDown(), questionMoveUp(), removeAllTestEditings(), removeQuestion(), removeTestResultsByActiveIds(), removeTestResultsForUser(), saveQuestionsToDb(), and saveToDb().
ilObjTest::lookupExamId | ( | $active_id, | |
$pass | |||
) |
$active_id | |
$pass |
Move this to a proper place.
Definition at line 11849 of file class.ilObjTest.php.
References $ilDB, $ilSetting, and $pass.
Referenced by ilTestPlayerDynamicQuestionSetGUI\outCurrentlyFinishedPage(), and ilTestPlayerAbstractGUI\outTestPage().
|
static |
lookup-er for question set type
ilDB $ilDB
integer | $objId |
Definition at line 11998 of file class.ilObjTest.php.
References $ilDB, $query, $questionSetType, $res, and $row.
|
static |
returns the question set type of test relating to passed active id
integer | $activeId |
Definition at line 9673 of file class.ilObjTest.php.
References $ilDB, $query, $res, and $row.
Referenced by _getQuestionCountAndPointsForPassOfParticipant().
ilObjTest::modifyExportIdentifier | ( | $a_tag, | |
$a_param, | |||
$a_value | |||
) |
Returns the installation id for a given identifier.
private
Definition at line 6871 of file class.ilObjTest.php.
References ilUtil\insertInstIntoID().
ilObjTest::moveQuestionAfter | ( | $question_to_move, | |
$question_before | |||
) |
Definition at line 11030 of file class.ilObjTest.php.
References $ilDB, $query, $row, and getTestId().
ilObjTest::moveQuestionAfterOLD | ( | $previous_question_id, | |
$new_question_id | |||
) |
Definition at line 10905 of file class.ilObjTest.php.
References $ilDB, $query, $res, $row, and getTestId().
ilObjTest::moveQuestions | ( | $move_questions, | |
$target_index, | |||
$insert_mode | |||
) |
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 5680 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 |
Definition at line 855 of file class.ilObjTest.php.
References $_GET, and ilObject\getType().
ilObjTest::participantDataExist | ( | ) |
Definition at line 12075 of file class.ilObjTest.php.
References $participantDataExist, and evalTotalPersons().
Referenced by getMarkSchemaForeignId().
ilObjTest::pcArrayShuffle | ( | $array | ) |
Shuffles the values of a given array.
array | $array | An array which should be shuffled public |
Definition at line 4202 of file class.ilObjTest.php.
References $result.
ilObjTest::prepareTextareaOutput | ( | $txt_output, | |
$prepare_for_latex_output = FALSE , |
|||
$omitNl2BrWhenTextArea = 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 9481 of file class.ilObjTest.php.
References ilUtil\prepareTextareaOutput().
& ilObjTest::processCSVRow | ( | $row, | |
$quoteAll = FALSE , |
|||
$separator = ";" |
|||
) |
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 8164 of file class.ilObjTest.php.
References $row, and $separator.
Referenced by getAllTestResults().
ilObjTest::processPrintoutput2FO | ( | $print_output | ) |
Convert a print output to XSL-FO.
string | $print_output | The print output |
Definition at line 10116 of file class.ilObjTest.php.
References $GLOBALS, xslt_create(), xslt_error(), and xslt_free().
Referenced by deliverPDFfromHTML().
ilObjTest::QTIMaterialToString | ( | $a_material | ) |
Reads an QTI material tag an creates a text string.
string | $a_material | QTI material tag |
Definition at line 9406 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 3725 of file class.ilObjTest.php.
References $data, $ilDB, $result, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), getTestId(), loadQuestions(), and logAction().
ilObjTest::questionMoveUp | ( | $question_id | ) |
Moves a question up in order.
integer | $question_id | The database id of the question to be moved up public |
Definition at line 3681 of file class.ilObjTest.php.
References $data, $ilDB, $result, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), getTestId(), loadQuestions(), and logAction().
ilObjTest::randomSelectQuestions | ( | $nr_of_questions, | |
$questionpool, | |||
$use_obj_id = 0 , |
|||
$qpls = "" , |
|||
$pass = NULL |
|||
) |
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 1753 of file class.ilObjTest.php.
References $ilDB, $result, $row, ilObjQuestionPool\_getAvailableQuestionpools(), ilObject\_lookupObjId(), ilObject\_lookupOwner(), ilObject\getId(), and getTestId().
ilObjTest::read | ( | $a_force_db = false | ) |
read object data from db into object
boolean | public |
Definition at line 727 of file class.ilObjTest.php.
References loadFromDb().
ilObjTest::recalculateScores | ( | $preserve_manscoring = false | ) |
Definition at line 12100 of file class.ilObjTest.php.
Referenced by getMarkSchemaForeignId().
ilObjTest::removeAllTestEditings | ( | $question_id = "" | ) |
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.
Definition at line 3413 of file class.ilObjTest.php.
References $ilDB, $query, $res, $row, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), ilUtil\delDir(), ilAssQuestionHintTracking\deleteRequestsByActiveIds(), ilAssQuestionHintTracking\deleteRequestsByQuestionIds(), getTestId(), isRandomTest(), and logAction().
Referenced by deleteTest(), and removeQuestion().
ilObjTest::removeQuestion | ( | $question_id | ) |
Removes a question from the test object.
integer | $question_id | The database id of the question to be removed public |
Definition at line 3392 of file class.ilObjTest.php.
References ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), _instanciateQuestion(), loadQuestions(), logAction(), removeAllTestEditings(), and saveQuestionsToDb().
ilObjTest::removeTestActives | ( | $activeIds | ) |
Definition at line 3597 of file class.ilObjTest.php.
References $ilDB.
Referenced by removeTestResults(), and ilCourseObjectiveResult\resetTestForUser().
ilObjTest::removeTestResults | ( | ilTestParticipantData | $participantData | ) |
Definition at line 3510 of file class.ilObjTest.php.
References ilTestParticipantData\getActiveIds(), ilTestParticipantData\getAnonymousActiveIds(), ilObject\getId(), ilObjectLP\getInstance(), ilTestParticipantData\getUserIds(), removeTestActives(), and removeTestResultsByActiveIds().
ilObjTest::removeTestResultsByActiveIds | ( | $activeIds | ) |
Definition at line 3551 of file class.ilObjTest.php.
References $ilDB, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), _getUserIdFromActiveId(), ilUtil\delDir(), ilAssQuestionHintTracking\deleteRequestsByActiveIds(), getTestId(), isDynamicTest(), isRandomTest(), logAction(), and userLookupFullName().
Referenced by removeTestResults(), and removeTestResultsByUserIds().
ilObjTest::removeTestResultsByUserIds | ( | $userIds | ) |
Definition at line 3531 of file class.ilObjTest.php.
References $ilDB, ilObject\$lng, getTestId(), and removeTestResultsByActiveIds().
ilObjTest::removeTestResultsForUser | ( | $user_id | ) |
Definition at line 3605 of file class.ilObjTest.php.
References $ilDB, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), _getUserIdFromActiveId(), ilUtil\delDir(), ilAssQuestionHintTracking\deleteRequestsByActiveIds(), getActiveIdOfUser(), getTestId(), isRandomTest(), logAction(), and userLookupFullName().
ilObjTest::saveAuthorToMetadata | ( | $a_author = "" | ) |
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 7177 of file class.ilObjTest.php.
References $ilUser, ilObject\getId(), and ilObject\getType().
Referenced by createMetaData(), and loadFromDb().
ilObjTest::saveCertificateVisibility | ( | $a_value | ) |
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 9493 of file class.ilObjTest.php.
References $ilDB, and getTestId().
ilObjTest::saveCompleteStatus | ( | ilTestQuestionSetConfig | $testQuestionSetConfig | ) |
Checks if the test is complete and saves the status in the database.
ilTestQuestionSetConfig | $testQuestionSetConfig |
Definition at line 1217 of file class.ilObjTest.php.
References $ilDB, getTestId(), and isComplete().
Referenced by getMarkSchemaForeignId(), and insertQuestion().
ilObjTest::saveQuestionsToDb | ( | ) |
Saves the test questions to the database.
public
Definition at line 1634 of file class.ilObjTest.php.
References $ilDB, $result, $row, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), getTestId(), and logAction().
Referenced by moveQuestions(), removeQuestion(), and saveToDb().
ilObjTest::saveToDb | ( | $properties_only = FALSE | ) |
Saves a ilObjTest object to a database.
bool | $properties_only |
Definition at line 1271 of file class.ilObjTest.php.
References $ilDB, ilObject\$ilias, $result, $row, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), ilRTE\_replaceMediaObjectImageSrc(), areObligationsEnabled(), cleanupMediaobjectUsage(), evalTotalPersons(), getActivationEndingTime(), getActivationStartingTime(), getActivationVisibility(), getAllowedUsers(), getAllowedUsersTimeGap(), getAnonymity(), getAnswerFeedback(), getAnswerFeedbackPoints(), getAuthor(), getAutosave(), getAutosaveIval(), getCertificateVisibility(), getCharSelectorAvailability(), getCharSelectorDefinition(), getCountSystem(), getCustomStyle(), getECTSFX(), getECTSOutput(), getEnableArchiving(), getEnabledViewMode(), getEnableExamview(), getEnableProcessingTime(), getEndingTime(), getExportSettings(), getFinalStatement(), getFixedParticipants(), getForceJS(), getGenericAnswerFeedback(), getHighscoreAchievedTS(), getHighscoreAnon(), getHighscoreEnabled(), getHighscoreHints(), getHighscoreOwnTable(), getHighscorePercentage(), getHighscoreScore(), getHighscoreTopNum(), getHighscoreTopTable(), getHighscoreWTime(), ilObject\getId(), getInstantFeedbackSolution(), getIntroduction(), ilObjectActivation\getItem(), getKiosk(), getListOfQuestionsSettings(), getMailNotification(), getMailNotificationType(), getMCScoring(), getNrOfTries(), getPassScoring(), getPassword(), getPoolUsage(), getProcessingTime(), getQuestionSetType(), getRedirectionMode(), getRedirectionUrl(), getReportingDate(), getResetProcessingTime(), getResultFilterTaxIds(), getResultsPresentation(), getScoreCutting(), getScoreReporting(), getSequenceSettings(), getShowCancel(), getShowExamviewHtml(), getShowExamviewPdf(), getShowFinalStatement(), getShowInfo(), getShowMarker(), getShuffleQuestions(), getSignSubmission(), getSpecificAnswerFeedback(), getStartingTime(), getTemplate(), getTestId(), getTitleOutput(), getUsePreviousAnswers(), isActivationLimited(), isBestSolutionPrintedWithResult(), isComplete(), isEndingTimeEnabled(), PEAR\isError(), isInstantFeedbackAnswerFixationEnabled(), isIntroductionEnabled(), isLimitUsersEnabled(), isOfferingQuestionHintsEnabled(), isOnline(), isPassDeletionAllowed(), isPasswordEnabled(), isShowExamIdInTestPassEnabled(), isShowExamIdInTestResultsEnabled(), isShowGradingMarkEnabled(), isShowGradingStatusEnabled(), isSkillServiceEnabled(), isStartingTimeEnabled(), isTestFinalBroken(), logAction(), saveQuestionsToDb(), ilObjectActivation\setTimingType(), ilObjectActivation\TIMINGS_ACTIVATION, and ilObjectActivation\TIMINGS_DEACTIVATED.
Referenced by applyDefaults(), and fromXML().
ilObjTest::sendAdvancedNotification | ( | $active_id | ) |
Definition at line 10687 of file class.ilObjTest.php.
References $file, _getUserIdFromActiveId(), ilObject\getOwner(), ilObject\getTitle(), and userLookupFullName().
ilObjTest::sendSimpleNotification | ( | $active_id | ) |
Definition at line 10664 of file class.ilObjTest.php.
References _getUserIdFromActiveId(), ilObject\getOwner(), ilObject\getTitle(), and userLookupFullName().
ilObjTest::setActivationEndingTime | ( | $ending_time = NULL | ) |
Definition at line 11695 of file class.ilObjTest.php.
References $ending_time.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setActivationLimited | ( | $a_value | ) |
Definition at line 11171 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setActivationStartingTime | ( | $starting_time = NULL | ) |
Definition at line 11690 of file class.ilObjTest.php.
References $starting_time.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setActivationVisibility | ( | $a_value | ) |
Definition at line 11156 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setAllowedUsers | ( | $a_allowed_users | ) |
Definition at line 9309 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setAllowedUsersTimeGap | ( | $a_allowed_users_time_gap | ) |
Definition at line 9319 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setAnonymity | ( | $a_value = 0 | ) |
Sets the anonymity status of the test.
integer | $a_value | The value for the anonymity status (0 = personalized, 1 = anonymized) public |
Definition at line 9542 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setAnswerFeedback | ( | $answer_feedback = 0 | ) |
Sets the generic feedback for the test Use setGenericAnswerFeedback instead.
integer | $answer_feedback | If 1, answer specific feedback will be shown after answering a question public |
Definition at line 2432 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setAnswerFeedbackPoints | ( | $answer_feedback_points = 0 | ) |
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 2471 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), loadFromDb(), and setScoringFeedbackOptionsByArray().
ilObjTest::setAuthor | ( | $author = "" | ) |
Sets the authors name of the ilObjTest object.
string | $author | A string containing the name of the test author public |
Definition at line 7163 of file class.ilObjTest.php.
References $author.
Referenced by fromXML(), and loadFromDb().
ilObjTest::setAutosave | ( | $autosave | ) |
Definition at line 11599 of file class.ilObjTest.php.
References $autosave.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setAutosaveIval | ( | $autosave_ival | ) |
Definition at line 11609 of file class.ilObjTest.php.
References $autosave_ival.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setCertificateVisibility | ( | $a_value | ) |
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 9520 of file class.ilObjTest.php.
Referenced by loadFromDb().
ilObjTest::setCharSelectorAvailability | ( | $availability | ) |
int | availability of the special character selector |
Definition at line 11941 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setCharSelectorDefinition | ( | $definition = '' | ) |
string | definition of the special character selector |
Definition at line 11957 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setClientIP | ( | $user_id, | |
$client_ip | |||
) |
Definition at line 7960 of file class.ilObjTest.php.
References $ilDB, and getTestId().
ilObjTest::setCountSystem | ( | $a_count_system = COUNT_PARTIAL_SOLUTIONS | ) |
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 3296 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setCustomStyle | ( | $a_customStyle = NULL | ) |
Set the custom style.
string | $a_customStyle | The custom style public |
Definition at line 2160 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setECTSFX | ( | $a_ects_fx | ) |
{
float | null | $ects_fx |
Implements ilEctsGradesEnabled.
Definition at line 2336 of file class.ilObjTest.php.
Referenced by _isComplete(), applyDefaults(), and loadFromDb().
ilObjTest::setECTSGrades | ( | array | $a_ects_grades | ) |
{
array | $grades |
Implements ilEctsGradesEnabled.
Definition at line 2352 of file class.ilObjTest.php.
Referenced by applyDefaults(), and loadFromDb().
ilObjTest::setECTSOutput | ( | $a_ects_output | ) |
{
int | bool | $status |
Implements ilEctsGradesEnabled.
Definition at line 2320 of file class.ilObjTest.php.
Referenced by applyDefaults(), loadFromDb(), and setReportingDate().
ilObjTest::setEnableArchiving | ( | $enable_archiving | ) |
boolean | $enable_archiving |
Definition at line 11812 of file class.ilObjTest.php.
References $enable_archiving.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setEnabledViewMode | ( | $mode | ) |
Definition at line 10893 of file class.ilObjTest.php.
Referenced by loadFromDb().
ilObjTest::setEnableExamview | ( | $enable_examview | ) |
boolean | $enable_examview |
Definition at line 11675 of file class.ilObjTest.php.
References $enable_examview.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setEnableProcessingTime | ( | $enable = 0 | ) |
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 3261 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setEndingTime | ( | $ending_time = NULL | ) |
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 3161 of file class.ilObjTest.php.
References $ending_time.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setEndingTimeEnabled | ( | $ending_time_enabled | ) |
boolean | $ending_time_enabled |
Definition at line 3137 of file class.ilObjTest.php.
References $ending_time_enabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setExportSettings | ( | $a_settings | ) |
Definition at line 10850 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setExportSettingsSingleChoiceShort | ( | $a_settings | ) |
Definition at line 10874 of file class.ilObjTest.php.
References getExportSettingsSingleChoiceShort().
ilObjTest::setFinalStatement | ( | $a_statement = "" | ) |
Sets the final statement text of the ilObjTest object.
string | $a_statement | A final statement public |
Definition at line 2124 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setFixedParticipants | ( | $a_value = 1 | ) |
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 9632 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setForceJS | ( | $a_js = 1 | ) |
Set whether JavaScript should be forced for tests.
integer | $a_js | 1 to force JavaScript, 0 otherwise public |
Definition at line 2148 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setGenericAnswerFeedback | ( | $generic_answer_feedback = 0 | ) |
Sets if the generic feedback is to be shown in the test.
int | $generic_answer_feedback |
Definition at line 2451 of file class.ilObjTest.php.
Referenced by setScoringFeedbackOptionsByArray().
ilObjTest::setHighscoreAchievedTS | ( | $a_achieved_ts | ) |
Sets if the date and time of the scores achievement should be displayed.
bool | $a_achieved_ts |
Definition at line 11249 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setHighscoreAnon | ( | $a_anon | ) |
Sets if the highscores should be anonymized.
Note: This setting will be overriden, if the test is globally anonymized.
bool | $a_anon |
Definition at line 11205 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setHighscoreEnabled | ( | $a_enabled | ) |
Sets if the highscore feature should be enabled.
bool | $a_enabled |
Definition at line 11183 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setHighscoreHints | ( | $a_hints | ) |
Sets if the number of requested hints should be shown.
bool | $a_hints |
Definition at line 11309 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setHighscoreMode | ( | $mode | ) |
$mode | int |
Definition at line 11439 of file class.ilObjTest.php.
References setHighscoreOwnTable(), and setHighscoreTopTable().
ilObjTest::setHighscoreOwnTable | ( | $a_own_table | ) |
Sets if the table with the own ranking should be shown.
bool | $a_own_table | True, if table with own ranking should be shown. |
Definition at line 11349 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), loadFromDb(), and setHighscoreMode().
ilObjTest::setHighscorePercentage | ( | $a_percentage | ) |
Sets if the percentages of the scores pass should be shown.
bool | $a_percentage |
Definition at line 11289 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setHighscoreScore | ( | $a_score | ) |
Sets if the actual score should be displayed.
bool | $a_score |
Definition at line 11269 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setHighscoreTopNum | ( | $a_top_num | ) |
Sets the number of entries which are to be shown in the top-rankings table.
integer | $a_top_num | Number of entries in the top-rankings table. |
Definition at line 11390 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setHighscoreTopTable | ( | $a_top_table | ) |
Sets if the top-rankings table should be shown.
bool | $a_top_table |
Definition at line 11369 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), loadFromDb(), and setHighscoreMode().
ilObjTest::setHighscoreWTime | ( | $a_wtime | ) |
Sets if the workingtime of the scores should be shown.
bool | $a_wtime |
Definition at line 11329 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setInstantFeedbackAnswerFixationEnabled | ( | $instantFeedbackAnswerFixationEnabled | ) |
Definition at line 12214 of file class.ilObjTest.php.
References $instantFeedbackAnswerFixationEnabled.
Referenced by applyDefaults(), fromXML(), loadFromDb(), and setScoringFeedbackOptionsByArray().
ilObjTest::setInstantFeedbackSolution | ( | $instant_feedback = 0 | ) |
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 2412 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), loadFromDb(), and setScoringFeedbackOptionsByArray().
ilObjTest::setIntroduction | ( | $introduction = "" | ) |
Sets the introduction text of the ilObjTest object.
string | $introduction | An introduction string for the test public |
Definition at line 2111 of file class.ilObjTest.php.
References $introduction.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setIntroductionEnabled | ( | $introductionEnabled | ) |
boolean | $introductionEnabled |
Definition at line 2088 of file class.ilObjTest.php.
References $introductionEnabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setKiosk | ( | $kiosk = 0 | ) |
Sets the kiosk mode for the test.
integer | $kiosk | The value for the kiosk mode. public |
Definition at line 2753 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setKioskMode | ( | $a_kiosk = FALSE | ) |
Sets the kiosk mode for the test.
boolean | $kiosk | The value for the kiosk mode public |
Definition at line 2784 of file class.ilObjTest.php.
References getKioskMode().
ilObjTest::setLimitUsersEnabled | ( | $limitUsersEnabled | ) |
boolean | $limitUsersEnabled |
Definition at line 9299 of file class.ilObjTest.php.
References $limitUsersEnabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setListOfQuestions | ( | $a_value = TRUE | ) |
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 8796 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.
boolean | $a_value | TRUE if the list of questions should be shown with question descriptions, FALSE otherwise public |
Definition at line 8910 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.
boolean | $a_value | TRUE if the list of questions should be the end page, FALSE otherwise public |
Definition at line 8871 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 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 8767 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.
boolean | $a_value | TRUE if the list of questions should be the start page, FALSE otherwise public |
Definition at line 8832 of file class.ilObjTest.php.
References getListOfQuestions(), and getListOfQuestionsStart().
ilObjTest::setMailNotification | ( | $a_notification | ) |
Set mail notification settings.
$a_notification | Mail notification setting |
Definition at line 10659 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setMailNotificationType | ( | $a_type | ) |
Definition at line 10826 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setMCScoring | ( | $a_mc_scoring = SCORE_ZERO_POINTS_WHEN_UNANSWERED | ) |
Sets the multiple choice scoring.
integer | $a_mc_scoring | The scoring for multiple choice questions public |
Definition at line 3360 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setNrOfTries | ( | $nr_of_tries = 0 | ) |
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 3173 of file class.ilObjTest.php.
References $nr_of_tries.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setObligationsEnabled | ( | $obligationsEnabled = true | ) |
sets obligations enabled/disabled
boolean | $obligationsEnabled |
Definition at line 11491 of file class.ilObjTest.php.
References $obligationsEnabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setOfferingQuestionHintsEnabled | ( | $offeringQuestionHintsEnabled | ) |
sets offering question hints enabled/disabled
boolean | $offeringQuestionHintsEnabled |
Definition at line 11151 of file class.ilObjTest.php.
References $offeringQuestionHintsEnabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setOnline | ( | $a_online = true | ) |
Definition at line 11121 of file class.ilObjTest.php.
Referenced by loadFromDb().
ilObjTest::setPassDeletionAllowed | ( | $passDeletionAllowed | ) |
setter for the test setting passDeletionAllowed
Definition at line 11634 of file class.ilObjTest.php.
References $passDeletionAllowed.
Referenced by applyDefaults(), and loadFromDb().
ilObjTest::setPassScoring | ( | $a_pass_scoring = SCORE_LAST_PASS | ) |
Sets the pass scoring.
integer | $a_pass_scoring | The pass scoring type public |
Definition at line 3372 of file class.ilObjTest.php.
References SCORE_BEST_PASS, and SCORE_LAST_PASS.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setPassword | ( | $a_password = NULL | ) |
Sets the password for test access.
string | $a_password | The password for test access public |
Definition at line 3336 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setPasswordEnabled | ( | $passwordEnabled | ) |
boolean | $passwordEnabled |
Definition at line 3312 of file class.ilObjTest.php.
References $passwordEnabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setPoolUsage | ( | $usage | ) |
Definition at line 10995 of file class.ilObjTest.php.
Referenced by applyDefaults(), and loadFromDb().
ilObjTest::setPostponingEnabled | ( | $postponingEnabled | ) |
bool | $postponingEnabled |
Definition at line 2388 of file class.ilObjTest.php.
References setSequenceSettings().
ilObjTest::setPrintBestSolutionWithResult | ( | $status | ) |
Definition at line 11126 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setProcessingTime | ( | $processing_time = "00:00:00" | ) |
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 3244 of file class.ilObjTest.php.
References $processing_time.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setProcessingTimeByMinutes | ( | $minutes | ) |
Definition at line 3249 of file class.ilObjTest.php.
ilObjTest::setQuestionOrderAndObligations | ( | $orders, | |
$obligations | |||
) |
Definition at line 10999 of file class.ilObjTest.php.
References ilObject\$id, $ilDB, $query, and loadQuestions().
ilObjTest::setQuestionSetSolved | ( | $value, | |
$question_id, | |||
$user_id | |||
) |
sets question solved state to value for given user_id
Definition at line 8004 of file class.ilObjTest.php.
References $ilDB, and getActiveIdOfUser().
ilObjTest::setQuestionSetType | ( | $questionSetType | ) |
setter for question set type
string | $questionSetType |
Definition at line 11976 of file class.ilObjTest.php.
References $questionSetType.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setRedirectionMode | ( | $redirection_mode = 0 | ) |
Definition at line 3197 of file class.ilObjTest.php.
References $redirection_mode.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setRedirectionUrl | ( | $redirection_url = NULL | ) |
Definition at line 3205 of file class.ilObjTest.php.
References $redirection_url.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setReportingDate | ( | $reporting_date | ) |
Sets the reporting date of the ilObjTest object.
timestamp | $reporting_date | The date and time the score reporting is available |
Definition at line 2488 of file class.ilObjTest.php.
References $reporting_date, and setECTSOutput().
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setResetProcessingTime | ( | $reset = 0 | ) |
Sets wheather the processing time should be reset or not.
integer | $reset | 1 to reset the processing time, 0 otherwise public |
Definition at line 3277 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setResultFilterTaxIds | ( | $resultFilterTaxIds | ) |
Definition at line 12153 of file class.ilObjTest.php.
References $resultFilterTaxIds.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setResultsPresentation | ( | $a_results_presentation = 3 | ) |
Sets the combined results presentation value.
integer | $a_results_presentation | The combined results presentation value public |
Definition at line 9082 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setResultsPresentationOptionsByArray | ( | $options | ) |
ilObjTest::setScoreCutting | ( | $a_score_cutting = SCORE_CUT_QUESTION | ) |
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 3348 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setScoreReporting | ( | $score_reporting = 0 | ) |
Sets the score reporting of the ilObjTest object.
integer | $score_reporting | The score reporting public |
Definition at line 2400 of file class.ilObjTest.php.
References $score_reporting.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setScoringFeedbackOptionsByArray | ( | $options | ) |
Definition at line 10951 of file class.ilObjTest.php.
References $options, setAnswerFeedbackPoints(), setGenericAnswerFeedback(), setInstantFeedbackAnswerFixationEnabled(), setInstantFeedbackSolution(), and setSpecificAnswerFeedback().
ilObjTest::setSequenceSettings | ( | $sequence_settings = 0 | ) |
SEQUENCE SETTING = POSTPONING ENABLED !!
integer | $sequence_settings | The POSTPONING ENABLED status |
Definition at line 2372 of file class.ilObjTest.php.
References $sequence_settings.
Referenced by applyDefaults(), fromXML(), loadFromDb(), and setPostponingEnabled().
ilObjTest::setShowCancel | ( | $a_value = 1 | ) |
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 9572 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setShowExamIdInTestPassEnabled | ( | $show_exam_id_in_test_pass_enabled | ) |
Definition at line 11896 of file class.ilObjTest.php.
References $show_exam_id_in_test_pass_enabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setShowExamIdInTestResultsEnabled | ( | $show_exam_id_in_test_results_enabled | ) |
boolean | $show_exam_id |
Definition at line 11909 of file class.ilObjTest.php.
References $show_exam_id_in_test_results_enabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setShowExamviewHtml | ( | $show_examview_html | ) |
boolean | $show_examview_html |
Definition at line 11643 of file class.ilObjTest.php.
References $show_examview_html.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setShowExamviewPdf | ( | $show_examview_pdf | ) |
boolean | $show_examview_pdf |
Definition at line 11659 of file class.ilObjTest.php.
References $show_examview_pdf.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setShowFinalStatement | ( | $show = 0 | ) |
Sets whether the final statement should be shown or not.
integer | $show | 1 if TRUE or 0 if FALSE public |
Definition at line 2245 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setShowGradingMarkEnabled | ( | $showGradingMarkEnabled | ) |
Definition at line 12203 of file class.ilObjTest.php.
References $showGradingMarkEnabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setShowGradingStatusEnabled | ( | $showGradingStatusEnabled | ) |
Definition at line 12193 of file class.ilObjTest.php.
References $showGradingStatusEnabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setShowInfo | ( | $a_info = 1 | ) |
Set whether the complete information page is shown or the required data only.
integer | $a_info | 1 for the complete information, 0 otherwise public |
Definition at line 2136 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.
boolean | $a_title | TRUE if the participant's name should be shown in kiosk mode, FALSE otherwise public |
Definition at line 2864 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.
boolean | $a_title | TRUE if the test title should be shown in kiosk mode, FALSE otherwise public |
Definition at line 2824 of file class.ilObjTest.php.
References getShowKioskModeTitle().
ilObjTest::setShowMarker | ( | $a_value = 1 | ) |
Sets the marker button status.
integer | $a_value | The value for the marker status (0 = don't show, 1 = show) public |
Definition at line 9602 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
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 9095 of file class.ilObjTest.php.
References getShowPassDetails().
Referenced by __construct().
ilObjTest::setShowSolutionAnswersOnly | ( | $a_full = TRUE | ) |
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 9190 of file class.ilObjTest.php.
References getShowSolutionAnswersOnly().
Referenced by __construct().
ilObjTest::setShowSolutionDetails | ( | $a_details = 1 | ) |
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 9116 of file class.ilObjTest.php.
References getShowSolutionDetails().
Referenced by __construct(), and fromXML().
ilObjTest::setShowSolutionFeedback | ( | $a_feedback = TRUE | ) |
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 9169 of file class.ilObjTest.php.
References getShowSolutionFeedback().
ilObjTest::setShowSolutionListComparison | ( | $a_comparison = FALSE | ) |
Set to TRUE, if the list of answers should be shown prior to finish the test.
boolean | $a_comparison | TRUE if the list of answers should be shown prior to finish the test, FALSE otherwise |
Definition at line 9252 of file class.ilObjTest.php.
References getShowSolutionListComparison().
ilObjTest::setShowSolutionPrintview | ( | $a_printview = 1 | ) |
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 9148 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.
boolean | $a_signature | TRUE if the signature field should be shown, FALSE otherwise public |
Definition at line 9211 of file class.ilObjTest.php.
References getShowSolutionSignature().
Referenced by __construct().
ilObjTest::setShowSolutionSuggested | ( | $a_solution = FALSE | ) |
Set to TRUE, if the suggested solution should be shown in the solution.
boolean | $a_solution | TRUE if the suggested solution should be shown, FALSE otherwise public |
Definition at line 9232 of file class.ilObjTest.php.
References getShowSolutionSuggested().
ilObjTest::setShuffleQuestions | ( | $a_shuffle | ) |
Sets the status of the shuffle_questions variable.
boolean | $a_shuffle | 0 if the test questions are not shuffled, 1 if the test questions are shuffled public |
Definition at line 8733 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setSignSubmission | ( | $sign_submission | ) |
boolean | $sign_submission |
Definition at line 11925 of file class.ilObjTest.php.
References $sign_submission.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setSkillServiceEnabled | ( | $skillServiceEnabled | ) |
Definition at line 12143 of file class.ilObjTest.php.
References $skillServiceEnabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setSpecificAnswerFeedback | ( | $specific_answer_feedback | ) |
Definition at line 11462 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), loadFromDb(), and setScoringFeedbackOptionsByArray().
ilObjTest::setStartingTime | ( | $starting_time = NULL | ) |
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 3121 of file class.ilObjTest.php.
References $starting_time.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setStartingTimeEnabled | ( | $starting_time_enabled | ) |
boolean | $starting_time_enabled |
Definition at line 3097 of file class.ilObjTest.php.
References $starting_time_enabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setTemplate | ( | $template_id | ) |
Definition at line 10897 of file class.ilObjTest.php.
References $template_id.
Referenced by ilLOEditorGUI\applySettingsTemplate(), and loadFromDb().
ilObjTest::setTestFinalBroken | ( | $testFinalBroken | ) |
boolean | $testFinalBroken |
Definition at line 12294 of file class.ilObjTest.php.
References $testFinalBroken.
Referenced by loadFromDb().
ilObjTest::setTestId | ( | $a_id | ) |
Sets the test ID.
integer | $a_id | Test ID |
Definition at line 10348 of file class.ilObjTest.php.
Referenced by loadFromDb().
ilObjTest::setTitleOutput | ( | $title_output = 0 | ) |
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 3221 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::setUsePreviousAnswers | ( | $use_previous_answers = 1 | ) |
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 3185 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
ilObjTest::startingTimeReached | ( | ) |
Returns true if the starting time of a test is reached A starting time is not available for self assessment tests.
Definition at line 5726 of file class.ilObjTest.php.
References getStartingTime(), and isStartingTimeEnabled().
Referenced by isExecutable().
ilObjTest::startWorkingTime | ( | $active_id, | |
$pass | |||
) |
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.
ilObjTest::toXML | ( | ) |
Returns a QTI xml representation of the test.
Definition at line 6287 of file class.ilObjTest.php.
References $data, _instanciateQuestion(), addQTIMaterial(), areObligationsEnabled(), getActivationEndingTime(), getActivationStartingTime(), getActivationVisibility(), getAllowedUsers(), getAllowedUsersTimeGap(), getAnonymity(), getAnswerFeedback(), getAnswerFeedbackPoints(), getAuthor(), getAutosave(), getAutosaveIval(), getCharSelectorAvailability(), getCharSelectorDefinition(), getCountSystem(), getCustomStyle(), ilObject\getDescription(), getEnableArchiving(), getEnableExamview(), getEnableProcessingTime(), getEndingTime(), getExportSettings(), getFinalStatement(), getFixedParticipants(), getForceJS(), getHighscoreAchievedTS(), getHighscoreAnon(), getHighscoreEnabled(), getHighscoreHints(), getHighscoreOwnTable(), getHighscorePercentage(), getHighscoreScore(), getHighscoreTopNum(), getHighscoreTopTable(), getHighscoreWTime(), getInstantFeedbackSolution(), getIntroduction(), getKiosk(), getListOfQuestionsSettings(), getMailNotification(), getMailNotificationType(), getMCScoring(), getNrOfTries(), getPassScoring(), getPassword(), getProcessingTime(), getQuestionSetType(), getRedirectionMode(), getRedirectionUrl(), getReportingDate(), getResetProcessingTime(), getResultFilterTaxIds(), getResultsPresentation(), getScoreCutting(), getScoreReporting(), getSequenceSettings(), getShowCancel(), getShowExamviewHtml(), getShowExamviewPdf(), getShowFinalStatement(), getShowInfo(), getShowMarker(), getShowSolutionDetails(), getShuffleQuestions(), getSignSubmission(), getSpecificAnswerFeedback(), getStartingTime(), ilObject\getTitle(), getTitleOutput(), getUsePreviousAnswers(), isActivationLimited(), isBestSolutionPrintedWithResult(), isInstantFeedbackAnswerFixationEnabled(), isOfferingQuestionHintsEnabled(), isShowExamIdInTestPassEnabled(), isShowExamIdInTestResultsEnabled(), isShowGradingMarkEnabled(), isShowGradingStatusEnabled(), isSkillServiceEnabled(), and ilXmlWriter\xmlHeader().
ilObjTest::update | ( | ) |
ilObjTest::updateWorkingTime | ( | $times_id | ) |
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 4016 of file class.ilObjTest.php.
References $ilDB.
ilObjTest::userLookupFullName | ( | $user_id, | |
$overwrite_anonymity = FALSE , |
|||
$sorted_order = FALSE , |
|||
$suffix = "" |
|||
) |
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 9730 of file class.ilObjTest.php.
References ilObjUser\_lookupName(), and getAnonymity().
Referenced by removeTestResultsByActiveIds(), removeTestResultsForUser(), sendAdvancedNotification(), and sendSimpleNotification().
|
private |
Definition at line 451 of file class.ilObjTest.php.
|
private |
Definition at line 430 of file class.ilObjTest.php.
|
private |
Definition at line 444 of file class.ilObjTest.php.
|
protected |
Definition at line 79 of file class.ilObjTest.php.
|
private |
Definition at line 423 of file class.ilObjTest.php.
|
private |
Definition at line 437 of file class.ilObjTest.php.
|
protected |
Definition at line 493 of file class.ilObjTest.php.
|
protected |
Definition at line 491 of file class.ilObjTest.php.
|
protected |
Definition at line 489 of file class.ilObjTest.php.
Referenced by getActivationVisibility().
|
protected |
Definition at line 353 of file class.ilObjTest.php.
|
protected |
Definition at line 360 of file class.ilObjTest.php.
ilObjTest::$anonymity |
Definition at line 374 of file class.ilObjTest.php.
ilObjTest::$answer_feedback |
Definition at line 402 of file class.ilObjTest.php.
ilObjTest::$answer_feedback_points |
Definition at line 171 of file class.ilObjTest.php.
ilObjTest::$author |
Definition at line 101 of file class.ilObjTest.php.
Referenced by setAuthor().
|
protected |
Definition at line 495 of file class.ilObjTest.php.
Referenced by getAutosave(), and setAutosave().
|
protected |
Definition at line 497 of file class.ilObjTest.php.
Referenced by getAutosaveIval(), and setAutosaveIval().
ilObjTest::$certificate_visibility |
Definition at line 367 of file class.ilObjTest.php.
|
protected |
Definition at line 546 of file class.ilObjTest.php.
Referenced by getCharSelectorAvailability().
|
protected |
Definition at line 549 of file class.ilObjTest.php.
Referenced by getCharSelectorDefinition().
ilObjTest::$count_system |
Definition at line 286 of file class.ilObjTest.php.
|
protected |
Definition at line 271 of file class.ilObjTest.php.
|
protected |
Definition at line 277 of file class.ilObjTest.php.
Referenced by getECTSGrades().
|
protected |
Definition at line 265 of file class.ilObjTest.php.
|
protected |
Definition at line 524 of file class.ilObjTest.php.
Referenced by getEnableArchiving(), and setEnableArchiving().
|
protected |
Definition at line 515 of file class.ilObjTest.php.
Referenced by getEnableExamview(), and setEnableExamview().
ilObjTest::$enable_processing_time |
Definition at line 228 of file class.ilObjTest.php.
|
protected |
Definition at line 259 of file class.ilObjTest.php.
Referenced by setActivationEndingTime(), and setEndingTime().
|
protected |
Definition at line 252 of file class.ilObjTest.php.
Referenced by isEndingTimeEnabled(), and setEndingTimeEnabled().
ilObjTest::$evaluation_data |
Definition at line 188 of file class.ilObjTest.php.
|
protected |
Definition at line 457 of file class.ilObjTest.php.
Referenced by getExportSettings().
ilObjTest::$fixed_participants |
Definition at line 395 of file class.ilObjTest.php.
ilObjTest::$instant_verification |
Definition at line 164 of file class.ilObjTest.php.
|
protected |
Definition at line 564 of file class.ilObjTest.php.
Referenced by isInstantFeedbackAnswerFixationEnabled(), and setInstantFeedbackAnswerFixationEnabled().
|
protected |
Definition at line 128 of file class.ilObjTest.php.
Referenced by setIntroduction().
|
protected |
Definition at line 120 of file class.ilObjTest.php.
Referenced by isIntroductionEnabled(), and setIntroductionEnabled().
ilObjTest::$invitation = INVITATION_OFF |
Definition at line 93 of file class.ilObjTest.php.
|
staticprivate |
Definition at line 12178 of file class.ilObjTest.php.
|
protected |
Definition at line 346 of file class.ilObjTest.php.
Referenced by isLimitUsersEnabled(), and setLimitUsersEnabled().
|
protected |
Definition at line 453 of file class.ilObjTest.php.
Referenced by getMailNotification().
|
protected |
Definition at line 455 of file class.ilObjTest.php.
Referenced by getMailNotificationType().
ilObjTest::$mark_schema |
Definition at line 135 of file class.ilObjTest.php.
Referenced by _getAvailableTests(), and getMarkSchema().
ilObjTest::$mc_scoring |
Definition at line 293 of file class.ilObjTest.php.
ilObjTest::$metadata |
Definition at line 108 of file class.ilObjTest.php.
ilObjTest::$nr_of_tries |
Definition at line 196 of file class.ilObjTest.php.
Referenced by setNrOfTries().
|
private |
Definition at line 487 of file class.ilObjTest.php.
Referenced by areObligationsEnabled(), and setObligationsEnabled().
|
private |
Definition at line 480 of file class.ilObjTest.php.
Referenced by isOfferingQuestionHintsEnabled(), and setOfferingQuestionHintsEnabled().
|
private |
the object's online status
Definition at line 468 of file class.ilObjTest.php.
Referenced by isOnline().
|
private |
holds the fact wether participant data exists or not DO NOT USE TIS PROPERTY DRIRECTLY ALWAYS USE ilObjTest::paricipantDataExist() since this method initialises this property
Definition at line 512 of file class.ilObjTest.php.
Referenced by participantDataExist().
ilObjTest::$pass_scoring |
Definition at line 300 of file class.ilObjTest.php.
|
private |
Definition at line 505 of file class.ilObjTest.php.
Referenced by isPassDeletionAllowed(), and setPassDeletionAllowed().
|
protected |
Definition at line 341 of file class.ilObjTest.php.
|
protected |
Definition at line 334 of file class.ilObjTest.php.
Referenced by isPasswordEnabled(), and setPasswordEnabled().
|
protected |
Definition at line 459 of file class.ilObjTest.php.
Referenced by getPoolUsage().
|
protected |
Definition at line 473 of file class.ilObjTest.php.
Referenced by isBestSolutionPrintedWithResult().
ilObjTest::$processing_time |
Definition at line 221 of file class.ilObjTest.php.
Referenced by setProcessingTime().
ilObjTest::$questions |
Definition at line 115 of file class.ilObjTest.php.
Referenced by getQuestions(), and getTestQuestions().
|
private |
Definition at line 60 of file class.ilObjTest.php.
Referenced by _getQuestionCountAndPointsForPassOfParticipant(), getQuestionSetType(), getQuestionSetTypeTranslation(), lookupQuestionSetType(), and setQuestionSetType().
|
private |
Definition at line 529 of file class.ilObjTest.php.
Referenced by getRedirectionMode(), and setRedirectionMode().
|
private |
Definition at line 534 of file class.ilObjTest.php.
Referenced by getRedirectionUrl(), and setRedirectionUrl().
ilObjTest::$reporting_date |
Definition at line 181 of file class.ilObjTest.php.
Referenced by setReportingDate().
ilObjTest::$reset_processing_time |
Definition at line 235 of file class.ilObjTest.php.
|
private |
Definition at line 70 of file class.ilObjTest.php.
Referenced by getResultFilterTaxIds(), and setResultFilterTaxIds().
ilObjTest::$results_presentation |
Definition at line 315 of file class.ilObjTest.php.
ilObjTest::$score_cutting |
Definition at line 329 of file class.ilObjTest.php.
ilObjTest::$score_reporting |
Definition at line 155 of file class.ilObjTest.php.
Referenced by setScoreReporting().
ilObjTest::$sequence_settings |
Definition at line 144 of file class.ilObjTest.php.
Referenced by setSequenceSettings().
ilObjTest::$show_cancel |
Definition at line 381 of file class.ilObjTest.php.
|
protected |
Definition at line 537 of file class.ilObjTest.php.
Referenced by isShowExamIdInTestPassEnabled(), and setShowExamIdInTestPassEnabled().
|
protected |
Definition at line 540 of file class.ilObjTest.php.
Referenced by isShowExamIdInTestResultsEnabled(), and setShowExamIdInTestResultsEnabled().
|
protected |
Definition at line 518 of file class.ilObjTest.php.
Referenced by getShowExamviewHtml(), and setShowExamviewHtml().
|
protected |
Definition at line 521 of file class.ilObjTest.php.
Referenced by getShowExamviewPdf(), and setShowExamviewPdf().
ilObjTest::$show_marker |
Definition at line 388 of file class.ilObjTest.php.
ilObjTest::$show_summary |
Definition at line 322 of file class.ilObjTest.php.
|
protected |
Definition at line 559 of file class.ilObjTest.php.
Referenced by isShowGradingMarkEnabled(), and setShowGradingMarkEnabled().
|
protected |
Definition at line 554 of file class.ilObjTest.php.
Referenced by isShowGradingStatusEnabled(), and setShowGradingStatusEnabled().
ilObjTest::$shuffle_questions |
Definition at line 308 of file class.ilObjTest.php.
|
protected |
Definition at line 543 of file class.ilObjTest.php.
Referenced by getSignSubmission(), and setSignSubmission().
|
private |
Definition at line 65 of file class.ilObjTest.php.
Referenced by isSkillServiceEnabled(), and setSkillServiceEnabled().
|
protected |
Definition at line 247 of file class.ilObjTest.php.
Referenced by canShowTestResults(), isExecutable(), isMaxProcessingTimeReached(), setActivationStartingTime(), and setStartingTime().
|
protected |
Definition at line 240 of file class.ilObjTest.php.
Referenced by isStartingTimeEnabled(), and setStartingTimeEnabled().
|
private |
Definition at line 461 of file class.ilObjTest.php.
Referenced by getTemplate(), and setTemplate().
ilObjTest::$test_id |
Definition at line 86 of file class.ilObjTest.php.
Referenced by _getTestIDFromObjectID(), and getTestId().
|
protected |
Definition at line 569 of file class.ilObjTest.php.
Referenced by isTestFinalBroken(), and setTestFinalBroken().
ilObjTest::$testSequence |
Definition at line 416 of file class.ilObjTest.php.
ilObjTest::$testSession |
Definition at line 409 of file class.ilObjTest.php.
ilObjTest::$title_output |
Definition at line 214 of file class.ilObjTest.php.
ilObjTest::$use_previous_answers |
Definition at line 204 of file class.ilObjTest.php.
Referenced by _getUsePreviousAnswers().
const ilObjTest::DEFAULT_PROCESSING_TIME_MINUTES = 90 |
Definition at line 21 of file class.ilObjTest.php.
const ilObjTest::HIGHSCORE_SHOW_ALL_TABLES = 3 |
Definition at line 53 of file class.ilObjTest.php.
Referenced by ilObjTestSettingsScoringResultsGUI\addResultDetailsSettingsFormSection().
const ilObjTest::HIGHSCORE_SHOW_OWN_TABLE = 1 |
Definition at line 43 of file class.ilObjTest.php.
Referenced by ilObjTestSettingsScoringResultsGUI\addResultDetailsSettingsFormSection(), ilTestToplistGUI\showResultsToplistByScore(), and ilTestToplistGUI\showResultsToplistByTime().
const ilObjTest::HIGHSCORE_SHOW_TOP_TABLE = 2 |
Definition at line 48 of file class.ilObjTest.php.
Referenced by ilObjTestSettingsScoringResultsGUI\addResultDetailsSettingsFormSection(), ilTestToplistGUI\showResultsToplistByScore(), and ilTestToplistGUI\showResultsToplistByTime().
const ilObjTest::QUESTION_SET_TYPE_DYNAMIC = 'DYNAMIC_QUEST_SET' |
type setting value for dynamic question set (continues testing mode)
Definition at line 38 of file class.ilObjTest.php.
Referenced by _getQuestionCountAndPointsForPassOfParticipant(), ilObjTestSettingsGeneralGUI\addGeneralProperties(), ilTestSettingsTemplateConfig\addGeneralPropertySettings(), ilTestSessionFactory\getNewTestSessionObject(), ilTestPlayerFactory\getPlayerGUI(), ilTestQuestionSetConfigFactory\getQuestionSetConfigByType(), getQuestionSetTypeTranslation(), ilTestSequenceFactory\getSequenceByPass(), ilObjTestGUI\getTabs(), and ilObjTestGUI\questionsTabGatewayObject().
const ilObjTest::QUESTION_SET_TYPE_FIXED = 'FIXED_QUEST_SET' |
type setting value for fixed question set
Definition at line 28 of file class.ilObjTest.php.
Referenced by _getQuestionCountAndPointsForPassOfParticipant(), ilObjTestSettingsGeneralGUI\addGeneralProperties(), ilTestSettingsTemplateConfig\addGeneralPropertySettings(), ilObjTestGUI\applyDefaultsObject(), ilLOTestAssignmentTableGUI\fillRow(), ilTestSessionFactory\getNewTestSessionObject(), ilTestPlayerFactory\getPlayerGUI(), ilTestQuestionSetConfigFactory\getQuestionSetConfigByType(), getQuestionSetTypeTranslation(), ilTestSequenceFactory\getSequenceByPass(), ilObjTestGUI\getTabs(), ilLOEditorGUI\initTestForm(), ilObjTestGUI\questionsTabGatewayObject(), and ilObjTestSettingsGeneralGUI\saveFormCmd().
const ilObjTest::QUESTION_SET_TYPE_RANDOM = 'RANDOM_QUEST_SET' |
type setting value for random question set
Definition at line 33 of file class.ilObjTest.php.
Referenced by _getQuestionCountAndPointsForPassOfParticipant(), ilObjTestSettingsGeneralGUI\addGeneralProperties(), ilTestSettingsTemplateConfig\addGeneralPropertySettings(), ilObjTestGUI\applyDefaultsObject(), ilLOTestAssignmentTableGUI\fillRow(), ilTestSessionFactory\getNewTestSessionObject(), ilTestPlayerFactory\getPlayerGUI(), ilTestQuestionSetConfigFactory\getQuestionSetConfigByType(), getQuestionSetTypeTranslation(), ilTestSequenceFactory\getSequenceByPass(), ilObjTestGUI\getTabs(), ilLOEditorGUI\initTestForm(), and ilObjTestGUI\questionsTabGatewayObject().
const ilObjTest::SCORE_REPORTING_DATE = 3 |
Definition at line 2504 of file class.ilObjTest.php.
Referenced by ilTestPassesSelector\isReportablePass().
const ilObjTest::SCORE_REPORTING_DISABLED = 0 |
Definition at line 2501 of file class.ilObjTest.php.
const ilObjTest::SCORE_REPORTING_FINISHED = 1 |
Definition at line 2502 of file class.ilObjTest.php.
Referenced by ilTestPassesSelector\isReportablePass().
const ilObjTest::SCORE_REPORTING_IMMIDIATLY = 2 |
Definition at line 2503 of file class.ilObjTest.php.
Referenced by ilTestPassesSelector\isReportablePass().