|
ILIAS
trunk Revision v12.0_alpha-1221-g4e438232683
|
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... | |
| 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 66 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 414 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 1676 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 3897 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 4642 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 1937 of file class.ilObjTest.php.
|
static |
Definition at line 771 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 5192 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 4619 of file class.ilObjTest.php.
Referenced by _getResultPass(), ilTestParticipantList\lookupNrOfTries(), and ilTestEvaluationGUI\showResults().
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 4082 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 4058 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 4593 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(), assSingleChoice\saveWorkingData(), assTextQuestion\saveWorkingData(), and assTextSubset\saveWorkingData().
Here is the caller graph for this function:
|
static |
Definition at line 795 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 4687 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 803 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 761 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 4417 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 4106 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 5175 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 2603 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 3878 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 6011 of file class.ilObjTest.php.
|
static |
Definition at line 6645 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 5755 of file class.ilObjTest.php.
Referenced by ilSoapTestAdministration\getQuestionSolution().
Here is the caller graph for this function:
|
private |
Definition at line 3127 of file class.ilObjTest.php.
|
private |
Definition at line 3103 of file class.ilObjTest.php.
| ilObjTest::addQTIMaterial | ( | ilXmlWriter & | $xml_writer, |
| ?int | $page_id, | ||
| string | $material = '' |
||
| ) |
Definition at line 5285 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 6610 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 6479 of file class.ilObjTest.php.
|
protected |
Definition at line 3606 of file class.ilObjTest.php.
|
static |
Definition at line 6267 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 3601 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 2450 of file class.ilObjTest.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::buildStatisticsAccessFilteredParticipantList | ( | ) |
Definition at line 2340 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 5121 of file class.ilObjTest.php.
| ilObjTest::canShowTestResults | ( | ilTestSession | $test_session | ) |
Definition at line 4864 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 5002 of file class.ilObjTest.php.
|
private |
Definition at line 702 of file class.ilObjTest.php.
References clonePage(), and getMainSettings().
Here is the call graph for this function:
|
private |
Definition at line 685 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 3933 of file class.ilObjTest.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
private |
Definition at line 711 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 5401 of file class.ilObjTest.php.
| ilObjTest::copyQuestions | ( | array | $question_ids | ) |
| array<int> | $question_ids |
Definition at line 573 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 247 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 356 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 2577 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 5685 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 274 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 308 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 5496 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 5460 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 3850 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 1287 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 2686 of file class.ilObjTest.php.
| ilObjTest::evalStatistical | ( | $active_id | ) |
Returns the statistical evaluation of the test for a specified user.
Definition at line 2022 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 2229 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 1870 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 2199 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 2471 of file class.ilObjTest.php.
References $counter.
| ilObjTest::exportFileItems | ( | $target_dir, | |
| & | $expLog | ||
| ) |
export files of file itmes
Definition at line 3762 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 3634 of file class.ilObjTest.php.
| 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 3681 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 2782 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 2330 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 1635 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 4177 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 5832 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 1595 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 4517 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 2353 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 5347 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 4707 of file class.ilObjTest.php.
| ilObjTest::getAnswerFeedbackPoints | ( | ) |
Definition at line 738 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 3862 of file class.ilObjTest.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilObjTest::getAutosave | ( | ) |
Definition at line 6177 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 2524 of file class.ilObjTest.php.
| ilObjTest::getAvailableQuestions | ( | $arr_filter, | |
$completeonly = 0 |
|||
| ) |
Calculates the available questions for a test.
@access public
Definition at line 2702 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 2432 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 5574 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 1887 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 1979 of file class.ilObjTest.php.
| & ilObjTest::getCompleteWorkingTimeOfParticipants | ( | ) |
Returns the complete working time in seconds for all test participants.
Definition at line 1925 of file class.ilObjTest.php.
| ilObjTest::getConcludingRemarksPageId | ( | ) |
Definition at line 6060 of file class.ilObjTest.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilObjTest::getCountSystem | ( | ) |
Definition at line 753 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 5707 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 6187 of file class.ilObjTest.php.
| ilObjTest::getEnableProcessingTime | ( | ) |
Definition at line 896 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getEndingTime | ( | ) |
Definition at line 922 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 1460 of file class.ilObjTest.php.
References $data, and ILIAS\Repository\user().
Here is the call graph for this function:| ilObjTest::getExportDirectory | ( | ) |
Definition at line 379 of file class.ilObjTest.php.
References ilFileUtils\getDataDir(), and ilObject\getId().
Here is the call graph for this function:| ilObjTest::getExportSettings | ( | ) |
Definition at line 5919 of file class.ilObjTest.php.
|
private |
Definition at line 6226 of file class.ilObjTest.php.
Referenced by getProcessingTimeInSeconds().
Here is the caller graph for this function:| ilObjTest::getFinalStatement | ( | ) |
Definition at line 694 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getFixedParticipants | ( | ) |
Definition at line 5362 of file class.ilObjTest.php.
| ilObjTest::getFixedQuestionSetTotalPoints | ( | ) |
Definition at line 5013 of file class.ilObjTest.php.
| ilObjTest::getGeneralQuestionPropertiesRepository | ( | ) |
Definition at line 6572 of file class.ilObjTest.php.
| ilObjTest::getGenericAnswerFeedback | ( | ) |
Definition at line 743 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getGlobalSettings | ( | ) |
Definition at line 6577 of file class.ilObjTest.php.
| ilObjTest::getGroupData | ( | $ids | ) |
Definition at line 4367 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 6113 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 6092 of file class.ilObjTest.php.
| ilObjTest::getHighscoreEnabled | ( | ) |
Definition at line 6078 of file class.ilObjTest.php.
| ilObjTest::getHighscoreMode | ( | ) |
Definition at line 6167 of file class.ilObjTest.php.
| ilObjTest::getHighscoreOwnTable | ( | ) |
Gets if the own rankings table should be shown.
Definition at line 6145 of file class.ilObjTest.php.
| ilObjTest::getHighscorePercentage | ( | ) |
Gets if the percentage column should be shown.
Definition at line 6129 of file class.ilObjTest.php.
| ilObjTest::getHighscoreScore | ( | ) |
Gets if the score column should be shown.
Definition at line 6121 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 6162 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 6153 of file class.ilObjTest.php.
| ilObjTest::getHighscoreWTime | ( | ) |
Gets if the column with the workingtime should be shown.
Definition at line 6137 of file class.ilObjTest.php.
|
protected |
Definition at line 6567 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 2548 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 2559 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 3784 of file class.ilObjTest.php.
| ilObjTest::getInstantFeedbackSolution | ( | ) |
Definition at line 748 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getIntroduction | ( | ) |
Definition at line 677 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getIntroductionPageId | ( | ) |
Definition at line 6042 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 4191 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 5680 of file class.ilObjTest.php.
| ilObjTest::getKioskMode | ( | ) |
Definition at line 833 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getListOfQuestions | ( | ) |
Definition at line 5078 of file class.ilObjTest.php.
| ilObjTest::getListOfQuestionsDescription | ( | ) |
Definition at line 5098 of file class.ilObjTest.php.
| ilObjTest::getListOfQuestionsEnd | ( | ) |
Definition at line 5093 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 5073 of file class.ilObjTest.php.
| ilObjTest::getListOfQuestionsStart | ( | ) |
Definition at line 5088 of file class.ilObjTest.php.
| ilObjTest::getLocalDIC | ( | ) |
Definition at line 209 of file class.ilObjTest.php.
| ilObjTest::getMainSettings | ( | ) |
Definition at line 6582 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 6591 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 5528 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 808 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 6236 of file class.ilObjTest.php.
| ilObjTest::getNrOfResultsForPass | ( | $active_id, | |
| $pass | |||
| ) |
Calculates the number of user results for a specific test pass.
Definition at line 609 of file class.ilObjTest.php.
| ilObjTest::getNrOfTries | ( | ) |
Definition at line 823 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 2162 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 5800 of file class.ilObjTest.php.
| ilObjTest::getPassScoring | ( | ) |
Gets the pass scoring type.
Definition at line 787 of file class.ilObjTest.php.
References getScoreSettings().
Here is the call graph for this function:| ilObjTest::getPassword | ( | ) |
Definition at line 933 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getPotentialRandomTestQuestions | ( | ) |
Definition at line 5027 of file class.ilObjTest.php.
| ilObjTest::getProcessingTime | ( | ) |
Definition at line 862 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:
|
private |
Definition at line 867 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getProcessingTimeInSeconds | ( | int | $active_id = 0 | ) |
Definition at line 885 of file class.ilObjTest.php.
References getExtraTime(), and getMainSettings().
Here is the call graph for this function:| ilObjTest::getQuestionCount | ( | ) |
Definition at line 4003 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 2371 of file class.ilObjTest.php.
References $res, QUESTION_SET_TYPE_FIXED, and QUESTION_SET_TYPE_RANDOM.
| ilObjTest::getQuestionCountWithoutReloading | ( | ) |
Definition at line 4043 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 1443 of file class.ilObjTest.php.
Referenced by ilTestArchiver\handInParticipantUploadedResults().
Here is the caller graph for this function:| ilObjTest::getQuestions | ( | ) |
Definition at line 6032 of file class.ilObjTest.php.
| ilObjTest::getQuestionSetConfig | ( | ) |
Definition at line 224 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 6304 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getQuestionSetTypeTranslation | ( | ilLanguage | $lng, |
| $questionSetType | |||
| ) |
Definition at line 6329 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 2296 of file class.ilObjTest.php.
| ilObjTest::getQuestionsOfTest | ( | int | $active_id | ) |
Definition at line 2263 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 4160 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 1401 of file class.ilObjTest.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 1347 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 1372 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 1497 of file class.ilObjTest.php.
References $data.
| ilObjTest::getResetProcessingTime | ( | ) |
Definition at line 901 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getRoleData | ( | $ids | ) |
Definition at line 4380 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 779 of file class.ilObjTest.php.
References getScoreSettings().
Here is the call graph for this function:| ilObjTest::getScoreSettings | ( | ) |
Definition at line 6596 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 6605 of file class.ilObjTest.php.
| ilObjTest::getShowCancel | ( | ) |
Definition at line 5352 of file class.ilObjTest.php.
| ilObjTest::getShowKioskModeParticipant | ( | ) |
Definition at line 842 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getShowKioskModeTitle | ( | ) |
Definition at line 838 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getShowMarker | ( | ) |
Definition at line 5357 of file class.ilObjTest.php.
| ilObjTest::getShowPassDetails | ( | ) |
Returns if the pass details should be shown when a test is not finished.
Definition at line 5106 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 5137 of file class.ilObjTest.php.
| ilObjTest::getShowSolutionFeedback | ( | ) |
Returns if the feedback should be presented to the solution or not.
Definition at line 5129 of file class.ilObjTest.php.
| ilObjTest::getShowSolutionListComparison | ( | ) |
Definition at line 5162 of file class.ilObjTest.php.
| ilObjTest::getShowSolutionListOwnAnswers | ( | ) |
Definition at line 5167 of file class.ilObjTest.php.
| ilObjTest::getShowSolutionPrintview | ( | ) |
Returns if the solution printview should be presented to the user or not.
Definition at line 5114 of file class.ilObjTest.php.
| ilObjTest::getShowSolutionSignature | ( | ) |
Returns if the signature field should be shown in the test results.
Definition at line 5145 of file class.ilObjTest.php.
| ilObjTest::getShowSolutionSuggested | ( | ) |
Definition at line 5153 of file class.ilObjTest.php.
| ilObjTest::getShuffleQuestions | ( | ) |
Definition at line 5057 of file class.ilObjTest.php.
|
static |
Definition at line 5543 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 6172 of file class.ilObjTest.php.
| ilObjTest::getStartingTime | ( | ) |
Definition at line 911 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 6198 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 4891 of file class.ilObjTest.php.
| ilObjTest::getTemplate | ( | ) |
Definition at line 5929 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 723 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 214 of file class.ilObjTest.php.
References $logger.
| ilObjTest::getTestLogViewer | ( | ) |
Definition at line 219 of file class.ilObjTest.php.
References $log_viewer.
|
static |
Definition at line 6363 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 4247 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 4310 of file class.ilObjTest.php.
| ilObjTest::getTestQuestions | ( | ) |
Definition at line 4944 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 1724 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 4131 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 6212 of file class.ilObjTest.php.
| ilObjTest::getTitleFilenameCompliant | ( | ) |
returns the object title prepared to be used as a filename
Definition at line 232 of file class.ilObjTest.php.
References ilFileUtils\getASCIIFilename(), and ilObject\getTitle().
Here is the call graph for this function:| ilObjTest::getTitleOutput | ( | ) |
Definition at line 852 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getTmpCopyWizardCopyId | ( | ) |
Definition at line 237 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 2139 of file class.ilObjTest.php.
| ilObjTest::getUnfilteredEvaluationData | ( | ) |
Definition at line 2365 of file class.ilObjTest.php.
| ilObjTest::getUsePreviousAnswers | ( | ) |
Definition at line 847 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 4344 of file class.ilObjTest.php.
| ilObjTest::getUsrPassOverviewEnabled | ( | ) |
Definition at line 5083 of file class.ilObjTest.php.
| ilObjTest::getVisitingTimeOfParticipant | ( | int | $active_id | ) |
Definition at line 6652 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 1553 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 2014 of file class.ilObjTest.php.
| ilObjTest::getXMLZip | ( | ) |
Get zipped xml file for test.
Reimplemented from ilObject.
Definition at line 5913 of file class.ilObjTest.php.
| ilObjTest::hasAnyTestResult | ( | ilTestSession | $test_session | ) |
Definition at line 4874 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 4493 of file class.ilObjTest.php.
| ilObjTest::hasQuestionsWithoutQuestionpool | ( | ) |
Definition at line 5982 of file class.ilObjTest.php.
|
private |
Definition at line 5617 of file class.ilObjTest.php.
| ilObjTest::insertQuestion | ( | int | $question_id, |
| bool | $link_only = false |
||
| ) |
Definition at line 1294 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 4398 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 4476 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 828 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:
|
final |
Definition at line 439 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 917 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 4777 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 6314 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 6439 of file class.ilObjTest.php.
| ilObjTest::isForceInstantFeedbackEnabled | ( | ) |
Definition at line 6449 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 6105 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 5239 of file class.ilObjTest.php.
| ilObjTest::isInstantFeedbackAnswerFixationEnabled | ( | ) |
Definition at line 6444 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 4929 of file class.ilObjTest.php.
| ilObjTest::isNextPassAllowed | ( | ilTestPassesSelector | $testPassesSelector, |
| int & | $next_pass_allowed_timestamp | ||
| ) |
Definition at line 4845 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 4504 of file class.ilObjTest.php.
| ilObjTest::isOnline | ( | ) |
Definition at line 6037 of file class.ilObjTest.php.
|
static |
Definition at line 6455 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 6182 of file class.ilObjTest.php.
| ilObjTest::isPasswordEnabled | ( | ) |
Definition at line 928 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 5775 of file class.ilObjTest.php.
References ilComponentInfo\TYPE_COMPONENT.
| ilObjTest::isPostponingEnabled | ( | ) |
Definition at line 728 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::isPreviousSolutionReuseEnabled | ( | ) |
Definition at line 857 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 6324 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 733 of file class.ilObjTest.php.
References getScoreSettings().
Here is the call graph for this function:| ilObjTest::isShowExamIdInTestPassEnabled | ( | ) |
Definition at line 6285 of file class.ilObjTest.php.
| ilObjTest::isShowExamIdInTestResultsEnabled | ( | ) |
Definition at line 6290 of file class.ilObjTest.php.
| ilObjTest::isShowGradingMarkEnabled | ( | ) |
Definition at line 6434 of file class.ilObjTest.php.
| ilObjTest::isShowGradingStatusEnabled | ( | ) |
Definition at line 6429 of file class.ilObjTest.php.
|
static |
Definition at line 6418 of file class.ilObjTest.php.
Referenced by ilTestSkillAdministrationGUI\isAccessDenied().
Here is the caller graph for this function:| ilObjTest::isSkillServiceEnabled | ( | ) |
Definition at line 6387 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 6403 of file class.ilObjTest.php.
| ilObjTest::isStartingTimeEnabled | ( | ) |
Definition at line 906 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 4463 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 1583 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 4989 of file class.ilObjTest.php.
| ilObjTest::loadFromDb | ( | ) |
Definition at line 619 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 637 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 6249 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 4727 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 5367 of file class.ilObjTest.php.
| ilObjTest::marksEditable | ( | ) |
Definition at line 3803 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 3665 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 2616 of file class.ilObjTest.php.
References $counter, and ILIAS\Repository\logger().
Here is the call graph for this function:| ilObjTest::onMarkSchemaSaved | ( | ) |
Definition at line 3791 of file class.ilObjTest.php.
| ilObjTest::participantDataExist | ( | ) |
Definition at line 6342 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 1707 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 5335 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 5418 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 5254 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 1249 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 1209 of file class.ilObjTest.php.
References $data.
| ilObjTest::read | ( | ) |
Reimplemented from ilObject.
Definition at line 265 of file class.ilObjTest.php.
References loadFromDb().
Here is the call graph for this function:| ilObjTest::recalculateScores | ( | $preserve_manscoring = false | ) |
Definition at line 6351 of file class.ilObjTest.php.
References ILIAS\Repository\user().
Here is the call graph for this function:| ilObjTest::reindexFixedQuestionOrdering | ( | ) |
Definition at line 5934 of file class.ilObjTest.php.
| ilObjTest::removeQuestion | ( | int | $question_id | ) |
Definition at line 1040 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 1003 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 1031 of file class.ilObjTest.php.
| ilObjTest::removeQuestionsWithResults | ( | array | $question_ids | ) |
Definition at line 938 of file class.ilObjTest.php.
References removeQuestionWithResults(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
private |
Definition at line 953 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 1196 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 1097 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 1163 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 1145 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 1072 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 3164 of file class.ilObjTest.php.
References $text.
|
private |
Definition at line 3151 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 3829 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 453 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 5599 of file class.ilObjTest.php.
| ilObjTest::saveQuestionsToDb | ( | ) |
Definition at line 551 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 468 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 5901 of file class.ilObjTest.php.
| ilObjTest::setAccessFilteredParticipantList | ( | ilTestParticipantList | $access_filtered_participant_list | ) |
Definition at line 2335 of file class.ilObjTest.php.
| ilObjTest::setQuestionOrder | ( | array | $order | ) |
Definition at line 5944 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 4445 of file class.ilObjTest.php.
References $user_id.
| ilObjTest::setQuestionSetType | ( | string | $question_set_type | ) |
Definition at line 6296 of file class.ilObjTest.php.
References getGeneralSettings().
Here is the call graph for this function:| ilObjTest::setTemplate | ( | int | $template_id | ) |
Definition at line 5924 of file class.ilObjTest.php.
| ilObjTest::setTestId | ( | $a_id | ) |
Sets the test ID.
| integer | $a_id | Test ID |
Definition at line 5695 of file class.ilObjTest.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjTest::setTmpCopyWizardCopyId | ( | int | $tmpCopyWizardCopyId | ) |
Definition at line 242 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 2668 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 1521 of file class.ilObjTest.php.
| ilObjTest::storeMarkSchema | ( | MarkSchema | $mark_schema | ) |
Definition at line 817 of file class.ilObjTest.php.
References $mark_schema.
| ilObjTest::toXML | ( | ) |
Returns a QTI xml representation of the test.
Definition at line 3181 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 254 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 1538 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 5384 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 146 of file class.ilObjTest.php.
|
protected |
Definition at line 111 of file class.ilObjTest.php.
|
private |
Definition at line 77 of file class.ilObjTest.php.
|
protected |
Definition at line 110 of file class.ilObjTest.php.
|
protected |
Definition at line 109 of file class.ilObjTest.php.
| string ilObjTest::$author |
Definition at line 87 of file class.ilObjTest.php.
|
protected |
Definition at line 126 of file class.ilObjTest.php.
|
private |
Definition at line 143 of file class.ilObjTest.php.
|
private |
Definition at line 142 of file class.ilObjTest.php.
|
protected |
Definition at line 123 of file class.ilObjTest.php.
| ilObjTest::$evaluation_data |
Contains the evaluation data settings the tutor defines for the user.
Definition at line 98 of file class.ilObjTest.php.
|
protected |
Definition at line 140 of file class.ilObjTest.php.
|
private |
Definition at line 79 of file class.ilObjTest.php.
|
private |
Definition at line 144 of file class.ilObjTest.php.
|
protected |
Definition at line 129 of file class.ilObjTest.php.
| int ilObjTest::$invitation = self::INVITATION_OFF |
Definition at line 86 of file class.ilObjTest.php.
|
protected |
Definition at line 152 of file class.ilObjTest.php.
|
staticprivate |
Definition at line 6416 of file class.ilObjTest.php.
|
protected |
Definition at line 150 of file class.ilObjTest.php.
|
protected |
Definition at line 137 of file class.ilObjTest.php.
Referenced by getTestLogViewer().
|
protected |
Definition at line 136 of file class.ilObjTest.php.
Referenced by getTestLogger().
|
protected |
Definition at line 130 of file class.ilObjTest.php.
|
protected |
Definition at line 131 of file class.ilObjTest.php.
|
private |
Definition at line 84 of file class.ilObjTest.php.
Referenced by getMarkSchema(), and storeMarkSchema().
|
private |
Definition at line 83 of file class.ilObjTest.php.
|
protected |
Definition at line 151 of file class.ilObjTest.php.
| ilObjTest::$metadata |
A reference to an IMS compatible matadata set.
Definition at line 92 of file class.ilObjTest.php.
|
private |
Definition at line 78 of file class.ilObjTest.php.
|
private |
Definition at line 80 of file class.ilObjTest.php.
|
protected |
Definition at line 127 of file class.ilObjTest.php.
|
protected |
Definition at line 147 of file class.ilObjTest.php.
|
private |
holds the fact wether participant data exists or not DO NOT USE TIS PROPERTY DRIRECTLY ALWAYS USE ilObjTest::paricipantDataExist() since this method initialises this property
Definition at line 118 of file class.ilObjTest.php.
|
protected |
Definition at line 107 of file class.ilObjTest.php.
|
protected |
Definition at line 138 of file class.ilObjTest.php.
|
protected |
Definition at line 81 of file class.ilObjTest.php.
| array ilObjTest::$questions = [] |
Definition at line 93 of file class.ilObjTest.php.
|
protected |
Definition at line 124 of file class.ilObjTest.php.
|
protected |
Definition at line 132 of file class.ilObjTest.php.
|
protected |
Definition at line 133 of file class.ilObjTest.php.
|
protected |
Definition at line 125 of file class.ilObjTest.php.
|
protected |
Definition at line 134 of file class.ilObjTest.php.
|
private |
Definition at line 105 of file class.ilObjTest.php.
| int ilObjTest::$test_id = -1 |
Definition at line 85 of file class.ilObjTest.php.
Referenced by getTestId().
|
private |
Definition at line 122 of file class.ilObjTest.php.
|
protected |
Definition at line 148 of file class.ilObjTest.php.
| ilObjTest::$test_sequence = false |
contains the test sequence data
Definition at line 103 of file class.ilObjTest.php.
Referenced by removeQuestionFromSequences().
|
private |
Definition at line 82 of file class.ilObjTest.php.
|
private |
Definition at line 120 of file class.ilObjTest.php.
Referenced by getTmpCopyWizardCopyId(), and setTmpCopyWizardCopyId().
| const ilObjTest::INVITATION_OFF = 0 |
Definition at line 72 of file class.ilObjTest.php.
| const ilObjTest::INVITATION_ON = 1 |
Definition at line 73 of file class.ilObjTest.php.
| const ilObjTest::QUESTION_SET_TYPE_FIXED = 'FIXED_QUEST_SET' |
Definition at line 70 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 71 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 75 of file class.ilObjTest.php.
| const ilObjTest::SCORE_LAST_PASS = 0 |
Definition at line 74 of file class.ilObjTest.php.
Referenced by ilTestServiceGUI\isGradingMessageRequired().