|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 () | |
| note: title, description and type should be set when this function is called More... | |
| update () | |
| read () | |
| 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... | |
| 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 () | |
| getProcessingTime () | |
| getProcessingTimeInSeconds (int $active_id=0) | |
| getEnableProcessingTime () | |
| getResetProcessingTime () | |
| isStartingTimeEnabled () | |
| getStartingTime () | |
| isEndingTimeEnabled () | |
| getEndingTime () | |
| 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 $attempt=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) | |
| @depracated 11, will be removed in 12, use TestResultManager::fetchWorkingTime instead More... | |
| evalStatistical ($active_id) | |
| Returns the statistical evaluation of the test for a specified user. More... | |
| getTotalPointsPassedArray () | |
| Returns an array with the total points of all users who passed the test This array could be used for statistics. More... | |
| getParticipants () | |
| Returns all persons who started the test. More... | |
| evalTotalPersonsArray (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 () | |
| getAnonOnlyParticipantIds () | |
| return int[] More... | |
| 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... | |
| 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... | |
| 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... | |
| getExportSettings () | |
| setTemplate (int $template_id) | |
| getTemplate () | |
| reindexFixedQuestionOrdering () | |
| setQuestionOrder (array $order) | |
| hasQuestionsWithoutQuestionpool () | |
| getQuestions () | |
| isOnline () | |
| 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... | |
| 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 () | |
| 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 () | |
| 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, int $new_obj_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 (int $active_id) |
| static | _getPassScoring (int $active_id) |
| static | _getScoreCutting (int $active_id) |
| 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 | 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 |
| 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 () | |
| @inheritDoc More... | |
| 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, array $mappings) | |
| addConcludingRemarksToSettingsFromImport (SettingsFinishing $settings, array $material, array $mappings) | |
| replaceMobsInPageImports (string $text, array $mappings) | |
| replaceFilesInPageImports (string $text, array $mappings) | |
| 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) | |
Static Private Member Functions | |
| static | _getScoreSettingsByActiveId (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 407 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 1669 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 3882 of file class.ilObjTest.php.
References $DIC, $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 4627 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 1930 of file class.ilObjTest.php.
|
static |
Definition at line 764 of file class.ilObjTest.php.
References _getScoreSettingsByActiveId().
Referenced by assQuestion\adjustReachedPointsByScoringOptions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::_getLastAccess | ( | int | $active_id | ) |
Definition at line 5177 of file class.ilObjTest.php.
|
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 4604 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 4067 of file class.ilObjTest.php.
Referenced by _getScoreSettingsByActiveId().
Here is the caller graph for this function:
|
static |
Returns the ILIAS test object id for a given test id.
| integer | $test_id | The test id |
Definition at line 4043 of file class.ilObjTest.php.
Referenced by ilSoapTestAdministration\getTestUserData().
Here is the caller graph for this function:
|
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 4578 of file class.ilObjTest.php.
Referenced by ilTestService\getPassOverviewData(), assFormulaQuestionGUI\getTestOutput(), loadQuestions(), assQuestion\persistWorkingState(), ilTestPlayerAbstractGUI\populateInstantResponseBlocks(), ilTestPlayerAbstractGUI\save(), assClozeTest\saveWorkingData(), assErrorText\saveWorkingData(), assFileUpload\saveWorkingData(), assFormulaQuestion\saveWorkingData(), assKprimChoice\saveWorkingData(), assLongMenu\saveWorkingData(), assMatchingQuestion\saveWorkingData(), assNumeric\saveWorkingData(), assSingleChoice\saveWorkingData(), assTextQuestion\saveWorkingData(), and assTextSubset\saveWorkingData().
Here is the caller graph for this function:
|
static |
Definition at line 788 of file class.ilObjTest.php.
References _getScoreSettingsByActiveId().
Referenced by _getResultPass().
Here is the call graph for this function:
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 4672 of file class.ilObjTest.php.
References _getBestPass(), _getMaxPass(), and _getPassScoring().
Referenced by ILIAS\Test\Questions\Presentation\Printer\addQuestionResultForTestUsersToTemplate(), evalStatistical(), ILIAS\Test\Scoring\Manual\PositionsFactory\get(), getAllTestResults(), getDetailedTestResults(), ilTestEvaluationGUI\outUserListOfAnswerPasses(), ilTestEvaluationGUI\performDeletePass(), ilTestEvaluationGUI\printResults(), and ilTestEvaluationGUI\showResults().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 796 of file class.ilObjTest.php.
References _getScoreSettingsByActiveId().
Referenced by assQuestion\adjustReachedPointsByScoringOptions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Definition at line 754 of file class.ilObjTest.php.
References _getObjectIDFromActiveID(), and _getTestIDFromObjectID().
Referenced by _getCountSystem(), _getPassScoring(), and _getScoreCutting().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
get solved questions
Definition at line 4402 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 4091 of file class.ilObjTest.php.
Referenced by _getScoreSettingsByActiveId(), _lookupRandomTest(), ilLOUtils\getTestResultLinkForUser(), and ilTestAccess\isParticipantAllowed().
Here is the caller graph for this function:
|
static |
Definition at line 5160 of file class.ilObjTest.php.
Referenced by 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 2596 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 |
Gets the authors name of the ilObjTest object.
Definition at line 3863 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 5996 of file class.ilObjTest.php.
|
static |
Definition at line 6630 of file class.ilObjTest.php.
References _getTestIDFromObjectID().
Referenced by ilCourseObjectivesGUI\isRandomTestType(), ilLOSettings\isRandomTestType(), and ilLOUtils\lookupRandomTest().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get test Object ID for question ID.
Definition at line 5740 of file class.ilObjTest.php.
Referenced by ilSoapTestAdministration\getQuestionSolution().
Here is the caller graph for this function:
|
private |
Definition at line 3119 of file class.ilObjTest.php.
|
private |
Definition at line 3096 of file class.ilObjTest.php.
| ilObjTest::addQTIMaterial | ( | ilXmlWriter & | $xml_writer, |
| ?int | $page_id, | ||
| string | $material = '' |
||
| ) |
Definition at line 5270 of file class.ilObjTest.php.
References ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilPCFileList\collectFileItems(), ILIAS\Survey\Mode\getId(), IL_INST_ID, ILIAS\Repository\int(), ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Here is the call graph for this function:| ilObjTest::addToNewsOnOnline | ( | bool | $old_online_status, |
| bool | $new_online_status | ||
| ) |
Definition at line 6595 of file class.ilObjTest.php.
References ILIAS\Survey\Mode\getId(), NEWS_NOTICE, NEWS_USERS, and ILIAS\Repository\user().
Here is the call graph for this function:| ilObjTest::adjustTestSequence | ( | ) |
Definition at line 6464 of file class.ilObjTest.php.
|
protected |
Definition at line 3597 of file class.ilObjTest.php.
|
static |
Definition at line 6252 of file class.ilObjTest.php.
References $DIC, and $ilSetting.
Referenced by ILIAS\Test\Results\Data\Repository\buildTestAttemptResultObject(), ilTestPlayerAbstractGUI\getTestPlayerTitle(), and ILIAS\Test\Scoring\Manual\ConsecutiveScoringGUI\getUserRepresentation().
Here is the caller graph for this function:
|
protected |
Definition at line 3592 of file class.ilObjTest.php.
| 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 2443 of file class.ilObjTest.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::buildStatisticsAccessFilteredParticipantList | ( | ) |
Definition at line 2333 of file class.ilObjTest.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilObjTest::canShowSolutionPrintview | ( | $user_id = null | ) |
Definition at line 5106 of file class.ilObjTest.php.
| ilObjTest::canShowTestResults | ( | ilTestSession | $test_session | ) |
Definition at line 4849 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 4987 of file class.ilObjTest.php.
|
private |
Definition at line 695 of file class.ilObjTest.php.
References clonePage(), and getMainSettings().
Here is the call graph for this function:
|
private |
Definition at line 678 of file class.ilObjTest.php.
References clonePage(), and getMainSettings().
Here is the call graph for this function:| ilObjTest::cloneObject | ( | int | $target_id, |
| int | $copy_id = 0, |
||
| bool | $omit_tree = false |
||
| ) |
Clone object.
@access public
| int | ref id of parent container |
| int | copy id |
Definition at line 3918 of file class.ilObjTest.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
private |
Definition at line 704 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 5386 of file class.ilObjTest.php.
| ilObjTest::copyQuestions | ( | array | $question_ids | ) |
| array<int> | $question_ids |
Definition at line 566 of file class.ilObjTest.php.
References $id, ilObject\$title, ilObject\getId(), getQuestionTitles(), and insertQuestion().
Here is the call graph for this function:| ilObjTest::create | ( | ) |
note: title, description and type should be set when this function is called
Reimplemented from ilObject.
Definition at line 240 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 349 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 2570 of file class.ilObjTest.php.
Referenced by ILIAS\Test\Results\Data\Factory\buildAttemptResults().
Here is the caller graph for this function:| & ilObjTest::createTestSequence | ( | $active_id, | |
| $pass, | |||
| $shuffle | |||
| ) |
Definition at line 5670 of file class.ilObjTest.php.
| ilObjTest::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!!
Reimplemented from ilObject.
Definition at line 267 of file class.ilObjTest.php.
References ilObject\deleteMetaData(), deleteTest(), ilObject\getId(), ILIAS\Repository\logger(), and ILIAS\Test\Logging\TEST_DELETED.
Here is the call graph for this function:| ilObjTest::deleteTest | ( | ) |
Definition at line 301 of file class.ilObjTest.php.
References ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilFileUtils\delDir(), ilFileUtils\getDataDir(), ilObject\getId(), getMainSettings(), 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 @access public |
@noinspection PhpUndefinedFieldInspection
Definition at line 5481 of file class.ilObjTest.php.
References Vendor\Package\$e, $filename, ilUtil\deliverData(), ilRpcClientFactory\factory(), ilFileUtils\getASCIIFilename(), ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), ilFileUtils\ilTempnam(), and ILIAS\Repository\logger().
Here is the call graph for this function:| ilObjTest::deliverPDFfromHTML | ( | $content, | |
$title = null |
|||
| ) |
Delivers a PDF file from XHTML.
| string | $html | The XHTML string @access public |
Definition at line 5445 of file class.ilObjTest.php.
References ilUtil\getStyleSheetLocation(), ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), ilLegacyFormElementsUtil\prepareFormOutput(), and true.
Here is the call graph for this function:
|
protected |
@inheritDoc
Reimplemented from ilObject.
Definition at line 3835 of file class.ilObjTest.php.
| 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 1280 of file class.ilObjTest.php.
References _instanciateQuestion(), and ILIAS\Survey\Mode\getId().
Here is the call 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 2679 of file class.ilObjTest.php.
| ilObjTest::evalStatistical | ( | $active_id | ) |
Returns the statistical evaluation of the test for a specified user.
Definition at line 2015 of file class.ilObjTest.php.
References _getResultPass().
Here is the call graph for this function:| ilObjTest::evalTotalParticipantsArray | ( | string | $name_sort_order = 'asc' | ) |
Definition at line 2222 of file class.ilObjTest.php.
References ANONYMOUS_USER_ID, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::evalTotalPersons | ( | ) |
Returns the number of persons who started the test.
Definition at line 1863 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::evalTotalPersonsArray | ( | string | $name_sort_order = 'asc' | ) |
Definition at line 2192 of file class.ilObjTest.php.
References ANONYMOUS_USER_ID, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::evalTotalStartedAverageTime | ( | ?array | $active_ids_to_filter = null | ) |
Definition at line 2464 of file class.ilObjTest.php.
References $counter.
| ilObjTest::exportFileItems | ( | $target_dir, | |
| & | $expLog | ||
| ) |
export files of file itmes
Definition at line 3747 of file class.ilObjTest.php.
References IL_INST_ID, and ilFileUtils\makeDir().
Here is the call 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 3625 of file class.ilObjTest.php.
| ilObjTest::exportXMLMediaObjects | ( | & | $a_xml_writer, |
| $a_inst, | |||
| $a_target_dir, | |||
| & | $expLog | ||
| ) |
export media objects to xml (see ilias_co.dtd)
Definition at line 3723 of file class.ilObjTest.php.
References ilObjMediaObject\_exists(), ilFileUtils\createDirectory(), and IL_INST_ID.
Here is the call 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 3672 of file class.ilObjTest.php.
References ilPCFileList\collectFileItems().
Here is the call 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 2775 of file class.ilObjTest.php.
References $objectives, 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(), 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(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getScoringSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getTestBehaviourSettings(), ilQTIAssessment\getTitle(), 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 2323 of file class.ilObjTest.php.
| 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 1628 of file class.ilObjTest.php.
References $user_id, ANONYMOUS_USER_ID, ilSession\get(), and ILIAS\Repository\user().
Referenced by loadQuestions(), and ilCourseObjectiveResult\resetTestForUser().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getActiveParticipantList | ( | ) |
Definition at line 4162 of file class.ilObjTest.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilObjTest::getAggregatedResultsData | ( | ) |
Definition at line 5817 of file class.ilObjTest.php.
References $data, $results, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::getAllQuestions | ( | $pass = null | ) |
Returns all questions of a test in test order.
Definition at line 1588 of file class.ilObjTest.php.
References 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 4502 of file class.ilObjTest.php.
References $results, _getResultPass(), _instanciateQuestion(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::getAnonOnlyParticipantIds | ( | ) |
return int[]
Definition at line 2346 of file class.ilObjTest.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilObjTest::getAnonymity | ( | ) |
Definition at line 5332 of file class.ilObjTest.php.
| 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 4692 of file class.ilObjTest.php.
| ilObjTest::getAnswerFeedbackPoints | ( | ) |
Definition at line 731 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 3847 of file class.ilObjTest.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilObjTest::getAutosave | ( | ) |
Definition at line 6162 of file class.ilObjTest.php.
Referenced by ILIAS\Test\Results\Data\Factory\buildAttemptResults().
Here is the caller 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 2517 of file class.ilObjTest.php.
| ilObjTest::getAvailableQuestions | ( | $arr_filter, | |
$completeonly = 0 |
|||
| ) |
Calculates the available questions for a test.
@access public
Definition at line 2695 of file class.ilObjTest.php.
References XapiProxy\$plugin, ilObjQuestionPool\_getAvailableQuestionpools(), ilAssQuestionType\completeMissingPluginName(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::getCompleteEvaluationData | ( | $filterby = '', |
|
$filtertext = '' |
|||
| ) |
Definition at line 2425 of file class.ilObjTest.php.
References $data.
Referenced by ILIAS\Test\Results\Data\Factory\retrieveResultData().
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 5559 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 1880 of file class.ilObjTest.php.
References $user_id.
| ilObjTest::getCompleteWorkingTimeOfParticipant | ( | $active_id | ) |
Returns the complete working time in seconds for a test participant.
Definition at line 1972 of file class.ilObjTest.php.
| & ilObjTest::getCompleteWorkingTimeOfParticipants | ( | ) |
Returns the complete working time in seconds for all test participants.
Definition at line 1918 of file class.ilObjTest.php.
| ilObjTest::getConcludingRemarksPageId | ( | ) |
Definition at line 6045 of file class.ilObjTest.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilObjTest::getCountSystem | ( | ) |
Definition at line 746 of file class.ilObjTest.php.
References getScoreSettings().
Here is the call graph for this function:| ilObjTest::getDetailedTestResults | ( | $participants | ) |
returns all test results for all participants
| array | $partipants | array of user ids |
Definition at line 5692 of file class.ilObjTest.php.
References $results, _getResultPass(), _instanciateQuestion(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::getEnableExamview | ( | ) |
Definition at line 6172 of file class.ilObjTest.php.
| ilObjTest::getEnableProcessingTime | ( | ) |
Definition at line 889 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getEndingTime | ( | ) |
Definition at line 915 of file class.ilObjTest.php.
References getMainSettings().
Here is the call 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 1453 of file class.ilObjTest.php.
References $data, and ILIAS\Repository\user().
Here is the call graph for this function:| ilObjTest::getExportDirectory | ( | ) |
Definition at line 372 of file class.ilObjTest.php.
References ilFileUtils\getDataDir(), and ilObject\getId().
Here is the call graph for this function:| ilObjTest::getExportSettings | ( | ) |
Definition at line 5904 of file class.ilObjTest.php.
|
private |
Definition at line 6211 of file class.ilObjTest.php.
Referenced by getProcessingTimeInSeconds().
Here is the caller graph for this function:| ilObjTest::getFinalStatement | ( | ) |
Definition at line 687 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getFixedParticipants | ( | ) |
Definition at line 5347 of file class.ilObjTest.php.
| ilObjTest::getFixedQuestionSetTotalPoints | ( | ) |
Definition at line 4998 of file class.ilObjTest.php.
| ilObjTest::getGeneralQuestionPropertiesRepository | ( | ) |
Definition at line 6557 of file class.ilObjTest.php.
| ilObjTest::getGenericAnswerFeedback | ( | ) |
Definition at line 736 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getGlobalSettings | ( | ) |
Definition at line 6562 of file class.ilObjTest.php.
| ilObjTest::getGroupData | ( | $ids | ) |
Definition at line 4352 of file class.ilObjTest.php.
References $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 6098 of file class.ilObjTest.php.
| 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 6077 of file class.ilObjTest.php.
| ilObjTest::getHighscoreEnabled | ( | ) |
Definition at line 6063 of file class.ilObjTest.php.
| ilObjTest::getHighscoreMode | ( | ) |
Definition at line 6152 of file class.ilObjTest.php.
| ilObjTest::getHighscoreOwnTable | ( | ) |
Gets if the own rankings table should be shown.
Definition at line 6130 of file class.ilObjTest.php.
| ilObjTest::getHighscorePercentage | ( | ) |
Gets if the percentage column should be shown.
Definition at line 6114 of file class.ilObjTest.php.
| ilObjTest::getHighscoreScore | ( | ) |
Gets if the score column should be shown.
Definition at line 6106 of file class.ilObjTest.php.
| ilObjTest::getHighscoreTopNum | ( | int | $a_retval = 10 | ) |
Gets the number of entries which are to be shown in the top-rankings table.
Definition at line 6147 of file class.ilObjTest.php.
Referenced by ILIAS\Test\Results\Toplist\TestTopListRepository\getGeneralToplist(), ILIAS\Test\Results\Toplist\TestTopListRepository\getUserToplistByPercentage(), and ILIAS\Test\Results\Toplist\TestTopListRepository\getUserToplistByWorkingtime().
Here is the caller graph for this function:| ilObjTest::getHighscoreTopTable | ( | ) |
Gets, if the top-rankings table should be shown.
Definition at line 6138 of file class.ilObjTest.php.
| ilObjTest::getHighscoreWTime | ( | ) |
Gets if the column with the workingtime should be shown.
Definition at line 6122 of file class.ilObjTest.php.
|
protected |
Definition at line 6552 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.
@access public
Definition at line 2541 of file class.ilObjTest.php.
References CLIENT_WEB_DIR, and ILIAS\Survey\Mode\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.
@access public
Definition at line 2552 of file class.ilObjTest.php.
References CLIENT_WEB_DIR, ILIAS\Survey\Mode\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 3769 of file class.ilObjTest.php.
| ilObjTest::getInstantFeedbackSolution | ( | ) |
Definition at line 741 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getIntroduction | ( | ) |
Definition at line 670 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getIntroductionPageId | ( | ) |
Definition at line 6027 of file class.ilObjTest.php.
References ILIAS\Survey\Mode\getId().
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 4176 of file class.ilObjTest.php.
References $user_id, 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 5665 of file class.ilObjTest.php.
| ilObjTest::getKioskMode | ( | ) |
Definition at line 826 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getListOfQuestions | ( | ) |
Definition at line 5063 of file class.ilObjTest.php.
| ilObjTest::getListOfQuestionsDescription | ( | ) |
Definition at line 5083 of file class.ilObjTest.php.
| ilObjTest::getListOfQuestionsEnd | ( | ) |
Definition at line 5078 of file class.ilObjTest.php.
| 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 5058 of file class.ilObjTest.php.
| ilObjTest::getListOfQuestionsStart | ( | ) |
Definition at line 5073 of file class.ilObjTest.php.
| ilObjTest::getLocalDIC | ( | ) |
Definition at line 202 of file class.ilObjTest.php.
| ilObjTest::getMainSettings | ( | ) |
Definition at line 6567 of file class.ilObjTest.php.
Referenced by cloneConcludingRemarks(), cloneIntroduction(), deleteTest(), getAnswerFeedbackPoints(), getEnableProcessingTime(), getEndingTime(), getFinalStatement(), getGenericAnswerFeedback(), getInstantFeedbackSolution(), getIntroduction(), getKioskMode(), getNrOfTries(), getPassword(), getProcessingTime(), getProcessingTimeForXML(), getProcessingTimeInSeconds(), getResetProcessingTime(), getShowKioskModeParticipant(), getShowKioskModeTitle(), getStartingTime(), getTitleOutput(), getUsePreviousAnswers(), isBlockPassesAfterPassedEnabled(), isEndingTimeEnabled(), isPasswordEnabled(), isPostponingEnabled(), and isStartingTimeEnabled().
Here is the caller graph for this function:| ilObjTest::getMainSettingsRepository | ( | ) |
Definition at line 6576 of file class.ilObjTest.php.
Referenced by saveToDb().
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 5513 of file class.ilObjTest.php.
References ilTestService\isManScoringDone().
Referenced by assQuestionGUI\getGenericFeedbackOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getMarkSchema | ( | ) |
Definition at line 801 of file class.ilObjTest.php.
References $mark_schema, and getTestId().
Referenced by ILIAS\Test\Scoring\Marks\MarkSchemaGUI\__construct(), isComplete(), and saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getMaxPassOfTest | ( | ) |
Definition at line 6221 of file class.ilObjTest.php.
| ilObjTest::getNrOfResultsForPass | ( | $active_id, | |
| $pass | |||
| ) |
Calculates the number of user results for a specific test pass.
Definition at line 602 of file class.ilObjTest.php.
| ilObjTest::getNrOfTries | ( | ) |
Definition at line 816 of file class.ilObjTest.php.
References getMainSettings().
Referenced by 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 2155 of file class.ilObjTest.php.
References ANONYMOUS_USER_ID, 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.
@noinspection PhpAssignmentInConditionInspection
Definition at line 5785 of file class.ilObjTest.php.
| ilObjTest::getPassScoring | ( | ) |
Gets the pass scoring type.
Definition at line 780 of file class.ilObjTest.php.
References getScoreSettings().
Here is the call graph for this function:| ilObjTest::getPassword | ( | ) |
Definition at line 926 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getPotentialRandomTestQuestions | ( | ) |
Definition at line 5012 of file class.ilObjTest.php.
| ilObjTest::getProcessingTime | ( | ) |
Definition at line 855 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:
|
private |
Definition at line 860 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getProcessingTimeInSeconds | ( | int | $active_id = 0 | ) |
Definition at line 878 of file class.ilObjTest.php.
References getExtraTime(), and getMainSettings().
Here is the call graph for this function:| ilObjTest::getQuestionCount | ( | ) |
Definition at line 3988 of file class.ilObjTest.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\logger().
Here is the call graph for this function:| ilObjTest::getQuestionCountAndPointsForPassOfParticipant | ( | int | $active_id, |
| int | $pass | ||
| ) |
Definition at line 2364 of file class.ilObjTest.php.
References $res, QUESTION_SET_TYPE_FIXED, and QUESTION_SET_TYPE_RANDOM.
| ilObjTest::getQuestionCountWithoutReloading | ( | ) |
Definition at line 4028 of file class.ilObjTest.php.
| ilObjTest::getQuestionDataset | ( | $question_id | ) |
Returns the dataset for a given question id.
| integer | $question_id | The database id of the question |
Definition at line 1436 of file class.ilObjTest.php.
Referenced by ilTestArchiver\handInParticipantUploadedResults().
Here is the caller graph for this function:| ilObjTest::getQuestions | ( | ) |
Definition at line 6017 of file class.ilObjTest.php.
| ilObjTest::getQuestionSetConfig | ( | ) |
Definition at line 217 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 6289 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getQuestionSetTypeTranslation | ( | ilLanguage | $lng, |
| $questionSetType | |||
| ) |
Definition at line 6314 of file class.ilObjTest.php.
References $lng, QUESTION_SET_TYPE_FIXED, and QUESTION_SET_TYPE_RANDOM.
| ilObjTest::getQuestionsOfPass | ( | int | $active_id, |
| int | $pass | ||
| ) |
Definition at line 2289 of file class.ilObjTest.php.
| ilObjTest::getQuestionsOfTest | ( | int | $active_id | ) |
Definition at line 2256 of file class.ilObjTest.php.
| ilObjTest::getQuestiontext | ( | $question_id | ) |
Returns the question text for a given question.
| integer | $question_id | The question id |
Definition at line 4145 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 1394 of file class.ilObjTest.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 1340 of file class.ilObjTest.php.
Referenced by copyQuestions().
Here is the caller graph for this function:| ilObjTest::getQuestionTitlesAndIndexes | ( | ) |
Returns the titles of the test questions in question sequence.
Definition at line 1365 of file class.ilObjTest.php.
| 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 1490 of file class.ilObjTest.php.
References $data.
| ilObjTest::getResetProcessingTime | ( | ) |
Definition at line 894 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getRoleData | ( | $ids | ) |
Definition at line 4365 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 772 of file class.ilObjTest.php.
References getScoreSettings().
Here is the call graph for this function:| ilObjTest::getScoreSettings | ( | ) |
Definition at line 6581 of file class.ilObjTest.php.
Referenced by getCountSystem(), getPassScoring(), getScoreCutting(), and isScoreReportingEnabled().
Here is the caller graph for this function:| ilObjTest::getScoreSettingsRepository | ( | ) |
Definition at line 6590 of file class.ilObjTest.php.
| ilObjTest::getShowCancel | ( | ) |
Definition at line 5337 of file class.ilObjTest.php.
| ilObjTest::getShowKioskModeParticipant | ( | ) |
Definition at line 835 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getShowKioskModeTitle | ( | ) |
Definition at line 831 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getShowMarker | ( | ) |
Definition at line 5342 of file class.ilObjTest.php.
| ilObjTest::getShowPassDetails | ( | ) |
Returns if the pass details should be shown when a test is not finished.
Definition at line 5091 of file class.ilObjTest.php.
| ilObjTest::getShowSolutionAnswersOnly | ( | ) |
Returns if the full solution (including ILIAS content) should be presented to the solution or not.
Definition at line 5122 of file class.ilObjTest.php.
| ilObjTest::getShowSolutionFeedback | ( | ) |
Returns if the feedback should be presented to the solution or not.
Definition at line 5114 of file class.ilObjTest.php.
| ilObjTest::getShowSolutionListComparison | ( | ) |
Definition at line 5147 of file class.ilObjTest.php.
| ilObjTest::getShowSolutionListOwnAnswers | ( | ) |
Definition at line 5152 of file class.ilObjTest.php.
| ilObjTest::getShowSolutionPrintview | ( | ) |
Returns if the solution printview should be presented to the user or not.
Definition at line 5099 of file class.ilObjTest.php.
| ilObjTest::getShowSolutionSignature | ( | ) |
Returns if the signature field should be shown in the test results.
Definition at line 5130 of file class.ilObjTest.php.
| ilObjTest::getShowSolutionSuggested | ( | ) |
Definition at line 5138 of file class.ilObjTest.php.
| ilObjTest::getShuffleQuestions | ( | ) |
Definition at line 5042 of file class.ilObjTest.php.
|
static |
Definition at line 5528 of file class.ilObjTest.php.
References $DIC, $ilDB, and ilRTE\_replaceMediaObjectImageSrc().
Referenced by ILIAS\Test\Scoring\Manual\ConsecutiveScoring\getSingleManualFeedback().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getSpecificAnswerFeedback | ( | ) |
Definition at line 6157 of file class.ilObjTest.php.
| ilObjTest::getStartingTime | ( | ) |
Definition at line 904 of file class.ilObjTest.php.
References getMainSettings().
Here is the call 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 6183 of file class.ilObjTest.php.
| 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 4876 of file class.ilObjTest.php.
| ilObjTest::getTemplate | ( | ) |
Definition at line 5914 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getTestId | ( | ) |
Gets the database id of the additional test data.
Definition at line 716 of file class.ilObjTest.php.
References $test_id.
Referenced by ILIAS\Test\Questions\Properties\DatabaseRepository\buildQuestionPropertiesForRandomTest(), ilTestRandomQuestionSetConfig\cloneQuestionSetRelatedData(), deleteTest(), getMarkSchema(), saveCompleteStatus(), saveQuestionsToDb(), and saveToDb().
Here is the caller graph for this function:| ilObjTest::getTestLogger | ( | ) |
Definition at line 207 of file class.ilObjTest.php.
References $logger.
| ilObjTest::getTestLogViewer | ( | ) |
Definition at line 212 of file class.ilObjTest.php.
References $log_viewer.
|
static |
Definition at line 6348 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 4232 of file class.ilObjTest.php.
References $data, getGeneralSettings(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::getTestParticipantsForManualScoring | ( | $filter = null | ) |
Definition at line 4295 of file class.ilObjTest.php.
| ilObjTest::getTestQuestions | ( | ) |
Definition at line 4929 of file class.ilObjTest.php.
References ILIAS\Repository\refinery().
Referenced by ILIAS\Test\Questions\Presentation\QuestionsTableQuery\getRowIds(), and removeQuestionWithResults().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getTestResult | ( | int | $active_id, |
| ?int | $attempt = 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 1717 of file class.ilObjTest.php.
| 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 4116 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 6197 of file class.ilObjTest.php.
| ilObjTest::getTitleFilenameCompliant | ( | ) |
returns the object title prepared to be used as a filename
Definition at line 225 of file class.ilObjTest.php.
References ilFileUtils\getASCIIFilename(), and ilObject\getTitle().
Here is the call graph for this function:| ilObjTest::getTitleOutput | ( | ) |
Definition at line 845 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getTmpCopyWizardCopyId | ( | ) |
Definition at line 230 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 2132 of file class.ilObjTest.php.
| ilObjTest::getUnfilteredEvaluationData | ( | ) |
Definition at line 2358 of file class.ilObjTest.php.
| ilObjTest::getUsePreviousAnswers | ( | ) |
Definition at line 840 of file class.ilObjTest.php.
References getMainSettings().
Referenced by isPreviousSolutionReuseEnabled().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getUserData | ( | $ids | ) |
Returns a data of all users specified by id list.
Definition at line 4329 of file class.ilObjTest.php.
| ilObjTest::getUsrPassOverviewEnabled | ( | ) |
Definition at line 5068 of file class.ilObjTest.php.
| ilObjTest::getVisitingTimeOfParticipant | ( | int | $active_id | ) |
Definition at line 6637 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 1546 of file class.ilObjTest.php.
| ilObjTest::getWorkingTimeOfParticipantForPass | ( | int | $active_id, |
| int | $pass | ||
| ) |
@depracated 11, will be removed in 12, use TestResultManager::fetchWorkingTime instead
Definition at line 2007 of file class.ilObjTest.php.
| ilObjTest::getXMLZip | ( | ) |
Get zipped xml file for test.
Reimplemented from ilObject.
Definition at line 5898 of file class.ilObjTest.php.
| ilObjTest::hasAnyTestResult | ( | ilTestSession | $test_session | ) |
Definition at line 4859 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 4478 of file class.ilObjTest.php.
| ilObjTest::hasQuestionsWithoutQuestionpool | ( | ) |
Definition at line 5967 of file class.ilObjTest.php.
|
private |
Definition at line 5602 of file class.ilObjTest.php.
| ilObjTest::insertQuestion | ( | int | $question_id, |
| bool | $link_only = false |
||
| ) |
Definition at line 1287 of file class.ilObjTest.php.
References $data, assQuestion\instantiateQuestion(), and ILIAS\Repository\logger().
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 @access public |
Definition at line 4383 of file class.ilObjTest.php.
References $user_id.
| ilObjTest::isActiveTestSubmitted | ( | $user_id = null | ) |
returns if the active for user_id has been submitted
Definition at line 4461 of file class.ilObjTest.php.
References $user_id, and ILIAS\Repository\user().
Here is the call graph for this function:| ilObjTest::isBlockPassesAfterPassedEnabled | ( | ) |
Definition at line 821 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:
|
final |
Definition at line 432 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 910 of file class.ilObjTest.php.
References getMainSettings().
Here is the call 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 4762 of file class.ilObjTest.php.
References $user_id, ilDatePresentation\formatDate(), IL_CAL_UNIX, and ILIAS\Repository\lng().
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 6299 of file class.ilObjTest.php.
Referenced by ILIAS\Test\ExportImport\Factory\getExporter(), and ILIAS\Test\Questions\Properties\DatabaseRepository\getQuestionPropertiesForTest().
Here is the caller graph for this function:| ilObjTest::isFollowupQuestionAnswerFixationEnabled | ( | ) |
Definition at line 6424 of file class.ilObjTest.php.
| ilObjTest::isForceInstantFeedbackEnabled | ( | ) |
Definition at line 6434 of file class.ilObjTest.php.
| 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 6090 of file class.ilObjTest.php.
| ilObjTest::isHTML | ( | $a_text | ) |
Checks if a given string contains HTML or not.
| string | $a_text | Text which should be checked |
Definition at line 5224 of file class.ilObjTest.php.
| ilObjTest::isInstantFeedbackAnswerFixationEnabled | ( | ) |
Definition at line 6429 of file class.ilObjTest.php.
| ilObjTest::isMaxProcessingTimeReached | ( | int | $starting_time, |
| int | $active_id | ||
| ) |
Returns whether the maximum processing time for a test is reached or not.
Definition at line 4914 of file class.ilObjTest.php.
| ilObjTest::isNextPassAllowed | ( | ilTestPassesSelector | $testPassesSelector, |
| int & | $next_pass_allowed_timestamp | ||
| ) |
Definition at line 4830 of file class.ilObjTest.php.
References ilTestPassesSelector\getLastFinishedPass(), and ilTestPassesSelector\getLastFinishedPassTimestamp().
Here is the call graph for this function:| ilObjTest::isNrOfTriesReached | ( | $tries | ) |
returns if number of tries are reached
Definition at line 4489 of file class.ilObjTest.php.
| ilObjTest::isOnline | ( | ) |
Definition at line 6022 of file class.ilObjTest.php.
|
static |
Definition at line 6440 of file class.ilObjTest.php.
References $DIC, $ilDB, $user_id, and ilObjectFactory\getInstanceByRefId().
Referenced by ilContainerObjectiveGUI\updateResult().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::isPassDeletionAllowed | ( | ) |
Definition at line 6167 of file class.ilObjTest.php.
| ilObjTest::isPasswordEnabled | ( | ) |
Definition at line 921 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 @access public |
Definition at line 5760 of file class.ilObjTest.php.
References ilComponentInfo\TYPE_COMPONENT.
| ilObjTest::isPostponingEnabled | ( | ) |
Definition at line 721 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::isPreviousSolutionReuseEnabled | ( | ) |
Definition at line 850 of file class.ilObjTest.php.
References getUsePreviousAnswers(), 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 6309 of file class.ilObjTest.php.
Referenced by ILIAS\Test\Questions\Properties\DatabaseRepository\getQuestionPropertiesForTest(), loadQuestions(), and removeQuestionWithResults().
Here is the caller graph for this function:| ilObjTest::isScoreReportingEnabled | ( | ) |
Definition at line 726 of file class.ilObjTest.php.
References getScoreSettings().
Here is the call graph for this function:| ilObjTest::isShowExamIdInTestPassEnabled | ( | ) |
Definition at line 6270 of file class.ilObjTest.php.
| ilObjTest::isShowExamIdInTestResultsEnabled | ( | ) |
Definition at line 6275 of file class.ilObjTest.php.
| ilObjTest::isShowGradingMarkEnabled | ( | ) |
Definition at line 6419 of file class.ilObjTest.php.
| ilObjTest::isShowGradingStatusEnabled | ( | ) |
Definition at line 6414 of file class.ilObjTest.php.
|
static |
Definition at line 6403 of file class.ilObjTest.php.
Referenced by ilTestSkillAdministrationGUI\isAccessDenied().
Here is the caller graph for this function:| ilObjTest::isSkillServiceEnabled | ( | ) |
Definition at line 6372 of file class.ilObjTest.php.
| 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 6388 of file class.ilObjTest.php.
| ilObjTest::isStartingTimeEnabled | ( | ) |
Definition at line 899 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::isTestFinished | ( | $active_id | ) |
returns if the active for user_id has been submitted
Definition at line 4448 of file class.ilObjTest.php.
| 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 1576 of file class.ilObjTest.php.
References lookupPassResultsUpdateTimestamp(), and true.
Here is the call graph for this function:| ilObjTest::isTestQuestion | ( | int | $question_id | ) |
Definition at line 4974 of file class.ilObjTest.php.
| ilObjTest::loadFromDb | ( | ) |
Definition at line 612 of file class.ilObjTest.php.
References $data, ilObject\getId(), loadQuestions(), and setTestId().
Referenced by 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 630 of file class.ilObjTest.php.
References $data, _getPass(), getActiveIdOfUser(), isRandomTest(), and ILIAS\Repository\user().
Referenced by loadFromDb().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 6234 of file class.ilObjTest.php.
Referenced by 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 4712 of file class.ilObjTest.php.
Referenced by ilTestService\getPassOverviewData(), and isTestFinishedToViewResults().
Here is the caller graph for this function:| ilObjTest::lookupQuestionSetTypeByActiveId | ( | int | $active_id | ) |
Definition at line 5352 of file class.ilObjTest.php.
| ilObjTest::marksEditable | ( | ) |
Definition at line 3788 of file class.ilObjTest.php.
Referenced by ILIAS\Test\Scoring\Marks\MarkSchemaGUI\__construct().
Here is the caller graph for this function:| ilObjTest::modifyExportIdentifier | ( | $a_tag, | |
| $a_param, | |||
| $a_value | |||
| ) |
Returns the installation id for a given identifier.
@access private
Definition at line 3656 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 2609 of file class.ilObjTest.php.
References $counter, and ILIAS\Repository\logger().
Here is the call graph for this function:| ilObjTest::onMarkSchemaSaved | ( | ) |
Definition at line 3776 of file class.ilObjTest.php.
| ilObjTest::participantDataExist | ( | ) |
Definition at line 6327 of file class.ilObjTest.php.
| ilObjTest::pcArrayShuffle | ( | $array | ) |
Shuffles the values of a given array.
| array | $array | An array which should be shuffled @access public |
Definition at line 1700 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 @access public |
Definition at line 5320 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 5403 of file class.ilObjTest.php.
References $params, ILIAS\Repository\settings(), and true.
Here is the call graph for this function:| ilObjTest::qtiMaterialToArray | ( | $a_material | ) |
Reads an QTI material tag and creates a text string.
Definition at line 5239 of file class.ilObjTest.php.
| ilObjTest::questionMoveDown | ( | $question_id | ) |
Moves a question down in order.
| integer | $question_id | The database id of the question to be moved down @access public |
Definition at line 1242 of file class.ilObjTest.php.
| ilObjTest::questionMoveUp | ( | $question_id | ) |
Moves a question up in order.
| integer | $question_id | The database id of the question to be moved up @access public |
Definition at line 1202 of file class.ilObjTest.php.
References $data.
| ilObjTest::read | ( | ) |
Reimplemented from ilObject.
Definition at line 258 of file class.ilObjTest.php.
References loadFromDb().
Here is the call graph for this function:| ilObjTest::recalculateScores | ( | $preserve_manscoring = false | ) |
Definition at line 6336 of file class.ilObjTest.php.
References ILIAS\Repository\user().
Here is the call graph for this function:| ilObjTest::reindexFixedQuestionOrdering | ( | ) |
Definition at line 5919 of file class.ilObjTest.php.
| ilObjTest::removeQuestion | ( | int | $question_id | ) |
Definition at line 1033 of file class.ilObjTest.php.
References Vendor\Package\$e, and ILIAS\Repository\logger().
Referenced by 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 996 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 1024 of file class.ilObjTest.php.
| ilObjTest::removeQuestionsWithResults | ( | array | $question_ids | ) |
Definition at line 931 of file class.ilObjTest.php.
References removeQuestionWithResults(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
private |
Definition at line 946 of file class.ilObjTest.php.
References ilObject\$object_properties, ilLPStatusWrapper\_refreshStatus(), ilObject\getId(), ilObject\getObjectProperties(), getTestQuestions(), assQuestion\instantiateQuestion(), isRandomTest(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ILIAS\Test\Scoring\Manual\TestScoring\removeAllQuestionResults(), removeQuestion(), removeQuestionFromSequences(), and ILIAS\Test\Scoring\Manual\TestScoring\updatePassAndTestResults().
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 1189 of file class.ilObjTest.php.
Referenced by ilCourseObjectiveResult\resetTestForUser().
Here is the caller graph for this function:| ilObjTest::removeTestResults | ( | ilTestParticipantData | $participant_data | ) |
Definition at line 1090 of file class.ilObjTest.php.
References ilTestParticipantData\getActiveIds(), ilTestParticipantData\getAnonymousActiveIds(), ILIAS\Survey\Mode\getId(), ilObjectLP\getInstance(), ilTestParticipantData\getUserIdByActiveId(), ilTestParticipantData\getUserIds(), and ILIAS\Repository\logger().
Referenced by deleteTest().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1156 of file class.ilObjTest.php.
References CLIENT_WEB_DIR, ilFileUtils\delDir(), ILIAS\Survey\Mode\getId(), and PassPresentedVariablesRepo\TABLE_NAME.
Here is the call graph for this function:| ilObjTest::removeTestResultsByUserIds | ( | array | $user_ids | ) |
Definition at line 1138 of file class.ilObjTest.php.
References ILIAS\Repository\lng().
Here is the call 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 1065 of file class.ilObjTest.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\logger().
Here is the call graph for this function:
|
private |
Definition at line 3155 of file class.ilObjTest.php.
References $text.
|
private |
Definition at line 3142 of file class.ilObjTest.php.
References $text, ilObjMediaObject\_saveUsage(), and ILIAS\Survey\Mode\getId().
Here is the call 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 @access private |
Definition at line 3814 of file class.ilObjTest.php.
References ILIAS\Survey\Mode\getId(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilObjTest::saveCompleteStatus | ( | ilTestQuestionSetConfig | $test_question_set_config | ) |
Definition at line 446 of file class.ilObjTest.php.
References getTestId(), and isComplete().
Here is the call graph for this function:| ilObjTest::saveManualFeedback | ( | int | $active_id, |
| int | $question_id, | ||
| int | $pass, | ||
| ?string | $feedback, | ||
| bool | $finalized = false |
||
| ) |
Definition at line 5584 of file class.ilObjTest.php.
| ilObjTest::saveQuestionsToDb | ( | ) |
Definition at line 544 of file class.ilObjTest.php.
References getTestId().
Referenced by 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 461 of file class.ilObjTest.php.
References evalTotalPersons(), ilObject\getId(), getMainSettingsRepository(), getMarkSchema(), getNrOfTries(), getQuestionSetType(), getTemplate(), getTestId(), and saveQuestionsToDb().
Here is the call graph for this function:
|
protected |
Definition at line 5886 of file class.ilObjTest.php.
| ilObjTest::setAccessFilteredParticipantList | ( | ilTestParticipantList | $access_filtered_participant_list | ) |
Definition at line 2328 of file class.ilObjTest.php.
| ilObjTest::setQuestionOrder | ( | array | $order | ) |
Definition at line 5929 of file class.ilObjTest.php.
References $id, and ILIAS\Repository\logger().
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 4430 of file class.ilObjTest.php.
References $user_id.
| ilObjTest::setQuestionSetType | ( | string | $question_set_type | ) |
Definition at line 6281 of file class.ilObjTest.php.
References getGeneralSettings().
Here is the call graph for this function:| ilObjTest::setTemplate | ( | int | $template_id | ) |
Definition at line 5909 of file class.ilObjTest.php.
| ilObjTest::setTestId | ( | $a_id | ) |
Sets the test ID.
| integer | $a_id | Test ID |
Definition at line 5680 of file class.ilObjTest.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjTest::setTmpCopyWizardCopyId | ( | int | $tmpCopyWizardCopyId | ) |
Definition at line 235 of file class.ilObjTest.php.
References $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 2661 of file class.ilObjTest.php.
| 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 @access public |
Definition at line 1514 of file class.ilObjTest.php.
| ilObjTest::storeMarkSchema | ( | MarkSchema | $mark_schema | ) |
Definition at line 810 of file class.ilObjTest.php.
References $mark_schema.
| ilObjTest::toXML | ( | ) |
Returns a QTI xml representation of the test.
Definition at line 3172 of file class.ilObjTest.php.
References ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Test\Settings\MainSettings\MainSettings\getAccessSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getAdditionalSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getFinishingSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getGeneralSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getIntroductionSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getParticipantFunctionalitySettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getQuestionBehaviourSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getTestBehaviourSettings(), ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), IL_INST_ID, and ILIAS_VERSION.
Here is the call graph for this function:| ilObjTest::update | ( | ) |
Reimplemented from ilObject.
Definition at line 247 of file class.ilObjTest.php.
References ilObject\updateMetaData().
Here is the call 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 @access public |
Definition at line 1531 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 5369 of file class.ilObjTest.php.
References $user_id, ilObjUser\_lookupName(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 143 of file class.ilObjTest.php.
|
protected |
Definition at line 108 of file class.ilObjTest.php.
|
private |
Definition at line 74 of file class.ilObjTest.php.
|
protected |
Definition at line 107 of file class.ilObjTest.php.
|
protected |
Definition at line 106 of file class.ilObjTest.php.
| string ilObjTest::$author |
Definition at line 84 of file class.ilObjTest.php.
|
protected |
Definition at line 123 of file class.ilObjTest.php.
|
private |
Definition at line 140 of file class.ilObjTest.php.
|
private |
Definition at line 139 of file class.ilObjTest.php.
|
protected |
Definition at line 120 of file class.ilObjTest.php.
| ilObjTest::$evaluation_data |
Contains the evaluation data settings the tutor defines for the user.
Definition at line 95 of file class.ilObjTest.php.
|
protected |
Definition at line 137 of file class.ilObjTest.php.
|
private |
Definition at line 76 of file class.ilObjTest.php.
|
private |
Definition at line 141 of file class.ilObjTest.php.
|
protected |
Definition at line 126 of file class.ilObjTest.php.
| int ilObjTest::$invitation = self::INVITATION_OFF |
Definition at line 83 of file class.ilObjTest.php.
|
staticprivate |
Definition at line 6401 of file class.ilObjTest.php.
|
protected |
Definition at line 147 of file class.ilObjTest.php.
|
protected |
Definition at line 134 of file class.ilObjTest.php.
Referenced by getTestLogViewer().
|
protected |
Definition at line 133 of file class.ilObjTest.php.
Referenced by getTestLogger().
|
protected |
Definition at line 127 of file class.ilObjTest.php.
|
protected |
Definition at line 128 of file class.ilObjTest.php.
|
private |
Definition at line 81 of file class.ilObjTest.php.
Referenced by getMarkSchema(), and storeMarkSchema().
|
private |
Definition at line 80 of file class.ilObjTest.php.
| ilObjTest::$metadata |
A reference to an IMS compatible matadata set.
Definition at line 89 of file class.ilObjTest.php.
|
private |
Definition at line 75 of file class.ilObjTest.php.
|
private |
Definition at line 77 of file class.ilObjTest.php.
|
protected |
Definition at line 124 of file class.ilObjTest.php.
|
protected |
Definition at line 144 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 115 of file class.ilObjTest.php.
|
protected |
Definition at line 104 of file class.ilObjTest.php.
|
protected |
Definition at line 135 of file class.ilObjTest.php.
|
protected |
Definition at line 78 of file class.ilObjTest.php.
| array ilObjTest::$questions = [] |
Definition at line 90 of file class.ilObjTest.php.
|
protected |
Definition at line 121 of file class.ilObjTest.php.
|
protected |
Definition at line 129 of file class.ilObjTest.php.
|
protected |
Definition at line 130 of file class.ilObjTest.php.
|
protected |
Definition at line 122 of file class.ilObjTest.php.
|
protected |
Definition at line 131 of file class.ilObjTest.php.
|
private |
Definition at line 102 of file class.ilObjTest.php.
| int ilObjTest::$test_id = -1 |
Definition at line 82 of file class.ilObjTest.php.
Referenced by getTestId().
|
private |
Definition at line 119 of file class.ilObjTest.php.
|
protected |
Definition at line 145 of file class.ilObjTest.php.
| ilObjTest::$test_sequence = false |
contains the test sequence data
Definition at line 100 of file class.ilObjTest.php.
Referenced by removeQuestionFromSequences().
|
private |
Definition at line 79 of file class.ilObjTest.php.
|
private |
Definition at line 117 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\executeAfterQuestionCreationTasks(), ILIAS\Test\Results\Data\Repository\fetchAdditionalTestData(), SettingsGeneralTest\getAndWithQuestionSetTypeDataProvider(), getQuestionCountAndPointsForPassOfParticipant(), getQuestionSetTypeTranslation(), ilQTIParser\handlerVerifyEndTag(), ilObjTestGUI\importFile(), ilLOTestAssignmentForm\initForm(), and ILIAS\Test\Tests\Results\Data\TestResultRepositoryTest\mockUpdateTestAttemptResult().
| const ilObjTest::QUESTION_SET_TYPE_RANDOM = 'RANDOM_QUEST_SET' |
Definition at line 68 of file class.ilObjTest.php.
Referenced by ILIAS\Test\Results\Data\Repository\fetchAdditionalTestData(), SettingsGeneralTest\getAndWithQuestionSetTypeDataProvider(), getQuestionCountAndPointsForPassOfParticipant(), getQuestionSetTypeTranslation(), ilQTIParser\handlerVerifyEndTag(), and ilLOTestAssignmentForm\initForm().
| const ilObjTest::SCORE_BEST_PASS = 1 |
Definition at line 72 of file class.ilObjTest.php.
| const ilObjTest::SCORE_LAST_PASS = 0 |
Definition at line 71 of file class.ilObjTest.php.
Referenced by ilTestServiceGUI\isGradingMessageRequired().