| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 Inheritance diagram for ilObjTest:
 Collaboration diagram for ilObjTest:Public Member Functions | |
| getLocalDIC () | |
| getTestLogger () | |
| getTestLogViewer () | |
| getQuestionSetConfig () | |
| getTitleFilenameCompliant () | |
| returns the object title prepared to be used as a filename  More... | |
| getTmpCopyWizardCopyId () | |
| setTmpCopyWizardCopyId (int $tmpCopyWizardCopyId) | |
| create () | |
| update () | |
| read () | |
| delete () | |
| deleteTest () | |
| 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 () | |
| isComplete (ilTestQuestionSetConfig $test_question_set_config) | |
| saveCompleteStatus (ilTestQuestionSetConfig $test_question_set_config) | |
| saveToDb (bool $properties_only=false) | |
| saveQuestionsToDb () | |
| copyQuestions (array $question_ids) | |
| getNrOfResultsForPass ($active_id, $pass) | |
| Calculates the number of user results for a specific test pass.  More... | |
| loadFromDb () | |
| loadQuestions (int $active_id=0, ?int $pass=null) | |
| Load the test question id's from the database.  More... | |
| getIntroduction () | |
| getFinalStatement () | |
| getTestId () | |
| Gets the database id of the additional test data.  More... | |
| isPostponingEnabled () | |
| isScoreReportingEnabled () | |
| getAnswerFeedbackPoints () | |
| getGenericAnswerFeedback () | |
| getInstantFeedbackSolution () | |
| getCountSystem () | |
| 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... | |
| getMarkSchema () | |
| storeMarkSchema (MarkSchema $mark_schema) | |
| getNrOfTries () | |
| isBlockPassesAfterPassedEnabled () | |
| getKioskMode () | |
| getShowKioskModeTitle () | |
| getShowKioskModeParticipant () | |
| getUsePreviousAnswers () | |
| getTitleOutput () | |
| isPreviousSolutionReuseEnabled ($active_id) | |
| getProcessingTime () | |
| getProcessingTimeInSeconds (int $active_id=0) | |
| getEnableProcessingTime () | |
| getResetProcessingTime () | |
| isStartingTimeEnabled () | |
| getStartingTime () | |
| isEndingTimeEnabled () | |
| getEndingTime () | |
| getRedirectionMode () | |
| isRedirectModeKiosk () | |
| isRedirectModeNone () | |
| getRedirectionUrl () | |
| isPasswordEnabled () | |
| getPassword () | |
| removeQuestionsWithResults (array $question_ids) | |
| removeQuestionFromSequences (int $question_id, array $active_ids, ilTestReindexedSequencePositionMap $reindexed_sequence_position_map) | |
| removeQuestions (array $question_ids) | |
| removeQuestion (int $question_id) | |
| removeTestResultsFromSoapLpAdministration (array $user_ids) | |
| removeTestResults (ilTestParticipantData $participant_data) | |
| removeTestResultsByUserIds (array $user_ids) | |
| removeTestActives (array $active_ids) | |
| 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 (int $question_id, bool $link_only=false) | |
| getQuestionTitlesAndIndexes () | |
| Returns the titles of the test questions in question sequence.  More... | |
| getQuestionTitle ($title, $nr=null, $points=null) | |
| 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... | |
| pcArrayShuffle ($array) | |
| Shuffles the values of a given array.  More... | |
| getTestResult (int $active_id, ?int $pass=null, bool $ordered_sequence=false, bool $consider_hidden_questions=true, bool $consider_optional_questions=true) | |
| 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 (int $active_id, int $pass) | |
| 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 (string $name_sort_order='asc') | |
| evalTotalParticipantsArray (string $name_sort_order='asc') | |
| getQuestionsOfTest (int $active_id) | |
| getQuestionsOfPass (int $active_id, int $pass) | |
| getAccessFilteredParticipantList () | |
| setAccessFilteredParticipantList (ilTestParticipantList $access_filtered_participant_list) | |
| buildStatisticsAccessFilteredParticipantList () | |
| getUnfilteredEvaluationData () | |
| getQuestionCountAndPointsForPassOfParticipant (int $active_id, int $pass) | |
| getCompleteEvaluationData ($filterby='', $filtertext='') | |
| buildName (?int $user_id, ?string $firstname, ?string $lastname) | |
| Builds a user name for the output depending on test type and existence of the user.  More... | |
| evalTotalStartedAverageTime (?array $active_ids_to_filter=null) | |
| getAvailableQuestionpools (bool $use_object_id=false, ?bool $equal_points=false, bool $could_be_offline=false, bool $show_path=false, bool $with_questioncount=false, string $permission='read') | |
| Returns the available question pools for the active user.  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... | |
| moveQuestions (array $move_questions, int $target_index, int $insert_mode) | |
| 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 ($arr_filter, $completeonly=0) | |
| Calculates the available questions for a test.  More... | |
| fromXML (ilQTIAssessment $assessment, array $mappings) | |
| 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... | |
| modifyExportIdentifier ($a_tag, $a_param, $a_value) | |
| Returns the installation id for a given identifier.  More... | |
| exportXMLPageObjects (&$a_xml_writer, $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 ($target_dir, &$expLog) | |
| export files of file itmes  More... | |
| getImportMapping () | |
| get array of (two) new created questions for import id  More... | |
| onMarkSchemaSaved () | |
| marksEditable () | |
| saveAuthorToMetadata ($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... | |
| getAuthor () | |
| Gets the authors name of the ilObjTest object.  More... | |
| cloneObject (int $target_id, int $copy_id=0, bool $omit_tree=false) | |
| Clone object.  More... | |
| getQuestionCount () | |
| getQuestionCountWithoutReloading () | |
| 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... | |
| getActiveParticipantList () | |
| & | getInvitedUsers (int $user_id=0, $order="login, lastname, firstname") | 
| Returns a list of all invited users in a test.  More... | |
| getTestParticipants () | |
| getTestParticipantsForManualScoring ($filter=null) | |
| getUserData ($ids) | |
| Returns a data of all users specified by id list.  More... | |
| getGroupData ($ids) | |
| getRoleData ($ids) | |
| inviteUser ($user_id, $client_ip="") | |
| Invites a user to a test.  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) | |
| returns all test results for all participants  More... | |
| getAnsweredQuestionCount ($active_id, $pass=null) | |
| Retrieves the number of answered questions for a given user in a given test.  More... | |
| isExecutable ($test_session, $user_id, $allow_pass_increase=false) | |
| Checks if the test is executable by the given user.  More... | |
| isNextPassAllowed (ilTestPassesSelector $testPassesSelector, int &$next_pass_allowed_timestamp) | |
| canShowTestResults (ilTestSession $test_session) | |
| hasAnyTestResult (ilTestSession $test_session) | |
| getStartingTimeOfUser ($active_id, $pass=null) | |
| Returns the unix timestamp of the time a user started a test.  More... | |
| isMaxProcessingTimeReached (int $starting_time, int $active_id) | |
| Returns whether the maximum processing time for a test is reached or not.  More... | |
| getTestQuestions () | |
| isTestQuestion (int $question_id) | |
| checkQuestionParent (int $question_id) | |
| getFixedQuestionSetTotalPoints () | |
| getPotentialRandomTestQuestions () | |
| getShuffleQuestions () | |
| 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... | |
| getListOfQuestions () | |
| getUsrPassOverviewEnabled () | |
| getListOfQuestionsStart () | |
| getListOfQuestionsEnd () | |
| getListOfQuestionsDescription () | |
| getShowPassDetails () | |
| Returns if the pass details should be shown when a test is not finished.  More... | |
| getShowSolutionPrintview () | |
| Returns if the solution printview should be presented to the user or not.  More... | |
| canShowSolutionPrintview ($user_id=null) | |
| 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 () | |
| getShowSolutionListOwnAnswers () | |
| _getLastAccess (int $active_id) | |
| isHTML ($a_text) | |
| Checks if a given string contains HTML or not.  More... | |
| qtiMaterialToArray ($a_material) | |
| Reads an QTI material tag and creates a text string.  More... | |
| addQTIMaterial (ilXmlWriter &$xml_writer, ?int $page_id, string $material='') | |
| prepareTextareaOutput ($txt_output, $prepare_for_latex_output=false, $omitNl2BrWhenTextArea=false) | |
| Prepares a string for a text area output in tests.  More... | |
| getAnonymity () | |
| getShowCancel () | |
| getShowMarker () | |
| getFixedParticipants () | |
| lookupQuestionSetTypeByActiveId (int $active_id) | |
| userLookupFullName ($user_id, $overwrite_anonymity=false, $sorted_order=false, $suffix="") | |
| Returns the full name of a test user according to the anonymity status.  More... | |
| getAvailableDefaults () | |
| Returns the available test defaults for the active user.  More... | |
| getTestDefaults ($test_defaults_id) | |
| deleteDefaults ($test_default_id) | |
| addDefaults ($a_name) | |
| Adds the defaults of this test to the test defaults.  More... | |
| applyDefaults (array $test_defaults) | |
| 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... | |
| getCompleteManualFeedback (int $question_id) | |
| Retrieves the manual feedback for a question in a test.  More... | |
| saveManualFeedback (int $active_id, int $question_id, int $pass, ?string $feedback, bool $finalized=false) | |
| 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... | |
| isPluginActive ($a_pname) | |
| Checks wheather or not a question plugin with a given name is active.  More... | |
| getPassed ($active_id) | |
| getParticipantsForTestAndQuestion ($test_id, $question_id) | |
| Creates an associated array with all active id's for a given test and original question id.  More... | |
| getAggregatedResultsData () | |
| getXMLZip () | |
| Get zipped xml file for test.  More... | |
| getMailNotification () | |
| sendSimpleNotification ($active_id) | |
| sendAdvancedNotification (int $active_id) | |
| getResultsForActiveId (int $active_id) | |
| getMailNotificationType () | |
| getExportSettings () | |
| setTemplate (int $template_id) | |
| getTemplate () | |
| reindexFixedQuestionOrdering () | |
| setQuestionOrder (array $order) | |
| hasQuestionsWithoutQuestionpool () | |
| getQuestions () | |
| isOnline () | |
| isOfferingQuestionHintsEnabled () | |
| setActivationVisibility ($a_value) | |
| getActivationVisibility () | |
| isActivationLimited () | |
| setActivationLimited ($a_value) | |
| storeActivationSettings (?bool $is_activation_limited=false, ?int $activation_starting_time=null, ?int $activation_ending_time=null, bool $activation_visibility=false,) | |
| getIntroductionPageId () | |
| getConcludingRemarksPageId () | |
| getHighscoreEnabled () | |
| getHighscoreAnon () | |
| Gets if the highscores should be anonymized per setting.  More... | |
| isHighscoreAnon () | |
| Gets if the highscores should be displayed anonymized.  More... | |
| getHighscoreAchievedTS () | |
| Returns if date and time of the scores achievement should be displayed.  More... | |
| getHighscoreScore () | |
| Gets if the score column should be shown.  More... | |
| getHighscorePercentage () | |
| Gets if the percentage column should be shown.  More... | |
| getHighscoreHints () | |
| Gets, if the column with the number of requested hints should be shown.  More... | |
| getHighscoreWTime () | |
| Gets if the column with the workingtime should be shown.  More... | |
| getHighscoreOwnTable () | |
| Gets if the own rankings table should be shown.  More... | |
| getHighscoreTopTable () | |
| Gets, if the top-rankings table should be shown.  More... | |
| getHighscoreTopNum (int $a_retval=10) | |
| Gets the number of entries which are to be shown in the top-rankings table.  More... | |
| getHighscoreMode () | |
| getSpecificAnswerFeedback () | |
| getAutosave () | |
| isPassDeletionAllowed () | |
| getEnableExamview () | |
| setActivationStartingTime (?int $starting_time=null) | |
| setActivationEndingTime (?int $ending_time=null) | |
| getActivationStartingTime () | |
| getActivationEndingTime () | |
| getStartingTimeOfParticipants () | |
| Note, this function should only be used if absolutely necessary, since it perform joins on tables that tend to grow huge and returns vast amount of data.  More... | |
| getTimeExtensionsOfParticipants () | |
| getMaxPassOfTest () | |
| isShowExamIdInTestPassEnabled () | |
| isShowExamIdInTestResultsEnabled () | |
| setQuestionSetType (string $question_set_type) | |
| getQuestionSetType () | |
| 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... | |
| getQuestionSetTypeTranslation (ilLanguage $lng, $questionSetType) | |
| participantDataExist () | |
| recalculateScores ($preserve_manscoring=false) | |
| isSkillServiceEnabled () | |
| isSkillServiceToBeConsidered () | |
| Returns whether this test must consider skills, usually by providing appropriate extensions in the user interface components.  More... | |
| isShowGradingStatusEnabled () | |
| isShowGradingMarkEnabled () | |
| isFollowupQuestionAnswerFixationEnabled () | |
| isInstantFeedbackAnswerFixationEnabled () | |
| isForceInstantFeedbackEnabled () | |
| adjustTestSequence () | |
| getGeneralQuestionPropertiesRepository () | |
| getGlobalSettings () | |
| getMainSettings () | |
| getMainSettingsRepository () | |
| getScoreSettings () | |
| getScoreSettingsRepository () | |
| updateTestResultCache (int $active_id, ilAssQuestionProcessLocker $process_locker=null) | |
| updateTestPassResults (int $active_id, int $pass, ilAssQuestionProcessLocker $process_locker=null, int $test_obj_id=null) | |
| addToNewsOnOnline (bool $old_online_status, bool $new_online_status) | |
| getVisitingTimeOfParticipant (int $active_id) | |
  Public Member Functions inherited from ilObject | |
| getObjectProperties () | |
| flushObjectProperties () | |
| withReferences () | |
| determines whether objects are referenced or not (got ref ids or not)  More... | |
| processAutoRating () | |
| read () | |
| getId () | |
| setId (int $id) | |
| setRefId (int $ref_id) | |
| getRefId () | |
| getType () | |
| setType (string $type) | |
| getPresentationTitle () | |
| get presentation title Normally same as title Overwritten for sessions  More... | |
| getTitle () | |
| getUntranslatedTitle () | |
| Get untranslated object title WebDAV needs to access the untranslated title of an object.  More... | |
| setTitle (string $title) | |
| getDescription () | |
| setDescription (string $description) | |
| getLongDescription () | |
| get object long description (stored in object_description)  More... | |
| getImportId () | |
| setImportId (string $import_id) | |
| setOfflineStatus (bool $status) | |
| getOfflineStatus () | |
| supportsOfflineHandling () | |
| getOwner () | |
| getOwnerName () | |
| get full name of object owner  More... | |
| setOwner (int $usr_id) | |
| getCreateDate () | |
| Get create date in YYYY-MM-DD HH-MM-SS format.  More... | |
| getLastUpdateDate () | |
| Get last update date in YYYY-MM-DD HH-MM-SS format.  More... | |
| create () | |
| note: title, description and type should be set when this function is called  More... | |
| update () | |
| MDUpdateListener (string $element) | |
| Metadata update listener.  More... | |
| createMetaData () | |
| updateMetaData () | |
| deleteMetaData () | |
| updateOwner () | |
| update owner of object in db  More... | |
| putInTree (int $parent_ref_id) | |
| maybe this method should be in tree object!?  More... | |
| setPermissions (int $parent_ref_id) | |
| setParentRolePermissions (int $parent_ref_id) | |
| Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g.  More... | |
| createReference () | |
| creates reference for object  More... | |
| countReferences () | |
| 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.  More... | |
| applyDidacticTemplate (int $tpl_id) | |
| getXMLZip () | |
| getHTMLDirectory () | |
| appendCopyInfo (int $target_id, int $copy_id) | |
| Prepend Copy info if object with same name exists in that container.  More... | |
| cloneDependencies (int $target_id, int $copy_id) | |
| Clone object dependencies.  More... | |
| cloneMetaData (ilObject $target_obj) | |
| Copy meta data.  More... | |
| selfOrParentWithRatingEnabled () | |
| getPossibleSubObjects (bool $filter=true) | |
| get all possible sub objects of this type the object can decide which types of sub objects are possible jut in time overwrite if the decision distinguish from standard model  More... | |
Static Public Member Functions | |
| static | _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... | |
| static | _getCountSystem ($active_id) | 
| static | _getPassScoring (int $active_id) | 
| Gets the pass scoring type.  More... | |
| static | _getScoreCutting (int $active_id) | 
| Determines if the score of a question should be cut at 0 points or the score of the whole test.  More... | |
| static | _getActiveIdOfUser ($user_id="", $test_id="") | 
| static | _instanciateQuestion ($question_id) | 
| Creates an instance of a question with a given question id.  More... | |
| static | _lookupAuthor ($obj_id) | 
| Gets the authors name of the ilObjTest object.  More... | |
| static | _getAvailableTests ($use_object_id=false) | 
| Returns the available tests for the active user.  More... | |
| static | _getObjectIDFromTestID ($test_id) | 
| Returns the ILIAS test object id for a given test id.  More... | |
| static | _getObjectIDFromActiveID ($active_id) | 
| Returns the ILIAS test object id for a given active id.  More... | |
| static | _getTestIDFromObjectID ($object_id) | 
| Returns the ILIAS test id for a given object id.  More... | |
| static | _getSolvedQuestions ($active_id, $question_fi=null) | 
| get solved questions  More... | |
| static | _getPass ($active_id) | 
| Retrieves the actual pass of a given user for a given test.  More... | |
| static | _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... | |
| static | _getBestPass ($active_id) | 
| Retrieves the best pass of a given user for a given test.  More... | |
| static | _getResultPass ($active_id) | 
| Retrieves the pass number that should be counted for a given user.  More... | |
| static | lookupPassResultsUpdateTimestamp ($active_id, $pass) | 
| static | _getUserIdFromActiveId (int $active_id) | 
| static | _lookupAnonymity ($a_obj_id) | 
| static | getManualFeedback (int $active_id, int $question_id, ?int $pass) | 
| Retrieves the feedback comment for a question in a test if it is finalized.  More... | |
| static | getSingleManualFeedback (int $active_id, int $question_id, int $pass) | 
| static | _lookupTestObjIdForQuestionId (int $q_id) | 
| Get test Object ID for question ID.  More... | |
| static | _lookupFinishedUserTests ($a_user_id) | 
| Gather all finished tests for user.  More... | |
| static | lookupExamId ($active_id, $pass) | 
| static | buildExamId ($active_id, $pass, $test_obj_id=null) | 
| static | getTestObjIdsWithActiveForUserId ($userId) | 
| static | isSkillManagementGloballyActivated () | 
| static | isParticipantsLastPassActive (int $test_ref_id, int $user_id) | 
| static | _lookupRandomTest (int $obj_id) | 
  Static Public Member Functions inherited from ilObject | |
| static | _lookupObjIdByImportId (string $import_id) | 
| Get (latest) object id for an import id.  More... | |
| static | _lookupImportId (int $obj_id) | 
| static | _lookupOwnerName (int $owner_id) | 
| Lookup owner name for owner id.  More... | |
| static | _getIdForImportId (string $import_id) | 
| static | _getAllReferences (int $id) | 
| get all reference ids for object ID  More... | |
| static | _lookupTitle (int $obj_id) | 
| static | lookupOfflineStatus (int $obj_id) | 
| Lookup offline status using objectDataCache.  More... | |
| static | _lookupOwner (int $obj_id) | 
| Lookup owner user ID for object ID.  More... | |
| static | _getIdsForTitle (string $title, string $type='', bool $partial_match=false) | 
| static | _lookupDescription (int $obj_id) | 
| static | _lookupLastUpdate (int $obj_id, bool $formatted=false) | 
| static | _getLastUpdateOfObjects (array $obj_ids) | 
| static | _lookupObjId (int $ref_id) | 
| static | _setDeletedDate (int $ref_id, int $deleted_by) | 
| static | setDeletedDates (array $ref_ids, int $user_id) | 
| static | _resetDeletedDate (int $ref_id) | 
| static | _lookupDeletedDate (int $ref_id) | 
| static | _writeTitle (int $obj_id, string $title) | 
| write title to db (static)  More... | |
| static | _writeDescription (int $obj_id, string $desc) | 
| write description to db (static)  More... | |
| static | _writeImportId (int $obj_id, string $import_id) | 
| write import id to db (static)  More... | |
| static | _lookupType (int $id, bool $reference=false) | 
| static | _isInTrash (int $ref_id) | 
| static | _hasUntrashedReference (int $obj_id) | 
| checks whether an object has at least one reference that is not in trash  More... | |
| static | _lookupObjectId (int $ref_id) | 
| static | _getObjectsDataForType (string $type, bool $omit_trash=false) | 
| get all objects of a certain type  More... | |
| static | _exists (int $id, bool $reference=false, ?string $type=null) | 
| checks if an object exists in object_data  More... | |
| static | _getObjectsByType (string $obj_type="", int $owner=null) | 
| static | _prepareCloneSelection (array $ref_ids, string $new_type, bool $show_path=true) | 
| Prepare copy wizard object selection.  More... | |
| static | getIconForType (string $type) | 
| static | _getIcon (int $obj_id=0, string $size="big", string $type="", bool $offline=false) | 
| Get icon for repository item.  More... | |
| static | collectDeletionDependencies (array &$deps, int $ref_id, int $obj_id, string $type, int $depth=0) | 
| Collect deletion dependencies.  More... | |
| static | getDeletionDependencies (int $obj_id) | 
| Get deletion dependencies.  More... | |
| static | getLongDescriptions (array $obj_ids) | 
| static | getAllOwnedRepositoryObjects (int $user_id) | 
| static | fixMissingTitles ($type, array &$obj_title_map) | 
| Try to fix missing object titles.  More... | |
| static | _lookupCreationDate (int $obj_id) | 
| static | _getObjectTypeIdByTitle (string $type, \ilDBInterface $ilDB=null) | 
Data Fields | |
| const | QUESTION_SET_TYPE_FIXED = 'FIXED_QUEST_SET' | 
| const | QUESTION_SET_TYPE_RANDOM = 'RANDOM_QUEST_SET' | 
| const | INVITATION_OFF = 0 | 
| const | INVITATION_ON = 1 | 
| const | SCORE_LAST_PASS = 0 | 
| const | SCORE_BEST_PASS = 1 | 
| const | REDIRECT_NONE = 0 | 
| const | REDIRECT_ALWAYS = 1 | 
| const | REDIRECT_KIOSK = 2 | 
| int | $test_id = -1 | 
| int | $invitation = self::INVITATION_OFF | 
| string | $author | 
| $metadata | |
| A reference to an IMS compatible matadata set.  More... | |
| array | $questions = [] | 
| $evaluation_data | |
| Contains the evaluation data settings the tutor defines for the user.  More... | |
| $test_sequence = false | |
| contains the test sequence data  More... | |
  Data Fields inherited from ilObject | |
| const | TITLE_LENGTH = 255 | 
| const | DESC_LENGTH = 128 | 
| const | LONG_DESC_LENGTH = 4000 | 
| const | TABLE_OBJECT_DATA = "object_data" | 
| array | $objectList | 
| string | $untranslatedTitle | 
Protected Member Functions | |
| buildIso8601PeriodForExportCompatibility (DateTimeImmutable $date_time) | |
| buildDateTimeImmutableFromPeriod (?string $period) | |
| doCreateMetaData () | |
| secondsToHoursMinutesSecondsString (int $seconds) | |
| getHtmlQuestionContentPurifier () | |
  Protected Member Functions inherited from ilObject | |
| doMDUpdateListener (string $a_element) | |
| beforeMDUpdateListener (string $a_element) | |
| doCreateMetaData () | |
| beforeCreateMetaData () | |
| doUpdateMetaData () | |
| beforeUpdateMetaData () | |
| doDeleteMetaData () | |
| beforeDeleteMetaData () | |
| handleAutoRating () | |
| hasAutoRating () | |
Private Member Functions | |
| cloneIntroduction () | |
| cloneConcludingRemarks () | |
| clonePage (int $source_page_id) | |
| getProcessingTimeForXML () | |
| removeQuestionWithResults (int $question_id, TestScoring $scoring) | |
| removeTestResultsByActiveIds (array $active_ids) | |
| getQuestionTitles () | |
| addIntroductionToSettingsFromImport (SettingsIntroduction $settings, array $material, string $importdir, array $mappings) | |
| addConcludingRemarksToSettingsFromImport (SettingsFinishing $settings, array $material, string $importdir, array $mappings) | |
| replaceMobsInPageImports (string $text, array $mappings) | |
| replaceFilesInPageImports (string $text, array $mappings) | |
| retrieveMobsFromLegacyImports (string $text, array $mobs, string $importdir) | |
| convertTimeToDateTimeImmutableIfNecessary (DateTimeImmutable|int|null $date_time) | |
| insertManualFeedback (int $active_id, int $question_id, int $pass, ?string $feedback, bool $finalized, array $feedback_old) | |
| getExtraTime (int $active_id) | |
Private Attributes | |
| bool | $activation_limited = null | 
| array | $mob_ids | 
| array | $file_ids = [] | 
| bool | $online | 
| RequestDataCollector | $testrequest | 
| MarksRepository | $marks_repository | 
| MarkSchema | $mark_schema = null | 
| int | $template_id = 0 | 
| $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... | |
| int | $tmpCopyWizardCopyId = null | 
| TestManScoringDoneHelper | $test_man_scoring_done_helper | 
| ilComponentRepository | $component_repository | 
| ilComponentFactory | $component_factory | 
| Filesystem | $filesystem_web | 
Static Private Attributes | |
| static | $isSkillManagementGloballyActivated = null | 
Definition at line 63 of file class.ilObjTest.php.
      
  | 
  static | 
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 399 of file class.ilObjTest.php.
References $DIC, ilObject\$ilias, ilFileUtils\delDir(), ilFileUtils\getDataDir(), ilFileUtils\makeDir(), and ILIAS\raiseError().
 Here is the call graph for this function:
      
  | 
  static | 
Definition at line 1739 of file class.ilObjTest.php.
References $DIC, $ilDB, and $user_id.
Referenced by ilLOUtils\getTestResultLinkForUser().
 Here is the caller graph for this function:
      
  | 
  static | 
Returns the available tests for the active user.
Definition at line 4110 of file class.ilObjTest.php.
References $DIC, ilObject\$ref_id, ilUtil\_getObjectsByOperations(), ilObject\_lookupObjId(), and ilObject\_prepareCloneSelection().
 Here is the call graph for this function:
      
  | 
  static | 
Retrieves the best pass of a given user for a given test.
| int | $active_id | 
Definition at line 4854 of file class.ilObjTest.php.
Referenced by _getResultPass().
 Here is the caller graph for this function:| & 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 2039 of file class.ilObjTest.php.
Referenced by getCompleteWorkingTimeOfParticipants().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 765 of file class.ilObjTest.php.
Referenced by assQuestion\adjustReachedPointsByScoringOptions().
 Here is the caller graph for this function:| ilObjTest::_getLastAccess | ( | int | $active_id | ) | 
      
  | 
  static | 
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 4831 of file class.ilObjTest.php.
Referenced by _getResultPass(), and ilTestParticipantList\lookupNrOfTries().
 Here is the caller graph for this function:
      
  | 
  static | 
Returns the ILIAS test object id for a given active id.
| integer | $active_id | The active id | 
Definition at line 4294 of file class.ilObjTest.php.
      
  | 
  static | 
Returns the ILIAS test object id for a given test id.
| integer | $test_id | The test id | 
Definition at line 4270 of file class.ilObjTest.php.
      
  | 
  static | 
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 4805 of file class.ilObjTest.php.
Referenced by ilTestService\getPassOverviewData(), assFormulaQuestionGUI\getTestOutput(), assQuestion\persistWorkingState(), ilTestPlayerAbstractGUI\populateInstantResponseBlocks(), ilTestPlayerAbstractGUI\save(), assOrderingHorizontal\saveWorkingData(), assNumeric\saveWorkingData(), assErrorText\saveWorkingData(), assSingleChoice\saveWorkingData(), assTextSubset\saveWorkingData(), assKprimChoice\saveWorkingData(), assTextQuestion\saveWorkingData(), assMultipleChoice\saveWorkingData(), assFileUpload\saveWorkingData(), assLongMenu\saveWorkingData(), assOrderingQuestion\saveWorkingData(), assFormulaQuestion\saveWorkingData(), assMatchingQuestion\saveWorkingData(), and assClozeTest\saveWorkingData().
 Here is the caller graph for this function:
      
  | 
  static | 
Gets the pass scoring type.
Definition at line 800 of file class.ilObjTest.php.
Referenced by _getResultPass().
 Here is the caller graph for this function:
      
  | 
  static | 
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 4899 of file class.ilObjTest.php.
References _getBestPass(), _getMaxPass(), and _getPassScoring().
Referenced by ILIAS\Test\Questions\Presentation\Printer\addQuestionResultForTestUsersToTemplate(), ilTestArchiver\createUserResultsForArchive(), evalStatistical(), getAllTestResults(), getDetailedTestResults(), getPassed(), ilTestServiceGUI\getPassOverviewTableData(), ilTestEvaluationGUI\outUserListOfAnswerPasses(), ilTestEvaluationGUI\performDeletePass(), ilTestEvaluationGUI\printResults(), ilTestEvaluationGUI\showResults(), and updateTestResultCache().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Determines if the score of a question should be cut at 0 points or the score of the whole test.
Definition at line 819 of file class.ilObjTest.php.
Referenced by assQuestion\adjustReachedPointsByScoringOptions().
 Here is the caller graph for this function:
      
  | 
  static | 
get solved questions
Definition at line 4629 of file class.ilObjTest.php.
Referenced by ilTestPlayerAbstractGUI\buildEditableStateQuestionNavigationGUI(), ilTestPlayerAbstractGUI\buildReadOnlyStateQuestionNavigationGUI(), ilTestService\getQuestionSummaryData(), and ilTestSequence\getSequenceSummary().
 Here is the caller graph for this function:
      
  | 
  static | 
Returns the ILIAS test id for a given object id.
| integer | $object_id | The object id | 
Definition at line 4318 of file class.ilObjTest.php.
References $DIC, $ilDB, and $test_id.
Referenced by ilLOUtils\getTestResultLinkForUser(), and ilTestAccess\isParticipantAllowed().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 5387 of file class.ilObjTest.php.
Referenced by assQuestion\buildHashedImageFilename(), sendAdvancedNotification(), sendSimpleNotification(), and ILIAS\Test\ExportImport\CertificateExport\write().
 Here is the caller graph for this function:
      
  | 
  static | 
Creates an instance of a question with a given question id.
| int | $question_id | The question id | 
| InvalidArgumentException | 
Definition at line 2714 of file class.ilObjTest.php.
References assQuestion\instantiateQuestion().
Referenced by ilCourseObjectiveQuestion\__read(), duplicateQuestionForTest(), getAllTestResults(), getDetailedTestResults(), ilCourseObjectiveQuestion\getMaxPointsByObjective(), ilCourseObjectiveQuestion\getMaxPointsByTest(), and ilCourseObjectiveQuestionAssignmentTableGUI\parse().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 5566 of file class.ilObjTest.php.
Referenced by ilObjTestAccess\_getParticipantData().
 Here is the caller graph for this function:
      
  | 
  static | 
Gets the authors name of the ilObjTest object.
Definition at line 4091 of file class.ilObjTest.php.
References $DIC.
Referenced by assQuestion\getInstances().
 Here is the caller graph for this function:
      
  | 
  static | 
Gather all finished tests for user.
| int | $a_user_id | 
Definition at line 6761 of file class.ilObjTest.php.
      
  | 
  static | 
Definition at line 7662 of file class.ilObjTest.php.
Referenced by ilLOSettings\isRandomTestType(), ilCourseObjectivesGUI\isRandomTestType(), and ilLOUtils\lookupRandomTest().
 Here is the caller graph for this function:
      
  | 
  static | 
Get test Object ID for question ID.
Definition at line 6409 of file class.ilObjTest.php.
Referenced by ilObjMediaObject\getParentObjectIdForUsage().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 3277 of file class.ilObjTest.php.
References $text, ilSession\get(), ILIAS\Test\Settings\MainSettings\SettingsFinishing\getAlwaysSendMailNotification(), ilObject\getId(), ILIAS\Test\Settings\MainSettings\SettingsFinishing\getMailNotificationContentType(), ILIAS\Test\Settings\MainSettings\SettingsFinishing\getRedirectionMode(), ILIAS\Test\Settings\MainSettings\SettingsFinishing\getRedirectionUrl(), ILIAS\Test\Settings\MainSettings\SettingsFinishing\getShowAnswerOverview(), ILIAS\Test\Settings\TestSettings\getTestId(), replaceFilesInPageImports(), replaceMobsInPageImports(), retrieveMobsFromLegacyImports(), and ILIAS\Test\Settings\MainSettings\SettingsFinishing\withConcludingRemarksPageId().
Referenced by fromXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| 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 5692 of file class.ilObjTest.php.
References ILIAS\Test\Settings\MainSettings\MainSettings\getAccessSettings(), getActivationEndingTime(), getActivationStartingTime(), getActivationVisibility(), ILIAS\Test\Settings\MainSettings\MainSettings\getAdditionalSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getFinishingSettings(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getGamificationSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getGeneralSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getIntroductionSettings(), getMainSettings(), getMarkSchema(), ILIAS\Test\Scoring\Marks\Mark\getMinimumLevel(), ILIAS\Test\Scoring\Marks\Mark\getOfficialName(), ILIAS\Test\Settings\MainSettings\MainSettings\getParticipantFunctionalitySettings(), ILIAS\Test\Scoring\Marks\Mark\getPassed(), ILIAS\Test\Settings\MainSettings\MainSettings\getQuestionBehaviourSettings(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getResultDetailsSettings(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getResultSummarySettings(), getScoreSettings(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getScoringSettings(), ILIAS\Test\Scoring\Marks\Mark\getShortName(), ILIAS\Test\Settings\MainSettings\MainSettings\getTestBehaviourSettings(), ILIAS\Repository\int(), isActivationLimited(), and ILIAS\Repository\user().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 3244 of file class.ilObjTest.php.
References $text, ilObject\getId(), ILIAS\Test\Settings\TestSettings\getTestId(), replaceFilesInPageImports(), replaceMobsInPageImports(), retrieveMobsFromLegacyImports(), and ILIAS\Test\Settings\MainSettings\SettingsIntroduction\withIntroductionPageId().
Referenced by fromXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::addQTIMaterial | ( | ilXmlWriter & | $xml_writer, | 
| ?int | $page_id, | ||
| string | $material = ''  | 
        ||
| ) | 
Definition at line 5498 of file class.ilObjTest.php.
References ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilPCFileList\collectFileItems(), ilObject\getId(), IL_INST_ID, ILIAS\Repository\int(), isHTML(), ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::addToNewsOnOnline | ( | bool | $old_online_status, | 
| bool | $new_online_status | ||
| ) | 
Definition at line 7627 of file class.ilObjTest.php.
References ilNewsItem\deleteNewsOfContext(), ilNewsItem\getFirstNewsIdForContext(), ilObject\getId(), NEWS_NOTICE, NEWS_USERS, and ILIAS\Repository\user().
Referenced by fromXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::adjustTestSequence | ( | ) | 
Definition at line 7307 of file class.ilObjTest.php.
References getShuffleQuestions(), and getTestId().
 Here is the call graph for this function:| ilObjTest::applyDefaults | ( | array | $test_defaults | ) | 
Definition at line 5805 of file class.ilObjTest.php.
References convertTimeToDateTimeImmutableIfNecessary(), ILIAS\Test\Settings\MainSettings\MainSettings\getAccessSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getAdditionalSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getFinishingSettings(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getGamificationSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getGeneralSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getIntroductionSettings(), getMainSettings(), getMainSettingsRepository(), getMarkSchema(), ILIAS\Test\Settings\MainSettings\MainSettings\getParticipantFunctionalitySettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getQuestionBehaviourSettings(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getResultDetailsSettings(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getResultSummarySettings(), getScoreSettings(), getScoreSettingsRepository(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getScoringSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getTestBehaviourSettings(), ILIAS\Repository\int(), saveToDb(), storeActivationSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\withGeneralSettings(), and ILIAS\Test\Settings\ScoreReporting\ScoreSettings\withScoringSettings().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 3825 of file class.ilObjTest.php.
Referenced by fromXML().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 7100 of file class.ilObjTest.php.
References $DIC, and $ilSetting.
Referenced by ilTestPlayerAbstractGUI\getTestPlayerTitle(), and updateTestPassResults().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 3820 of file class.ilObjTest.php.
Referenced by toXML().
 Here is the caller graph for this function:| ilObjTest::buildName | ( | ?int | $user_id, | 
| ?string | $firstname, | ||
| ?string | $lastname | ||
| ) | 
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 2561 of file class.ilObjTest.php.
References ANONYMOUS_USER_ID, getAnonymity(), and ILIAS\Repository\lng().
 Here is the call graph for this function:| ilObjTest::buildStatisticsAccessFilteredParticipantList | ( | ) | 
Definition at line 2466 of file class.ilObjTest.php.
References getTestParticipants(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilObjTest::canShowSolutionPrintview | ( | $user_id = null | ) | 
Definition at line 5333 of file class.ilObjTest.php.
References getShowSolutionPrintview().
 Here is the call graph for this function:| ilObjTest::canShowTestResults | ( | ilTestSession | $test_session | ) | 
Definition at line 5076 of file class.ilObjTest.php.
References ilTestSession\getActiveId(), and ilTestSession\getLastFinishedPass().
Referenced by ilTestSession\reportableResultsAvailable().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::checkQuestionParent | ( | int | $question_id | ) | 
Definition at line 5214 of file class.ilObjTest.php.
      
  | 
  private | 
Definition at line 709 of file class.ilObjTest.php.
References clonePage(), and getMainSettings().
Referenced by cloneObject().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 691 of file class.ilObjTest.php.
References clonePage(), and getMainSettings().
Referenced by cloneObject().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::cloneObject | ( | int | $target_id, | 
| int | $copy_id = 0,  | 
        ||
| bool | $omit_tree = false  | 
        ||
| ) | 
Clone object.
public
| int | ref id of parent container | 
| int | copy id | 
Definition at line 4146 of file class.ilObjTest.php.
References cloneConcludingRemarks(), cloneIntroduction(), ilObject\cloneMetaData(), ilObject\getId(), getMainSettings(), getMainSettingsRepository(), getMarkSchema(), getScoreSettings(), getScoreSettingsRepository(), getTemplate(), getTestId(), loadFromDb(), and ILIAS\Repository\user().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 718 of file class.ilObjTest.php.
References ilObject\getId().
Referenced by cloneConcludingRemarks(), and cloneIntroduction().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 6055 of file class.ilObjTest.php.
Referenced by applyDefaults().
 Here is the caller graph for this function:| ilObjTest::copyQuestions | ( | array | $question_ids | ) | 
| array<int> | $question_ids | 
Definition at line 560 of file class.ilObjTest.php.
References $id, ilObject\$title, ilObject\getId(), getQuestionTitles(), and insertQuestion().
 Here is the call graph for this function:| ilObjTest::create | ( | ) | 
Definition at line 238 of file class.ilObjTest.php.
References $id, and ilObject\createMetaData().
 Here is the call graph for this function:| 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 341 of file class.ilObjTest.php.
References ilFileUtils\getDataDir(), ilObject\getId(), and ilFileUtils\makeDir().
 Here is the call graph for this function:| 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 2688 of file class.ilObjTest.php.
References getQuestionType().
Referenced by ILIAS\Test\Results\Data\Factory\buildAttemptResults().
 Here is the call graph for this function:
 Here is the caller graph for this function:| & ilObjTest::createTestSequence | ( | $active_id, | |
| $pass, | |||
| $shuffle | |||
| ) | 
Definition at line 6339 of file class.ilObjTest.php.
References isRandomTest().
 Here is the call graph for this function:| ilObjTest::delete | ( | ) | 
Definition at line 265 of file class.ilObjTest.php.
References ilObject\$title, ilObject\deleteMetaData(), deleteTest(), ilObject\getId(), ilObject\getRefId(), ILIAS\Repository\logger(), ILIAS\Test\Logging\TEST_DELETED, and ILIAS\Repository\user().
 Here is the call graph for this function:| ilObjTest::deleteDefaults | ( | $test_default_id | ) | 
Definition at line 5677 of file class.ilObjTest.php.
| ilObjTest::deleteTest | ( | ) | 
Definition at line 299 of file class.ilObjTest.php.
References ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilFileUtils\delDir(), ilFileUtils\getDataDir(), ilObject\getId(), getTestId(), ILIAS\Repository\lng(), and removeTestResults().
Referenced by delete().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::deliverPDFfromFO | ( | $fo, | |
$title = null  | 
        |||
| ) | 
Delivers a PDF file from a XSL-FO string.
| string | $fo | The XSL-FO string public | 
PhpUndefinedFieldInspection
Definition at line 6150 of file class.ilObjTest.php.
References Vendor\Package\$e, $filename, ilObject\$title, ilUtil\deliverData(), ilRpcClientFactory\factory(), ilFileUtils\getASCIIFilename(), ilObject\getTitle(), ilFileUtils\ilTempnam(), and ILIAS\Repository\logger().
Referenced by deliverPDFfromHTML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::deliverPDFfromHTML | ( | $content, | |
$title = null  | 
        |||
| ) | 
Delivers a PDF file from XHTML.
| string | $html | The XHTML string public | 
Definition at line 6114 of file class.ilObjTest.php.
References ilObject\$title, deliverPDFfromFO(), ilUtil\getStyleSheetLocation(), ilObject\getTitle(), ilLegacyFormElementsUtil\prepareFormOutput(), and processPrintoutput2FO().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 4063 of file class.ilObjTest.php.
References saveAuthorToMetadata().
 Here is the call graph for this function:| 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 1350 of file class.ilObjTest.php.
References _instanciateQuestion(), and ilObject\getId().
Referenced by insertQuestion().
 Here is the call graph for this function:
 Here is the caller graph for this function:| 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 2797 of file class.ilObjTest.php.
References getEndingTime(), and isEndingTimeEnabled().
Referenced by isExecutable().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::evalStatistical | ( | $active_id | ) | 
Returns the statistical evaluation of the test for a specified user.
Definition at line 2148 of file class.ilObjTest.php.
References _getResultPass(), getMarkSchema(), and getTestResult().
 Here is the call graph for this function:| ilObjTest::evalTotalParticipantsArray | ( | string | $name_sort_order = 'asc' | ) | 
Definition at line 2355 of file class.ilObjTest.php.
References ANONYMOUS_USER_ID, getAnonymity(), getTestId(), and ILIAS\Repository\lng().
Referenced by getTotalPointsPassedArray().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::evalTotalPersons | ( | ) | 
Returns the number of persons who started the test.
Definition at line 1972 of file class.ilObjTest.php.
References getTestId().
Referenced by marksEditable(), participantDataExist(), and saveToDb().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::evalTotalPersonsArray | ( | string | $name_sort_order = 'asc' | ) | 
Definition at line 2325 of file class.ilObjTest.php.
References ANONYMOUS_USER_ID, getAccessFilteredParticipantList(), getAnonymity(), getTestId(), and ILIAS\Repository\lng().
 Here is the call graph for this function:| ilObjTest::evalTotalStartedAverageTime | ( | ?array | $active_ids_to_filter = null | ) | 
Definition at line 2582 of file class.ilObjTest.php.
References getTestId().
Referenced by getAggregatedResultsData(), and ILIAS\Test\Results\Data\Factory\getOverviewDataForTest().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::exportFileItems | ( | $target_dir, | |
| & | $expLog | ||
| ) | 
export files of file itmes
Definition at line 3975 of file class.ilObjTest.php.
References IL_INST_ID, and ilFileUtils\makeDir().
Referenced by exportPagesXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| 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 3853 of file class.ilObjTest.php.
References exportFileItems(), exportXMLMediaObjects(), and exportXMLPageObjects().
 Here is the call graph for this function:| ilObjTest::exportXMLMediaObjects | ( | & | $a_xml_writer, | 
| $a_inst, | |||
| $a_target_dir, | |||
| & | $expLog | ||
| ) | 
export media objects to xml (see ilias_co.dtd)
Definition at line 3951 of file class.ilObjTest.php.
References ilObjMediaObject\_exists(), ilFileUtils\createDirectory(), and IL_INST_ID.
Referenced by exportPagesXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::exportXMLPageObjects | ( | & | $a_xml_writer, | 
| $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 3900 of file class.ilObjTest.php.
References ilPCFileList\collectFileItems().
Referenced by exportPagesXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::fromXML | ( | ilQTIAssessment | $assessment, | 
| array | $mappings | ||
| ) | 
Receives parameters from a QTI parser and creates a valid ILIAS test object.
| ilQTIAssessment | $assessment | 
Definition at line 2893 of file class.ilObjTest.php.
References $main_settings, $metadata, $objectives, $score_settings, addConcludingRemarksToSettingsFromImport(), addIntroductionToSettingsFromImport(), addToNewsOnOnline(), buildDateTimeImmutableFromPeriod(), ILIAS\TestQuestionPool\Import\buildImportDirectoryFromImportFile(), ilSession\clear(), ilSession\get(), ILIAS\Test\Settings\MainSettings\MainSettings\getAccessSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getAdditionalSettings(), ilQTIAssessment\getComment(), ILIAS\Test\Settings\MainSettings\MainSettings\getFinishingSettings(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getGamificationSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getGeneralSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getIntroductionSettings(), getMainSettings(), getMainSettingsRepository(), getMarkSchema(), ilObject\getObjectProperties(), ILIAS\Test\Settings\MainSettings\MainSettings\getParticipantFunctionalitySettings(), ilQTIAssessment\getPresentationMaterial(), ILIAS\Test\Settings\MainSettings\MainSettings\getQuestionBehaviourSettings(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getResultDetailsSettings(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getResultSummarySettings(), getScoreSettings(), getScoreSettingsRepository(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getScoringSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getTestBehaviourSettings(), ilQTIAssessment\getTitle(), loadFromDb(), qtiMaterialToArray(), saveAuthorToMetadata(), saveToDb(), setActivationEndingTime(), setActivationLimited(), setActivationStartingTime(), setActivationVisibility(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\withGamificationSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\withGeneralSettings(), and ILIAS\GlobalScreen\Scope\Footer\Factory\withTitle().
 Here is the call graph for this function:| ilObjTest::getAccessFilteredParticipantList | ( | ) | 
Definition at line 2456 of file class.ilObjTest.php.
References $access_filtered_participant_list.
Referenced by evalTotalPersonsArray(), and getParticipantsForTestAndQuestion().
 Here is the caller graph for this function:| ilObjTest::getActivationEndingTime | ( | ) | 
Definition at line 7020 of file class.ilObjTest.php.
References $activation_ending_time.
Referenced by addDefaults(), saveToDb(), and toXML().
 Here is the caller graph for this function:| ilObjTest::getActivationStartingTime | ( | ) | 
Definition at line 7015 of file class.ilObjTest.php.
References $activation_starting_time.
Referenced by addDefaults(), saveToDb(), and toXML().
 Here is the caller graph for this function:| ilObjTest::getActivationVisibility | ( | ) | 
Definition at line 6802 of file class.ilObjTest.php.
References $activation_visibility.
Referenced by addDefaults(), saveToDb(), and toXML().
 Here is the caller graph for this function:| 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 1698 of file class.ilObjTest.php.
References $user_id, ANONYMOUS_USER_ID, ilSession\get(), getTestId(), and ILIAS\Repository\user().
Referenced by getAllQuestions(), getExistingQuestions(), isExecutable(), loadQuestions(), ilCourseObjectiveResult\resetTestForUser(), and setQuestionSetSolved().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getActiveParticipantList | ( | ) | 
Definition at line 4389 of file class.ilObjTest.php.
References getTestParticipants(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilObjTest::getAggregatedResultsData | ( | ) | 
Definition at line 6503 of file class.ilObjTest.php.
References $data, $results, evalTotalStartedAverageTime(), getCompleteEvaluationData(), ILIAS\Repository\lng(), and secondsToHoursMinutesSecondsString().
 Here is the call graph for this function:| ilObjTest::getAllQuestions | ( | $pass = null | ) | 
Returns all questions of a test in test order.
Definition at line 1658 of file class.ilObjTest.php.
References getActiveIdOfUser(), isRandomTest(), loadQuestions(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilObjTest::getAllTestResults | ( | $participants | ) | 
returns all test results for all participants
| array | $partipants | array of user ids | 
Definition at line 4729 of file class.ilObjTest.php.
References $results, _getResultPass(), _instanciateQuestion(), getAnonymity(), getMarkSchema(), and ILIAS\Repository\lng().
 Here is the call graph for this function:| ilObjTest::getAnonymity | ( | ) | 
Definition at line 5560 of file class.ilObjTest.php.
References getMainSettings().
Referenced by buildName(), evalTotalParticipantsArray(), evalTotalPersonsArray(), getAllTestResults(), getDetailedTestResults(), getInvitedUsers(), getParticipants(), ilTestArchiver\getResultsOfUserOutput(), getTestParticipants(), getUserData(), isHighscoreAnon(), and userLookupFullName().
 Here is the call graph for this function:
 Here is the caller graph for this function:| 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 4919 of file class.ilObjTest.php.
References isRandomTest(), and loadQuestions().
 Here is the call graph for this function:| ilObjTest::getAnswerFeedbackPoints | ( | ) | 
Definition at line 745 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::getAuthor | ( | ) | 
Gets the authors name of the ilObjTest object.
Definition at line 4075 of file class.ilObjTest.php.
References ilObject\getId(), and ilObject\getType().
Referenced by toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getAutosave | ( | ) | 
Definition at line 6990 of file class.ilObjTest.php.
References getMainSettings().
Referenced by ILIAS\Test\Results\Data\Factory\buildAttemptResults().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getAvailableDefaults | ( | ) | 
Returns the available test defaults for the active user.
Definition at line 5648 of file class.ilObjTest.php.
References ILIAS\Repository\user().
 Here is the call graph for this function:| ilObjTest::getAvailableQuestionpools | ( | bool | $use_object_id = false,  | 
        
| ?bool | $equal_points = false,  | 
        ||
| bool | $could_be_offline = false,  | 
        ||
| bool | $show_path = false,  | 
        ||
| bool | $with_questioncount = false,  | 
        ||
| string | $permission = 'read'  | 
        ||
| ) | 
Returns the available question pools for the active user.
Definition at line 2635 of file class.ilObjTest.php.
References ilObjQuestionPool\_getAvailableQuestionpools().
 Here is the call graph for this function:| ilObjTest::getAvailableQuestions | ( | $arr_filter, | |
$completeonly = 0  | 
        |||
| ) | 
Calculates the available questions for a test.
public
Definition at line 2813 of file class.ilObjTest.php.
References XapiProxy\$plugin, ilObjQuestionPool\_getAvailableQuestionpools(), ilAssQuestionType\completeMissingPluginName(), getExistingQuestions(), and ILIAS\Repository\lng().
 Here is the call graph for this function:| ilObjTest::getCompleteEvaluationData | ( | $filterby = '',  | 
        |
$filtertext = ''  | 
        |||
| ) | 
Definition at line 2543 of file class.ilObjTest.php.
References $data, and getUnfilteredEvaluationData().
Referenced by getAggregatedResultsData(), and ILIAS\Test\Results\Data\Factory\retrieveResultData().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getCompleteManualFeedback | ( | int | $question_id | ) | 
Retrieves the manual feedback for a question in a test.
| integer | $question_id | Question ID | 
Definition at line 6228 of file class.ilObjTest.php.
References $DIC, $ilDB, and ilRTE\_replaceMediaObjectImageSrc().
 Here is the call graph for this function:| ilObjTest::getCompleteWorkingTime | ( | $user_id | ) | 
Returns the complete working time in seconds a user worked on the test.
Definition at line 1989 of file class.ilObjTest.php.
References $user_id, and getTestId().
 Here is the call graph for this function:| ilObjTest::getCompleteWorkingTimeOfParticipant | ( | $active_id | ) | 
Returns the complete working time in seconds for a test participant.
Definition at line 2081 of file class.ilObjTest.php.
References getTestId().
 Here is the call graph for this function:| & ilObjTest::getCompleteWorkingTimeOfParticipants | ( | ) | 
Returns the complete working time in seconds for all test participants.
Definition at line 2027 of file class.ilObjTest.php.
References _getCompleteWorkingTimeOfParticipants(), and getTestId().
 Here is the call graph for this function:| ilObjTest::getConcludingRemarksPageId | ( | ) | 
Definition at line 6865 of file class.ilObjTest.php.
References ilObject\getId(), getMainSettings(), and getMainSettingsRepository().
 Here is the call graph for this function:| ilObjTest::getCountSystem | ( | ) | 
Definition at line 760 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getDetailedTestResults | ( | $participants | ) | 
returns all test results for all participants
| array | $partipants | array of user ids | 
Definition at line 6361 of file class.ilObjTest.php.
References $results, _getResultPass(), _instanciateQuestion(), getAnonymity(), and ILIAS\Repository\lng().
 Here is the call graph for this function:| ilObjTest::getEnableExamview | ( | ) | 
Definition at line 7000 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::getEnableProcessingTime | ( | ) | 
Definition at line 939 of file class.ilObjTest.php.
References getMainSettings().
Referenced by isExecutable(), and isMaxProcessingTimeReached().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getEndingTime | ( | ) | 
Definition at line 965 of file class.ilObjTest.php.
References getMainSettings().
Referenced by endingTimeReached(), isExecutable(), ILIAS\Test\Presentation\WorkingTime\prepareWorkingTimeJsTemplate(), and toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| & ilObjTest::getExistingQuestions | ( | $pass = null | ) | 
Get the id's of the questions which are already part of the test.
Definition at line 1523 of file class.ilObjTest.php.
References $data, getActiveIdOfUser(), getTestId(), isRandomTest(), and ILIAS\Repository\user().
Referenced by getAvailableQuestions().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getExportDirectory | ( | ) | 
Definition at line 364 of file class.ilObjTest.php.
References ilFileUtils\getDataDir(), ilObject\getId(), and ILIAS\UI\examples\Symbol\Glyph\Sort\sort().
 Here is the call graph for this function:| ilObjTest::getExportSettings | ( | ) | 
Definition at line 6669 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 7059 of file class.ilObjTest.php.
References getTestId().
Referenced by getProcessingTimeInSeconds().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getFinalStatement | ( | ) | 
Definition at line 700 of file class.ilObjTest.php.
References getMainSettings().
Referenced by toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getFixedParticipants | ( | ) | 
Definition at line 5592 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::getFixedQuestionSetTotalPoints | ( | ) | 
Definition at line 5225 of file class.ilObjTest.php.
References getTestQuestions().
 Here is the call graph for this function:| ilObjTest::getGeneralQuestionPropertiesRepository | ( | ) | 
Definition at line 7400 of file class.ilObjTest.php.
References $questionrepository.
| ilObjTest::getGenericAnswerFeedback | ( | ) | 
Definition at line 750 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::getGlobalSettings | ( | ) | 
Definition at line 7405 of file class.ilObjTest.php.
Referenced by getTestParticipantsForManualScoring().
 Here is the caller graph for this function:| ilObjTest::getGroupData | ( | $ids | ) | 
Definition at line 4579 of file class.ilObjTest.php.
References ilObject\$ref_id, ilObject\_lookupDescription(), ilObject\_lookupObjId(), and ilObject\_lookupTitle().
 Here is the call graph for this function:| ilObjTest::getHighscoreAchievedTS | ( | ) | 
Returns if date and time of the scores achievement should be displayed.
Definition at line 6918 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| 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 6897 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by isHighscoreAnon(), and toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getHighscoreEnabled | ( | ) | 
Definition at line 6883 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getHighscoreHints | ( | ) | 
Gets, if the column with the number of requested hints should be shown.
Definition at line 6942 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getHighscoreMode | ( | ) | 
Definition at line 6980 of file class.ilObjTest.php.
References getScoreSettings().
 Here is the call graph for this function:| ilObjTest::getHighscoreOwnTable | ( | ) | 
Gets if the own rankings table should be shown.
Definition at line 6958 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getHighscorePercentage | ( | ) | 
Gets if the percentage column should be shown.
Definition at line 6934 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getHighscoreScore | ( | ) | 
Gets if the score column should be shown.
Definition at line 6926 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getHighscoreTopNum | ( | int | $a_retval = 10 | ) | 
Gets the number of entries which are to be shown in the top-rankings table.
Definition at line 6975 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by ILIAS\Test\Results\Toplist\TestTopListRepository\getGeneralToplist(), ILIAS\Test\Results\Toplist\TestTopListRepository\getUserToplistByPercentage(), ILIAS\Test\Results\Toplist\TestTopListRepository\getUserToplistByWorkingtime(), and toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getHighscoreTopTable | ( | ) | 
Gets, if the top-rankings table should be shown.
Definition at line 6966 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getHighscoreWTime | ( | ) | 
Gets if the column with the workingtime should be shown.
Definition at line 6950 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 7395 of file class.ilObjTest.php.
References ilHtmlPurifierFactory\getInstanceByType().
 Here is the call graph for this function:| 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 2659 of file class.ilObjTest.php.
References CLIENT_WEB_DIR, and ilObject\getId().
 Here is the call graph for this function:| 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 2670 of file class.ilObjTest.php.
References CLIENT_WEB_DIR, ilObject\getId(), and ilFileUtils\removeTrailingPathSeparators().
 Here is the call graph for this function:| ilObjTest::getImportMapping | ( | ) | 
get array of (two) new created questions for import id
Definition at line 3997 of file class.ilObjTest.php.
| ilObjTest::getInstantFeedbackSolution | ( | ) | 
Definition at line 755 of file class.ilObjTest.php.
References getMainSettings().
Referenced by toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getIntroduction | ( | ) | 
Definition at line 681 of file class.ilObjTest.php.
References getMainSettings().
Referenced by toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getIntroductionPageId | ( | ) | 
Definition at line 6847 of file class.ilObjTest.php.
References ilObject\getId(), getMainSettings(), and getMainSettingsRepository().
 Here is the call graph for this function:| & ilObjTest::getInvitedUsers | ( | int | $user_id = 0,  | 
        
$order = "login, lastname, firstname"  | 
        |||
| ) | 
Returns a list of all invited users in a test.
Definition at line 4403 of file class.ilObjTest.php.
References $user_id, getAnonymity(), getTestId(), and ILIAS\Repository\lng().
 Here is the call graph for this function:| ilObjTest::getJavaScriptOutput | ( | ) | 
Returns if Javascript should be chosen for drag & drop actions for the active user.
Definition at line 6334 of file class.ilObjTest.php.
| ilObjTest::getKioskMode | ( | ) | 
Definition at line 860 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::getListOfQuestions | ( | ) | 
Definition at line 5290 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::getListOfQuestionsDescription | ( | ) | 
Definition at line 5310 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::getListOfQuestionsEnd | ( | ) | 
Definition at line 5305 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| 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 5285 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::getListOfQuestionsStart | ( | ) | 
Definition at line 5300 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::getLocalDIC | ( | ) | 
Definition at line 200 of file class.ilObjTest.php.
Referenced by ilTestServiceGUI\setContextResultPresentation().
 Here is the caller graph for this function:| ilObjTest::getMailNotification | ( | ) | 
Definition at line 6590 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::getMailNotificationType | ( | ) | 
Definition at line 6664 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::getMainSettings | ( | ) | 
Definition at line 7410 of file class.ilObjTest.php.
References $main_settings, getMainSettingsRepository(), and getTestId().
Referenced by addDefaults(), applyDefaults(), cloneConcludingRemarks(), cloneIntroduction(), cloneObject(), fromXML(), getAnonymity(), getAnswerFeedbackPoints(), ILIAS\Test\Results\Presentation\Factory\getAttemptResultsSettings(), getAutosave(), getConcludingRemarksPageId(), getEnableExamview(), getEnableProcessingTime(), getEndingTime(), getFinalStatement(), getFixedParticipants(), getGenericAnswerFeedback(), getInstantFeedbackSolution(), getIntroduction(), getIntroductionPageId(), getKioskMode(), getListOfQuestions(), getListOfQuestionsDescription(), getListOfQuestionsEnd(), getListOfQuestionsSettings(), getListOfQuestionsStart(), getMailNotification(), getMailNotificationType(), getNrOfTries(), getPassword(), getProcessingTime(), getProcessingTimeForXML(), getProcessingTimeInSeconds(), getQuestionSetType(), getRedirectionMode(), getRedirectionUrl(), getResetProcessingTime(), getShowCancel(), getShowKioskModeParticipant(), getShowKioskModeTitle(), getShowMarker(), getShuffleQuestions(), getSpecificAnswerFeedback(), getStartingTime(), getTestParticipants(), getTitleOutput(), getUsePreviousAnswers(), getUsrPassOverviewEnabled(), isBlockPassesAfterPassedEnabled(), isEndingTimeEnabled(), isFollowupQuestionAnswerFixationEnabled(), isForceInstantFeedbackEnabled(), isInstantFeedbackAnswerFixationEnabled(), isNextPassAllowed(), isOfferingQuestionHintsEnabled(), isPasswordEnabled(), isPostponingEnabled(), isRedirectModeKiosk(), isRedirectModeNone(), isShowExamIdInTestPassEnabled(), isSkillServiceEnabled(), isSkillServiceToBeConsidered(), isStartingTimeEnabled(), setQuestionSetType(), and toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getMainSettingsRepository | ( | ) | 
Definition at line 7419 of file class.ilObjTest.php.
References $main_settings_repo.
Referenced by applyDefaults(), cloneObject(), fromXML(), getConcludingRemarksPageId(), getIntroductionPageId(), and getMainSettings().
 Here is the caller graph for this function:
      
  | 
  static | 
Retrieves the feedback comment for a question in a test if it is finalized.
| integer | $active_id | Active ID of the user | 
| integer | $question_id | Question ID | 
| integer | $pass | Pass number | 
Definition at line 6182 of file class.ilObjTest.php.
References ilTestService\isManScoringDone().
Referenced by assQuestionGUI\getGenericFeedbackOutput(), and assClozeTestGUI\getGenericFeedbackOutput().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getMarkSchema | ( | ) | 
Definition at line 835 of file class.ilObjTest.php.
References $mark_schema, and getTestId().
Referenced by ILIAS\Test\Scoring\Marks\MarkSchemaGUI\__construct(), addDefaults(), applyDefaults(), cloneObject(), evalStatistical(), fromXML(), getAllTestResults(), getTotalPointsPassedArray(), isComplete(), saveToDb(), toXML(), and updateTestResultCache().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getMaxPassOfTest | ( | ) | 
Definition at line 7069 of file class.ilObjTest.php.
References $data, $res, and getTestId().
 Here is the call graph for this function:| ilObjTest::getNrOfResultsForPass | ( | $active_id, | |
| $pass | |||
| ) | 
Calculates the number of user results for a specific test pass.
Definition at line 596 of file class.ilObjTest.php.
| ilObjTest::getNrOfTries | ( | ) | 
Definition at line 850 of file class.ilObjTest.php.
References getMainSettings().
Referenced by hasNrOfTriesRestriction(), isExecutable(), isNrOfTriesReached(), and saveToDb().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getParticipants | ( | ) | 
Returns all persons who started the test.
Definition at line 2288 of file class.ilObjTest.php.
References ANONYMOUS_USER_ID, getAnonymity(), getTestId(), and ILIAS\Repository\lng().
 Here is the call graph for this function:| ilObjTest::getParticipantsForTestAndQuestion | ( | $test_id, | |
| $question_id | |||
| ) | 
Creates an associated array with all active id's for a given test and original question id.
PhpAssignmentInConditionInspection
Definition at line 6471 of file class.ilObjTest.php.
References getAccessFilteredParticipantList().
 Here is the call graph for this function:| ilObjTest::getPassed | ( | $active_id | ) | 
Definition at line 6451 of file class.ilObjTest.php.
References _getResultPass(), and getTestResult().
 Here is the call graph for this function:| ilObjTest::getPassScoring | ( | ) | 
Gets the pass scoring type.
Definition at line 792 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getPassword | ( | ) | 
Definition at line 996 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::getPotentialRandomTestQuestions | ( | ) | 
Definition at line 5239 of file class.ilObjTest.php.
References getTestId().
 Here is the call graph for this function:| ilObjTest::getProcessingTime | ( | ) | 
Definition at line 905 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 910 of file class.ilObjTest.php.
References getMainSettings().
Referenced by toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getProcessingTimeInSeconds | ( | int | $active_id = 0 | ) | 
Definition at line 928 of file class.ilObjTest.php.
References getExtraTime(), and getMainSettings().
Referenced by isMaxProcessingTimeReached().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getQuestionCount | ( | ) | 
Definition at line 4215 of file class.ilObjTest.php.
References isRandomTest(), ILIAS\Repository\lng(), loadQuestions(), and ILIAS\Repository\logger().
Referenced by getQuestionCountWithoutReloading(), getQuestionsOfPass(), and getQuestionsOfTest().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getQuestionCountAndPointsForPassOfParticipant | ( | int | $active_id, | 
| int | $pass | ||
| ) | 
Definition at line 2482 of file class.ilObjTest.php.
References $res, lookupQuestionSetTypeByActiveId(), QUESTION_SET_TYPE_FIXED, and QUESTION_SET_TYPE_RANDOM.
Referenced by updateTestPassResults().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getQuestionCountWithoutReloading | ( | ) | 
Definition at line 4255 of file class.ilObjTest.php.
References getQuestionCount(), and isRandomTest().
 Here is the call graph for this function:| ilObjTest::getQuestionDataset | ( | $question_id | ) | 
Returns the dataset for a given question id.
| integer | $question_id | The database id of the question | 
Definition at line 1506 of file class.ilObjTest.php.
Referenced by ilTestArchiver\handInParticipantUploadedResults().
 Here is the caller graph for this function:| ilObjTest::getQuestions | ( | ) | 
| ilObjTest::getQuestionSetConfig | ( | ) | 
Definition at line 215 of file class.ilObjTest.php.
Referenced by ILIAS\Test\Questions\Properties\DatabaseRepository\buildQuestionPropertiesForRandomTest().
 Here is the caller graph for this function:| ilObjTest::getQuestionSetType | ( | ) | 
Definition at line 7137 of file class.ilObjTest.php.
References getMainSettings().
Referenced by getQuestionTitles(), getQuestionTitlesAndIndexes(), isFixedTest(), isRandomTest(), and saveToDb().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getQuestionSetTypeTranslation | ( | ilLanguage | $lng, | 
| $questionSetType | |||
| ) | 
Definition at line 7162 of file class.ilObjTest.php.
References QUESTION_SET_TYPE_FIXED, QUESTION_SET_TYPE_RANDOM, and ilLanguage\txt().
 Here is the call graph for this function:| ilObjTest::getQuestionsOfPass | ( | int | $active_id, | 
| int | $pass | ||
| ) | 
Definition at line 2422 of file class.ilObjTest.php.
References getQuestionCount(), and isRandomTest().
Referenced by ilTestArchiver\handInParticipantUploadedResults().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getQuestionsOfTest | ( | int | $active_id | ) | 
Definition at line 2389 of file class.ilObjTest.php.
References getQuestionCount(), and isRandomTest().
 Here is the call graph for this function:| ilObjTest::getQuestiontext | ( | $question_id | ) | 
Returns the question text for a given question.
| integer | $question_id | The question id | 
Definition at line 4372 of file class.ilObjTest.php.
References $res.
| ilObjTest::getQuestionTitle | ( | $title, | |
$nr = null,  | 
        |||
$points = null  | 
        |||
| ) | 
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 | 
| integer | $nr | The number of the question in the sequence | 
Definition at line 1464 of file class.ilObjTest.php.
References ilObject\$title, $txt, getTitleOutput(), and ILIAS\Repository\lng().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 1410 of file class.ilObjTest.php.
References getQuestionSetType(), and getTestId().
Referenced by copyQuestions().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getQuestionTitlesAndIndexes | ( | ) | 
Returns the titles of the test questions in question sequence.
Definition at line 1435 of file class.ilObjTest.php.
References getQuestionSetType(), and getTestId().
Referenced by hasQuestionsWithoutQuestionpool().
 Here is the call graph for this function:
 Here is the caller graph for this function:| 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 1560 of file class.ilObjTest.php.
References $data.
Referenced by createQuestionGUI().
 Here is the caller graph for this function:| ilObjTest::getRedirectionMode | ( | ) | 
Definition at line 971 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::getRedirectionUrl | ( | ) | 
Definition at line 986 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::getResetProcessingTime | ( | ) | 
Definition at line 944 of file class.ilObjTest.php.
References getMainSettings().
Referenced by getStartingTimeOfUser().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getResultsForActiveId | ( | int | $active_id | ) | 
Definition at line 6629 of file class.ilObjTest.php.
References updateTestResultCache().
Referenced by ilTestArchiver\getResultsOfUserOutput(), and getTestResult().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getRoleData | ( | $ids | ) | 
Definition at line 4592 of file class.ilObjTest.php.
References ilObject\_lookupDescription(), and ilObject\_lookupTitle().
 Here is the call graph for this function:| 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 784 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by getTestResult(), and toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getScoreSettings | ( | ) | 
Definition at line 7427 of file class.ilObjTest.php.
References $score_settings, getScoreSettingsRepository(), and getTestId().
Referenced by addDefaults(), applyDefaults(), cloneObject(), fromXML(), ILIAS\Test\Results\Presentation\Factory\getAttemptResultsSettings(), getCountSystem(), getExportSettings(), getHighscoreAchievedTS(), getHighscoreAnon(), getHighscoreEnabled(), getHighscoreHints(), getHighscoreMode(), getHighscoreOwnTable(), getHighscorePercentage(), getHighscoreScore(), getHighscoreTopNum(), getHighscoreTopTable(), getHighscoreWTime(), getPassScoring(), getScoreCutting(), getShowPassDetails(), getShowSolutionAnswersOnly(), getShowSolutionFeedback(), getShowSolutionListComparison(), getShowSolutionListOwnAnswers(), getShowSolutionPrintview(), getShowSolutionSignature(), getShowSolutionSuggested(), isPassDeletionAllowed(), isScoreReportingEnabled(), isShowExamIdInTestResultsEnabled(), isShowGradingMarkEnabled(), isShowGradingStatusEnabled(), marksEditable(), and toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getScoreSettingsRepository | ( | ) | 
Definition at line 7436 of file class.ilObjTest.php.
References $score_settings_repo.
Referenced by applyDefaults(), cloneObject(), fromXML(), and getScoreSettings().
 Here is the caller graph for this function:| ilObjTest::getShowCancel | ( | ) | 
Definition at line 5582 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::getShowKioskModeParticipant | ( | ) | 
Definition at line 869 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::getShowKioskModeTitle | ( | ) | 
Definition at line 865 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::getShowMarker | ( | ) | 
Definition at line 5587 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::getShowPassDetails | ( | ) | 
Returns if the pass details should be shown when a test is not finished.
Definition at line 5318 of file class.ilObjTest.php.
References getScoreSettings().
 Here is the call graph for this function:| ilObjTest::getShowSolutionAnswersOnly | ( | ) | 
Returns if the full solution (including ILIAS content) should be presented to the solution or not.
Definition at line 5349 of file class.ilObjTest.php.
References getScoreSettings().
 Here is the call graph for this function:| ilObjTest::getShowSolutionFeedback | ( | ) | 
Returns if the feedback should be presented to the solution or not.
Definition at line 5341 of file class.ilObjTest.php.
References getScoreSettings().
 Here is the call graph for this function:| ilObjTest::getShowSolutionListComparison | ( | ) | 
Definition at line 5374 of file class.ilObjTest.php.
References getScoreSettings().
 Here is the call graph for this function:| ilObjTest::getShowSolutionListOwnAnswers | ( | ) | 
Definition at line 5379 of file class.ilObjTest.php.
References getScoreSettings().
 Here is the call graph for this function:| ilObjTest::getShowSolutionPrintview | ( | ) | 
Returns if the solution printview should be presented to the user or not.
Definition at line 5326 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by canShowSolutionPrintview().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getShowSolutionSignature | ( | ) | 
Returns if the signature field should be shown in the test results.
Definition at line 5357 of file class.ilObjTest.php.
References getScoreSettings().
 Here is the call graph for this function:| ilObjTest::getShowSolutionSuggested | ( | ) | 
Definition at line 5365 of file class.ilObjTest.php.
References getScoreSettings().
 Here is the call graph for this function:| ilObjTest::getShuffleQuestions | ( | ) | 
Definition at line 5269 of file class.ilObjTest.php.
References getMainSettings().
Referenced by adjustTestSequence().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 6197 of file class.ilObjTest.php.
References $DIC, $ilDB, and ilRTE\_replaceMediaObjectImageSrc().
Referenced by ILIAS\Test\Scoring\Manual\TestScoringByQuestionGUI\buildForm(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantGUI\buildManScoringParticipantForm(), and ILIAS\Test\Scoring\Manual\TestScoringByQuestionGUI\saveManScoringByQuestion().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getSpecificAnswerFeedback | ( | ) | 
Definition at line 6985 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::getStartingTime | ( | ) | 
Definition at line 954 of file class.ilObjTest.php.
References getMainSettings().
Referenced by isExecutable(), startingTimeReached(), and toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getStartingTimeOfParticipants | ( | ) | 
Note, this function should only be used if absolutely necessary, since it perform joins on tables that tend to grow huge and returns vast amount of data.
If possible, use getStartingTimeOfUser($active_id) instead
Definition at line 7031 of file class.ilObjTest.php.
References getTestId().
 Here is the call graph for this function:| 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 5103 of file class.ilObjTest.php.
References getResetProcessingTime().
Referenced by isExecutable().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getTemplate | ( | ) | 
Definition at line 6679 of file class.ilObjTest.php.
References $template_id.
Referenced by cloneObject(), and saveToDb().
 Here is the caller graph for this function:| ilObjTest::getTestDefaults | ( | $test_defaults_id | ) | 
Definition at line 5662 of file class.ilObjTest.php.
| ilObjTest::getTestId | ( | ) | 
Gets the database id of the additional test data.
Definition at line 730 of file class.ilObjTest.php.
References $test_id.
Referenced by adjustTestSequence(), ILIAS\Test\Questions\Properties\DatabaseRepository\buildQuestionPropertiesForRandomTest(), cloneObject(), ilTestRandomQuestionSetConfig\cloneQuestionSetRelatedData(), ilTestArchiver\createUserResultsForArchive(), deleteTest(), evalTotalParticipantsArray(), evalTotalPersons(), evalTotalPersonsArray(), evalTotalStartedAverageTime(), getActiveIdOfUser(), getCompleteWorkingTime(), getCompleteWorkingTimeOfParticipant(), getCompleteWorkingTimeOfParticipants(), getExistingQuestions(), getExtraTime(), getInvitedUsers(), getMainSettings(), getMarkSchema(), getMaxPassOfTest(), getParticipants(), getPotentialRandomTestQuestions(), getQuestionTitles(), getQuestionTitlesAndIndexes(), getScoreSettings(), getStartingTimeOfParticipants(), getTestParticipants(), getTestQuestions(), getTimeExtensionsOfParticipants(), ilTestImporter\importSkillLevelThresholds(), insertQuestion(), inviteUser(), isActiveTestSubmitted(), questionMoveDown(), questionMoveUp(), removeTestResults(), removeTestResultsByActiveIds(), removeTestResultsByUserIds(), removeTestResultsFromSoapLpAdministration(), saveCompleteStatus(), saveQuestionsToDb(), saveToDb(), and toXML().
 Here is the caller graph for this function:| ilObjTest::getTestLogger | ( | ) | 
Definition at line 205 of file class.ilObjTest.php.
References $logger.
| ilObjTest::getTestLogViewer | ( | ) | 
      
  | 
  static | 
Definition at line 7191 of file class.ilObjTest.php.
References $DIC, $ilDB, $res, and ILIAS\Repository\int().
 Here is the call graph for this function:| ilObjTest::getTestParticipants | ( | ) | 
Definition at line 4459 of file class.ilObjTest.php.
References $data, getAnonymity(), getGeneralSettings(), getMainSettings(), getTestId(), and ILIAS\Repository\lng().
Referenced by buildStatisticsAccessFilteredParticipantList(), getActiveParticipantList(), and getTestParticipantsForManualScoring().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getTestParticipantsForManualScoring | ( | $filter = null | ) | 
Definition at line 4522 of file class.ilObjTest.php.
References getGlobalSettings(), and getTestParticipants().
 Here is the call graph for this function:| ilObjTest::getTestQuestions | ( | ) | 
Definition at line 5156 of file class.ilObjTest.php.
References $questions, getTestId(), and ILIAS\Repository\refinery().
Referenced by getFixedQuestionSetTotalPoints(), ILIAS\Test\Questions\Presentation\QuestionsTableQuery\getRowIds(), isTestQuestion(), and removeQuestionWithResults().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getTestResult | ( | int | $active_id, | 
| ?int | $pass = null,  | 
        ||
| bool | $ordered_sequence = false,  | 
        ||
| bool | $consider_hidden_questions = true,  | 
        ||
| bool | $consider_optional_questions = true  | 
        ||
| ) | 
Calculates the results of a test for a given user and returns an array with all test results.
Definition at line 1787 of file class.ilObjTest.php.
References $data, $results, $test_sequence, assQuestion\_getSuggestedSolutionOutput(), getResultsForActiveId(), getScoreCutting(), ILIAS\Repository\int(), and ilLegacyFormElementsUtil\prepareFormOutput().
Referenced by ILIAS\Test\Results\Data\Factory\buildAttemptResults(), evalStatistical(), getPassed(), ilTestArchiver\getResultsOfUserOutput(), and getTotalPointsPassedArray().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getTextAnswer | ( | $active_id, | |
| $question_id, | |||
$pass = null  | 
        |||
| ) | 
Returns the text answer of a given user for a given question.
| integer | $active_id | |
| integer | $question_id | 
Definition at line 4343 of file class.ilObjTest.php.
References assQuestion\_getSolutionMaxPass().
Referenced by ilTestArchiver\handInParticipantUploadedResults().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getTimeExtensionsOfParticipants | ( | ) | 
Definition at line 7045 of file class.ilObjTest.php.
References getTestId().
 Here is the call graph for this function:| ilObjTest::getTitleFilenameCompliant | ( | ) | 
returns the object title prepared to be used as a filename
Definition at line 223 of file class.ilObjTest.php.
References ilFileUtils\getASCIIFilename(), and ilObject\getTitle().
 Here is the call graph for this function:| ilObjTest::getTitleOutput | ( | ) | 
Definition at line 879 of file class.ilObjTest.php.
References getMainSettings().
Referenced by getQuestionTitle().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::getTmpCopyWizardCopyId | ( | ) | 
Definition at line 228 of file class.ilObjTest.php.
References $tmpCopyWizardCopyId.
Referenced by ilTestFixedQuestionSetConfig\cloneQuestionSetRelatedData(), and ilTestRandomQuestionSetConfig\registerClonedSourcePoolDefinitionIdMapping().
 Here is the caller graph for this function:| 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 2265 of file class.ilObjTest.php.
References evalTotalParticipantsArray(), getMarkSchema(), and getTestResult().
 Here is the call graph for this function:| ilObjTest::getUnfilteredEvaluationData | ( | ) | 
Definition at line 2476 of file class.ilObjTest.php.
Referenced by getCompleteEvaluationData().
 Here is the caller graph for this function:| ilObjTest::getUsePreviousAnswers | ( | ) | 
Definition at line 874 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::getUserData | ( | $ids | ) | 
Returns a data of all users specified by id list.
Definition at line 4556 of file class.ilObjTest.php.
References getAnonymity(), and ILIAS\Repository\lng().
 Here is the call graph for this function:| ilObjTest::getUsrPassOverviewEnabled | ( | ) | 
Definition at line 5295 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::getVisitingTimeOfParticipant | ( | int | $active_id | ) | 
Definition at line 7679 of file class.ilObjTest.php.
| & ilObjTest::getWorkedQuestions | ( | $active_id, | |
$pass = null  | 
        |||
| ) | 
Gets the id's of all questions a user already worked through.
Definition at line 1616 of file class.ilObjTest.php.
| ilObjTest::getWorkingTimeOfParticipantForPass | ( | int | $active_id, | 
| int | $pass | ||
| ) | 
Definition at line 2113 of file class.ilObjTest.php.
Referenced by updateTestPassResults().
 Here is the caller graph for this function:| ilObjTest::getXMLZip | ( | ) | 
Get zipped xml file for test.
Definition at line 6584 of file class.ilObjTest.php.
| ilObjTest::hasAnyTestResult | ( | ilTestSession | $test_session | ) | 
Definition at line 5086 of file class.ilObjTest.php.
References ilTestSession\getActiveId(), and ilTestSession\getLastFinishedPass().
 Here is the call graph for this function:| ilObjTest::hasNrOfTriesRestriction | ( | ) | 
returns if the numbers of tries have to be checked
Definition at line 4705 of file class.ilObjTest.php.
References getNrOfTries().
Referenced by isExecutable().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::hasQuestionsWithoutQuestionpool | ( | ) | 
Definition at line 6732 of file class.ilObjTest.php.
References getQuestionTitlesAndIndexes().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 6271 of file class.ilObjTest.php.
References ilObject\$user, ilRTE\_replaceMediaObjectImageSrc(), ilObject\getRefId(), ILIAS\Repository\logger(), and ILIAS\Repository\user().
Referenced by saveManualFeedback().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::insertQuestion | ( | int | $question_id, | 
| bool | $link_only = false  | 
        ||
| ) | 
Definition at line 1357 of file class.ilObjTest.php.
References $data, duplicateQuestionForTest(), ilObject\getRefId(), getTestId(), assQuestion\instantiateQuestion(), loadQuestions(), ILIAS\Repository\logger(), saveCompleteStatus(), and ILIAS\Repository\user().
Referenced by copyQuestions().
 Here is the call graph for this function:
 Here is the caller graph for this function:| 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 4610 of file class.ilObjTest.php.
References $user_id, and getTestId().
 Here is the call graph for this function:| ilObjTest::isActivationLimited | ( | ) | 
Definition at line 6807 of file class.ilObjTest.php.
References $activation_limited.
Referenced by addDefaults(), saveToDb(), and toXML().
 Here is the caller graph for this function:| ilObjTest::isActiveTestSubmitted | ( | $user_id = null | ) | 
returns if the active for user_id has been submitted
Definition at line 4688 of file class.ilObjTest.php.
References $user_id, getTestId(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilObjTest::isBlockPassesAfterPassedEnabled | ( | ) | 
Definition at line 855 of file class.ilObjTest.php.
References getMainSettings().
Referenced by isExecutable().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  final | 
Definition at line 424 of file class.ilObjTest.php.
References getMarkSchema(), and ilTestQuestionSetConfig\isQuestionSetConfigured().
Referenced by saveCompleteStatus().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::isEndingTimeEnabled | ( | ) | 
Definition at line 960 of file class.ilObjTest.php.
References getMainSettings().
Referenced by endingTimeReached(), and ILIAS\Test\Presentation\WorkingTime\prepareWorkingTimeJsTemplate().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::isExecutable | ( | $test_session, | |
| $user_id, | |||
$allow_pass_increase = false  | 
        |||
| ) | 
Checks if the test is executable by the given user.
| $test_session | ||
| integer | $user_id | The user id | 
| bool | $allowPassIncrease | 
| ilDateTimeException | 
Definition at line 4989 of file class.ilObjTest.php.
References $user_id, ilObjTestAccess\_isPassed(), endingTimeReached(), ilDatePresentation\formatDate(), getActiveIdOfUser(), getEnableProcessingTime(), getEndingTime(), ilObject\getId(), getNrOfTries(), ilObject\getObjectProperties(), getStartingTime(), getStartingTimeOfUser(), hasNrOfTriesRestriction(), IL_CAL_UNIX, isBlockPassesAfterPassedEnabled(), isMaxProcessingTimeReached(), isNextPassAllowed(), ILIAS\Repository\lng(), and startingTimeReached().
 Here is the call graph for this function:| ilObjTest::isFixedTest | ( | ) | 
Returns the fact wether this test is a fixed question set test or not.
Definition at line 7147 of file class.ilObjTest.php.
References getQuestionSetType().
Referenced by ILIAS\Test\ExportImport\Factory\getExporter(), and ILIAS\Test\Questions\Properties\DatabaseRepository\getQuestionPropertiesForTest().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::isFollowupQuestionAnswerFixationEnabled | ( | ) | 
Definition at line 7267 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::isForceInstantFeedbackEnabled | ( | ) | 
Definition at line 7277 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| 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 6910 of file class.ilObjTest.php.
References getAnonymity(), and getHighscoreAnon().
 Here is the call graph for this function:| ilObjTest::isHTML | ( | $a_text | ) | 
Checks if a given string contains HTML or not.
| string | $a_text | Text which should be checked | 
Definition at line 5451 of file class.ilObjTest.php.
Referenced by addQTIMaterial().
 Here is the caller graph for this function:| ilObjTest::isInstantFeedbackAnswerFixationEnabled | ( | ) | 
Definition at line 7272 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::isMaxProcessingTimeReached | ( | int | $starting_time, | 
| int | $active_id | ||
| ) | 
Returns whether the maximum processing time for a test is reached or not.
Definition at line 5141 of file class.ilObjTest.php.
References getEnableProcessingTime(), and getProcessingTimeInSeconds().
Referenced by isExecutable().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::isNextPassAllowed | ( | ilTestPassesSelector | $testPassesSelector, | 
| int & | $next_pass_allowed_timestamp | ||
| ) | 
Definition at line 5057 of file class.ilObjTest.php.
References ilTestPassesSelector\getLastFinishedPass(), ilTestPassesSelector\getLastFinishedPassTimestamp(), and getMainSettings().
Referenced by isExecutable().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::isNrOfTriesReached | ( | $tries | ) | 
returns if number of tries are reached
Definition at line 4716 of file class.ilObjTest.php.
References getNrOfTries().
 Here is the call graph for this function:| ilObjTest::isOfferingQuestionHintsEnabled | ( | ) | 
Definition at line 6792 of file class.ilObjTest.php.
References getMainSettings().
Referenced by ilTestArchiver\getResultsOfUserOutput().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::isOnline | ( | ) | 
      
  | 
  static | 
Definition at line 7283 of file class.ilObjTest.php.
References $DIC, $ilDB, $test_sequence, and ilObjectFactory\getInstanceByRefId().
 Here is the call graph for this function:| ilObjTest::isPassDeletionAllowed | ( | ) | 
Definition at line 6995 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::isPasswordEnabled | ( | ) | 
Definition at line 991 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| 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 6429 of file class.ilObjTest.php.
References ilComponentInfo\TYPE_COMPONENT.
| ilObjTest::isPostponingEnabled | ( | ) | 
Definition at line 735 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::isPreviousSolutionReuseEnabled | ( | $active_id | ) | 
Definition at line 884 of file class.ilObjTest.php.
References $res, and ILIAS\Repository\user().
 Here is the call graph for this function:| ilObjTest::isRandomTest | ( | ) | 
Returns the fact wether this test is a random questions test or not.
Definition at line 7157 of file class.ilObjTest.php.
References getQuestionSetType().
Referenced by createTestSequence(), getAllQuestions(), getAnsweredQuestionCount(), getExistingQuestions(), getQuestionCount(), getQuestionCountWithoutReloading(), ILIAS\Test\Questions\Properties\DatabaseRepository\getQuestionPropertiesForTest(), getQuestionsOfPass(), getQuestionsOfTest(), loadQuestions(), removeQuestionWithResults(), and removeTestResultsByActiveIds().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::isRedirectModeKiosk | ( | ) | 
Definition at line 976 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::isRedirectModeNone | ( | ) | 
Definition at line 981 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::isScoreReportingEnabled | ( | ) | 
Definition at line 740 of file class.ilObjTest.php.
References getScoreSettings().
 Here is the call graph for this function:| ilObjTest::isShowExamIdInTestPassEnabled | ( | ) | 
Definition at line 7118 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::isShowExamIdInTestResultsEnabled | ( | ) | 
Definition at line 7123 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by ilTestArchiver\getResultsOfUserOutput().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::isShowGradingMarkEnabled | ( | ) | 
Definition at line 7262 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::isShowGradingStatusEnabled | ( | ) | 
Definition at line 7257 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 7246 of file class.ilObjTest.php.
Referenced by ilTestSkillAdministrationGUI\isAccessDenied().
 Here is the caller graph for this function:| ilObjTest::isSkillServiceEnabled | ( | ) | 
Definition at line 7215 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::isSkillServiceToBeConsidered | ( | ) | 
Returns whether this test must consider skills, usually by providing appropriate extensions in the user interface components.
Skills must be considered if skill management is globally enabled and this object has the skill service enabled as well.
Definition at line 7231 of file class.ilObjTest.php.
References getMainSettings().
 Here is the call graph for this function:| ilObjTest::isStartingTimeEnabled | ( | ) | 
Definition at line 949 of file class.ilObjTest.php.
References getMainSettings().
Referenced by startingTimeReached().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::isTestFinished | ( | $active_id | ) | 
returns if the active for user_id has been submitted
Definition at line 4675 of file class.ilObjTest.php.
Referenced by isTestFinishedToViewResults().
 Here is the caller graph for this function:| 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 1646 of file class.ilObjTest.php.
References isTestFinished(), and lookupPassResultsUpdateTimestamp().
 Here is the call graph for this function:| ilObjTest::isTestQuestion | ( | int | $question_id | ) | 
Definition at line 5201 of file class.ilObjTest.php.
References getTestQuestions().
 Here is the call graph for this function:| ilObjTest::loadFromDb | ( | ) | 
Definition at line 606 of file class.ilObjTest.php.
References $data, ilObject\getId(), ilObjectActivation\getItem(), loadQuestions(), setActivationEndingTime(), setActivationLimited(), setActivationStartingTime(), setActivationVisibility(), setTestId(), and ilObjectActivation\TIMINGS_ACTIVATION.
Referenced by cloneObject(), fromXML(), and read().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::loadQuestions | ( | int | $active_id = 0,  | 
        
| ?int | $pass = null  | 
        ||
| ) | 
Load the test question id's from the database.
Definition at line 641 of file class.ilObjTest.php.
References $data, getActiveIdOfUser(), isRandomTest(), and ILIAS\Repository\user().
Referenced by getAllQuestions(), getAnsweredQuestionCount(), getQuestionCount(), insertQuestion(), loadFromDb(), questionMoveDown(), questionMoveUp(), reindexFixedQuestionOrdering(), and setQuestionOrder().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 7082 of file class.ilObjTest.php.
Referenced by ilTestArchiver\getResultsOfUserOutput(), ilTestPlayerAbstractGUI\outQuestionSummaryCmd(), ilTestEvaluationGUI\outUserListOfAnswerPasses(), ilTestEvaluationGUI\outUserPassDetails(), ilTestServiceGUI\populateExamId(), ilTestPlayerAbstractGUI\prepareTestPage(), and ilTestSubmissionReviewGUI\show().
 Here is the caller graph for this function:
      
  | 
  static | 
| int | $active_id | |
| int | $pass | 
Definition at line 4939 of file class.ilObjTest.php.
Referenced by ILIAS\Test\ExportImport\ResultsExportExcel\addResultsHeader(), ilTestService\getPassOverviewData(), and isTestFinishedToViewResults().
 Here is the caller graph for this function:| ilObjTest::lookupQuestionSetTypeByActiveId | ( | int | $active_id | ) | 
Definition at line 5597 of file class.ilObjTest.php.
References $res.
Referenced by getQuestionCountAndPointsForPassOfParticipant().
 Here is the caller graph for this function:| ilObjTest::marksEditable | ( | ) | 
Definition at line 4016 of file class.ilObjTest.php.
References evalTotalPersons(), and getScoreSettings().
Referenced by ILIAS\Test\Scoring\Marks\MarkSchemaGUI\__construct().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::modifyExportIdentifier | ( | $a_tag, | |
| $a_param, | |||
| $a_value | |||
| ) | 
Returns the installation id for a given identifier.
private
Definition at line 3884 of file class.ilObjTest.php.
References ilUtil\insertInstIntoID().
 Here is the call graph for this function:| ilObjTest::moveQuestions | ( | array | $move_questions, | 
| int | $target_index, | ||
| int | $insert_mode | ||
| ) | 
| array<int> | $move_questions | |
| integer | $insert_mode | 0, if insert before the target position, 1 if insert after the target position | 
Definition at line 2727 of file class.ilObjTest.php.
References $questions, ilObject\getRefId(), ILIAS\Repository\logger(), saveQuestionsToDb(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilObjTest::onMarkSchemaSaved | ( | ) | 
Definition at line 4004 of file class.ilObjTest.php.
References participantDataExist(), recalculateScores(), and saveCompleteStatus().
 Here is the call graph for this function:| ilObjTest::participantDataExist | ( | ) | 
Definition at line 7175 of file class.ilObjTest.php.
References $participantDataExist, and evalTotalPersons().
Referenced by onMarkSchemaSaved().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::pcArrayShuffle | ( | $array | ) | 
Shuffles the values of a given array.
| array | $array | An array which should be shuffled public | 
Definition at line 1770 of file class.ilObjTest.php.
| 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 5548 of file class.ilObjTest.php.
References ilLegacyFormElementsUtil\prepareTextareaOutput().
 Here is the call graph for this function:| ilObjTest::processPrintoutput2FO | ( | $print_output | ) | 
Convert a print output to XSL-FO.
| string | $print_output | The print output | 
Definition at line 6072 of file class.ilObjTest.php.
References $params, and ILIAS\Repository\settings().
Referenced by deliverPDFfromHTML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::qtiMaterialToArray | ( | $a_material | ) | 
Reads an QTI material tag and creates a text string.
Definition at line 5466 of file class.ilObjTest.php.
References ilSession\get(), and ILIAS\Repository\logger().
Referenced by fromXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| 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 1312 of file class.ilObjTest.php.
References getTestId(), and loadQuestions().
 Here is the call graph for this function:| 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 1272 of file class.ilObjTest.php.
References $data, getTestId(), and loadQuestions().
 Here is the call graph for this function:| ilObjTest::read | ( | ) | 
Definition at line 256 of file class.ilObjTest.php.
References loadFromDb().
 Here is the call graph for this function:| ilObjTest::recalculateScores | ( | $preserve_manscoring = false | ) | 
Definition at line 7184 of file class.ilObjTest.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by onMarkSchemaSaved().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::reindexFixedQuestionOrdering | ( | ) | 
Definition at line 6684 of file class.ilObjTest.php.
References loadQuestions().
Referenced by removeQuestions(), and removeQuestionWithResults().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::removeQuestion | ( | int | $question_id | ) | 
Definition at line 1103 of file class.ilObjTest.php.
References Vendor\Package\$e, ilObject\getRefId(), ILIAS\Repository\logger(), and ILIAS\Repository\user().
Referenced by removeQuestions(), and removeQuestionWithResults().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::removeQuestionFromSequences | ( | int | $question_id, | 
| array | $active_ids, | ||
| ilTestReindexedSequencePositionMap | $reindexed_sequence_position_map | ||
| ) | 
| array<int> | $active_ids | 
Definition at line 1066 of file class.ilObjTest.php.
References $test_sequence.
Referenced by removeQuestionWithResults().
 Here is the caller graph for this function:| ilObjTest::removeQuestions | ( | array | $question_ids | ) | 
| array<int> | $question_ids | 
Definition at line 1094 of file class.ilObjTest.php.
References reindexFixedQuestionOrdering(), and removeQuestion().
 Here is the call graph for this function:| ilObjTest::removeQuestionsWithResults | ( | array | $question_ids | ) | 
Definition at line 1001 of file class.ilObjTest.php.
References ILIAS\Repository\lng(), removeQuestionWithResults(), and ILIAS\Repository\user().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 1016 of file class.ilObjTest.php.
References ilObject\$object_properties, ilLPStatusWrapper\_refreshStatus(), ilObject\getId(), ilObject\getObjectProperties(), ilObjectProperties\getPropertyIsOnline(), ilObject\getRefId(), getTestQuestions(), assQuestion\instantiateQuestion(), isRandomTest(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), reindexFixedQuestionOrdering(), ILIAS\Test\Scoring\Manual\TestScoring\removeAllQuestionResults(), removeQuestion(), removeQuestionFromSequences(), ilObjectProperties\storePropertyIsOnline(), ILIAS\Test\Scoring\Manual\TestScoring\updatePassAndTestResults(), and ILIAS\Repository\user().
Referenced by removeQuestionsWithResults().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::removeTestActives | ( | array | $active_ids | ) | 
| array<int> | $active_ids | 
Definition at line 1259 of file class.ilObjTest.php.
Referenced by removeTestResults(), removeTestResultsFromSoapLpAdministration(), and ilCourseObjectiveResult\resetTestForUser().
 Here is the caller graph for this function:| ilObjTest::removeTestResults | ( | ilTestParticipantData | $participant_data | ) | 
Definition at line 1160 of file class.ilObjTest.php.
References ilTestParticipantData\getActiveIds(), ilTestParticipantData\getAnonymousActiveIds(), ilObject\getId(), ilObjectLP\getInstance(), ilObject\getRefId(), getTestId(), ilTestParticipantData\getUserIdByActiveId(), ilTestParticipantData\getUserIds(), ILIAS\Repository\logger(), removeTestActives(), removeTestResultsByActiveIds(), and ILIAS\Repository\user().
Referenced by deleteTest().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 1226 of file class.ilObjTest.php.
References CLIENT_WEB_DIR, ilFileUtils\delDir(), ilAssQuestionHintTracking\deleteRequestsByActiveIds(), getTestId(), isRandomTest(), and PassPresentedVariablesRepo\TABLE_NAME.
Referenced by removeTestResults(), and removeTestResultsByUserIds().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::removeTestResultsByUserIds | ( | array | $user_ids | ) | 
Definition at line 1208 of file class.ilObjTest.php.
References getTestId(), ILIAS\Repository\lng(), and removeTestResultsByActiveIds().
Referenced by removeTestResultsFromSoapLpAdministration().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::removeTestResultsFromSoapLpAdministration | ( | array | $user_ids | ) | 
this method should only be used from non refactored soap context i think
| $userIds | 
Definition at line 1135 of file class.ilObjTest.php.
References ilObject\getRefId(), getTestId(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), removeTestActives(), removeTestResultsByUserIds(), and ILIAS\Repository\user().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 3330 of file class.ilObjTest.php.
References $text.
Referenced by addConcludingRemarksToSettingsFromImport(), and addIntroductionToSettingsFromImport().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 3317 of file class.ilObjTest.php.
References $text, ilObjMediaObject\_saveUsage(), and ilObject\getId().
Referenced by addConcludingRemarksToSettingsFromImport(), and addIntroductionToSettingsFromImport().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 3342 of file class.ilObjTest.php.
References $text, ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveTempFileAsMediaObject(), ilObjMediaObject\_saveUsage(), ilObject\getId(), and IL_INST_ID.
Referenced by addConcludingRemarksToSettingsFromImport(), and addIntroductionToSettingsFromImport().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::saveAuthorToMetadata | ( | $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 4042 of file class.ilObjTest.php.
References ilObject\getId(), ilObject\getType(), and ILIAS\Repository\user().
Referenced by doCreateMetaData(), and fromXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::saveCompleteStatus | ( | ilTestQuestionSetConfig | $test_question_set_config | ) | 
Definition at line 438 of file class.ilObjTest.php.
References getTestId(), and isComplete().
Referenced by insertQuestion(), and onMarkSchemaSaved().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::saveManualFeedback | ( | int | $active_id, | 
| int | $question_id, | ||
| int | $pass, | ||
| ?string | $feedback, | ||
| bool | $finalized = false  | 
        ||
| ) | 
Definition at line 6253 of file class.ilObjTest.php.
References insertManualFeedback().
 Here is the call graph for this function:| ilObjTest::saveQuestionsToDb | ( | ) | 
Definition at line 538 of file class.ilObjTest.php.
References getTestId().
Referenced by moveQuestions(), and saveToDb().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::saveToDb | ( | bool | $properties_only = false | ) | 
Definition at line 453 of file class.ilObjTest.php.
References evalTotalPersons(), getActivationEndingTime(), getActivationStartingTime(), getActivationVisibility(), ilObject\getId(), getMarkSchema(), getNrOfTries(), getQuestionSetType(), getTemplate(), getTestId(), isActivationLimited(), saveQuestionsToDb(), and storeActivationSettings().
Referenced by applyDefaults(), and fromXML().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 6572 of file class.ilObjTest.php.
Referenced by getAggregatedResultsData().
 Here is the caller graph for this function:| ilObjTest::sendAdvancedNotification | ( | int | $active_id | ) | 
Definition at line 6603 of file class.ilObjTest.php.
References $path, _getUserIdFromActiveId(), ANONYMOUS_USER_ID, ilObject\getOwner(), ilObject\getTitle(), and userLookupFullName().
 Here is the call graph for this function:| ilObjTest::sendSimpleNotification | ( | $active_id | ) | 
Definition at line 6595 of file class.ilObjTest.php.
References _getUserIdFromActiveId(), ilObject\getOwner(), ilObject\getTitle(), and userLookupFullName().
 Here is the call graph for this function:| ilObjTest::setAccessFilteredParticipantList | ( | ilTestParticipantList | $access_filtered_participant_list | ) | 
Definition at line 2461 of file class.ilObjTest.php.
References $access_filtered_participant_list.
| ilObjTest::setActivationEndingTime | ( | ?int | $ending_time = null | ) | 
Definition at line 7010 of file class.ilObjTest.php.
Referenced by fromXML(), and loadFromDb().
 Here is the caller graph for this function:| ilObjTest::setActivationLimited | ( | $a_value | ) | 
Definition at line 6812 of file class.ilObjTest.php.
Referenced by fromXML(), loadFromDb(), and storeActivationSettings().
 Here is the caller graph for this function:| ilObjTest::setActivationStartingTime | ( | ?int | $starting_time = null | ) | 
Definition at line 7005 of file class.ilObjTest.php.
Referenced by fromXML(), loadFromDb(), and storeActivationSettings().
 Here is the caller graph for this function:| ilObjTest::setActivationVisibility | ( | $a_value | ) | 
Definition at line 6797 of file class.ilObjTest.php.
Referenced by fromXML(), loadFromDb(), and storeActivationSettings().
 Here is the caller graph for this function:| ilObjTest::setQuestionOrder | ( | array | $order | ) | 
Definition at line 6694 of file class.ilObjTest.php.
References $id, ilObject\getRefId(), loadQuestions(), ILIAS\Repository\logger(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilObjTest::setQuestionSetSolved | ( | $value, | |
| $question_id, | |||
| $user_id | |||
| ) | 
sets question solved state to value for given user_id
Definition at line 4657 of file class.ilObjTest.php.
References $user_id, and getActiveIdOfUser().
 Here is the call graph for this function:| ilObjTest::setQuestionSetType | ( | string | $question_set_type | ) | 
Definition at line 7129 of file class.ilObjTest.php.
References getGeneralSettings(), and getMainSettings().
 Here is the call graph for this function:| ilObjTest::setTemplate | ( | int | $template_id | ) | 
| ilObjTest::setTestId | ( | $a_id | ) | 
Sets the test ID.
| integer | $a_id | Test ID | 
Definition at line 6349 of file class.ilObjTest.php.
Referenced by loadFromDb().
 Here is the caller graph for this function:| ilObjTest::setTmpCopyWizardCopyId | ( | int | $tmpCopyWizardCopyId | ) | 
| 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 2779 of file class.ilObjTest.php.
References getStartingTime(), and isStartingTimeEnabled().
Referenced by isExecutable().
 Here is the call graph for this function:
 Here is the caller graph for this function:| 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 1584 of file class.ilObjTest.php.
| ilObjTest::storeActivationSettings | ( | ?bool | $is_activation_limited = false,  | 
        
| ?int | $activation_starting_time = null,  | 
        ||
| ?int | $activation_ending_time = null,  | 
        ||
| bool | $activation_visibility = false  | 
        ||
| ) | 
Definition at line 6817 of file class.ilObjTest.php.
References setActivationLimited(), setActivationStartingTime(), setActivationVisibility(), ilObjectActivation\TIMINGS_ACTIVATION, and ilObjectActivation\TIMINGS_DEACTIVATED.
Referenced by applyDefaults(), and saveToDb().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilObjTest::storeMarkSchema | ( | MarkSchema | $mark_schema | ) | 
Definition at line 844 of file class.ilObjTest.php.
| ilObjTest::toXML | ( | ) | 
Returns a QTI xml representation of the test.
Definition at line 3367 of file class.ilObjTest.php.
References $data, ilRTE\_replaceMediaObjectImageSrc(), addQTIMaterial(), buildIso8601PeriodForExportCompatibility(), ILIAS\Test\Settings\MainSettings\MainSettings\getAccessSettings(), getActivationEndingTime(), getActivationStartingTime(), getActivationVisibility(), ILIAS\Test\Settings\MainSettings\MainSettings\getAdditionalSettings(), getAuthor(), getCountSystem(), ilObject\getDescription(), getEndingTime(), getExportSettings(), getFinalStatement(), ILIAS\Test\Settings\MainSettings\MainSettings\getFinishingSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getGeneralSettings(), getHighscoreAchievedTS(), getHighscoreAnon(), getHighscoreEnabled(), getHighscoreHints(), getHighscoreOwnTable(), getHighscorePercentage(), getHighscoreScore(), getHighscoreTopNum(), getHighscoreTopTable(), getHighscoreWTime(), getInstantFeedbackSolution(), getIntroduction(), ILIAS\Test\Settings\MainSettings\MainSettings\getIntroductionSettings(), getMainSettings(), getMarkSchema(), ILIAS\Test\Settings\MainSettings\MainSettings\getParticipantFunctionalitySettings(), getPassScoring(), getProcessingTimeForXML(), ILIAS\Test\Settings\MainSettings\MainSettings\getQuestionBehaviourSettings(), getScoreCutting(), getScoreSettings(), getStartingTime(), ILIAS\Test\Settings\MainSettings\MainSettings\getTestBehaviourSettings(), getTestId(), ilObject\getTitle(), IL_INST_ID, ILIAS_VERSION, isActivationLimited(), isPassDeletionAllowed(), isShowGradingMarkEnabled(), and isShowGradingStatusEnabled().
 Here is the call graph for this function:| ilObjTest::update | ( | ) | 
Definition at line 245 of file class.ilObjTest.php.
References ilObject\updateMetaData().
 Here is the call graph for this function:| ilObjTest::updateTestPassResults | ( | int | $active_id, | 
| int | $pass, | ||
| ilAssQuestionProcessLocker | $process_locker = null,  | 
        ||
| int | $test_obj_id = null  | 
        ||
| ) | 
Definition at line 7539 of file class.ilObjTest.php.
References $data, buildExamId(), getQuestionCountAndPointsForPassOfParticipant(), getWorkingTimeOfParticipantForPass(), and updateTestResultCache().
 Here is the call graph for this function:| ilObjTest::updateTestResultCache | ( | int | $active_id, | 
| ilAssQuestionProcessLocker | $process_locker = null  | 
        ||
| ) | 
Definition at line 7444 of file class.ilObjTest.php.
References $res, _getResultPass(), getMarkSchema(), and ILIAS\Repository\int().
Referenced by getResultsForActiveId(), and updateTestPassResults().
 Here is the call graph for this function:
 Here is the caller graph for this function:| 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 1601 of file class.ilObjTest.php.
| 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 5626 of file class.ilObjTest.php.
References $user_id, ilObjUser\_lookupName(), getAnonymity(), and ILIAS\Repository\lng().
Referenced by sendAdvancedNotification(), and sendSimpleNotification().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 146 of file class.ilObjTest.php.
Referenced by getAccessFilteredParticipantList(), and setAccessFilteredParticipantList().
      
  | 
  protected | 
Definition at line 112 of file class.ilObjTest.php.
Referenced by getActivationEndingTime().
      
  | 
  private | 
Definition at line 78 of file class.ilObjTest.php.
Referenced by isActivationLimited().
      
  | 
  protected | 
Definition at line 111 of file class.ilObjTest.php.
Referenced by getActivationStartingTime().
      
  | 
  protected | 
Definition at line 110 of file class.ilObjTest.php.
Referenced by getActivationVisibility().
| string ilObjTest::$author | 
Definition at line 88 of file class.ilObjTest.php.
      
  | 
  protected | 
Definition at line 127 of file class.ilObjTest.php.
      
  | 
  private | 
Definition at line 143 of file class.ilObjTest.php.
      
  | 
  private | 
Definition at line 142 of file class.ilObjTest.php.
      
  | 
  protected | 
Definition at line 124 of file class.ilObjTest.php.
| ilObjTest::$evaluation_data | 
Contains the evaluation data settings the tutor defines for the user.
Definition at line 99 of file class.ilObjTest.php.
      
  | 
  protected | 
Definition at line 140 of file class.ilObjTest.php.
      
  | 
  private | 
Definition at line 80 of file class.ilObjTest.php.
      
  | 
  private | 
Definition at line 144 of file class.ilObjTest.php.
      
  | 
  protected | 
Definition at line 130 of file class.ilObjTest.php.
| int ilObjTest::$invitation = self::INVITATION_OFF | 
Definition at line 87 of file class.ilObjTest.php.
      
  | 
  staticprivate | 
Definition at line 7244 of file class.ilObjTest.php.
      
  | 
  protected | 
Definition at line 149 of file class.ilObjTest.php.
      
  | 
  protected | 
Definition at line 137 of file class.ilObjTest.php.
Referenced by getTestLogViewer().
      
  | 
  protected | 
Definition at line 136 of file class.ilObjTest.php.
Referenced by getTestLogger().
      
  | 
  protected | 
Definition at line 131 of file class.ilObjTest.php.
Referenced by fromXML(), and getMainSettings().
      
  | 
  protected | 
Definition at line 132 of file class.ilObjTest.php.
Referenced by getMainSettingsRepository().
      
  | 
  private | 
Definition at line 85 of file class.ilObjTest.php.
Referenced by getMarkSchema().
      
  | 
  private | 
Definition at line 84 of file class.ilObjTest.php.
| ilObjTest::$metadata | 
A reference to an IMS compatible matadata set.
Definition at line 93 of file class.ilObjTest.php.
Referenced by fromXML().
      
  | 
  private | 
Definition at line 79 of file class.ilObjTest.php.
      
  | 
  private | 
Definition at line 81 of file class.ilObjTest.php.
Referenced by isOnline().
      
  | 
  protected | 
Definition at line 128 of file class.ilObjTest.php.
      
  | 
  protected | 
Definition at line 147 of file class.ilObjTest.php.
      
  | 
  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 119 of file class.ilObjTest.php.
Referenced by participantDataExist().
      
  | 
  protected | 
Definition at line 108 of file class.ilObjTest.php.
      
  | 
  protected | 
Definition at line 138 of file class.ilObjTest.php.
      
  | 
  protected | 
Definition at line 82 of file class.ilObjTest.php.
Referenced by getGeneralQuestionPropertiesRepository().
| array ilObjTest::$questions = [] | 
Definition at line 94 of file class.ilObjTest.php.
Referenced by getQuestions(), getTestQuestions(), and moveQuestions().
      
  | 
  protected | 
Definition at line 125 of file class.ilObjTest.php.
      
  | 
  protected | 
Definition at line 133 of file class.ilObjTest.php.
Referenced by fromXML(), and getScoreSettings().
      
  | 
  protected | 
Definition at line 134 of file class.ilObjTest.php.
Referenced by getScoreSettingsRepository().
      
  | 
  protected | 
Definition at line 126 of file class.ilObjTest.php.
      
  | 
  private | 
Definition at line 106 of file class.ilObjTest.php.
Referenced by getTemplate(), and setTemplate().
| int ilObjTest::$test_id = -1 | 
Definition at line 86 of file class.ilObjTest.php.
Referenced by _getTestIDFromObjectID(), and getTestId().
      
  | 
  private | 
Definition at line 123 of file class.ilObjTest.php.
| ilObjTest::$test_sequence = false | 
contains the test sequence data
Definition at line 104 of file class.ilObjTest.php.
Referenced by getTestResult(), isParticipantsLastPassActive(), and removeQuestionFromSequences().
      
  | 
  private | 
Definition at line 83 of file class.ilObjTest.php.
      
  | 
  private | 
Definition at line 121 of file class.ilObjTest.php.
Referenced by getTmpCopyWizardCopyId(), and setTmpCopyWizardCopyId().
| const ilObjTest::INVITATION_OFF = 0 | 
Definition at line 69 of file class.ilObjTest.php.
| const ilObjTest::INVITATION_ON = 1 | 
Definition at line 70 of file class.ilObjTest.php.
| const ilObjTest::QUESTION_SET_TYPE_FIXED = 'FIXED_QUEST_SET' | 
Definition at line 67 of file class.ilObjTest.php.
Referenced by ilObjTestGUI\applyDefaultsObject(), ilObjTestGUI\executeAfterQuestionCreationTasks(), ilLOTestAssignmentTableGUI\fillRow(), SettingsGeneralTest\getAndWithQuestionSetTypeDataProvider(), getQuestionCountAndPointsForPassOfParticipant(), getQuestionSetTypeTranslation(), ilQTIParser\handlerVerifyEndTag(), ilObjTestGUI\importFile(), ilLOTestAssignmentForm\initForm(), ilLOTestAssignmentTableGUI\parse(), ILIAS\Test\Settings\MainSettings\SettingsMainGUI\populateConfirmationModal(), and ILIAS\Test\Settings\MainSettings\SettingsGeneral\toForm().
| const ilObjTest::QUESTION_SET_TYPE_RANDOM = 'RANDOM_QUEST_SET' | 
Definition at line 68 of file class.ilObjTest.php.
Referenced by ilObjTestGUI\applyDefaultsObject(), ilLOTestAssignmentTableGUI\fillRow(), SettingsGeneralTest\getAndWithQuestionSetTypeDataProvider(), getQuestionCountAndPointsForPassOfParticipant(), getQuestionSetTypeTranslation(), ilQTIParser\handlerVerifyEndTag(), ilLOTestAssignmentForm\initForm(), and ILIAS\Test\Settings\MainSettings\SettingsGeneral\toForm().
| const ilObjTest::REDIRECT_ALWAYS = 1 | 
Definition at line 75 of file class.ilObjTest.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsFinishing\getRedirectionInputs().
| const ilObjTest::REDIRECT_KIOSK = 2 | 
Definition at line 76 of file class.ilObjTest.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsFinishing\getRedirectionInputs().
| const ilObjTest::REDIRECT_NONE = 0 | 
Definition at line 74 of file class.ilObjTest.php.
Referenced by ilTestPlayerAbstractGUI\afterTestPassFinishedCmd(), and ILIAS\Test\Settings\MainSettings\SettingsFinishing\getRedirectionInputs().
| const ilObjTest::SCORE_BEST_PASS = 1 | 
Definition at line 72 of file class.ilObjTest.php.
Referenced by ILIAS\Test\ExportImport\ResultsExportExcel\addResultsHeader(), ilLPStatusTestPassed\determineStatus(), and ilObjTestGUI\forwardToInfoScreen().
| const ilObjTest::SCORE_LAST_PASS = 0 | 
Definition at line 71 of file class.ilObjTest.php.
Referenced by ilLPStatusTestPassed\determineStatus(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantGUI\fetchPassParameter(), and ilTestServiceGUI\isGradingMessageRequired().