|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for ilObjTest:
Collaboration diagram for ilObjTest:Public Member Functions | |
| getLocalDIC () | |
| getQuestionSetConfig () | |
| getTitleFilenameCompliant () | |
| returns the object title prepared to be used as a filename More... | |
| getTmpCopyWizardCopyId () | |
| setTmpCopyWizardCopyId (int $tmpCopyWizardCopyId) | |
| create () | |
| update () | |
| read () | |
| delete () | |
| deleteTest () | |
| createExportDirectory () | |
| creates data directory for export files (data_dir/tst_data/tst_<id>/export, depending on data directory that is set in ILIAS setup/ini) More... | |
| getExportDirectory () | |
| getImportDirectory () | |
| isComplete (ilTestQuestionSetConfig $testQuestionSetConfig) | |
| saveCompleteStatus (ilTestQuestionSetConfig $testQuestionSetConfig) | |
| saveToDb (bool $properties_only=false) | |
| saveQuestionsToDb () | |
| 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 () | |
| getScoreReporting () | |
| Gets the score reporting of the ilObjTest object. More... | |
| 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... | |
| getReportingDate () | |
| Gets the reporting date of the ilObjTest object. More... | |
| getNrOfTries () | |
| isBlockPassesAfterPassedEnabled () | |
| getKioskMode () | |
| getShowKioskModeTitle () | |
| getShowKioskModeParticipant () | |
| getUsePreviousAnswers () | |
| getTitleOutput () | |
| isPreviousSolutionReuseEnabled ($active_id) | |
| getProcessingTime () | |
| getProcessingTimeAsArray () | |
| getProcessingTimeAsMinutes () | |
| getProcessingTimeInSeconds ($active_id="") | |
| Returns the processing time for the test in seconds. More... | |
| getEnableProcessingTime () | |
| getResetProcessingTime () | |
| isStartingTimeEnabled () | |
| getStartingTime () | |
| isEndingTimeEnabled () | |
| getEndingTime () | |
| getRedirectionMode () | |
| isRedirectModeKiosk () | |
| isRedirectModeNone () | |
| getRedirectionUrl () | |
| isPasswordEnabled () | |
| getPassword () | |
| removeQuestionFromSequences ($questionId, $activeIds, ilTestReindexedSequencePositionMap $reindexedSequencePositionMap) | |
| removeQuestions (array $removeQuestionIds) | |
| removeQuestion (int $question_id) | |
| removeTestResultsFromSoapLpAdministration ($userIds) | |
| removeTestResults (ilTestParticipantData $participantData) | |
| removeTestResultsByUserIds ($userIds) | |
| removeTestResultsByActiveIds ($activeIds) | |
| removeTestActives ($activeIds) | |
| questionMoveUp ($question_id) | |
| Moves a question up in order. More... | |
| questionMoveDown ($question_id) | |
| Moves a question down in order. More... | |
| duplicateQuestionForTest ($question_id) | |
| Takes a question and creates a copy of the question for use in the test. More... | |
| insertQuestion (ilTestQuestionSetConfig $testQuestionSetConfig, $question_id, $linkOnly=false) | |
| Insert a question in the list of questions. More... | |
| & | getQuestionTitles () |
| Returns the titles of the test questions in question sequence. More... | |
| & | getQuestionTitlesAndIndexes () |
| Returns the titles of the test questions in question sequence. More... | |
| getQuestionTitle ($title, $nr=null, $points=null) | |
| Returns the title of a test question and checks if the title output is allowed. More... | |
| getQuestionDataset ($question_id) | |
| Returns the dataset for a given question id. More... | |
| & | getExistingQuestions ($pass=null) |
| Get the id's of the questions which are already part of the test. More... | |
| getQuestionType ($question_id) | |
| Returns the question type of a question with a given id. More... | |
| startWorkingTime ($active_id, $pass) | |
| Write the initial entry for the tests working time to the database. More... | |
| updateWorkingTime ($times_id) | |
| Update the working time of a test when a question is answered. More... | |
| & | getWorkedQuestions ($active_id, $pass=null) |
| Gets the id's of all questions a user already worked through. More... | |
| isTestFinishedToViewResults ($active_id, $currentpass) | |
| Returns true if an active user completed a test pass and did not start a new pass. More... | |
| & | getAllQuestions ($pass=null) |
| Returns all questions of a test in test order. More... | |
| getActiveIdOfUser ($user_id="", $anonymous_id="") | |
| Gets the active id of a given user. More... | |
| pcArrayShuffle ($array) | |
| Shuffles the values of a given array. More... | |
| & | getTestResult (int $active_id, ?int $pass=null, bool $ordered_sequence=false, bool $considerHiddenQuestions=true, bool $considerOptionalQuestions=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... | |
| getVisitTimeOfParticipant ($active_id) | |
| Returns the first and last visit of a participant. More... | |
| _getVisitTimeOfParticipant ($test_id, $active_id) | |
| Returns the first and last visit of a participant. More... | |
| evalStatistical ($active_id) | |
| Returns the statistical evaluation of the test for a specified user. More... | |
| & | getTotalPointsPassedArray () |
| Returns an array with the total points of all users who passed the test This array could be used for statistics. More... | |
| & | getParticipants () |
| Returns all persons who started the test. More... | |
| evalTotalPersonsArray ($name_sort_order="asc") | |
| Returns all persons who started the test. More... | |
| evalTotalParticipantsArray ($name_sort_order="asc") | |
| Returns all participants who started the test. More... | |
| & | getQuestionsOfTest ($active_id) |
| Retrieves all the assigned questions for all test passes of a test participant. More... | |
| & | getQuestionsOfPass ($active_id, $pass) |
| Retrieves all the assigned questions for a test participant in a given test pass. More... | |
| getAccessFilteredParticipantList () | |
| setAccessFilteredParticipantList (ilTestParticipantList $access_filtered_participant_list) | |
| buildStatisticsAccessFilteredParticipantList () | |
| getUnfilteredEvaluationData () | |
| & | getCompleteEvaluationData ($withStatistics=true, $filterby="", $filtertext="") |
| & | evalResultsOverview () |
| Creates an associated array with the results of all participants of a test. More... | |
| & | _evalResultsOverview ($test_id) |
| Creates an associated array with the results of all participants of a test. More... | |
| & | evalResultsOverviewOfParticipant ($active_id) |
| Creates an associated array with the results for a given participant of a test. More... | |
| buildName (?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 ($use_object_id=false, $equal_points=false, $could_be_offline=false, $show_path=false, $with_questioncount=false, $permission="read") | |
| Returns the available question pools for the active user. More... | |
| 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 ($move_questions, $target_index, $insert_mode) | |
| Move questions to another position. More... | |
| startingTimeReached () | |
| Returns true if the starting time of a test is reached A starting time is not available for self assessment tests. More... | |
| endingTimeReached () | |
| Returns true if the ending time of a test is reached An ending time is not available for self assessment tests. More... | |
| getAvailableQuestions ($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... | |
| exportXMLMetaData (&$a_xml_writer) | |
| export content objects meta data to xml (see ilias_co.dtd) More... | |
| modifyExportIdentifier ($a_tag, $a_param, $a_value) | |
| Returns the installation id for a given identifier. More... | |
| exportXMLPageObjects (&$a_xml_writer, $inst, &$expLog) | |
| export page objects to xml (see ilias_co.dtd) More... | |
| exportXMLMediaObjects (&$a_xml_writer, $a_inst, $a_target_dir, &$expLog) | |
| export media objects to xml (see ilias_co.dtd) More... | |
| exportFileItems ($target_dir, &$expLog) | |
| export files of file itmes More... | |
| getImportMapping () | |
| get array of (two) new created questions for import id More... | |
| checkMarks () | |
{
| |
| getMarkSchema () | |
{
| |
| getMarkSchemaForeignId () | |
{
| |
| onMarkSchemaSaved () | |
| canEditMarks () | |
| 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 () | |
| logAction ($logtext="", $question_id=0) | |
| Logs an action into the Test&Assessment log. More... | |
| getTextAnswer ($active_id, $question_id, $pass=null) | |
| Returns the text answer of a given user for a given question. More... | |
| getQuestiontext ($question_id) | |
| Returns the question text for a given question. More... | |
| getInvitedParticipantList () | |
| 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) | |
| inviteGroup ($group_id) | |
| Invites all users of a group to a test. More... | |
| inviteRole ($role_id) | |
| Invites all users of a role to a test. More... | |
| disinviteUser ($user_id) | |
| Disinvites a user from a test. More... | |
| inviteUser ($user_id, $client_ip="") | |
| Invites a user to a test. More... | |
| setClientIP ($user_id, $client_ip) | |
| setQuestionSetSolved ($value, $question_id, $user_id) | |
| sets question solved state to value for given user_id More... | |
| isTestFinished ($active_id) | |
| returns if the active for user_id has been submitted More... | |
| isActiveTestSubmitted ($user_id=null) | |
| returns if the active for user_id has been submitted More... | |
| hasNrOfTriesRestriction () | |
| returns if the numbers of tries have to be checked More... | |
| isNrOfTriesReached ($tries) | |
| returns if number of tries are reached More... | |
| getAllTestResults ($participants, $prepareForCSV=true) | |
| returns all test results for all participants More... | |
| processCSVRow (mixed $row, bool $quote_all=false, string $separator=";") | |
| Processes an array as a CSV row and converts the array values to correct CSV values. 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 ($questionId) | |
| checkQuestionParent ($questionId) | |
| 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 () | |
| userLookupFullName ($user_id, $overwrite_anonymity=false, $sorted_order=false, $suffix="") | |
| Returns the full name of a test user according to the anonymity status. More... | |
| getAvailableDefaults () | |
| Returns the available test defaults for the active user. More... | |
| getTestDefaults ($test_defaults_id) | |
| deleteDefaults ($test_default_id) | |
| addDefaults ($a_name) | |
| Adds the defaults of this test to the test defaults. More... | |
| applyDefaults ($test_defaults) | |
| Applies given test defaults to this test. More... | |
| processPrintoutput2FO ($print_output) | |
| Convert a print output to XSL-FO. More... | |
| deliverPDFfromHTML ($content, $title=null) | |
| Delivers a PDF file from XHTML. More... | |
| deliverPDFfromFO ($fo, $title=null) | |
| Delivers a PDF file from a XSL-FO string. More... | |
| saveManualFeedback (int $active_id, int $question_id, int $pass, ?string $feedback, bool $finalized=false, bool $is_single_feedback=false) | |
| getJavaScriptOutput () | |
| Returns if Javascript should be chosen for drag & drop actions for the active user. More... | |
| & | createTestSequence ($active_id, $pass, $shuffle) |
| setTestId ($a_id) | |
| Sets the test ID. More... | |
| getDetailedTestResults ($participants) | |
| returns all test results for all participants More... | |
| isPluginActive ($a_pname) | |
| Checks wheather or not a question plugin with a given name is active. More... | |
| getPassed ($active_id) | |
| getParticipantsForTestAndQuestion ($test_id, $question_id) | |
| Creates an associated array with all active id's for a given test and original question id. More... | |
| getAggregatedResultsData () | |
| Returns the aggregated test results. More... | |
| getXMLZip () | |
| Get zipped xml file for test. More... | |
| getMailNotification () | |
| sendSimpleNotification ($active_id) | |
| getEvaluationAdditionalFields () | |
| Gets additional user fields that should be shown in the user evaluation. More... | |
| sendAdvancedNotification (int $active_id) | |
| getResultsForActiveId (int $active_id) | |
| getMailNotificationType () | |
| getExportSettings () | |
| setTemplate (int $template_id) | |
| getTemplate () | |
| moveQuestionAfterOLD ($previous_question_id, $new_question_id) | |
| reindexFixedQuestionOrdering () | |
| setQuestionOrderAndObligations ($orders, $obligations) | |
| moveQuestionAfter ($question_to_move, $question_before) | |
| hasQuestionsWithoutQuestionpool () | |
| getQuestions () | |
| isOnline () | |
| isOfferingQuestionHintsEnabled () | |
| setActivationVisibility ($a_value) | |
| getActivationVisibility () | |
| isActivationLimited () | |
| setActivationLimited ($a_value) | |
| storeActivationSettings (?bool $is_activation_limited=false, ?int $activation_starting_time=null, ?int $activation_ending_time=null, bool $activation_visibility=false,) | |
| getIntroductionPageId () | |
| getConcludingRemarksPageId () | |
| getHighscoreEnabled () | |
| getHighscoreAnon () | |
| Gets if the highscores should be anonymized per setting. More... | |
| isHighscoreAnon () | |
| Gets if the highscores should be displayed anonymized. More... | |
| getHighscoreAchievedTS () | |
| Returns if date and time of the scores achievement should be displayed. More... | |
| getHighscoreScore () | |
| Gets if the score column should be shown. More... | |
| getHighscorePercentage () | |
| Gets if the percentage column should be shown. More... | |
| getHighscoreHints () | |
| Gets, if the column with the number of requested hints should be shown. More... | |
| getHighscoreWTime () | |
| Gets if the column with the workingtime should be shown. More... | |
| getHighscoreOwnTable () | |
| Gets if the own rankings table should be shown. More... | |
| getHighscoreTopTable () | |
| Gets, if the top-rankings table should be shown. More... | |
| getHighscoreTopNum (int $a_retval=10) | |
| Gets the number of entries which are to be shown in the top-rankings table. More... | |
| getHighscoreMode () | |
| getSpecificAnswerFeedback () | |
| areObligationsEnabled () | |
| hasObligations () | |
| getAutosave () | |
| isPassDeletionAllowed () | |
| getEnableExamview () | |
| setActivationStartingTime (?int $starting_time=null) | |
| setActivationEndingTime (?int $ending_time=null) | |
| getActivationStartingTime () | |
| getActivationEndingTime () | |
| getStartingTimeOfParticipants () | |
| Note, this function should only be used if absolutely necessary, since it perform joins on tables that tend to grow huge and returns vast amount of data. More... | |
| getTimeExtensionsOfParticipants () | |
| getExtraTime ($active_id) | |
| addExtraTime ($active_id, $minutes) | |
| 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 () | |
| isTestFinalBroken () | |
| adjustTestSequence () | |
| getScoreSettings () | |
| getScoreSettingsRepository () | |
| getMainSettings () | |
| getMainSettingsRepository () | |
| updateTestResultCache (int $active_id, ilAssQuestionProcessLocker $process_locker=null) | |
| updateTestPassResults (int $active_id, int $pass, bool $obligations_enabled=false, ilAssQuestionProcessLocker $process_locker=null, int $test_obj_id=null) | |
| resetMarkSchema () | |
| addToNewsOnOnline (bool $old_online_status, bool $new_online_status) | |
Public Member Functions inherited from ilObject | |
| getObjectProperties () | |
| flushObjectProperties () | |
| withReferences () | |
| determines whether objects are referenced or not (got ref ids or not) More... | |
| processAutoRating () | |
| read () | |
| getId () | |
| setId (int $id) | |
| setRefId (int $ref_id) | |
| getRefId () | |
| getType () | |
| setType (string $type) | |
| getPresentationTitle () | |
| get presentation title Normally same as title Overwritten for sessions More... | |
| getTitle () | |
| getUntranslatedTitle () | |
| Get untranslated object title WebDAV needs to access the untranslated title of an object. More... | |
| setTitle (string $title) | |
| getDescription () | |
| setDescription (string $description) | |
| getLongDescription () | |
| get object long description (stored in object_description) More... | |
| getImportId () | |
| setImportId (string $import_id) | |
| setOfflineStatus (bool $status) | |
| getOfflineStatus () | |
| supportsOfflineHandling () | |
| getOwner () | |
| getOwnerName () | |
| get full name of object owner More... | |
| setOwner (int $usr_id) | |
| getCreateDate () | |
| Get create date in YYYY-MM-DD HH-MM-SS format. More... | |
| getLastUpdateDate () | |
| Get last update date in YYYY-MM-DD HH-MM-SS format. More... | |
| create () | |
| note: title, description and type should be set when this function is called More... | |
| update () | |
| MDUpdateListener (string $element) | |
| Metadata update listener. More... | |
| createMetaData () | |
| updateMetaData () | |
| deleteMetaData () | |
| updateOwner () | |
| update owner of object in db More... | |
| putInTree (int $parent_ref_id) | |
| maybe this method should be in tree object!? More... | |
| setPermissions (int $parent_ref_id) | |
| setParentRolePermissions (int $parent_ref_id) | |
| Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g. More... | |
| createReference () | |
| creates reference for object More... | |
| countReferences () | |
| delete () | |
| delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | |
| initDefaultRoles () | |
| init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type. More... | |
| applyDidacticTemplate (int $tpl_id) | |
| getXMLZip () | |
| getHTMLDirectory () | |
| appendCopyInfo (int $target_id, int $copy_id) | |
| Prepend Copy info if object with same name exists in that container. More... | |
| cloneDependencies (int $target_id, int $copy_id) | |
| Clone object dependencies. More... | |
| cloneMetaData (ilObject $target_obj) | |
| Copy meta data. More... | |
| selfOrParentWithRatingEnabled () | |
| getPossibleSubObjects (bool $filter=true) | |
| get all possible sub objects of this type the object can decide which types of sub objects are possible jut in time overwrite if the decision distinguish from standard model More... | |
Static Public Member Functions | |
| static | _setImportDirectory ($a_import_dir=null) |
| static | _getImportDirectory () |
| Get the import directory location of the test. More... | |
| static | _createImportDirectory () |
| creates data directory for import files (data_dir/tst_data/tst_<id>/import, depending on data directory that is set in ILIAS setup/ini) More... | |
| static | _getCountSystem ($active_id) |
| static | _getPassScoring ($active_id) |
| Gets the pass scoring type. More... | |
| static | _getScoreCutting ($active_id) |
| Determines if the score of a question should be cut at 0 points or the score of the whole test. More... | |
| static | _getActiveIdOfUser ($user_id="", $test_id="") |
| static | _getWorkingTimeOfParticipantForPass ($active_id, $pass) |
| Returns the complete working time in seconds for a test participant. More... | |
| static | _getQuestionCountAndPointsForPassOfParticipant ($active_id, $pass) |
| static | _instanciateQuestion ($question_id) |
| Creates an instance of a question with a given question id. More... | |
| static | _lookupAuthor ($obj_id) |
| Gets the authors name of the ilObjTest object. More... | |
| static | _getAvailableTests ($use_object_id=false) |
| Returns the available tests for the active user. More... | |
| static | _getObjectIDFromTestID ($test_id) |
| Returns the ILIAS test object id for a given test id. More... | |
| static | _getObjectIDFromActiveID ($active_id) |
| Returns the ILIAS test object id for a given active id. More... | |
| static | _getTestIDFromObjectID ($object_id) |
| Returns the ILIAS test id for a given object id. More... | |
| static | _getSolvedQuestions ($active_id, $question_fi=null) |
| get solved questions More... | |
| static | _getPass ($active_id) |
| Retrieves the actual pass of a given user for a given test. More... | |
| static | _getMaxPass ($active_id) |
| Retrieves the maximum pass of a given user for a given test in which the user answered at least one question. More... | |
| static | _getBestPass ($active_id) |
| Retrieves the best pass of a given user for a given test. More... | |
| static | _getResultPass ($active_id) |
| Retrieves the pass number that should be counted for a given user. More... | |
| static | lookupPassResultsUpdateTimestamp ($active_id, $pass) |
| static | _getUserIdFromActiveId (int $active_id) |
| static | _lookupAnonymity ($a_obj_id) |
| static | lookupQuestionSetTypeByActiveId ($active_id) |
| returns the question set type of test relating to passed active id More... | |
| 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 | getCompleteManualFeedback (int $question_id) |
| Retrieves the manual feedback for a question in a test. More... | |
| 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 | isQuestionObligationPossible (int $question_id) |
| static | isQuestionObligatory ($question_id) |
| checks wether the question with given id is marked as obligatory or not More... | |
| allObligationsAnswered () | |
| checks wether all questions marked as obligatory were answered within the test pass with given testId, activeId and pass index More... | |
| static | lookupExamId ($active_id, $pass) |
| static | buildExamId ($active_id, $pass, $test_obj_id=null) |
| static | lookupQuestionSetType ($objId) |
| lookup-er for question set type More... | |
| static | _lookupRandomTest ($a_obj_id) |
| Returns the fact wether the test with passed obj id is a random questions test or not. More... | |
| static | getTestObjIdsWithActiveForUserId ($userId) |
| static | isSkillManagementGloballyActivated () |
| static | isParticipantsLastPassActive (int $test_ref_id, int $user_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 | _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 | REDIRECT_NONE = 0 |
| const | REDIRECT_ALWAYS = 1 |
| const | REDIRECT_KIOSK = 2 |
| int | $test_id = -1 |
| int | $invitation = 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 () | |
| 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) | |
| addIntroductionToSettingsFromImport (ilObjTestSettingsIntroduction $settings, array $material, array $mappings) | |
| addConcludingRemarksToSettingsFromImport (ilObjTestSettingsFinishing $settings, array $material, array $mappings) | |
| replaceMobsInPageImports (string $text, array $mappings) | |
| replaceFilesInPageImports (string $text, $mappings) | |
| retrieveMobsFromLegacyImports (string $text, array $mobs) | |
| convertTimeToDateTimeImmutableIfNecessary (DateTimeImmutable|int|null $date_time) | |
| insertManualFeedback (int $active_id, int $question_id, int $pass, ?string $feedback, bool $finalized, array $feedback_old) | |
| logManualFeedback ($active_id, $question_id, $feedback) | |
| Creates a log for the manual feedback. More... | |
Private Attributes | |
| bool | $activation_limited = null |
| array | $mob_ids |
| array | $file_ids = [] |
| bool | $online |
| InternalRequestService | $testrequest |
| ASS_MarkSchema | $mark_schema |
| bool | $has_obligations = null |
| bool | $current_user_all_obliations_answered = 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 | $testManScoringDoneHelper |
| ilComponentRepository | $component_repository |
| ilComponentFactory | $component_factory |
| Filesystem | $filesystem_web |
Static Private Attributes | |
| static | $isSkillManagementGloballyActivated = null |
Definition at line 39 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 385 of file class.ilObjTest.php.
References $DIC, ilObject\$ilias, ilFileUtils\delDir(), ilFileUtils\getDataDir(), ilFileUtils\makeDir(), and ILIAS\raiseError().
Referenced by ilObjTestGUI\uploadTst().
Here is the call graph for this function:
Here is the caller graph for this function:| & ilObjTest::_evalResultsOverview | ( | $test_id | ) |
Creates an associated array with the results of all participants of a test.
Definition at line 2700 of file class.ilObjTest.php.
Referenced by evalResultsOverview().
Here is the caller graph for this function:
|
static |
Definition at line 1753 of file class.ilObjTest.php.
Referenced by ilLOUtils\getTestResultLinkForUser().
Here is the caller graph for this function:
|
static |
Returns the available tests for the active user.
Definition at line 4418 of file class.ilObjTest.php.
References $DIC, ilObject\$ref_id, ilUtil\_getObjectsByOperations(), ilObject\_lookupObjId(), and ilObject\_prepareCloneSelection().
Referenced by ilObjAssessmentFolderGUI\exportLogObject(), ilObjAssessmentFolderGUI\getLogDataOutputForm(), and ilObjAssessmentFolderGUI\logAdminObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Retrieves the best pass of a given user for a given test.
| int | $active_id |
Definition at line 5278 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 2073 of file class.ilObjTest.php.
Referenced by getCompleteWorkingTimeOfParticipants().
Here is the caller graph for this function:
|
static |
Definition at line 854 of file class.ilObjTest.php.
Referenced by assQuestion\adjustReachedPointsByScoringOptions().
Here is the caller graph for this function:
|
static |
Get the import directory location of the test.
Definition at line 366 of file class.ilObjTest.php.
References ilSession\get().
Referenced by assFormulaQuestionImport\fromXML(), getImportDirectory(), assQuestionImport\getTstImportArchivDirectory(), ilObjTestGUI\importVerifiedFileObject(), retrieveMobsFromLegacyImports(), and ilObjTestGUI\uploadTst().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::_getLastAccess | ( | int | $active_id | ) |
|
static |
Retrieves the maximum pass of a given user for a given test in which the user answered at least one question.
| integer | $user_id | The user id |
| integer | $test_id | The test id |
Definition at line 5255 of file class.ilObjTest.php.
Referenced by _getResultPass(), and ilTestParticipantList\lookupNrOfTries().
Here is the caller graph for this function:
|
static |
Returns the ILIAS test object id for a given active id.
| integer | $active_id | The active id |
Definition at line 4607 of file class.ilObjTest.php.
Referenced by assFileUpload\handleSubmission(), and assQuestion\logAction().
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 4583 of file class.ilObjTest.php.
Referenced by assQuestion\_setReachedPoints(), and ASS_MarkSchema\logAction().
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 5229 of file class.ilObjTest.php.
Referenced by ilTestService\getPassOverviewData(), assFormulaQuestionGUI\getTestOutput(), assKprimChoice\isComplete(), assMultipleChoice\isForcedEmptySolution(), assNumeric\isValidSolutionSubmit(), assQuestion\persistWorkingState(), ilTestPlayerAbstractGUI\populateInstantResponseBlocks(), ilTestOutputGUI\saveQuestionSolution(), assOrderingHorizontal\saveWorkingData(), assErrorText\saveWorkingData(), assSingleChoice\saveWorkingData(), assTextQuestion\saveWorkingData(), assTextSubset\saveWorkingData(), assLongMenu\saveWorkingData(), assFileUpload\saveWorkingData(), assImagemapQuestion\saveWorkingData(), assOrderingQuestion\saveWorkingData(), assFormulaQuestion\saveWorkingData(), assMatchingQuestion\saveWorkingData(), and assClozeTest\saveWorkingData().
Here is the caller graph for this function:
|
static |
Gets the pass scoring type.
Definition at line 901 of file class.ilObjTest.php.
Referenced by _getResultPass().
Here is the caller graph for this function:
|
static |
Definition at line 2604 of file class.ilObjTest.php.
References $DIC, $ilDB, $res, lookupQuestionSetTypeByActiveId(), QUESTION_SET_TYPE_FIXED, and QUESTION_SET_TYPE_RANDOM.
Referenced by ilTestEvaluationFactory\getQuestionCountAndPointsForPassOfParticipant(), ilTestScoring\updateReachedPoints(), and updateTestPassResults().
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 5323 of file class.ilObjTest.php.
References _getBestPass(), _getMaxPass(), _getPassScoring(), and SCORE_BEST_PASS.
Referenced by ilParticipantsTestResultsGUI\createUserResults(), evalStatistical(), getAllTestResults(), getDetailedTestResults(), getPassed(), ilCertificateTestObjectHelper\getResultPass(), ilTestEvaluationGUI\multiParticipantsPassDetails(), ilTestEvaluationGUI\outParticipantsResultsOverview(), and updateTestResultCache().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Determines if the score of a question should be cut at 0 points or the score of the whole test.
Definition at line 924 of file class.ilObjTest.php.
Referenced by assQuestion\adjustReachedPointsByScoringOptions().
Here is the caller graph for this function:
|
static |
get solved questions
Definition at line 5008 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 4631 of file class.ilObjTest.php.
References $DIC, $ilDB, and $test_id.
Referenced by ilLOUtils\getTestResultLinkForUser().
Here is the caller graph for this function:
|
static |
Definition at line 5827 of file class.ilObjTest.php.
Referenced by assQuestion\_setReachedPoints(), ilTestEvaluationGUI\exportCertificateArchive(), removeTestResultsByActiveIds(), sendAdvancedNotification(), sendSimpleNotification(), and ilTestScoring\updateReachedPoints().
Here is the caller graph for this function:| ilObjTest::_getVisitTimeOfParticipant | ( | $test_id, | |
| $active_id | |||
| ) |
Returns the first and last visit of a participant.
| integer | $test_id | The database ID of the test |
| integer | $active_id | The active ID of the participant |
Definition at line 2208 of file class.ilObjTest.php.
Referenced by getVisitTimeOfParticipant().
Here is the caller graph for this function:
|
static |
Returns the complete working time in seconds for a test participant.
Definition at line 2153 of file class.ilObjTest.php.
Referenced by updateTestPassResults().
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 2946 of file class.ilObjTest.php.
References assQuestion\instantiateQuestion().
Referenced by ilCourseObjectiveQuestion\__read(), duplicateQuestionForTest(), getAllTestResults(), getDetailedTestResults(), ilCourseObjectiveQuestion\getMaxPointsByObjective(), ilCourseObjectiveQuestion\getMaxPointsByTest(), and ilCourseObjectiveQuestionAssignmentTableGUI\parse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 6006 of file class.ilObjTest.php.
Referenced by ilObjTestAccess\_getParticipantData().
Here is the caller graph for this function:
|
static |
Gets the authors name of the ilObjTest object.
Definition at line 4391 of file class.ilObjTest.php.
References $id.
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 7203 of file class.ilObjTest.php.
|
static |
Returns the fact wether the test with passed obj id is a random questions test or not.
| integer | $a_obj_id |
Definition at line 7761 of file class.ilObjTest.php.
Referenced by ilLOSettings\isRandomTestType(), ilCourseObjectivesGUI\isRandomTestType(), and ilLOUtils\lookupRandomTest().
Here is the caller graph for this function:
|
static |
Get test Object ID for question ID.
Definition at line 6771 of file class.ilObjTest.php.
Referenced by assQuestion\_setReachedPoints(), and ilObjMediaObject\getParentObjectIdForUsage().
Here is the caller graph for this function:
|
static |
Definition at line 351 of file class.ilObjTest.php.
References ilSession\clear(), and ilSession\set().
Referenced by ilObjTestGUI\importVerifiedFileObject(), ilTestImporter\importXmlRepresentation(), ilObjQuestionPoolGUI\uploadQplObject(), and ilObjTestGUI\uploadTst().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 3471 of file class.ilObjTest.php.
References ilObjTestSettingsFinishing\getAlwaysSendMailNotification(), ilObject\getId(), ilObjTestSettingsFinishing\getMailNotificationContentType(), ilObjTestSettingsFinishing\getRedirectionMode(), ilObjTestSettingsFinishing\getRedirectionUrl(), ilObjTestSettingsFinishing\getShowAnswerOverview(), TestSettings\getTestId(), replaceFilesInPageImports(), replaceMobsInPageImports(), retrieveMobsFromLegacyImports(), and ilObjTestSettingsFinishing\withConcludingRemarksPageId().
Referenced by fromXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::addDefaults | ( | $a_name | ) |
Adds the defaults of this test to the test defaults.
| string | $a_name | The name of the test defaults public |
Definition at line 6141 of file class.ilObjTest.php.
References ilObjTestMainSettings\getAccessSettings(), getActivationEndingTime(), getActivationStartingTime(), getActivationVisibility(), ilObjTestMainSettings\getAdditionalSettings(), ilObjTestMainSettings\getFinishingSettings(), ilObjTestScoreSettings\getGamificationSettings(), ilObjTestMainSettings\getGeneralSettings(), ilObjTestMainSettings\getIntroductionSettings(), getMainSettings(), ilObjTestMainSettings\getParticipantFunctionalitySettings(), ilObjTestMainSettings\getQuestionBehaviourSettings(), ilObjTestScoreSettings\getResultDetailsSettings(), ilObjTestScoreSettings\getResultSummarySettings(), getScoreSettings(), ilObjTestScoreSettings\getScoringSettings(), ilObjTestMainSettings\getTestBehaviourSettings(), ILIAS\Repository\int(), isActivationLimited(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilObjTest::addExtraTime | ( | $active_id, | |
| $minutes | |||
| ) |
Definition at line 7596 of file class.ilObjTest.php.
References ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), getTestId(), ILIAS\Repository\lng(), and logAction().
Here is the call graph for this function:
|
private |
Definition at line 3445 of file class.ilObjTest.php.
References ilObject\getId(), TestSettings\getTestId(), replaceFilesInPageImports(), replaceMobsInPageImports(), retrieveMobsFromLegacyImports(), and ilObjTestSettingsIntroduction\withIntroductionPageId().
Referenced by fromXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::addQTIMaterial | ( | ilXmlWriter & | $xml_writer, |
| ?int | $page_id, | ||
| string | $material = '' |
||
| ) |
Definition at line 5938 of file class.ilObjTest.php.
References ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilPCFileList\collectFileItems(), ilObject\getId(), IL_INST_ID, ILIAS\Repository\int(), isHTML(), ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::addToNewsOnOnline | ( | bool | $old_online_status, |
| bool | $new_online_status | ||
| ) |
Definition at line 8265 of file class.ilObjTest.php.
References ilNewsItem\deleteNewsOfContext(), ilNewsItem\getFirstNewsIdForContext(), ilObject\getId(), NEWS_NOTICE, NEWS_USERS, and ILIAS\Repository\user().
Referenced by fromXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::adjustTestSequence | ( | ) |
Definition at line 7918 of file class.ilObjTest.php.
References getShuffleQuestions(), and getTestId().
Here is the call graph for this function:
|
static |
checks wether all questions marked as obligatory were answered within the test pass with given testId, activeId and pass index
public ilDBInterface $ilDB
| integer | $test_id | |
| integer | $active_id | |
| integer | $pass |
Definition at line 7476 of file class.ilObjTest.php.
References $current_user_all_obliations_answered, getActiveIdOfUser(), and hasObligations().
Here is the call graph for this function:| ilObjTest::applyDefaults | ( | $test_defaults | ) |
Applies given test defaults to this test.
| array | $test_default | The test defaults database id. |
Definition at line 6252 of file class.ilObjTest.php.
References convertTimeToDateTimeImmutableIfNecessary(), ilObjTestMainSettings\getAccessSettings(), ilObjTestMainSettings\getAdditionalSettings(), ilObjTestMainSettings\getFinishingSettings(), ilObjTestScoreSettings\getGamificationSettings(), ilObjTestMainSettings\getGeneralSettings(), ilObjTestMainSettings\getIntroductionSettings(), getMainSettings(), getMainSettingsRepository(), ilObjTestMainSettings\getParticipantFunctionalitySettings(), ilObjTestMainSettings\getQuestionBehaviourSettings(), ilObjTestScoreSettings\getResultDetailsSettings(), ilObjTestScoreSettings\getResultSummarySettings(), getScoreSettings(), getScoreSettingsRepository(), ilObjTestScoreSettings\getScoringSettings(), ilObjTestMainSettings\getTestBehaviourSettings(), ILIAS\Repository\int(), saveToDb(), storeActivationSettings(), ilObjTestMainSettings\withGeneralSettings(), and ilObjTestScoreSettings\withScoringSettings().
Here is the call graph for this function:| ilObjTest::areObligationsEnabled | ( | ) |
Definition at line 7431 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:
|
protected |
Definition at line 4077 of file class.ilObjTest.php.
Referenced by fromXML().
Here is the caller graph for this function:
|
static |
Definition at line 7667 of file class.ilObjTest.php.
References $DIC, and $ilSetting.
Referenced by ilTestOutputGUI\getTestPlayerTitle(), and updateTestPassResults().
Here is the caller graph for this function:
|
protected |
Definition at line 4072 of file class.ilObjTest.php.
Referenced by toXML().
Here is the caller graph for this function:| ilObjTest::buildName | ( | ?int | $user_id, |
| ?string | $firstname, | ||
| ?string | $lastname | ||
| ) |
Builds a user name for the output depending on test type and existence of the user.
| int | $user_id | The database ID of the user |
| string | $firstname | The first name of the user |
| string | $lastname | The last name of the user |
| string | $title | The title of the user |
Definition at line 2794 of file class.ilObjTest.php.
References ANONYMOUS_USER_ID, getAnonymity(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::buildStatisticsAccessFilteredParticipantList | ( | ) |
Definition at line 2588 of file class.ilObjTest.php.
References getTestParticipants(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by ilTestExportAbstract\getDatarows().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::canEditMarks | ( | ) |
Implements ilMarkSchemaAware.
Definition at line 4302 of file class.ilObjTest.php.
References evalTotalPersons(), getScoreSettings(), and ilObjTestSettingsResultSummary\SCORE_REPORTING_DATE.
Here is the call graph for this function:| ilObjTest::canShowSolutionPrintview | ( | $user_id = null | ) |
Definition at line 5773 of file class.ilObjTest.php.
References getShowSolutionPrintview().
Here is the call graph for this function:| ilObjTest::canShowTestResults | ( | ilTestSession | $test_session | ) |
Definition at line 5500 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::checkMarks | ( | ) |
{
Implements ilMarkSchemaAware.
Definition at line 4267 of file class.ilObjTest.php.
| ilObjTest::checkQuestionParent | ( | $questionId | ) |
Definition at line 5644 of file class.ilObjTest.php.
|
private |
Definition at line 770 of file class.ilObjTest.php.
References clonePage(), and getMainSettings().
Referenced by cloneObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 752 of file class.ilObjTest.php.
References clonePage(), and getMainSettings().
Referenced by cloneObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::cloneObject | ( | int | $target_id, |
| int | $copy_id = 0, |
||
| bool | $omit_tree = false |
||
| ) |
Clone object.
public
| int | ref id of parent container |
| int | copy id |
Definition at line 4454 of file class.ilObjTest.php.
References $mark_schema, CLIENT_WEB_DIR, cloneConcludingRemarks(), cloneIntroduction(), ilObject\cloneMetaData(), ilObject\getId(), getMainSettings(), getMainSettingsRepository(), getScoreSettings(), getScoreSettingsRepository(), getTemplate(), getTestId(), loadFromDb(), and ASS_MarkSchema\saveToDb().
Here is the call graph for this function:
|
private |
Definition at line 779 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 6400 of file class.ilObjTest.php.
Referenced by applyDefaults().
Here is the caller graph for this function:| ilObjTest::create | ( | ) |
Definition at line 199 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 298 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 2910 of file class.ilObjTest.php.
References ilObjAssessmentFolder\_enabledAssessmentLogging(), assQuestion\getFeedbackClassNameByQuestionType(), getQuestionType(), and ILIAS\Repository\user().
Referenced by ilTestResultsFactory\buildPassResults().
Here is the call graph for this function:
Here is the caller graph for this function:| & ilObjTest::createTestSequence | ( | $active_id, | |
| $pass, | |||
| $shuffle | |||
| ) |
Definition at line 6699 of file class.ilObjTest.php.
References isRandomTest().
Here is the call graph for this function:| ilObjTest::delete | ( | ) |
Definition at line 225 of file class.ilObjTest.php.
References ilObject\deleteMetaData(), deleteTest(), and ilObject\getId().
Here is the call graph for this function:| ilObjTest::deleteDefaults | ( | $test_default_id | ) |
Definition at line 6126 of file class.ilObjTest.php.
| ilObjTest::deleteTest | ( | ) |
2023-08-08, sk: We check this here to allow an easy deletion of Dynamic-Tests in migration. The check can go with ILIAS10
Definition at line 246 of file class.ilObjTest.php.
References ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilFileUtils\delDir(), ilFileUtils\getDataDir(), ilObject\getId(), getTestId(), isFixedTest(), isRandomTest(), ILIAS\Repository\lng(), and removeTestResults().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::deliverPDFfromFO | ( | $fo, | |
$title = null |
|||
| ) |
Delivers a PDF file from a XSL-FO string.
| string | $fo | The XSL-FO string public |
PhpUndefinedFieldInspection
Definition at line 6495 of file class.ilObjTest.php.
References Vendor\Package\$e, $filename, ilObject\$title, ilUtil\deliverData(), ilRpcClientFactory\factory(), ilFileUtils\getASCIIFilename(), ilObject\getTitle(), and ilFileUtils\ilTempnam().
Referenced by deliverPDFfromHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::deliverPDFfromHTML | ( | $content, | |
$title = null |
|||
| ) |
Delivers a PDF file from XHTML.
| string | $html | The XHTML string public |
Definition at line 6459 of file class.ilObjTest.php.
References ilObject\$title, deliverPDFfromFO(), ilUtil\getStyleSheetLocation(), ilObject\getTitle(), ilLegacyFormElementsUtil\prepareFormOutput(), and processPrintoutput2FO().
Here is the call graph for this function:| ilObjTest::disinviteUser | ( | $user_id | ) |
Disinvites a user from a test.
| integer | $user_id | The database id of the disinvited user public |
Definition at line 4964 of file class.ilObjTest.php.
References getTestId().
Here is the call graph for this function:
|
protected |
Definition at line 4351 of file class.ilObjTest.php.
References saveAuthorToMetadata().
Here is the call graph for this function:| ilObjTest::duplicateQuestionForTest | ( | $question_id | ) |
Takes a question and creates a copy of the question for use in the test.
| integer | $question_id | The database id of the question |
Definition at line 1367 of file class.ilObjTest.php.
References _instanciateQuestion(), and ilObject\getId().
Referenced by insertQuestion().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::endingTimeReached | ( | ) |
Returns true if the ending time of a test is reached An ending time is not available for self assessment tests.
Definition at line 3020 of file class.ilObjTest.php.
References getEndingTime(), and isEndingTimeEnabled().
Referenced by isExecutable().
Here is the call graph for this function:
Here is the caller graph for this function:| & ilObjTest::evalResultsOverview | ( | ) |
Creates an associated array with the results of all participants of a test.
Definition at line 2689 of file class.ilObjTest.php.
References _evalResultsOverview(), and getTestId().
Here is the call graph for this function:| & ilObjTest::evalResultsOverviewOfParticipant | ( | $active_id | ) |
Creates an associated array with the results for a given participant of a test.
| integer | $active_id | The active id of the participant |
Definition at line 2745 of file class.ilObjTest.php.
References getTestId().
Here is the call graph for this function:| ilObjTest::evalStatistical | ( | $active_id | ) |
Returns the statistical evaluation of the test for a specified user.
Definition at line 2249 of file class.ilObjTest.php.
References ILIAS\LTI\ToolProvider\$key, _getResultPass(), and getTestResult().
Here is the call graph for this function:| ilObjTest::evalTotalParticipantsArray | ( | $name_sort_order = "asc" | ) |
Returns all participants who started the test.
Definition at line 2473 of file class.ilObjTest.php.
References ANONYMOUS_USER_ID, getAnonymity(), getTestId(), and ILIAS\Repository\lng().
Referenced by getTotalPointsPassedArray().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::evalTotalPersons | ( | ) |
Returns the number of persons who started the test.
Definition at line 2006 of file class.ilObjTest.php.
References getTestId().
Referenced by canEditMarks(), participantDataExist(), and saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::evalTotalPersonsArray | ( | $name_sort_order = "asc" | ) |
Returns all persons who started the test.
Definition at line 2438 of file class.ilObjTest.php.
References ANONYMOUS_USER_ID, getAccessFilteredParticipantList(), getAnonymity(), getTestId(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::evalTotalStartedAverageTime | ( | ?array | $active_ids_to_filter = null | ) |
Definition at line 2815 of file class.ilObjTest.php.
References ILIAS\LTI\ToolProvider\$key, and getTestId().
Referenced by getAggregatedResultsData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::exportFileItems | ( | $target_dir, | |
| & | $expLog | ||
| ) |
export files of file itmes
Definition at line 4237 of file class.ilObjTest.php.
References IL_INST_ID, and ilFileUtils\makeDir().
Referenced by exportPagesXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::exportPagesXML | ( | & | $a_xml_writer, |
| $a_inst, | |||
| $a_target_dir, | |||
| & | $expLog | ||
| ) |
export pages of test to xml (see ilias_co.dtd)
| object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 4105 of file class.ilObjTest.php.
References exportFileItems(), exportXMLMediaObjects(), exportXMLMetaData(), and exportXMLPageObjects().
Here is the call graph for this function:| ilObjTest::exportXMLMediaObjects | ( | & | $a_xml_writer, |
| $a_inst, | |||
| $a_target_dir, | |||
| & | $expLog | ||
| ) |
export media objects to xml (see ilias_co.dtd)
Definition at line 4220 of file class.ilObjTest.php.
References ilObjMediaObject\_exists().
Referenced by exportPagesXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::exportXMLMetaData | ( | & | $a_xml_writer | ) |
export content objects meta data to xml (see ilias_co.dtd)
| object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 4140 of file class.ilObjTest.php.
References ilObject\getId(), and ilObject\getType().
Referenced by exportPagesXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::exportXMLPageObjects | ( | & | $a_xml_writer, |
| $inst, | |||
| & | $expLog | ||
| ) |
export page objects to xml (see ilias_co.dtd)
| object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 4169 of file class.ilObjTest.php.
References ilPCFileList\collectFileItems().
Referenced by exportPagesXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::fromXML | ( | ilQTIAssessment | $assessment, |
| array | $mappings | ||
| ) |
Receives parameters from a QTI parser and creates a valid ILIAS test object.
| ilQTIAssessment | $assessment |
Definition at line 3116 of file class.ilObjTest.php.
References $main_settings, $metadata, $objectives, $score_settings, addConcludingRemarksToSettingsFromImport(), addIntroductionToSettingsFromImport(), addToNewsOnOnline(), buildDateTimeImmutableFromPeriod(), ilSession\clear(), ilObjTestMainSettings\getAccessSettings(), ilObjTestMainSettings\getAdditionalSettings(), ilQTIAssessment\getComment(), ilObjTestMainSettings\getFinishingSettings(), ilObjTestScoreSettings\getGamificationSettings(), ilObjTestMainSettings\getGeneralSettings(), ilObjTestMainSettings\getIntroductionSettings(), getMainSettings(), getMainSettingsRepository(), ilObject\getObjectProperties(), ilObjTestMainSettings\getParticipantFunctionalitySettings(), ilQTIAssessment\getPresentationMaterial(), ilObjTestMainSettings\getQuestionBehaviourSettings(), ilObjTestScoreSettings\getResultDetailsSettings(), ilObjTestScoreSettings\getResultSummarySettings(), getScoreSettings(), getScoreSettingsRepository(), ilObjTestScoreSettings\getScoringSettings(), ilObjTestMainSettings\getTestBehaviourSettings(), ilQTIAssessment\getTitle(), ILIAS\Repository\int(), loadFromDb(), qtiMaterialToArray(), saveAuthorToMetadata(), saveToDb(), setActivationEndingTime(), setActivationLimited(), setActivationStartingTime(), setActivationVisibility(), ilObjTestScoreSettings\withGamificationSettings(), and ilObjTestMainSettings\withGeneralSettings().
Here is the call graph for this function:| ilObjTest::getAccessFilteredParticipantList | ( | ) |
Definition at line 2578 of file class.ilObjTest.php.
References $access_filtered_participant_list.
Referenced by evalTotalPersonsArray(), and getParticipantsForTestAndQuestion().
Here is the caller graph for this function:| ilObjTest::getActivationEndingTime | ( | ) |
Definition at line 7543 of file class.ilObjTest.php.
References $activation_ending_time.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getActivationStartingTime | ( | ) |
Definition at line 7538 of file class.ilObjTest.php.
References $activation_starting_time.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getActivationVisibility | ( | ) |
Definition at line 7243 of file class.ilObjTest.php.
References $activation_visibility.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getActiveIdOfUser | ( | $user_id = "", |
|
$anonymous_id = "" |
|||
| ) |
Gets the active id of a given user.
| integer | $user_id | The database id of the user |
| string | $anonymous_id | The anonymous id if the test is an anonymized test |
Definition at line 1712 of file class.ilObjTest.php.
References ANONYMOUS_USER_ID, ilSession\get(), getTestId(), and ILIAS\Repository\user().
Referenced by allObligationsAnswered(), getAllQuestions(), getExistingQuestions(), isExecutable(), loadQuestions(), ilCourseObjectiveResult\resetTestForUser(), and setQuestionSetSolved().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getActiveParticipantList | ( | ) |
Definition at line 4709 of file class.ilObjTest.php.
References getTestParticipants(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilObjTest::getAggregatedResultsData | ( | ) |
Returns the aggregated test results.
public
Definition at line 6870 of file class.ilObjTest.php.
References $data, $results, evalTotalStartedAverageTime(), getCompleteEvaluationData(), 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 1675 of file class.ilObjTest.php.
References getActiveIdOfUser(), isRandomTest(), loadQuestions(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilObjTest::getAllTestResults | ( | $participants, | |
$prepareForCSV = true |
|||
| ) |
returns all test results for all participants
| array | $partipants | array of user ids |
| boolean | if true, the result will be prepared for csv output (see processCSVRow) |
Definition at line 5109 of file class.ilObjTest.php.
References $results, _getResultPass(), _instanciateQuestion(), getAnonymity(), ILIAS\Repository\lng(), and processCSVRow().
Here is the call graph for this function:| ilObjTest::getAnonymity | ( | ) |
Definition at line 6000 of file class.ilObjTest.php.
References getMainSettings().
Referenced by buildName(), evalTotalParticipantsArray(), evalTotalPersonsArray(), getAllTestResults(), ilTestExportAbstract\getDatarows(), getDetailedTestResults(), getEvaluationAdditionalFields(), ilTestExportAbstract\getHeaderRow(), getInvitedUsers(), getParticipants(), getTestParticipants(), getUserData(), isHighscoreAnon(), and userLookupFullName().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getAnsweredQuestionCount | ( | $active_id, | |
$pass = null |
|||
| ) |
Retrieves the number of answered questions for a given user in a given test.
| integer | $user_id | The user id |
| integer | $test_id | The test id |
| integer | $pass | The pass of the test (optional) |
Definition at line 5343 of file class.ilObjTest.php.
References isRandomTest(), and loadQuestions().
Here is the call graph for this function:| ilObjTest::getAnswerFeedbackPoints | ( | ) |
Definition at line 834 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 4363 of file class.ilObjTest.php.
References $id, ilObject\getId(), and ilObject\getType().
Referenced by saveToDb(), and toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getAutosave | ( | ) |
Definition at line 7513 of file class.ilObjTest.php.
References getMainSettings().
Referenced by ilTestResultsFactory\buildPassResults().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getAvailableDefaults | ( | ) |
Returns the available test defaults for the active user.
Definition at line 6097 of file class.ilObjTest.php.
References ILIAS\Repository\user().
Here is the call graph for this function:| ilObjTest::getAvailableQuestionpools | ( | $use_object_id = false, |
|
$equal_points = false, |
|||
$could_be_offline = false, |
|||
$show_path = false, |
|||
$with_questioncount = false, |
|||
$permission = "read" |
|||
| ) |
Returns the available question pools for the active user.
Definition at line 2870 of file class.ilObjTest.php.
References ilObjQuestionPool\_getAvailableQuestionpools().
Here is the call graph for this function:| ilObjTest::getAvailableQuestions | ( | $arr_filter, | |
$completeonly = 0 |
|||
| ) |
Calculates the available questions for a test.
public
Definition at line 3036 of file class.ilObjTest.php.
References XapiProxy\$plugin, ilObjQuestionPool\_getAvailableQuestionpools(), ilAssQuestionType\completeMissingPluginName(), getExistingQuestions(), and ILIAS\Repository\lng().
Here is the call graph for this function:| & ilObjTest::getCompleteEvaluationData | ( | $withStatistics = true, |
|
$filterby = "", |
|||
$filtertext = "" |
|||
| ) |
Definition at line 2673 of file class.ilObjTest.php.
References $data, and getUnfilteredEvaluationData().
Referenced by getAggregatedResultsData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Retrieves the manual feedback for a question in a test.
| integer | $question_id | Question ID |
Definition at line 6573 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 2023 of file class.ilObjTest.php.
References getTestId().
Here is the call graph for this function:| ilObjTest::getCompleteWorkingTimeOfParticipant | ( | $active_id | ) |
Returns the complete working time in seconds for a test participant.
Definition at line 2115 of file class.ilObjTest.php.
References getTestId().
Here is the call graph for this function:| & ilObjTest::getCompleteWorkingTimeOfParticipants | ( | ) |
Returns the complete working time in seconds for all test participants.
Definition at line 2061 of file class.ilObjTest.php.
References _getCompleteWorkingTimeOfParticipants(), and getTestId().
Here is the call graph for this function:| ilObjTest::getConcludingRemarksPageId | ( | ) |
Definition at line 7306 of file class.ilObjTest.php.
References ilObject\getId(), getMainSettings(), and getMainSettingsRepository().
Here is the call graph for this function:| ilObjTest::getCountSystem | ( | ) |
Definition at line 849 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getDetailedTestResults | ( | $participants | ) |
returns all test results for all participants
| array | $partipants | array of user ids |
| boolean | if true, the result will be prepared for csv output (see processCSVRow) |
Definition at line 6722 of file class.ilObjTest.php.
References $results, _getResultPass(), _instanciateQuestion(), getAnonymity(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::getEnableExamview | ( | ) |
Definition at line 7523 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getEnableProcessingTime | ( | ) |
Definition at line 1063 of file class.ilObjTest.php.
References getMainSettings().
Referenced by isExecutable(), and isMaxProcessingTimeReached().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getEndingTime | ( | ) |
Definition at line 1089 of file class.ilObjTest.php.
References getMainSettings().
Referenced by endingTimeReached(), isExecutable(), ILIAS\Test\Presentation\WorkingTime\prepareWorkingTimeJsTemplate(), and toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getEvaluationAdditionalFields | ( | ) |
Gets additional user fields that should be shown in the user evaluation.
Definition at line 6970 of file class.ilObjTest.php.
References getAnonymity(), ilObject\getRefId(), and ILIAS\Repository\settings().
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 1540 of file class.ilObjTest.php.
References $data, getActiveIdOfUser(), getTestId(), isRandomTest(), and ILIAS\Repository\user().
Referenced by getAvailableQuestions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getExportDirectory | ( | ) |
Definition at line 321 of file class.ilObjTest.php.
References ilFileUtils\getDataDir(), and ilObject\getId().
Here is the call graph for this function:| ilObjTest::getExportSettings | ( | ) |
Definition at line 7047 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getExtraTime | ( | $active_id | ) |
Definition at line 7582 of file class.ilObjTest.php.
Referenced by getProcessingTimeInSeconds().
Here is the caller graph for this function:| ilObjTest::getFinalStatement | ( | ) |
Definition at line 761 of file class.ilObjTest.php.
References getMainSettings().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getFixedParticipants | ( | ) |
Definition at line 6032 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getFixedQuestionSetTotalPoints | ( | ) |
Definition at line 5655 of file class.ilObjTest.php.
References getTestQuestions().
Here is the call graph for this function:| ilObjTest::getGenericAnswerFeedback | ( | ) |
Definition at line 839 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getGroupData | ( | $ids | ) |
Definition at line 4901 of file class.ilObjTest.php.
References ilObject\$ref_id, ilObject\_lookupDescription(), ilObject\_lookupObjId(), and ilObject\_lookupTitle().
Here is the call graph for this function:| ilObjTest::getHighscoreAchievedTS | ( | ) |
Returns if date and time of the scores achievement should be displayed.
Definition at line 7359 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getHighscoreAnon | ( | ) |
Gets if the highscores should be anonymized per setting.
Note: This method will retrieve the setting as set by the user. If you want to figure out, if the highscore is to be shown anonymized or not, with consideration of the global anon switch you should
Definition at line 7338 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by isHighscoreAnon(), and toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getHighscoreEnabled | ( | ) |
Definition at line 7324 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getHighscoreHints | ( | ) |
Gets, if the column with the number of requested hints should be shown.
Definition at line 7383 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getHighscoreMode | ( | ) |
Definition at line 7421 of file class.ilObjTest.php.
References getScoreSettings().
Here is the call graph for this function:| ilObjTest::getHighscoreOwnTable | ( | ) |
Gets if the own rankings table should be shown.
Definition at line 7399 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getHighscorePercentage | ( | ) |
Gets if the percentage column should be shown.
Definition at line 7375 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getHighscoreScore | ( | ) |
Gets if the score column should be shown.
Definition at line 7367 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getHighscoreTopNum | ( | int | $a_retval = 10 | ) |
Gets the number of entries which are to be shown in the top-rankings table.
Definition at line 7416 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getHighscoreTopTable | ( | ) |
Gets, if the top-rankings table should be shown.
Definition at line 7407 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getHighscoreWTime | ( | ) |
Gets if the column with the workingtime should be shown.
Definition at line 7391 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 8006 of file class.ilObjTest.php.
References ilHtmlPurifierFactory\getInstanceByType().
Here is the call graph for this function:| ilObjTest::getImagePath | ( | ) |
Returns the image path for web accessable images of a test The image path is under the CLIENT_WEB_DIR in assessment/REFERENCE_ID_OF_TEST/images.
public
Definition at line 2881 of file class.ilObjTest.php.
References CLIENT_WEB_DIR, and ilObject\getId().
Here is the call graph for this function:| ilObjTest::getImagePathWeb | ( | ) |
Returns the web image path for web accessable images of a test The image path is under the web accessable data dir in assessment/REFERENCE_ID_OF_TEST/images.
public
Definition at line 2892 of file class.ilObjTest.php.
References CLIENT_WEB_DIR, ilObject\getId(), and ilFileUtils\removeTrailingPathSeparators().
Here is the call graph for this function:| ilObjTest::getImportDirectory | ( | ) |
Definition at line 375 of file class.ilObjTest.php.
References _getImportDirectory().
Here is the call graph for this function:| ilObjTest::getImportMapping | ( | ) |
get array of (two) new created questions for import id
Definition at line 4259 of file class.ilObjTest.php.
| ilObjTest::getInstantFeedbackSolution | ( | ) |
Definition at line 844 of file class.ilObjTest.php.
References getMainSettings().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getIntroduction | ( | ) |
Definition at line 742 of file class.ilObjTest.php.
References getMainSettings().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getIntroductionPageId | ( | ) |
Definition at line 7288 of file class.ilObjTest.php.
References ilObject\getId(), getMainSettings(), and getMainSettingsRepository().
Here is the call graph for this function:| ilObjTest::getInvitedParticipantList | ( | ) |
Definition at line 4702 of file class.ilObjTest.php.
References getInvitedUsers(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
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 4723 of file class.ilObjTest.php.
References getAnonymity(), getTestId(), and ILIAS\Repository\lng().
Referenced by getInvitedParticipantList().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getJavaScriptOutput | ( | ) |
Returns if Javascript should be chosen for drag & drop actions for the active user.
Definition at line 6694 of file class.ilObjTest.php.
| ilObjTest::getKioskMode | ( | ) |
Definition at line 963 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getListOfQuestions | ( | ) |
Definition at line 5730 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getListOfQuestionsDescription | ( | ) |
Definition at line 5750 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getListOfQuestionsEnd | ( | ) |
Definition at line 5745 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getListOfQuestionsSettings | ( | ) |
Returns the settings for the list of questions options in the test properties This could contain one of the following values: 0 = No list of questions offered 1 = A list of questions is offered 3 = A list of questions is offered and the list of questions is shown as first page of the test 5 = A list of questions is offered and the list of questions is shown as last page of the test 7 = A list of questions is offered and the list of questions is shown as first and last page of the test.
Definition at line 5725 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getListOfQuestionsStart | ( | ) |
Definition at line 5740 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getLocalDIC | ( | ) |
Definition at line 171 of file class.ilObjTest.php.
References ilTestDIC\dic().
Referenced by ilTestServiceGUI\setContextResultPresentation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getMailNotification | ( | ) |
Definition at line 6952 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getMailNotificationType | ( | ) |
Definition at line 7042 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getMainSettings | ( | ) |
Definition at line 8028 of file class.ilObjTest.php.
References $main_settings, getMainSettingsRepository(), and getTestId().
Referenced by addDefaults(), applyDefaults(), areObligationsEnabled(), cloneConcludingRemarks(), cloneIntroduction(), cloneObject(), fromXML(), getAnonymity(), getAnswerFeedbackPoints(), getAutosave(), getConcludingRemarksPageId(), getEnableExamview(), getEnableProcessingTime(), getEndingTime(), getFinalStatement(), getFixedParticipants(), getGenericAnswerFeedback(), getInstantFeedbackSolution(), getIntroduction(), getIntroductionPageId(), getKioskMode(), getListOfQuestions(), getListOfQuestionsDescription(), getListOfQuestionsEnd(), getListOfQuestionsSettings(), getListOfQuestionsStart(), getMailNotification(), getMailNotificationType(), getNrOfTries(), getPassword(), getProcessingTime(), getProcessingTimeAsArray(), getProcessingTimeInSeconds(), getQuestionSetType(), getRedirectionMode(), getRedirectionUrl(), getResetProcessingTime(), getShowCancel(), getShowKioskModeParticipant(), getShowKioskModeTitle(), getShowMarker(), getShuffleQuestions(), getSpecificAnswerFeedback(), getStartingTime(), getTestParticipants(), getTitleOutput(), getUsePreviousAnswers(), getUsrPassOverviewEnabled(), isBlockPassesAfterPassedEnabled(), isEndingTimeEnabled(), isFollowupQuestionAnswerFixationEnabled(), isForceInstantFeedbackEnabled(), isInstantFeedbackAnswerFixationEnabled(), isNextPassAllowed(), isOfferingQuestionHintsEnabled(), isPasswordEnabled(), isPostponingEnabled(), isRedirectModeKiosk(), isRedirectModeNone(), isShowExamIdInTestPassEnabled(), isSkillServiceEnabled(), isSkillServiceToBeConsidered(), isStartingTimeEnabled(), setQuestionSetType(), and toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getMainSettingsRepository | ( | ) |
Definition at line 8037 of file class.ilObjTest.php.
References $main_settings_repo.
Referenced by applyDefaults(), cloneObject(), fromXML(), getConcludingRemarksPageId(), getIntroductionPageId(), and getMainSettings().
Here is the caller graph for this function:
|
static |
Retrieves the feedback comment for a question in a test if it is finalized.
| integer | $active_id | Active ID of the user |
| integer | $question_id | Question ID |
| integer | $pass | Pass number |
Definition at line 6527 of file class.ilObjTest.php.
References ilTestService\isManScoringDone().
Referenced by assQuestionGUI\getGenericFeedbackOutput(), and assClozeTestGUI\getGenericFeedbackOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getMarkSchema | ( | ) |
{
Implements ilMarkSchemaAware.
Definition at line 4275 of file class.ilObjTest.php.
References $mark_schema.
Referenced by ilTestExportAbstract\getDatarows().
Here is the caller graph for this function:| ilObjTest::getMarkSchemaForeignId | ( | ) |
{
Implements ilMarkSchemaAware.
Definition at line 4283 of file class.ilObjTest.php.
References getTestId().
Here is the call graph for this function:| ilObjTest::getMaxPassOfTest | ( | ) |
Definition at line 7636 of file class.ilObjTest.php.
References $data, $res, and getTestId().
Here is the call graph for this function:| ilObjTest::getNrOfResultsForPass | ( | $active_id, | |
| $pass | |||
| ) |
Calculates the number of user results for a specific test pass.
Definition at line 651 of file class.ilObjTest.php.
| ilObjTest::getNrOfTries | ( | ) |
Definition at line 953 of file class.ilObjTest.php.
References getMainSettings().
Referenced by hasNrOfTriesRestriction(), isExecutable(), isNrOfTriesReached(), and saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| & ilObjTest::getParticipants | ( | ) |
Returns all persons who started the test.
Definition at line 2395 of file class.ilObjTest.php.
References ANONYMOUS_USER_ID, getAnonymity(), getTestId(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::getParticipantsForTestAndQuestion | ( | $test_id, | |
| $question_id | |||
| ) |
Creates an associated array with all active id's for a given test and original question id.
PhpAssignmentInConditionInspection
Definition at line 6833 of file class.ilObjTest.php.
References getAccessFilteredParticipantList().
Here is the call graph for this function:| ilObjTest::getPassed | ( | $active_id | ) |
Definition at line 6813 of file class.ilObjTest.php.
References _getResultPass(), and getTestResult().
Here is the call graph for this function:| ilObjTest::getPassScoring | ( | ) |
Gets the pass scoring type.
Definition at line 889 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by ilTestExportAbstract\getDatarows(), and toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getPassword | ( | ) |
Definition at line 1120 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getPotentialRandomTestQuestions | ( | ) |
Definition at line 5669 of file class.ilObjTest.php.
References $questions, and getTestId().
Here is the call graph for this function:| ilObjTest::getProcessingTime | ( | ) |
Definition at line 1012 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getProcessingTimeAsArray | ( | ) |
Definition at line 1020 of file class.ilObjTest.php.
References getMainSettings().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getProcessingTimeAsMinutes | ( | ) |
Definition at line 1034 of file class.ilObjTest.php.
| ilObjTest::getProcessingTimeInSeconds | ( | $active_id = "" | ) |
Returns the processing time for the test in seconds.
Definition at line 1052 of file class.ilObjTest.php.
References getExtraTime(), and getMainSettings().
Referenced by isMaxProcessingTimeReached().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getQuestionCount | ( | ) |
Definition at line 4512 of file class.ilObjTest.php.
References isRandomTest(), ILIAS\Repository\lng(), and loadQuestions().
Referenced by getQuestionCountWithoutReloading(), getQuestionsOfPass(), and getQuestionsOfTest().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getQuestionCountWithoutReloading | ( | ) |
Definition at line 4552 of file class.ilObjTest.php.
References getQuestionCount(), and isRandomTest().
Here is the call graph for this function:| ilObjTest::getQuestionDataset | ( | $question_id | ) |
Returns the dataset for a given question id.
| integer | $question_id | The database id of the question |
Definition at line 1523 of file class.ilObjTest.php.
| ilObjTest::getQuestions | ( | ) |
| ilObjTest::getQuestionSetConfig | ( | ) |
Definition at line 176 of file class.ilObjTest.php.
Referenced by assQuestionGUI\saveEdit().
Here is the caller graph for this function:| ilObjTest::getQuestionSetType | ( | ) |
Definition at line 7704 of file class.ilObjTest.php.
References getMainSettings().
Referenced by getQuestionTitles(), getQuestionTitlesAndIndexes(), isFixedTest(), isRandomTest(), and saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getQuestionSetTypeTranslation | ( | ilLanguage | $lng, |
| $questionSetType | |||
| ) |
Definition at line 7766 of file class.ilObjTest.php.
References QUESTION_SET_TYPE_FIXED, QUESTION_SET_TYPE_RANDOM, and ilLanguage\txt().
Here is the call graph for this function:| & ilObjTest::getQuestionsOfPass | ( | $active_id, | |
| $pass | |||
| ) |
Retrieves all the assigned questions for a test participant in a given test pass.
Definition at line 2544 of file class.ilObjTest.php.
References getQuestionCount(), and isRandomTest().
Here is the call graph for this function:| & ilObjTest::getQuestionsOfTest | ( | $active_id | ) |
Retrieves all the assigned questions for all test passes of a test participant.
Definition at line 2505 of file class.ilObjTest.php.
References getQuestionCount(), and isRandomTest().
Here is the call graph for this function:| ilObjTest::getQuestiontext | ( | $question_id | ) |
Returns the question text for a given question.
| integer | $question_id | The question id |
Definition at line 4685 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 1481 of file class.ilObjTest.php.
References ilObject\$title, $txt, getTitleOutput(), and ILIAS\Repository\lng().
Here is the call graph for this function:| & ilObjTest::getQuestionTitles | ( | ) |
Returns the titles of the test questions in question sequence.
Definition at line 1432 of file class.ilObjTest.php.
References getQuestionSetType(), and getTestId().
Here is the call graph for this function:| & ilObjTest::getQuestionTitlesAndIndexes | ( | ) |
Returns the titles of the test questions in question sequence.
Definition at line 1455 of file class.ilObjTest.php.
References getQuestionSetType(), and getTestId().
Referenced by hasQuestionsWithoutQuestionpool().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getQuestionType | ( | $question_id | ) |
Returns the question type of a question with a given id.
| integer | $question_id | The database id of the question |
Definition at line 1577 of file class.ilObjTest.php.
References $data.
Referenced by createQuestionGUI().
Here is the caller graph for this function:| ilObjTest::getRedirectionMode | ( | ) |
Definition at line 1095 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getRedirectionUrl | ( | ) |
Definition at line 1110 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getReportingDate | ( | ) |
Gets the reporting date of the ilObjTest object.
Definition at line 948 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getResetProcessingTime | ( | ) |
Definition at line 1068 of file class.ilObjTest.php.
References getMainSettings().
Referenced by getStartingTimeOfUser().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getResultsForActiveId | ( | int | $active_id | ) |
Definition at line 7007 of file class.ilObjTest.php.
References updateTestResultCache().
Referenced by getTestResult().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getRoleData | ( | $ids | ) |
Definition at line 4914 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 877 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by getTestResult(), and toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getScoreReporting | ( | ) |
Gets the score reporting of the ilObjTest object.
Definition at line 812 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by isScoreReportingEnabled(), and toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getScoreSettings | ( | ) |
Definition at line 8011 of file class.ilObjTest.php.
References $score_settings, getScoreSettingsRepository(), and getTestId().
Referenced by addDefaults(), applyDefaults(), canEditMarks(), cloneObject(), fromXML(), getCountSystem(), getExportSettings(), getHighscoreAchievedTS(), getHighscoreAnon(), getHighscoreEnabled(), getHighscoreHints(), getHighscoreMode(), getHighscoreOwnTable(), getHighscorePercentage(), getHighscoreScore(), getHighscoreTopNum(), getHighscoreTopTable(), getHighscoreWTime(), ilTestResultsFactory\getPassResultsSettings(), getPassScoring(), getReportingDate(), getScoreCutting(), getScoreReporting(), getShowPassDetails(), getShowSolutionAnswersOnly(), getShowSolutionFeedback(), getShowSolutionListComparison(), getShowSolutionListOwnAnswers(), getShowSolutionPrintview(), getShowSolutionSignature(), getShowSolutionSuggested(), isPassDeletionAllowed(), isScoreReportingEnabled(), isShowExamIdInTestResultsEnabled(), isShowGradingMarkEnabled(), isShowGradingStatusEnabled(), and toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getScoreSettingsRepository | ( | ) |
Definition at line 8020 of file class.ilObjTest.php.
References $score_settings_repo.
Referenced by applyDefaults(), cloneObject(), fromXML(), and getScoreSettings().
Here is the caller graph for this function:| ilObjTest::getShowCancel | ( | ) |
Definition at line 6022 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getShowKioskModeParticipant | ( | ) |
Definition at line 972 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getShowKioskModeTitle | ( | ) |
Definition at line 968 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getShowMarker | ( | ) |
Definition at line 6027 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getShowPassDetails | ( | ) |
Returns if the pass details should be shown when a test is not finished.
Definition at line 5758 of file class.ilObjTest.php.
References getScoreSettings().
Here is the call graph for this function:| ilObjTest::getShowSolutionAnswersOnly | ( | ) |
Returns if the full solution (including ILIAS content) should be presented to the solution or not.
Definition at line 5789 of file class.ilObjTest.php.
References getScoreSettings().
Here is the call graph for this function:| ilObjTest::getShowSolutionFeedback | ( | ) |
Returns if the feedback should be presented to the solution or not.
Definition at line 5781 of file class.ilObjTest.php.
References getScoreSettings().
Here is the call graph for this function:| ilObjTest::getShowSolutionListComparison | ( | ) |
Definition at line 5814 of file class.ilObjTest.php.
References getScoreSettings().
Here is the call graph for this function:| ilObjTest::getShowSolutionListOwnAnswers | ( | ) |
Definition at line 5819 of file class.ilObjTest.php.
References getScoreSettings().
Here is the call graph for this function:| ilObjTest::getShowSolutionPrintview | ( | ) |
Returns if the solution printview should be presented to the user or not.
Definition at line 5766 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by canShowSolutionPrintview().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getShowSolutionSignature | ( | ) |
Returns if the signature field should be shown in the test results.
Definition at line 5797 of file class.ilObjTest.php.
References getScoreSettings().
Here is the call graph for this function:| ilObjTest::getShowSolutionSuggested | ( | ) |
Definition at line 5805 of file class.ilObjTest.php.
References getScoreSettings().
Here is the call graph for this function:| ilObjTest::getShuffleQuestions | ( | ) |
Definition at line 5709 of file class.ilObjTest.php.
References getMainSettings().
Referenced by adjustTestSequence().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 6542 of file class.ilObjTest.php.
References $DIC, $ilDB, and ilRTE\_replaceMediaObjectImageSrc().
Referenced by ilTestScoringByQuestionsGUI\appendFormToModal(), ilTestScoringGUI\buildManScoringParticipantForm(), ilTestServiceGUI\getPassListOfAnswersWithScoring(), and ilTestScoringByQuestionsGUI\saveManScoringByQuestion().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getSpecificAnswerFeedback | ( | ) |
Definition at line 7426 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getStartingTime | ( | ) |
Definition at line 1078 of file class.ilObjTest.php.
References getMainSettings().
Referenced by isExecutable(), startingTimeReached(), and toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getStartingTimeOfParticipants | ( | ) |
Note, this function should only be used if absolutely necessary, since it perform joins on tables that tend to grow huge and returns vast amount of data.
If possible, use getStartingTimeOfUser($active_id) instead
Definition at line 7554 of file class.ilObjTest.php.
References getTestId().
Here is the call graph for this function:| ilObjTest::getStartingTimeOfUser | ( | $active_id, | |
$pass = null |
|||
| ) |
Returns the unix timestamp of the time a user started a test.
| integer | $active_id | The active id of the user |
Definition at line 5527 of file class.ilObjTest.php.
References getResetProcessingTime().
Referenced by isExecutable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getTemplate | ( | ) |
Definition at line 7057 of file class.ilObjTest.php.
References $template_id.
Referenced by cloneObject(), and saveToDb().
Here is the caller graph for this function:| ilObjTest::getTestDefaults | ( | $test_defaults_id | ) |
Definition at line 6111 of file class.ilObjTest.php.
| ilObjTest::getTestId | ( | ) |
Gets the database id of the additional test data.
Definition at line 795 of file class.ilObjTest.php.
References $test_id.
Referenced by ilTestCorrectionsGUI\__construct(), addExtraTime(), adjustTestSequence(), cloneObject(), ilTestRandomQuestionSetConfig\cloneQuestionSetRelatedData(), deleteTest(), disinviteUser(), evalResultsOverview(), evalResultsOverviewOfParticipant(), evalTotalParticipantsArray(), evalTotalPersons(), evalTotalPersonsArray(), evalTotalStartedAverageTime(), getActiveIdOfUser(), getCompleteWorkingTime(), getCompleteWorkingTimeOfParticipant(), getCompleteWorkingTimeOfParticipants(), getExistingQuestions(), getInvitedUsers(), getMainSettings(), getMarkSchemaForeignId(), getMaxPassOfTest(), getParticipants(), getPotentialRandomTestQuestions(), getQuestionTitles(), getQuestionTitlesAndIndexes(), getScoreSettings(), getStartingTimeOfParticipants(), getTestParticipants(), getTestQuestions(), getTimeExtensionsOfParticipants(), getVisitTimeOfParticipant(), hasObligations(), ilTestImporter\importSkillLevelThresholds(), insertQuestion(), inviteUser(), isActiveTestSubmitted(), loadFromDb(), moveQuestionAfter(), moveQuestionAfterOLD(), questionMoveDown(), questionMoveUp(), removeTestResultsByActiveIds(), removeTestResultsByUserIds(), removeTestResultsFromSoapLpAdministration(), saveCompleteStatus(), saveQuestionsToDb(), saveToDb(), setClientIP(), and toXML().
Here is the caller graph for this function:
|
static |
Definition at line 7795 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 4779 of file class.ilObjTest.php.
References $data, getAnonymity(), getGeneralSettings(), getMainSettings(), getTestId(), and ILIAS\Repository\lng().
Referenced by buildStatisticsAccessFilteredParticipantList(), getActiveParticipantList(), and getTestParticipantsForManualScoring().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getTestParticipantsForManualScoring | ( | $filter = null | ) |
Definition at line 4842 of file class.ilObjTest.php.
References ilObjAssessmentFolder\_getManualScoring(), and getTestParticipants().
Here is the call graph for this function:| & ilObjTest::getTestQuestions | ( | ) |
Definition at line 5580 of file class.ilObjTest.php.
References $questions, getTestId(), and ILIAS\Repository\refinery().
Referenced by getFixedQuestionSetTotalPoints(), and isTestQuestion().
Here is the call graph for this function:
Here is the caller graph for this function:| & ilObjTest::getTestResult | ( | int | $active_id, |
| ?int | $pass = null, |
||
| bool | $ordered_sequence = false, |
||
| bool | $considerHiddenQuestions = true, |
||
| bool | $considerOptionalQuestions = true |
||
| ) |
Calculates the results of a test for a given user and returns an array with all test results.
Definition at line 1801 of file class.ilObjTest.php.
References $data, ILIAS\LTI\ToolProvider\$key, $results, $test_sequence, assQuestion\_getSuggestedSolutionOutput(), getResultsForActiveId(), getScoreCutting(), ILIAS\Repository\int(), and ilLegacyFormElementsUtil\prepareFormOutput().
Referenced by ilTestResultsFactory\buildPassResults(), evalStatistical(), getPassed(), and getTotalPointsPassedArray().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getTextAnswer | ( | $active_id, | |
| $question_id, | |||
$pass = null |
|||
| ) |
Returns the text answer of a given user for a given question.
| integer | $active_id | |
| integer | $question_id |
Definition at line 4656 of file class.ilObjTest.php.
References assQuestion\_getSolutionMaxPass().
Here is the call graph for this function:| ilObjTest::getTimeExtensionsOfParticipants | ( | ) |
Definition at line 7568 of file class.ilObjTest.php.
References getTestId().
Here is the call graph for this function:| ilObjTest::getTitleFilenameCompliant | ( | ) |
returns the object title prepared to be used as a filename
Definition at line 184 of file class.ilObjTest.php.
References ilFileUtils\getASCIIFilename(), and ilObject\getTitle().
Here is the call graph for this function:| ilObjTest::getTitleOutput | ( | ) |
Definition at line 982 of file class.ilObjTest.php.
References getMainSettings().
Referenced by getQuestionTitle().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getTmpCopyWizardCopyId | ( | ) |
Definition at line 189 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 2368 of file class.ilObjTest.php.
References evalTotalParticipantsArray(), and getTestResult().
Here is the call graph for this function:| ilObjTest::getUnfilteredEvaluationData | ( | ) |
Definition at line 2598 of file class.ilObjTest.php.
Referenced by getCompleteEvaluationData().
Here is the caller graph for this function:| ilObjTest::getUsePreviousAnswers | ( | ) |
Definition at line 977 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getUserData | ( | $ids | ) |
Returns a data of all users specified by id list.
Definition at line 4878 of file class.ilObjTest.php.
References getAnonymity(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::getUsrPassOverviewEnabled | ( | ) |
Definition at line 5735 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::getVisitTimeOfParticipant | ( | $active_id | ) |
Returns the first and last visit of a participant.
| integer | $active_id | The active ID of the participant |
Definition at line 2195 of file class.ilObjTest.php.
References _getVisitTimeOfParticipant(), and getTestId().
Here is the call graph for this function:| & ilObjTest::getWorkedQuestions | ( | $active_id, | |
$pass = null |
|||
| ) |
Gets the id's of all questions a user already worked through.
Definition at line 1633 of file class.ilObjTest.php.
| ilObjTest::getXMLZip | ( | ) |
Get zipped xml file for test.
Definition at line 6945 of file class.ilObjTest.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::hasAnyTestResult | ( | ilTestSession | $test_session | ) |
Definition at line 5510 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 5084 of file class.ilObjTest.php.
References getNrOfTries().
Referenced by isExecutable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::hasObligations | ( | ) |
Definition at line 7498 of file class.ilObjTest.php.
References $has_obligations, and getTestId().
Referenced by allObligationsAnswered().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::hasQuestionsWithoutQuestionpool | ( | ) |
Definition at line 7174 of file class.ilObjTest.php.
References getQuestionTitlesAndIndexes().
Here is the call graph for this function:
|
private |
Definition at line 6626 of file class.ilObjTest.php.
References ilObject\$user, ilRTE\_replaceMediaObjectImageSrc(), and ILIAS\Repository\user().
Referenced by saveManualFeedback().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::insertQuestion | ( | ilTestQuestionSetConfig | $testQuestionSetConfig, |
| $question_id, | |||
$linkOnly = false |
|||
| ) |
Insert a question in the list of questions.
| ilTestQuestionSetConfig | $testQuestionSetConfig | |
| integer | $question_id | The database id of the inserted question |
| boolean | $linkOnly |
Definition at line 1382 of file class.ilObjTest.php.
References $data, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), duplicateQuestionForTest(), getTestId(), ILIAS\Repository\lng(), loadQuestions(), logAction(), and saveCompleteStatus().
Here is the call graph for this function:| ilObjTest::inviteGroup | ( | $group_id | ) |
Invites all users of a group to a test.
| integer | $group_id | The database id of the invited group public |
Definition at line 4933 of file class.ilObjTest.php.
References ilObjUser\_lookupClientIP(), and inviteUser().
Here is the call graph for this function:| ilObjTest::inviteRole | ( | $role_id | ) |
Invites all users of a role to a test.
| integer | $group_id | The database id of the invited group public |
Definition at line 4948 of file class.ilObjTest.php.
References ilObjUser\_lookupClientIP(), and inviteUser().
Here is the call graph for this function:| ilObjTest::inviteUser | ( | $user_id, | |
$client_ip = "" |
|||
| ) |
Invites a user to a test.
| integer | $user_id | The database id of the invited user public |
Definition at line 4979 of file class.ilObjTest.php.
References getTestId().
Referenced by inviteGroup(), and inviteRole().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::isActivationLimited | ( | ) |
Definition at line 7248 of file class.ilObjTest.php.
References $activation_limited.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::isActiveTestSubmitted | ( | $user_id = null | ) |
returns if the active for user_id has been submitted
Definition at line 5067 of file class.ilObjTest.php.
References getTestId(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilObjTest::isBlockPassesAfterPassedEnabled | ( | ) |
Definition at line 958 of file class.ilObjTest.php.
References getMainSettings().
Referenced by isExecutable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
final |
Definition at line 410 of file class.ilObjTest.php.
References 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 1084 of file class.ilObjTest.php.
References getMainSettings().
Referenced by endingTimeReached(), and ILIAS\Test\Presentation\WorkingTime\prepareWorkingTimeJsTemplate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::isExecutable | ( | $test_session, | |
| $user_id, | |||
$allow_pass_increase = false |
|||
| ) |
Checks if the test is executable by the given user.
| $test_session | ||
| integer | $user_id | The user id |
| bool | $allowPassIncrease |
| ilDateTimeException |
Definition at line 5413 of file class.ilObjTest.php.
References ilObjTestAccess\_isPassed(), endingTimeReached(), ilDatePresentation\formatDate(), getActiveIdOfUser(), getEnableProcessingTime(), getEndingTime(), ilObject\getId(), getNrOfTries(), ilObject\getObjectProperties(), getStartingTime(), getStartingTimeOfUser(), hasNrOfTriesRestriction(), IL_CAL_UNIX, isBlockPassesAfterPassedEnabled(), isMaxProcessingTimeReached(), isNextPassAllowed(), ILIAS\Repository\lng(), and startingTimeReached().
Here is the call graph for this function:| ilObjTest::isFixedTest | ( | ) |
Returns the fact wether this test is a fixed question set test or not.
Definition at line 7739 of file class.ilObjTest.php.
References getQuestionSetType().
Referenced by deleteTest().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::isFollowupQuestionAnswerFixationEnabled | ( | ) |
Definition at line 7871 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::isForceInstantFeedbackEnabled | ( | ) |
Definition at line 7881 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::isHighscoreAnon | ( | ) |
Gets if the highscores should be displayed anonymized.
Note: This method considers the global anonymity switch. If you need access to the users setting,
Definition at line 7351 of file class.ilObjTest.php.
References getAnonymity(), and getHighscoreAnon().
Here is the call graph for this function:| ilObjTest::isHTML | ( | $a_text | ) |
Checks if a given string contains HTML or not.
| string | $a_text | Text which should be checked |
Definition at line 5891 of file class.ilObjTest.php.
Referenced by addQTIMaterial().
Here is the caller graph for this function:| ilObjTest::isInstantFeedbackAnswerFixationEnabled | ( | ) |
Definition at line 7876 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::isMaxProcessingTimeReached | ( | int | $starting_time, |
| int | $active_id | ||
| ) |
Returns whether the maximum processing time for a test is reached or not.
Definition at line 5565 of file class.ilObjTest.php.
References getEnableProcessingTime(), and getProcessingTimeInSeconds().
Referenced by isExecutable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::isNextPassAllowed | ( | ilTestPassesSelector | $testPassesSelector, |
| int & | $next_pass_allowed_timestamp | ||
| ) |
Definition at line 5481 of file class.ilObjTest.php.
References ilTestPassesSelector\getLastFinishedPass(), ilTestPassesSelector\getLastFinishedPassTimestamp(), and getMainSettings().
Referenced by isExecutable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::isNrOfTriesReached | ( | $tries | ) |
returns if number of tries are reached
Definition at line 5095 of file class.ilObjTest.php.
References getNrOfTries().
Here is the call graph for this function:| ilObjTest::isOfferingQuestionHintsEnabled | ( | ) |
Definition at line 7233 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::isOnline | ( | ) |
|
static |
Definition at line 7886 of file class.ilObjTest.php.
References $DIC, $ilDB, $test_sequence, and ilObjectFactory\getInstanceByRefId().
Here is the call graph for this function:| ilObjTest::isPassDeletionAllowed | ( | ) |
Definition at line 7518 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::isPasswordEnabled | ( | ) |
Definition at line 1115 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::isPluginActive | ( | $a_pname | ) |
Checks wheather or not a question plugin with a given name is active.
| string | $a_pname | The plugin name public |
Definition at line 6791 of file class.ilObjTest.php.
References ilComponentInfo\TYPE_MODULES.
| ilObjTest::isPostponingEnabled | ( | ) |
Definition at line 800 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::isPreviousSolutionReuseEnabled | ( | $active_id | ) |
Definition at line 987 of file class.ilObjTest.php.
References $res, and ILIAS\Repository\user().
Here is the call graph for this function:
|
static |
Definition at line 7436 of file class.ilObjTest.php.
References $DIC.
Referenced by ilObjTestGUI\saveOrderAndObligationsObject().
Here is the caller graph for this function:
|
static |
checks wether the question with given id is marked as obligatory or not
| integer | $questionId |
Definition at line 7450 of file class.ilObjTest.php.
Referenced by assQuestion\calculateResultsFromSolution(), ilTestSequence\getSequenceSummary(), and ilTestOutputGUI\showQuestionCmd().
Here is the caller graph for this function:| ilObjTest::isRandomTest | ( | ) |
Returns the fact wether this test is a random questions test or not.
Definition at line 7749 of file class.ilObjTest.php.
References getQuestionSetType().
Referenced by createTestSequence(), deleteTest(), getAllQuestions(), getAnsweredQuestionCount(), ilTestExportAbstract\getDatarows(), getExistingQuestions(), getQuestionCount(), getQuestionCountWithoutReloading(), getQuestionsOfPass(), getQuestionsOfTest(), loadQuestions(), and removeTestResultsByActiveIds().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::isRedirectModeKiosk | ( | ) |
Definition at line 1100 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::isRedirectModeNone | ( | ) |
Definition at line 1105 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::isScoreReportingEnabled | ( | ) |
Definition at line 817 of file class.ilObjTest.php.
References getScoreReporting(), getScoreSettings(), ilObjTestSettingsResultSummary\SCORE_REPORTING_AFTER_PASSED, ilObjTestSettingsResultSummary\SCORE_REPORTING_DATE, ilObjTestSettingsResultSummary\SCORE_REPORTING_DISABLED, ilObjTestSettingsResultSummary\SCORE_REPORTING_FINISHED, and ilObjTestSettingsResultSummary\SCORE_REPORTING_IMMIDIATLY.
Here is the call graph for this function:| ilObjTest::isShowExamIdInTestPassEnabled | ( | ) |
Definition at line 7685 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::isShowExamIdInTestResultsEnabled | ( | ) |
Definition at line 7690 of file class.ilObjTest.php.
References getScoreSettings().
Here is the call graph for this function:| ilObjTest::isShowGradingMarkEnabled | ( | ) |
Definition at line 7866 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::isShowGradingStatusEnabled | ( | ) |
Definition at line 7861 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 7850 of file class.ilObjTest.php.
Referenced by ilTestSkillAdministrationGUI\isAccessDenied().
Here is the caller graph for this function:| ilObjTest::isSkillServiceEnabled | ( | ) |
Definition at line 7819 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::isSkillServiceToBeConsidered | ( | ) |
Returns whether this test must consider skills, usually by providing appropriate extensions in the user interface components.
Skills must be considered if skill management is globally enabled and this object has the skill service enabled as well.
Definition at line 7835 of file class.ilObjTest.php.
References getMainSettings().
Here is the call graph for this function:| ilObjTest::isStartingTimeEnabled | ( | ) |
Definition at line 1073 of file class.ilObjTest.php.
References getMainSettings().
Referenced by startingTimeReached().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::isTestFinalBroken | ( | ) |
Definition at line 7913 of file class.ilObjTest.php.
References $testFinalBroken.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::isTestFinished | ( | $active_id | ) |
returns if the active for user_id has been submitted
Definition at line 5054 of file class.ilObjTest.php.
Referenced by isTestFinishedToViewResults().
Here is the caller graph for this function:| ilObjTest::isTestFinishedToViewResults | ( | $active_id, | |
| $currentpass | |||
| ) |
Returns true if an active user completed a test pass and did not start a new pass.
| integer | $active_id | The active id of the user |
| integer | $currentpass | The current test pass of the user |
Definition at line 1663 of file class.ilObjTest.php.
References isTestFinished(), and lookupPassResultsUpdateTimestamp().
Here is the call graph for this function:| ilObjTest::isTestQuestion | ( | $questionId | ) |
| int | $questionId |
Definition at line 5631 of file class.ilObjTest.php.
References getTestQuestions().
Here is the call graph for this function:| ilObjTest::loadFromDb | ( | ) |
Definition at line 661 of file class.ilObjTest.php.
References $data, ilObject\getId(), ilObjectActivation\getItem(), getTestId(), loadQuestions(), setActivationEndingTime(), setActivationLimited(), setActivationStartingTime(), setActivationVisibility(), setTestId(), and ilObjectActivation\TIMINGS_ACTIVATION.
Referenced by cloneObject(), fromXML(), and read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::loadQuestions | ( | int | $active_id = 0, |
| ?int | $pass = null |
||
| ) |
Load the test question id's from the database.
Definition at line 700 of file class.ilObjTest.php.
References $data, getActiveIdOfUser(), isRandomTest(), and ILIAS\Repository\user().
Referenced by getAllQuestions(), getAnsweredQuestionCount(), getQuestionCount(), insertQuestion(), loadFromDb(), questionMoveDown(), questionMoveUp(), reindexFixedQuestionOrdering(), and setQuestionOrderAndObligations().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::logAction | ( | $logtext = "", |
|
$question_id = 0 |
|||
| ) |
Logs an action into the Test&Assessment log.
| string | $logtext | The log text |
| integer | $question_id | If given, saves the question id to the database public |
Definition at line 4567 of file class.ilObjTest.php.
References ilObjAssessmentFolder\_addLog(), ilObject\getId(), ilObject\getRefId(), and ILIAS\Repository\user().
Referenced by addExtraTime(), insertQuestion(), logManualFeedback(), questionMoveDown(), questionMoveUp(), removeQuestion(), removeTestResultsByActiveIds(), saveQuestionsToDb(), and saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Creates a log for the manual feedback.
| integer | $active_id | Active ID of the user |
| integer | $question_id | Question ID |
| string | $feedback | The feedback text |
Definition at line 6672 of file class.ilObjTest.php.
References ilObjAssessmentFolder\_getLogLanguage(), ilObjTestAccess\_getParticipantData(), ILIAS\Repository\lng(), logAction(), and ILIAS\Repository\user().
Referenced by saveManualFeedback().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 7649 of file class.ilObjTest.php.
Referenced by ilTestServiceGUI\getResultsOfUserOutput(), ilTestPlayerAbstractGUI\outQuestionSummaryCmd(), ilTestEvaluationGUI\outUserListOfAnswerPasses(), ilTestEvaluationGUI\outUserPassDetails(), ilTestServiceGUI\populateExamId(), ilTestPlayerAbstractGUI\prepareTestPage(), and ilTestSubmissionReviewGUI\show().
Here is the caller graph for this function:
|
static |
| int | $active_id | |
| int | $pass |
Definition at line 5363 of file class.ilObjTest.php.
Referenced by ilTestEvaluationGUI\detailedEvaluation(), ilTestExportAbstract\getDatarows(), ilTestService\getPassOverviewData(), and isTestFinishedToViewResults().
Here is the caller graph for this function:
|
static |
lookup-er for question set type
ilDBInterface $ilDB
| integer | $objId |
Definition at line 7716 of file class.ilObjTest.php.
References $DIC, $ilDB, $objId, and $res.
|
static |
returns the question set type of test relating to passed active id
| integer | $activeId |
Definition at line 6043 of file class.ilObjTest.php.
References $DIC, $ilDB, and $res.
Referenced by _getQuestionCountAndPointsForPassOfParticipant().
Here is the caller graph for this function:| ilObjTest::modifyExportIdentifier | ( | $a_tag, | |
| $a_param, | |||
| $a_value | |||
| ) |
Returns the installation id for a given identifier.
private
Definition at line 4153 of file class.ilObjTest.php.
References ilUtil\insertInstIntoID().
Here is the call graph for this function:| ilObjTest::moveQuestionAfter | ( | $question_to_move, | |
| $question_before | |||
| ) |
Definition at line 7145 of file class.ilObjTest.php.
References getTestId(), and reindexFixedQuestionOrdering().
Here is the call graph for this function:| ilObjTest::moveQuestionAfterOLD | ( | $previous_question_id, | |
| $new_question_id | |||
| ) |
Definition at line 7062 of file class.ilObjTest.php.
References $res, and getTestId().
Here is the call graph for this function:| ilObjTest::moveQuestions | ( | $move_questions, | |
| $target_index, | |||
| $insert_mode | |||
| ) |
Move questions to another position.
| array | $move_questions | An array with the question id's of the questions to move |
| integer | $target_index | The question id of the target position |
| integer | $insert_mode | 0, if insert before the target position, 1 if insert after the target position public |
Definition at line 2963 of file class.ilObjTest.php.
References saveQuestionsToDb().
Here is the call graph for this function:| ilObjTest::onMarkSchemaSaved | ( | ) |
Implements ilMarkSchemaAware.
Definition at line 4290 of file class.ilObjTest.php.
References participantDataExist(), recalculateScores(), and saveCompleteStatus().
Here is the call graph for this function:| ilObjTest::participantDataExist | ( | ) |
Definition at line 7779 of file class.ilObjTest.php.
References $participantDataExist, and evalTotalPersons().
Referenced by onMarkSchemaSaved().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::pcArrayShuffle | ( | $array | ) |
Shuffles the values of a given array.
| array | $array | An array which should be shuffled public |
Definition at line 1784 of file class.ilObjTest.php.
References ILIAS\LTI\ToolProvider\$key.
| ilObjTest::prepareTextareaOutput | ( | $txt_output, | |
$prepare_for_latex_output = false, |
|||
$omitNl2BrWhenTextArea = false |
|||
| ) |
Prepares a string for a text area output in tests.
| string | $txt_output | String which should be prepared for output public |
Definition at line 5988 of file class.ilObjTest.php.
References ilLegacyFormElementsUtil\prepareTextareaOutput().
Here is the call graph for this function:| ilObjTest::processCSVRow | ( | mixed | $row, |
| bool | $quote_all = false, |
||
| string | $separator = ";" |
||
| ) |
Processes an array as a CSV row and converts the array values to correct CSV values.
The "converted" array is returned
| array | $row | The array containing the values for a CSV row |
| string | $quoteAll | Indicates to quote every value (=TRUE) or only values containing quotes and separators (=FALSE, default) |
| string | $separator | The value separator in the CSV row (used for quoting) (; = default) |
Definition at line 5188 of file class.ilObjTest.php.
Referenced by getAllTestResults().
Here is the caller graph for this function:| ilObjTest::processPrintoutput2FO | ( | $print_output | ) |
Convert a print output to XSL-FO.
| string | $print_output | The print output |
Definition at line 6417 of file class.ilObjTest.php.
References $params, ILIAS\Repository\settings(), xslt_create(), xslt_error(), and xslt_free().
Referenced by deliverPDFfromHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::qtiMaterialToArray | ( | $a_material | ) |
Reads an QTI material tag and creates a text string.
Definition at line 5906 of file class.ilObjTest.php.
References ilSession\get().
Referenced by fromXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::questionMoveDown | ( | $question_id | ) |
Moves a question down in order.
| integer | $question_id | The database id of the question to be moved down public |
Definition at line 1325 of file class.ilObjTest.php.
References $data, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), getTestId(), ILIAS\Repository\lng(), loadQuestions(), and logAction().
Here is the call graph for this function:| ilObjTest::questionMoveUp | ( | $question_id | ) |
Moves a question up in order.
| integer | $question_id | The database id of the question to be moved up public |
Definition at line 1282 of file class.ilObjTest.php.
References $data, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), getTestId(), ILIAS\Repository\lng(), loadQuestions(), and logAction().
Here is the call graph for this function:| ilObjTest::read | ( | ) |
Definition at line 217 of file class.ilObjTest.php.
References loadFromDb().
Here is the call graph for this function:| ilObjTest::recalculateScores | ( | $preserve_manscoring = false | ) |
Definition at line 7788 of file class.ilObjTest.php.
Referenced by onMarkSchemaSaved().
Here is the caller graph for this function:| ilObjTest::reindexFixedQuestionOrdering | ( | ) |
Definition at line 7105 of file class.ilObjTest.php.
References loadQuestions().
Referenced by moveQuestionAfter(), and removeQuestions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::removeQuestion | ( | int | $question_id | ) |
Definition at line 1164 of file class.ilObjTest.php.
References Vendor\Package\$e, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), ILIAS\Repository\lng(), and logAction().
Referenced by removeQuestions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::removeQuestionFromSequences | ( | $questionId, | |
| $activeIds, | |||
| ilTestReindexedSequencePositionMap | $reindexedSequencePositionMap | ||
| ) |
| int | $questionId | |
| array | $activeIds | |
| ilTestReindexedSequencePositionMap | $reindexedSequencePositionMap |
Definition at line 1130 of file class.ilObjTest.php.
References $test_sequence.
| ilObjTest::removeQuestions | ( | array | $removeQuestionIds | ) |
| int[] | $removeQuestionIds |
Definition at line 1155 of file class.ilObjTest.php.
References reindexFixedQuestionOrdering(), and removeQuestion().
Here is the call graph for this function:| ilObjTest::removeTestActives | ( | $activeIds | ) |
Definition at line 1269 of file class.ilObjTest.php.
Referenced by removeTestResults(), removeTestResultsFromSoapLpAdministration(), and ilCourseObjectiveResult\resetTestForUser().
Here is the caller graph for this function:| ilObjTest::removeTestResults | ( | ilTestParticipantData | $participantData | ) |
Definition at line 1200 of file class.ilObjTest.php.
References ilTestParticipantData\getActiveIds(), ilTestParticipantData\getAnonymousActiveIds(), ilObject\getId(), ilObjectLP\getInstance(), ilTestParticipantData\getUserIds(), removeTestActives(), and removeTestResultsByActiveIds().
Referenced by deleteTest().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::removeTestResultsByActiveIds | ( | $activeIds | ) |
Definition at line 1238 of file class.ilObjTest.php.
References ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), _getUserIdFromActiveId(), CLIENT_WEB_DIR, ilFileUtils\delDir(), ilAssQuestionHintTracking\deleteRequestsByActiveIds(), getTestId(), isRandomTest(), ILIAS\Repository\lng(), logAction(), PassPresentedVariablesRepo\TABLE_NAME, and userLookupFullName().
Referenced by removeTestResults(), and removeTestResultsByUserIds().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::removeTestResultsByUserIds | ( | $userIds | ) |
Definition at line 1220 of file class.ilObjTest.php.
References getTestId(), ILIAS\Repository\lng(), and removeTestResultsByActiveIds().
Referenced by removeTestResultsFromSoapLpAdministration().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::removeTestResultsFromSoapLpAdministration | ( | $userIds | ) |
this method should only be used from non refactored soap context i think
| $userIds |
Definition at line 1189 of file class.ilObjTest.php.
References getTestId(), ILIAS\Repository\lng(), removeTestActives(), and removeTestResultsByUserIds().
Here is the call graph for this function:
|
private |
Definition at line 3516 of file class.ilObjTest.php.
Referenced by addConcludingRemarksToSettingsFromImport(), and addIntroductionToSettingsFromImport().
Here is the caller graph for this function:
|
private |
Definition at line 3503 of file class.ilObjTest.php.
References ilObjMediaObject\_saveUsage(), and ilObject\getId().
Referenced by addConcludingRemarksToSettingsFromImport(), and addIntroductionToSettingsFromImport().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::resetMarkSchema | ( | ) |
Definition at line 8260 of file class.ilObjTest.php.
|
private |
Definition at line 3528 of file class.ilObjTest.php.
References _getImportDirectory(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveTempFileAsMediaObject(), ilObjMediaObject\_saveUsage(), ilSession\get(), ilObject\getId(), and IL_INST_ID.
Referenced by addConcludingRemarksToSettingsFromImport(), and addIntroductionToSettingsFromImport().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::saveAuthorToMetadata | ( | $author = "" | ) |
Saves an authors name into the lifecycle metadata if no lifecycle metadata exists This will only be called for conversion of "old" tests where the author hasn't been stored in the lifecycle metadata.
| string | $a_author | A string containing the name of the test author private |
Definition at line 4328 of file class.ilObjTest.php.
References ilObject\getId(), ilObject\getType(), and ILIAS\Repository\user().
Referenced by doCreateMetaData(), and fromXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::saveCompleteStatus | ( | ilTestQuestionSetConfig | $testQuestionSetConfig | ) |
Definition at line 423 of file class.ilObjTest.php.
References getTestId(), and isComplete().
Referenced by insertQuestion(), and onMarkSchemaSaved().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::saveManualFeedback | ( | int | $active_id, |
| int | $question_id, | ||
| int | $pass, | ||
| ?string | $feedback, | ||
| bool | $finalized = false, |
||
| bool | $is_single_feedback = false |
||
| ) |
Definition at line 6598 of file class.ilObjTest.php.
References ilObjAssessmentFolder\_enabledAssessmentLogging(), insertManualFeedback(), ILIAS\Repository\int(), and logManualFeedback().
Here is the call graph for this function:| ilObjTest::saveQuestionsToDb | ( | ) |
Definition at line 572 of file class.ilObjTest.php.
References ILIAS\LTI\ToolProvider\$key, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), getTestId(), ILIAS\Repository\lng(), and logAction().
Referenced by moveQuestions(), and saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::saveToDb | ( | bool | $properties_only = false | ) |
Definition at line 438 of file class.ilObjTest.php.
References ILIAS\LTI\ToolProvider\$key, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), evalTotalPersons(), getActivationEndingTime(), getActivationStartingTime(), getActivationVisibility(), getAuthor(), ilObject\getId(), getNrOfTries(), getQuestionSetType(), getTemplate(), getTestId(), isActivationLimited(), isTestFinalBroken(), ILIAS\Repository\lng(), logAction(), saveQuestionsToDb(), and storeActivationSettings().
Referenced by applyDefaults(), and fromXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::sendAdvancedNotification | ( | int | $active_id | ) |
Definition at line 6981 of file class.ilObjTest.php.
References _getUserIdFromActiveId(), ANONYMOUS_USER_ID, ilTestEvaluationData\FILTER_BY_ACTIVE_ID, ilObject\getOwner(), ilObject\getTitle(), ilFileUtils\ilTempnam(), and userLookupFullName().
Here is the call graph for this function:| ilObjTest::sendSimpleNotification | ( | $active_id | ) |
Definition at line 6957 of file class.ilObjTest.php.
References _getUserIdFromActiveId(), ilObject\getOwner(), ilObject\getTitle(), and userLookupFullName().
Here is the call graph for this function:| ilObjTest::setAccessFilteredParticipantList | ( | ilTestParticipantList | $access_filtered_participant_list | ) |
Definition at line 2583 of file class.ilObjTest.php.
References $access_filtered_participant_list.
Referenced by ilTestExportAbstract\getDatarows().
Here is the caller graph for this function:| ilObjTest::setActivationEndingTime | ( | ?int | $ending_time = null | ) |
Definition at line 7533 of file class.ilObjTest.php.
Referenced by fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setActivationLimited | ( | $a_value | ) |
Definition at line 7253 of file class.ilObjTest.php.
Referenced by fromXML(), loadFromDb(), and storeActivationSettings().
Here is the caller graph for this function:| ilObjTest::setActivationStartingTime | ( | ?int | $starting_time = null | ) |
Definition at line 7528 of file class.ilObjTest.php.
Referenced by fromXML(), loadFromDb(), and storeActivationSettings().
Here is the caller graph for this function:| ilObjTest::setActivationVisibility | ( | $a_value | ) |
Definition at line 7238 of file class.ilObjTest.php.
Referenced by fromXML(), loadFromDb(), and storeActivationSettings().
Here is the caller graph for this function:| ilObjTest::setClientIP | ( | $user_id, | |
| $client_ip | |||
| ) |
Definition at line 4994 of file class.ilObjTest.php.
References getTestId().
Here is the call graph for this function:| ilObjTest::setQuestionOrderAndObligations | ( | $orders, | |
| $obligations | |||
| ) |
Definition at line 7115 of file class.ilObjTest.php.
References $id, and loadQuestions().
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 5036 of file class.ilObjTest.php.
References getActiveIdOfUser().
Here is the call graph for this function:| ilObjTest::setQuestionSetType | ( | string | $question_set_type | ) |
Definition at line 7696 of file class.ilObjTest.php.
References getGeneralSettings(), and getMainSettings().
Here is the call graph for this function:| ilObjTest::setTemplate | ( | int | $template_id | ) |
| ilObjTest::setTestId | ( | $a_id | ) |
Sets the test ID.
| integer | $a_id | Test ID |
Definition at line 6709 of file class.ilObjTest.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjTest::setTmpCopyWizardCopyId | ( | int | $tmpCopyWizardCopyId | ) |
| ilObjTest::startingTimeReached | ( | ) |
Returns true if the starting time of a test is reached A starting time is not available for self assessment tests.
Definition at line 3002 of file class.ilObjTest.php.
References getStartingTime(), and isStartingTimeEnabled().
Referenced by isExecutable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::startWorkingTime | ( | $active_id, | |
| $pass | |||
| ) |
Write the initial entry for the tests working time to the database.
| integer | $user_id | The database id of the user working with the test public |
Definition at line 1601 of file class.ilObjTest.php.
| ilObjTest::storeActivationSettings | ( | ?bool | $is_activation_limited = false, |
| ?int | $activation_starting_time = null, |
||
| ?int | $activation_ending_time = null, |
||
| bool | $activation_visibility = false |
||
| ) |
Definition at line 7258 of file class.ilObjTest.php.
References setActivationLimited(), setActivationStartingTime(), setActivationVisibility(), ilObjectActivation\TIMINGS_ACTIVATION, and ilObjectActivation\TIMINGS_DEACTIVATED.
Referenced by applyDefaults(), and saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::toXML | ( | ) |
Returns a QTI xml representation of the test.
Definition at line 3553 of file class.ilObjTest.php.
References $data, ilRTE\_replaceMediaObjectImageSrc(), addQTIMaterial(), buildIso8601PeriodForExportCompatibility(), ilObjTestMainSettings\getAccessSettings(), getActivationEndingTime(), getActivationStartingTime(), getActivationVisibility(), ilObjTestMainSettings\getAdditionalSettings(), getAuthor(), getCountSystem(), ilObject\getDescription(), getEndingTime(), getExportSettings(), getFinalStatement(), ilObjTestMainSettings\getFinishingSettings(), ilObjTestMainSettings\getGeneralSettings(), getHighscoreAchievedTS(), getHighscoreAnon(), getHighscoreEnabled(), getHighscoreHints(), getHighscoreOwnTable(), getHighscorePercentage(), getHighscoreScore(), getHighscoreTopNum(), getHighscoreTopTable(), getHighscoreWTime(), getInstantFeedbackSolution(), getIntroduction(), ilObjTestMainSettings\getIntroductionSettings(), getMainSettings(), ilObjTestMainSettings\getParticipantFunctionalitySettings(), getPassScoring(), getProcessingTimeAsArray(), ilObjTestMainSettings\getQuestionBehaviourSettings(), getReportingDate(), getScoreCutting(), getScoreReporting(), getScoreSettings(), getStartingTime(), ilObjTestMainSettings\getTestBehaviourSettings(), getTestId(), ilObject\getTitle(), IL_INST_ID, ILIAS_VERSION, isActivationLimited(), isPassDeletionAllowed(), isShowGradingMarkEnabled(), and isShowGradingStatusEnabled().
Here is the call graph for this function:| ilObjTest::update | ( | ) |
Definition at line 206 of file class.ilObjTest.php.
References ilObject\updateMetaData().
Here is the call graph for this function:| ilObjTest::updateTestPassResults | ( | int | $active_id, |
| int | $pass, | ||
| bool | $obligations_enabled = false, |
||
| ilAssQuestionProcessLocker | $process_locker = null, |
||
| int | $test_obj_id = null |
||
| ) |
Definition at line 8142 of file class.ilObjTest.php.
References $data, _getQuestionCountAndPointsForPassOfParticipant(), _getWorkingTimeOfParticipantForPass(), buildExamId(), and updateTestResultCache().
Here is the call graph for this function:| ilObjTest::updateTestResultCache | ( | int | $active_id, |
| ilAssQuestionProcessLocker | $process_locker = null |
||
| ) |
Definition at line 8045 of file class.ilObjTest.php.
References $res, _getResultPass(), and ILIAS\Repository\int().
Referenced by getResultsForActiveId(), and updateTestPassResults().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::updateWorkingTime | ( | $times_id | ) |
Update the working time of a test when a question is answered.
| integer | $times_id | The database id of a working time entry public |
Definition at line 1618 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 6075 of file class.ilObjTest.php.
References ilObjUser\_lookupName(), getAnonymity(), and ILIAS\Repository\lng().
Referenced by removeTestResultsByActiveIds(), sendAdvancedNotification(), and sendSimpleNotification().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 115 of file class.ilObjTest.php.
Referenced by getAccessFilteredParticipantList(), and setAccessFilteredParticipantList().
|
protected |
Definition at line 85 of file class.ilObjTest.php.
Referenced by getActivationEndingTime().
|
private |
Definition at line 49 of file class.ilObjTest.php.
Referenced by isActivationLimited().
|
protected |
Definition at line 84 of file class.ilObjTest.php.
Referenced by getActivationStartingTime().
|
protected |
Definition at line 83 of file class.ilObjTest.php.
Referenced by getActivationVisibility().
| string ilObjTest::$author |
Definition at line 58 of file class.ilObjTest.php.
|
protected |
Definition at line 102 of file class.ilObjTest.php.
|
private |
Definition at line 112 of file class.ilObjTest.php.
|
private |
Definition at line 111 of file class.ilObjTest.php.
|
protected |
Definition at line 99 of file class.ilObjTest.php.
|
private |
Definition at line 77 of file class.ilObjTest.php.
Referenced by allObligationsAnswered().
| ilObjTest::$evaluation_data |
Contains the evaluation data settings the tutor defines for the user.
Definition at line 69 of file class.ilObjTest.php.
|
private |
Definition at line 51 of file class.ilObjTest.php.
|
private |
Definition at line 113 of file class.ilObjTest.php.
|
private |
Definition at line 76 of file class.ilObjTest.php.
Referenced by hasObligations().
| int ilObjTest::$invitation = INVITATION_OFF |
Definition at line 57 of file class.ilObjTest.php.
|
staticprivate |
Definition at line 7848 of file class.ilObjTest.php.
|
protected |
Definition at line 104 of file class.ilObjTest.php.
Referenced by fromXML(), and getMainSettings().
|
protected |
Definition at line 105 of file class.ilObjTest.php.
Referenced by getMainSettingsRepository().
|
private |
Definition at line 55 of file class.ilObjTest.php.
Referenced by cloneObject(), and getMarkSchema().
| ilObjTest::$metadata |
A reference to an IMS compatible matadata set.
Definition at line 63 of file class.ilObjTest.php.
Referenced by fromXML().
|
private |
Definition at line 50 of file class.ilObjTest.php.
|
private |
Definition at line 52 of file class.ilObjTest.php.
Referenced by isOnline().
|
protected |
Definition at line 103 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 92 of file class.ilObjTest.php.
Referenced by participantDataExist().
|
protected |
Definition at line 81 of file class.ilObjTest.php.
|
protected |
Definition at line 109 of file class.ilObjTest.php.
|
protected |
Definition at line 53 of file class.ilObjTest.php.
| array ilObjTest::$questions = [] |
Definition at line 64 of file class.ilObjTest.php.
Referenced by getPotentialRandomTestQuestions(), getQuestions(), and getTestQuestions().
|
protected |
Definition at line 100 of file class.ilObjTest.php.
|
protected |
Definition at line 106 of file class.ilObjTest.php.
Referenced by fromXML(), and getScoreSettings().
|
protected |
Definition at line 107 of file class.ilObjTest.php.
Referenced by getScoreSettingsRepository().
|
protected |
Definition at line 101 of file class.ilObjTest.php.
|
private |
Definition at line 79 of file class.ilObjTest.php.
Referenced by getTemplate(), and setTemplate().
| int ilObjTest::$test_id = -1 |
Definition at line 56 of file class.ilObjTest.php.
Referenced by _getTestIDFromObjectID(), and getTestId().
| ilObjTest::$test_sequence = false |
contains the test sequence data
Definition at line 74 of file class.ilObjTest.php.
Referenced by getTestResult(), isParticipantsLastPassActive(), and removeQuestionFromSequences().
|
protected |
Definition at line 94 of file class.ilObjTest.php.
Referenced by isTestFinalBroken().
|
private |
Definition at line 98 of file class.ilObjTest.php.
|
private |
Definition at line 54 of file class.ilObjTest.php.
|
private |
Definition at line 96 of file class.ilObjTest.php.
Referenced by getTmpCopyWizardCopyId(), and setTmpCopyWizardCopyId().
| const ilObjTest::QUESTION_SET_TYPE_FIXED = 'FIXED_QUEST_SET' |
Definition at line 41 of file class.ilObjTest.php.
Referenced by _getQuestionCountAndPointsForPassOfParticipant(), ilObjTestGUI\applyDefaultsObject(), ilLOTestAssignmentTableGUI\fillRow(), getQuestionSetTypeTranslation(), ilQTIParser\handlerVerifyEndTag(), ilLOTestAssignmentForm\initForm(), ilLOTestAssignmentTableGUI\parse(), ilObjTestSettingsMainGUI\populateConfirmationModal(), ilObjTestSettingsGeneral\toForm(), and ilObjTestGUI\uploadTst().
| const ilObjTest::QUESTION_SET_TYPE_RANDOM = 'RANDOM_QUEST_SET' |
Definition at line 42 of file class.ilObjTest.php.
Referenced by _getQuestionCountAndPointsForPassOfParticipant(), ilObjTestGUI\applyDefaultsObject(), ilLOTestAssignmentTableGUI\fillRow(), getQuestionSetTypeTranslation(), ilQTIParser\handlerVerifyEndTag(), ilLOTestAssignmentForm\initForm(), ilTestEvaluationGUI\resetfilterEvaluation(), ILIAS\Test\Setup\ilManScoringRecalculateReachedPoints\step(), and ilObjTestSettingsGeneral\toForm().
| const ilObjTest::REDIRECT_ALWAYS = 1 |
Definition at line 46 of file class.ilObjTest.php.
Referenced by ilObjTestSettingsFinishing\getRedirectionInputs().
| const ilObjTest::REDIRECT_KIOSK = 2 |
Definition at line 47 of file class.ilObjTest.php.
Referenced by ilObjTestSettingsFinishing\getRedirectionInputs().
| const ilObjTest::REDIRECT_NONE = 0 |
Definition at line 45 of file class.ilObjTest.php.
Referenced by ilTestPlayerAbstractGUI\afterTestPassFinishedCmd(), and ilObjTestSettingsFinishing\getRedirectionInputs().