|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for ilObjTest:
Collaboration diagram for ilObjTest:Public Member Functions | ||||||||||
| __construct ($a_id=0, bool $a_call_by_reference=true) | ||||||||||
| Constructor. More... | ||||||||||
| getTitleFilenameCompliant () | ||||||||||
| returns the object title prepared to be used as a filename More... | ||||||||||
| getTmpCopyWizardCopyId () | ||||||||||
| setTmpCopyWizardCopyId (int $tmpCopyWizardCopyId) | ||||||||||
| create () | ||||||||||
| note: title, description and type should be set when this function is called More... | ||||||||||
| update () | ||||||||||
| read () | ||||||||||
| delete () | ||||||||||
| delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | ||||||||||
| deleteTest () | ||||||||||
| createExportDirectory () | ||||||||||
| creates data directory for export files (data_dir/tst_data/tst_<id>/export, depending on data directory that is set in ILIAS setup/ini) More... | ||||||||||
| getExportDirectory () | ||||||||||
| getImportDirectory () | ||||||||||
| hasSingleChoiceQuestions () | ||||||||||
| isSingleChoiceTest () | ||||||||||
| isSingleChoiceTestWithoutShuffle () | ||||||||||
| isComplete (ilTestQuestionSetConfig $testQuestionSetConfig) | ||||||||||
| _isComplete ($obj_id) | ||||||||||
| saveCompleteStatus (ilTestQuestionSetConfig $testQuestionSetConfig) | ||||||||||
| getAllRTEContent () | ||||||||||
| Returns the content of all RTE enabled text areas in the test. More... | ||||||||||
| cleanupMediaobjectUsage () | ||||||||||
| Cleans up the media objects for all text fields in a test which are using an RTE field. More... | ||||||||||
| saveToDb (bool $properties_only=false) | ||||||||||
| saveQuestionsToDb () | ||||||||||
| randomSelectQuestions (int $nr_of_questions, int $questionpool, $use_obj_id=0, $qpls="", $pass=null) | ||||||||||
| Returns a random selection of questions. More... | ||||||||||
| getNrOfResultsForPass ($active_id, $pass) | ||||||||||
| Calculates the number of user results for a specific test pass. More... | ||||||||||
| hasRandomQuestionsForPass (int $active_id, int $pass) | ||||||||||
| Checkes wheather a random test has already created questions for a given pass or not. More... | ||||||||||
| loadFromDb () | ||||||||||
| loadQuestions ($active_id="", $pass=null) | ||||||||||
| Load the test question id's from the database. More... | ||||||||||
| isIntroductionEnabled () | ||||||||||
| setIntroductionEnabled ($introductionEnabled) | ||||||||||
| getIntroduction () | ||||||||||
| setIntroduction (string $introduction) | ||||||||||
| setFinalStatement (string $a_statement) | ||||||||||
| setShowInfo ($a_info=1) | ||||||||||
| Set whether the complete information page is shown or the required data only. More... | ||||||||||
| setForceJS ($a_js=1) | ||||||||||
| Set whether JavaScript should be forced for tests. More... | ||||||||||
| setCustomStyle ($a_customStyle=null) | ||||||||||
| Set the custom style. More... | ||||||||||
| getCustomStyle () | ||||||||||
| setShowFinalStatement ($show=0) | ||||||||||
| Sets whether the final statement should be shown or not. More... | ||||||||||
| getFinalStatement () | ||||||||||
| getShowInfo () | ||||||||||
| Gets whether the complete information page is shown or the required data only. More... | ||||||||||
| getForceJS () | ||||||||||
| Gets whether JavaScript should be forced for tests. More... | ||||||||||
| getShowFinalStatement () | ||||||||||
| Returns whether the final statement should be shown or not. More... | ||||||||||
| getTestId () | ||||||||||
| Gets the database id of the additional test data. More... | ||||||||||
| getECTSOutput () | ||||||||||
| setECTSOutput ($a_ects_output) | ||||||||||
| getECTSFX () | ||||||||||
| setECTSFX ($a_ects_fx) | ||||||||||
| getECTSGrades () | ||||||||||
| setECTSGrades (array $a_ects_grades) | ||||||||||
| getSequenceSettings () | ||||||||||
| SEQUENCE SETTING = POSTPONING ENABLED !! More... | ||||||||||
| setSequenceSettings ($sequence_settings=0) | ||||||||||
| SEQUENCE SETTING = POSTPONING ENABLED !! More... | ||||||||||
| isPostponingEnabled () | ||||||||||
| setPostponingEnabled ($postponingEnabled) | ||||||||||
| setInstantFeedbackSolution ($instant_feedback=0) | ||||||||||
| Sets the instant feedback for the solution. More... | ||||||||||
| setAnswerFeedback ($answer_feedback=0) | ||||||||||
| Sets the generic feedback for the test @deprecate Use setGenericAnswerFeedback instead. More... | ||||||||||
| setGenericAnswerFeedback (int $generic_answer_feedback=0) | ||||||||||
| setAnswerFeedbackPoints ($answer_feedback_points=0) | ||||||||||
| Sets the answer specific feedback of reached points for the test. More... | ||||||||||
| setReportingDate ($reporting_date) | ||||||||||
| Sets the reporting date of the ilObjTest object when the score reporting is available. More... | ||||||||||
| getScoreReporting () | ||||||||||
| isScoreReportingEnabled () | ||||||||||
| getInstantFeedbackSolution () | ||||||||||
| Returns 1 if the correct solution will be shown after answering a question. More... | ||||||||||
| getAnswerFeedback () | ||||||||||
| Returns 1 if generic answer feedback is activated. More... | ||||||||||
| getGenericAnswerFeedback () | ||||||||||
| Returns 1 if generic answer feedback is to be shown. More... | ||||||||||
| getAnswerFeedbackPoints () | ||||||||||
| Returns 1 if answer specific feedback as reached points is activated. More... | ||||||||||
| getCountSystem () | ||||||||||
| Gets the count system for the calculation of points. More... | ||||||||||
| 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 () | ||||||||||
| Returns the nr of tries for the test. More... | ||||||||||
| isBlockPassesAfterPassedEnabled () | ||||||||||
| setBlockPassesAfterPassedEnabled ($blockPassesAfterPassedEnabled) | ||||||||||
| getKiosk () | ||||||||||
| Returns the kiosk mode. More... | ||||||||||
| setKiosk ($kiosk=0) | ||||||||||
| Sets the kiosk mode for the test. More... | ||||||||||
| getKioskMode () | ||||||||||
| Returns the kiosk mode. More... | ||||||||||
| setKioskMode ($a_kiosk=false) | ||||||||||
| Sets the kiosk mode for the test. More... | ||||||||||
| getShowKioskModeTitle () | ||||||||||
| Returns the status of the kiosk mode title. More... | ||||||||||
| setShowKioskModeTitle ($a_title=false) | ||||||||||
| Set to true, if the full test title should be shown in kiosk mode. More... | ||||||||||
| getShowKioskModeParticipant () | ||||||||||
| Returns the status of the kiosk mode participant. More... | ||||||||||
| setShowKioskModeParticipant ($a_participant=false) | ||||||||||
| Set to true, if the participant's name should be shown in kiosk mode. More... | ||||||||||
| getUsePreviousAnswers () | ||||||||||
| Returns if the previous answers should be shown for a learner. More... | ||||||||||
| getTitleOutput () | ||||||||||
| Returns the value of the title_output status. More... | ||||||||||
| _getTitleOutput ($active_id) | ||||||||||
| Returns the value of the title_output status. More... | ||||||||||
| isPreviousSolutionReuseEnabled ($active_id) | ||||||||||
| getProcessingTime () | ||||||||||
| Returns the processing time for the test. More... | ||||||||||
| getProcessingTimeAsArray () | ||||||||||
| getProcessingTimeAsMinutes () | ||||||||||
| getProcessingTimeInSeconds ($active_id="") | ||||||||||
| Returns the processing time for the test in seconds. More... | ||||||||||
| getSecondsUntilEndingTime () | ||||||||||
| Returns the seconds left from the actual time until the ending time. More... | ||||||||||
| getEnableProcessingTime () | ||||||||||
| Returns the state of the processing time (enabled/disabled) More... | ||||||||||
| getResetProcessingTime () | ||||||||||
| Returns wheather the processing time should be reset or not. More... | ||||||||||
| isStartingTimeEnabled () | ||||||||||
| setStartingTimeEnabled ($starting_time_enabled) | ||||||||||
| getStartingTime () | ||||||||||
| Returns the starting time of the test. More... | ||||||||||
| setStartingTime ($starting_time=null) | ||||||||||
| Sets the starting time in database timestamp format for the test. More... | ||||||||||
| isEndingTimeEnabled () | ||||||||||
| setEndingTimeEnabled ($ending_time_enabled) | ||||||||||
| getEndingTime () | ||||||||||
| Returns the ending time of the test. More... | ||||||||||
| setEndingTime ($ending_time=null) | ||||||||||
| Sets the ending time in database timestamp format for the test. More... | ||||||||||
| setNrOfTries ($nr_of_tries=0) | ||||||||||
| Sets the nr of tries for the test. More... | ||||||||||
| setUsePreviousAnswers ($use_previous_answers=1) | ||||||||||
| Sets the status of the visibility of previous learner answers. More... | ||||||||||
| setRedirectionMode ($redirection_mode=0) | ||||||||||
| getRedirectionMode () | ||||||||||
| setRedirectionUrl ($redirection_url=null) | ||||||||||
| getRedirectionUrl () | ||||||||||
| setTitleOutput ($title_output=0) | ||||||||||
| Sets the status of the title output. More... | ||||||||||
| setProcessingTime ($processing_time="00:00:00") | ||||||||||
| Sets the processing time for the test. More... | ||||||||||
| setProcessingTimeByMinutes ($minutes) | ||||||||||
| setEnableProcessingTime ($enable=0) | ||||||||||
| Sets the processing time enabled or disabled. More... | ||||||||||
| setResetProcessingTime ($reset=0) | ||||||||||
| Sets wheather the processing time should be reset or not. More... | ||||||||||
| isPasswordEnabled () | ||||||||||
| setPasswordEnabled ($passwordEnabled) | ||||||||||
| getPassword () | ||||||||||
| setPassword ($a_password=null) | ||||||||||
| Sets the password for test access. More... | ||||||||||
| getPassWaiting () | ||||||||||
| setPassWaiting ($pass_waiting) | ||||||||||
| isPassWaitingEnabled () | ||||||||||
| 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) | ||||||||||
| 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 ( $active_id, $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 ($accessFilteredParticipantList) | ||||||||||
| buildStatisticsAccessFilteredParticipantList () | ||||||||||
| & | getCompleteEvaluationData ($withStatistics=true, $filterby="", $filtertext="") | |||||||||
| & | evalResultsOverview () | |||||||||
| Creates an associated array with the results of all participants of a test. More... | ||||||||||
| & | _evalResultsOverview ($test_id) | |||||||||
| Creates an associated array with the results of all participants of a test. More... | ||||||||||
| & | evalResultsOverviewOfParticipant ($active_id) | |||||||||
| Creates an associated array with the results for a given participant of a test. More... | ||||||||||
| buildName ($user_id, $firstname, $lastname, $title) | ||||||||||
| Builds a user name for the output depending on test type and existence of the user. More... | ||||||||||
| _buildName ($is_anonymous, $user_id, $firstname, $lastname, $title) | ||||||||||
| Builds a user name for the output depending on test type and existence of the user. More... | ||||||||||
| evalTotalStartedAverageTime ($activeIdsFilter=null) | ||||||||||
| Returns the average processing time for all started tests. More... | ||||||||||
| getAvailableQuestionpools ($use_object_id=false, $equal_points=false, $could_be_offline=false, $show_path=false, $with_questioncount=false, $permission="read") | ||||||||||
| Returns the available question pools for the active user. More... | ||||||||||
| getEstimatedWorkingTime () | ||||||||||
| Returns the estimated working time for the test calculated from the working time of the contained questions. More... | ||||||||||
| getImagePath () | ||||||||||
| Returns the image path for web accessable images of a test The image path is under the CLIENT_WEB_DIR in assessment/REFERENCE_ID_OF_TEST/images. More... | ||||||||||
| getImagePathWeb () | ||||||||||
| Returns the web image path for web accessable images of a test The image path is under the web accessable data dir in assessment/REFERENCE_ID_OF_TEST/images. More... | ||||||||||
| createQuestionGUI ($question_type, $question_id=-1) | ||||||||||
| Creates a question GUI instance of a given question type. More... | ||||||||||
| moveQuestions ($move_questions, $target_index, $insert_mode) | ||||||||||
| Move questions to another position. More... | ||||||||||
| startingTimeReached () | ||||||||||
| Returns true if the starting time of a test is reached A starting time is not available for self assessment tests. More... | ||||||||||
| endingTimeReached () | ||||||||||
| Returns true if the ending time of a test is reached An ending time is not available for self assessment tests. More... | ||||||||||
| getAvailableQuestions ($arrFilter, $completeonly=0) | ||||||||||
| Calculates the available questions for a test. More... | ||||||||||
| fromXML (ilQTIAssessment $assessment) | ||||||||||
| Receives parameters from a QTI parser and creates a valid ILIAS test object. More... | ||||||||||
| toXML () | ||||||||||
| Returns a QTI xml representation of the test. More... | ||||||||||
| exportPagesXML (&$a_xml_writer, $a_inst, $a_target_dir, &$expLog) | ||||||||||
| export pages of test to xml (see ilias_co.dtd) More... | ||||||||||
| exportXMLMetaData (&$a_xml_writer) | ||||||||||
| export content objects meta data to xml (see ilias_co.dtd) More... | ||||||||||
| modifyExportIdentifier ($a_tag, $a_param, $a_value) | ||||||||||
| Returns the installation id for a given identifier. More... | ||||||||||
| exportXMLPageObjects (&$a_xml_writer, $a_inst, &$expLog) | ||||||||||
| export page objects to xml (see ilias_co.dtd) More... | ||||||||||
| exportXMLMediaObjects (&$a_xml_writer, $a_inst, $a_target_dir, &$expLog) | ||||||||||
| export media objects to xml (see ilias_co.dtd) More... | ||||||||||
| exportFileItems ($target_dir, &$expLog) | ||||||||||
| export files of file itmes More... | ||||||||||
| getImportMapping () | ||||||||||
| get array of (two) new created questions for import id More... | ||||||||||
| canEditEctsGrades () | ||||||||||
| {} More... | ||||||||||
| canShowEctsGrades () | ||||||||||
| {} More... | ||||||||||
| getECTSGrade ($passed_array, $reached_points, $max_points) | ||||||||||
{Returns the ECTS grade for a number of reached points.
| ||||||||||
| checkMarks () | ||||||||||
{
| ||||||||||
| getMarkSchema () | ||||||||||
{
| ||||||||||
| getMarkSchemaForeignId () | ||||||||||
{
| ||||||||||
| canEditMarks () | ||||||||||
| setAuthor (string $author="") | ||||||||||
| Sets the authors name of the ilObjTest object. More... | ||||||||||
| saveAuthorToMetadata (string $a_author="") | ||||||||||
| Saves an authors name into the lifecycle metadata if no lifecycle metadata exists This will only be called for conversion of "old" tests where the author hasn't been stored in the lifecycle metadata. More... | ||||||||||
| getAuthor () | ||||||||||
| Gets the authors name of the ilObjTest object. More... | ||||||||||
| getQuestionCount () | ||||||||||
| getQuestionCountWithoutReloading () | ||||||||||
| logAction ($logtext="", $question_id="") | ||||||||||
| 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 ($user_id="", $order="login, lastname, firstname") | |||||||||
| Returns a list of all invited users in a test. More... | ||||||||||
| & | getTestParticipants () | |||||||||
| Returns a list of all participants in a test. More... | ||||||||||
| getTestParticipantsForManualScoring ($filter=null) | ||||||||||
| getUserData ($ids) | ||||||||||
| Returns a data of all users specified by id list. More... | ||||||||||
| getGroupData ($ids) | ||||||||||
| getRoleData ($ids) | ||||||||||
| inviteGroup ($group_id) | ||||||||||
| Invites all users of a group to a test. More... | ||||||||||
| inviteRole ($role_id) | ||||||||||
| Invites all users of a role to a test. More... | ||||||||||
| disinviteUser ($user_id) | ||||||||||
| Disinvites a user from a test. More... | ||||||||||
| inviteUser ($user_id, $client_ip="") | ||||||||||
| Invites a user to a test. More... | ||||||||||
| setClientIP ($user_id, $client_ip) | ||||||||||
| setQuestionSetSolved ($value, $question_id, $user_id) | ||||||||||
| sets question solved state to value for given user_id More... | ||||||||||
| isTestFinished ($active_id) | ||||||||||
| returns if the active for user_id has been submitted More... | ||||||||||
| isActiveTestSubmitted ($user_id=null) | ||||||||||
| returns if the active for user_id has been submitted More... | ||||||||||
| hasNrOfTriesRestriction () | ||||||||||
| returns if the numbers of tries have to be checked More... | ||||||||||
| isNrOfTriesReached ($tries) | ||||||||||
| returns if number of tries are reached More... | ||||||||||
| getAllTestResults ($participants, $prepareForCSV=true) | ||||||||||
| returns all test results for all participants More... | ||||||||||
| & | processCSVRow ($row, $quoteAll=false, $separator=";") | |||||||||
| Processes an array as a CSV row and converts the array values to correct CSV values. More... | ||||||||||
| getAnsweredQuestionCount ($active_id, $pass=null) | ||||||||||
| Retrieves the number of answered questions for a given user in a given test. More... | ||||||||||
| isExecutable ($testSession, $user_id, $allowPassIncrease=false) | ||||||||||
| Checks if the test is executable by the given user. More... | ||||||||||
| canShowTestResults (ilTestSession $testSession) | ||||||||||
| hasAnyTestResult (ilTestSession $testSession) | ||||||||||
| 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 () | ||||||||||
| getShuffleQuestions () | ||||||||||
| Returns the status of the shuffle_questions variable. More... | ||||||||||
| setShuffleQuestions ($a_shuffle) | ||||||||||
| Sets the status of the shuffle_questions variable. More... | ||||||||||
| getListOfQuestionsSettings () | ||||||||||
| Returns the settings for the list of questions options in the test properties This could contain one of the following values: 0 = No list of questions offered 1 = A list of questions is offered 3 = A list of questions is offered and the list of questions is shown as first page of the test 5 = A list of questions is offered and the list of questions is shown as last page of the test 7 = A list of questions is offered and the list of questions is shown as first and last page of the test. More... | ||||||||||
| setListOfQuestionsSettings ($a_value=0) | ||||||||||
| Sets the settings for the list of questions options in the test properties This could contain one of the following values: 0 = No list of questions offered 1 = A list of questions is offered 3 = A list of questions is offered and the list of questions is shown as first page of the test 5 = A list of questions is offered and the list of questions is shown as last page of the test 7 = A list of questions is offered and the list of questions is shown as first and last page of the test. More... | ||||||||||
| getListOfQuestions () | ||||||||||
| Returns if the list of questions should be presented to the user or not. More... | ||||||||||
| setListOfQuestions ($a_value=true) | ||||||||||
| Sets if the the list of questions should be presented to the user or not. More... | ||||||||||
| getListOfQuestionsStart () | ||||||||||
| Returns if the list of questions should be presented as the first page of the test. More... | ||||||||||
| setListOfQuestionsStart ($a_value=true) | ||||||||||
| Sets if the the list of questions as the start page of the test. More... | ||||||||||
| getListOfQuestionsEnd () | ||||||||||
| Returns if the list of questions should be presented as the last page of the test. More... | ||||||||||
| setListOfQuestionsEnd ($a_value=true) | ||||||||||
| Sets if the the list of questions as the end page of the test. More... | ||||||||||
| getListOfQuestionsDescription () | ||||||||||
| Returns TRUE if the list of questions should be presented with the question descriptions. More... | ||||||||||
| setListOfQuestionsDescription ($a_value=true) | ||||||||||
| Sets the show_summary attribute to TRUE if the list of questions should be presented with the question descriptions. More... | ||||||||||
| getResultsPresentation () | ||||||||||
| Returns the combined results presentation value. More... | ||||||||||
| getShowPassDetails () | ||||||||||
| Returns if the pass details should be shown when a test is not finished. More... | ||||||||||
| getShowSolutionDetails () | ||||||||||
| Returns if the solution details should be presented to the user or not. More... | ||||||||||
| getShowSolutionPrintview () | ||||||||||
| Returns if the solution printview should be presented to the user or not. More... | ||||||||||
| 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 ($user_id=null) | ||||||||||
| setShowSolutionPrintview (int $a_printview=1) | ||||||||||
| Sets if the the solution printview should be presented to the user or not. More... | ||||||||||
| isLimitUsersEnabled () | ||||||||||
| setLimitUsersEnabled (bool $limitUsersEnabled) | ||||||||||
| getAllowedUsers () | ||||||||||
| setAllowedUsers ($a_allowed_users) | ||||||||||
| getAllowedUsersTimeGap () | ||||||||||
| setAllowedUsersTimeGap ($a_allowed_users_time_gap) | ||||||||||
| checkMaximumAllowedUsers () | ||||||||||
| _getLastAccess ($active_id) | ||||||||||
| isHTML ($a_text) | ||||||||||
| Checks if a given string contains HTML or not. More... | ||||||||||
| QTIMaterialToString ($a_material) | ||||||||||
| Reads an QTI material tag an creates a text string. More... | ||||||||||
| addQTIMaterial (&$a_xml_writer, $a_material='') | ||||||||||
| Creates a QTI material tag from a plain text or xhtml text. More... | ||||||||||
| prepareTextareaOutput ($txt_output, $prepare_for_latex_output=false, $omitNl2BrWhenTextArea=false) | ||||||||||
| Prepares a string for a text area output in tests. More... | ||||||||||
| getAnonymity () | ||||||||||
| Returns the anonymity status of the test. More... | ||||||||||
| setAnonymity ($a_value=0) | ||||||||||
| Sets the anonymity status of the test. More... | ||||||||||
| getShowCancel () | ||||||||||
| Returns wheather the cancel test button is shown or not. More... | ||||||||||
| setShowCancel ($a_value=1) | ||||||||||
| Sets the cancel test button status. More... | ||||||||||
| getShowMarker () | ||||||||||
| Returns wheather the marker button is shown or not. More... | ||||||||||
| setShowMarker ($a_value=1) | ||||||||||
| Sets the marker button status. More... | ||||||||||
| getFixedParticipants () | ||||||||||
| Returns the fixed participants status. More... | ||||||||||
| setFixedParticipants ($a_value=1) | ||||||||||
| Sets the fixed participants status. More... | ||||||||||
| _lookupRandomTestFromActiveId ($active_id) | ||||||||||
| Returns the random status of a test with a given object id. More... | ||||||||||
| userLookupFullName ($user_id, $overwrite_anonymity=false, $sorted_order=false, $suffix="") | ||||||||||
| Returns the full name of a test user according to the anonymity status. More... | ||||||||||
| getStartTestLabel ($active_id) | ||||||||||
| Returns the "Start the Test" label for the Info page. More... | ||||||||||
| getTestDefaults ($test_defaults_id) | ||||||||||
| Returns the test defaults for a given id. More... | ||||||||||
| deleteDefaults ($test_default_id) | ||||||||||
| Deletes the defaults for a test. More... | ||||||||||
| addDefaults ($a_name) | ||||||||||
| Adds the defaults of this test to the test defaults. More... | ||||||||||
| applyDefaults ($test_defaults) | ||||||||||
| Applies given test defaults to this test. More... | ||||||||||
| processPrintoutput2FO ($print_output) | ||||||||||
| Convert a print output to XSL-FO. More... | ||||||||||
| deliverPDFfromHTML ($content, $title=null) | ||||||||||
| Delivers a PDF file from XHTML. More... | ||||||||||
| deliverPDFfromFO ($fo, $title=null) | ||||||||||
| Delivers a PDF file from a XSL-FO string. More... | ||||||||||
| 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) | ||||||||||
| getAggregatedResultsData () | ||||||||||
| Returns the aggregated test results. More... | ||||||||||
| getXMLZip () | ||||||||||
| Get zipped xml file for test. More... | ||||||||||
| getMailNotification () | ||||||||||
| setMailNotification ($a_notification) | ||||||||||
| sendSimpleNotification ($active_id) | ||||||||||
| getEvaluationAdditionalFields () | ||||||||||
| Gets additional user fields that should be shown in the user evaluation. More... | ||||||||||
| sendAdvancedNotification ($active_id) | ||||||||||
| getResultsForActiveId ($active_id) | ||||||||||
| getMailNotificationType () | ||||||||||
| setMailNotificationType ($a_type) | ||||||||||
| getExportSettings () | ||||||||||
| setExportSettings ($a_settings) | ||||||||||
| getExportSettingsSingleChoiceShort () | ||||||||||
| setExportSettingsSingleChoiceShort ($a_settings) | ||||||||||
| getEnabledViewMode () | ||||||||||
| setEnabledViewMode ($mode) | ||||||||||
| setTemplate ($template_id) | ||||||||||
| getTemplate () | ||||||||||
| isAnyInstantFeedbackOptionEnabled () | ||||||||||
| getInstantFeedbackOptionsAsArray () | ||||||||||
| setInstantFeedbackOptionsByArray ($options) | ||||||||||
| reindexFixedQuestionOrdering () | ||||||||||
| setQuestionOrderAndObligations ($orders, $obligations) | ||||||||||
| moveQuestionAfter ($question_to_move, $question_before) | ||||||||||
| hasQuestionsWithoutQuestionpool () | ||||||||||
| getQuestions () | ||||||||||
| isOnline () | ||||||||||
| setOnline ($a_online=true) | ||||||||||
| getOldOnlineStatus () | ||||||||||
| setOldOnlineStatus ($oldOnlineStatus) | ||||||||||
| isBestSolutionPrintedWithResult () | ||||||||||
| isOfferingQuestionHintsEnabled () | ||||||||||
| returns the fact wether offering hints is enabled or not More... | ||||||||||
| setOfferingQuestionHintsEnabled ($offeringQuestionHintsEnabled) | ||||||||||
| sets offering question hints enabled/disabled More... | ||||||||||
| setActivationVisibility ($a_value) | ||||||||||
| getActivationVisibility () | ||||||||||
| isActivationLimited () | ||||||||||
| setActivationLimited ($a_value) | ||||||||||
| 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 () | ||||||||||
| setSpecificAnswerFeedback ($specific_answer_feedback) | ||||||||||
| getSpecificAnswerFeedback () | ||||||||||
| setObligationsEnabled ($obligationsEnabled=true) | ||||||||||
| sets obligations enabled/disabled More... | ||||||||||
| areObligationsEnabled () | ||||||||||
| returns the fact wether obligations are enabled or not More... | ||||||||||
| setAutosave ($autosave) | ||||||||||
| getAutosave () | ||||||||||
| setAutosaveIval ($autosave_ival) | ||||||||||
| getAutosaveIval () | ||||||||||
| isPassDeletionAllowed () | ||||||||||
| setShowExamviewHtml ($show_examview_html) | ||||||||||
| getShowExamviewHtml () | ||||||||||
| setShowExamviewPdf ($show_examview_pdf) | ||||||||||
| getShowExamviewPdf () | ||||||||||
| setEnableExamview ($enable_examview) | ||||||||||
| getEnableExamview () | ||||||||||
| setActivationStartingTime ($starting_time=null) | ||||||||||
| setActivationEndingTime ($ending_time=null) | ||||||||||
| getActivationStartingTime () | ||||||||||
| getActivationEndingTime () | ||||||||||
| getStartingTimeOfParticipants () | ||||||||||
| 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) | ||||||||||
| setEnableArchiving ($enable_archiving) | ||||||||||
| getEnableArchiving () | ||||||||||
| setShowExamIdInTestPassEnabled ($show_exam_id_in_test_pass_enabled) | ||||||||||
| isShowExamIdInTestPassEnabled () | ||||||||||
| isShowExamIdInTestResultsEnabled () | ||||||||||
| setSignSubmission ($sign_submission) | ||||||||||
| getSignSubmission () | ||||||||||
| setCharSelectorAvailability ($availability) | ||||||||||
| getCharSelectorAvailability () | ||||||||||
| setCharSelectorDefinition ($definition='') | ||||||||||
| getCharSelectorDefinition () | ||||||||||
| setQuestionSetType ($questionSetType) | ||||||||||
| setter for question set type More... | ||||||||||
| getQuestionSetType () | ||||||||||
| getter for question set type More... | ||||||||||
| isFixedTest () | ||||||||||
| Returns the fact wether this test is a fixed question set test or not. More... | ||||||||||
| isRandomTest () | ||||||||||
| Returns the fact wether this test is a random questions test or not. More... | ||||||||||
| isDynamicTest () | ||||||||||
| Returns the fact wether this test is a dynamic question set test or not. More... | ||||||||||
| getQuestionSetTypeTranslation (ilLanguage $lng, $questionSetType) | ||||||||||
| participantDataExist () | ||||||||||
| recalculateScores ($preserve_manscoring=false) | ||||||||||
| setSkillServiceEnabled ($skillServiceEnabled) | ||||||||||
| isSkillServiceEnabled () | ||||||||||
| getResultFilterTaxIds () | ||||||||||
| isSkillServiceToBeConsidered () | ||||||||||
| Returns whether this test must consider skills, usually by providing appropriate extensions in the user interface components. More... | ||||||||||
| setShowGradingStatusEnabled ($showGradingStatusEnabled) | ||||||||||
| isShowGradingStatusEnabled () | ||||||||||
| setShowGradingMarkEnabled ($showGradingMarkEnabled) | ||||||||||
| isShowGradingMarkEnabled () | ||||||||||
| setFollowupQuestionAnswerFixationEnabled ($followupQuestionAnswerFixationEnabled) | ||||||||||
| isFollowupQuestionAnswerFixationEnabled () | ||||||||||
| setInstantFeedbackAnswerFixationEnabled ($instantFeedbackAnswerFixationEnabled) | ||||||||||
| isInstantFeedbackAnswerFixationEnabled () | ||||||||||
| isForceInstantFeedbackEnabled () | ||||||||||
| setForceInstantFeedbackEnabled ($forceInstantFeedbackEnabled) | ||||||||||
| isTestFinalBroken () | ||||||||||
| setTestFinalBroken ($testFinalBroken) | ||||||||||
| adjustTestSequence () | ||||||||||
| getScoreSettings () | ||||||||||
| getScoreSettingsRepository () | ||||||||||
Public Member Functions inherited from ilObject | ||||||||||
| __construct (int $id=0, bool $reference=true) | ||||||||||
| 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 $desc) | ||||||||||
| 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... | ||||||||||
Public Member Functions inherited from ilMarkSchemaAware | ||||||||||
| getMarkSchema () | ||||||||||
| checkMarks () | ||||||||||
| canEditMarks () | ||||||||||
| getMarkSchemaForeignId () | ||||||||||
| onMarkSchemaSaved () | ||||||||||
Public Member Functions inherited from ilEctsGradesEnabled | ||||||||||
| setECTSGrades (array $grades) | ||||||||||
| getECTSGrades () | ||||||||||
| setECTSFX ($ects_fx) | ||||||||||
| getECTSFX () | ||||||||||
| setECTSOutput ($status) | ||||||||||
| getECTSOutput () | ||||||||||
| saveECTSStatus () | ||||||||||
| canEditEctsGrades () | ||||||||||
| canShowEctsGrades () | ||||||||||
| getECTSGrade ($passed_array, $reached_points, $max_points) | ||||||||||
| Returns the ECTS grade for a number of reached points. 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) | ||||||
| Gets the count system for the calculation of points. More... | |||||||
| 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 | _getECTSGrade ($points_passed, $reached_points, $max_points, $a, $b, $c, $d, $e, $fx) | ||||||
{Returns the ECTS grade for a number of reached points.
| |||||||
| 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 ($active_id) | ||||||
| static | lookupLastTestPassAccess ($activeId, $passIndex) | ||||||
| static | _lookupAnonymity ($a_obj_id) | ||||||
| Returns the anonymity status of a test with a given object id. More... | |||||||
| static | lookupQuestionSetTypeByActiveId ($active_id) | ||||||
| returns the question set type of test relating to passed active id More... | |||||||
| static | _getTestDefaults ($test_defaults_id) | ||||||
| static | getManualFeedback ($active_id, $question_id, $pass) | ||||||
| Retrieves the 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 ($a_q_id) | ||||||
| Get test Object ID for question ID. More... | |||||||
| static | _lookupFinishedUserTests ($a_user_id) | ||||||
| Gather all finished tests for user. More... | |||||||
| static | isQuestionObligationPossible ($questionId) | ||||||
| checks wether the obligation for question with given id is possible or not More... | |||||||
| static | isQuestionObligatory ($question_id) | ||||||
| checks wether the question with given id is marked as obligatory or not More... | |||||||
| static | allObligationsAnswered ($test_id, $active_id, $pass) | ||||||
| checks wether all questions marked as obligatory were answered within the test pass with given testId, activeId and pass index More... | |||||||
| static | hasObligations ($test_id) | ||||||
| returns the fact wether the test with given test id contains questions markes as obligatory or not More... | |||||||
| static | 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 | ensureParticipantsLastActivePassFinished ($testObjId, $userId, $a_force_new_run=false) | ||||||
| static | isParticipantsLastPassActive ($testRefId, $userId) | ||||||
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) | ||||||
| static | _getECTSGrade ($points_passed, $reached_points, $max_points, $a, $b, $c, $d, $e, $fx) | ||||||
| Returns the ECTS grade for a number of reached points. More... | |||||||
Protected Member Functions | |
| isNewRandomTest () | |
| Checks wheather the test is a new random test (using tst_rnd_cpy) or an old one. More... | |
| buildIso8601PeriodFromUnixtimeForExportCompatibility ($unix_timestamp) | |
| doCreateMetaData () | |
| @inheritDoc More... | |
| 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 | |
| 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 | |
| const | QUESTION_SET_TYPE_DYNAMIC = 'DYNAMIC_QUEST_SET' |
| string | $questionSetType = self::QUESTION_SET_TYPE_FIXED |
| bool | $skillServiceEnabled = false |
| array | $resultFilterTaxIds = array() |
| int | $specific_answer_feedback = null |
| bool | $activation_limited = null |
| array | $mob_ids |
| array | $file_ids |
| bool | $online |
| Refinery | $refinery |
| ILIAS Test InternalRequestService | $testrequest |
| $_showfinalstatement | |
| string | $_finalstatement |
| bool | $_showinfo |
| bool | $_forcejs = true |
| $_customStyle | |
| Name of a custom style sheet for the test string? More... | |
| $template_id | |
| bool | $offeringQuestionHintsEnabled = null |
| bool | $obligationsEnabled = null |
| $passDeletionAllowed = null | |
| $participantDataExist = null | |
| holds the fact wether participant data exists or not DO NOT USE TIS PROPERTY DRIRECTLY ALWAYS USE ilObjTest::paricipantDataExist() since this method initialises this property More... | |
| int | $redirection_mode = 0 |
| string | $redirection_url = null |
| int | $tmpCopyWizardCopyId |
Static Private Attributes | |
| static | $isSkillManagementGloballyActivated = null |
Definition at line 33 of file class.ilObjTest.php.
| ilObjTest::__construct | ( | $a_id = 0, |
|
| bool | $a_call_by_reference = true |
||
| ) |
Constructor.
| $a_id | int|string Reference_id or object_id. |
| $a_call_by_reference | bool Treat the id as reference_id (true) or object_id (false). |
Definition at line 275 of file class.ilObjTest.php.
References $DIC, $ilUser, ilObject\$lng, ILIAS\GlobalScreen\Provider\__construct(), ilLanguage\loadLanguageModule(), ILIAS\Repository\refinery(), TEST_FIXED_SEQUENCE, and ilLanguage\txt().
Here is the call graph for this function:| ilObjTest::_buildName | ( | $is_anonymous, | |
| $user_id, | |||
| $firstname, | |||
| $lastname, | |||
| $title | |||
| ) |
Builds a user name for the output depending on test type and existence of the user.
| boolean | $is_anonymous | Indicates if it is an anonymized test or not |
| int | $user_id | The database ID of the user |
| string | $firstname | The first name of the user |
| string | $lastname | The last name of the user |
| string | $title | The title of the user |
Definition at line 4518 of file class.ilObjTest.php.
References $DIC, $lng, $name, and ANONYMOUS_USER_ID.
|
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 582 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 4388 of file class.ilObjTest.php.
|
static |
Definition at line 3212 of file class.ilObjTest.php.
References $DIC, $ilDB, and $ilUser.
Referenced by ilLOUtils\getTestResultLinkForUser().
Here is the caller graph for this function:
|
static |
Returns the available tests for the active user.
Definition at line 6224 of file class.ilObjTest.php.
References $DIC, $ilDB, $ilUser, $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 7274 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 3537 of file class.ilObjTest.php.
|
static |
Gets the count system for the calculation of points.
Definition at line 1872 of file class.ilObjTest.php.
Referenced by assQuestion\adjustReachedPointsByScoringOptions().
Here is the caller graph for this function:
|
static |
{Returns the ECTS grade for a number of reached points.
| double | $reached_points | The points reached in the test |
| double | $max_points | The maximum number of points for the test |
Implements ilEctsGradesEnabled.
Definition at line 6008 of file class.ilObjTest.php.
References Vendor\Package\$a, Vendor\Package\$b, $c, $d, and Vendor\Package\$e.
|
static |
Get the import directory location of the test.
Definition at line 563 of file class.ilObjTest.php.
References ilSession\get().
Referenced by assFormulaQuestionImport\fromXML(), fromXML(), getImportDirectory(), assQuestionImport\getTstImportArchivDirectory(), ilObjTestGUI\importVerifiedFileObject(), and ilObjTestGUI\uploadTst().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::_getLastAccess | ( | $active_id | ) |
Definition at line 8111 of file class.ilObjTest.php.
|
static |
Retrieves the maximum pass of a given user for a given test in which the user answered at least one question.
| integer | $user_id | The user id |
| integer | $test_id | The test id |
Definition at line 7251 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 6497 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 6473 of file class.ilObjTest.php.
|
static |
Retrieves the actual pass of a given user for a given test.
| integer | $user_id | The user id |
| integer | $test_id | The test id |
Definition at line 7225 of file class.ilObjTest.php.
Referenced by ilTestPlayerAbstractGUI\finishTestCmd(), ilTestService\getPassOverviewData(), assFormulaQuestionGUI\getTestOutput(), assQuestion\persistWorkingState(), ilTestPlayerAbstractGUI\populateInstantResponseBlocks(), ilTestPlayerAbstractGUI\redirectAfterAutosaveCmd(), ilTestPlayerAbstractGUI\redirectAfterDashboardCmd(), ilTestOutputGUI\saveQuestionSolution(), assClozeTest\saveWorkingData(), assErrorText\saveWorkingData(), assFormulaQuestion\saveWorkingData(), assImagemapQuestion\saveWorkingData(), assMatchingQuestion\saveWorkingData(), assOrderingHorizontal\saveWorkingData(), assOrderingQuestion\saveWorkingData(), assSingleChoice\saveWorkingData(), assTextQuestion\saveWorkingData(), assTextSubset\saveWorkingData(), and assLongMenu\saveWorkingData().
Here is the caller graph for this function:
|
static |
Gets the pass scoring type.
Definition at line 1919 of file class.ilObjTest.php.
Referenced by _getResultPass().
Here is the caller graph for this function:
|
static |
Definition at line 4269 of file class.ilObjTest.php.
References $DIC, $ilDB, $res, lookupQuestionSetTypeByActiveId(), QUESTION_SET_TYPE_DYNAMIC, QUESTION_SET_TYPE_FIXED, and QUESTION_SET_TYPE_RANDOM.
Referenced by ilTestEvaluationData\generateOverview().
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 7319 of file class.ilObjTest.php.
References _getBestPass(), _getMaxPass(), _getPassScoring(), and SCORE_BEST_PASS.
Referenced by assQuestion\_updateTestResultCache(), evalStatistical(), getAllTestResults(), getDetailedTestResults(), getPassed(), ilCertificateTestObjectHelper\getResultPass(), and ilTestEvaluationGUI\outParticipantsResultsOverview().
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 1942 of file class.ilObjTest.php.
Referenced by assQuestion\adjustReachedPointsByScoringOptions().
Here is the caller graph for this function:
|
static |
get solved questions
Definition at line 6992 of file class.ilObjTest.php.
Referenced by ilTestPlayerAbstractGUI\buildEditableStateQuestionNavigationGUI(), ilTestPlayerAbstractGUI\buildReadOnlyStateQuestionNavigationGUI(), ilTestService\getQuestionSummaryData(), ilTestSequence\getSequenceSummary(), and ilTestSequenceDynamicQuestionSet\getSequenceSummary().
Here is the caller graph for this function:
|
static |
Definition at line 8539 of file class.ilObjTest.php.
|
static |
Returns the ILIAS test id for a given object id.
| integer | $object_id | The object id |
Definition at line 6521 of file class.ilObjTest.php.
Referenced by ilLOUtils\getTestResultLinkForUser().
Here is the caller graph for this function:| ilObjTest::_getTitleOutput | ( | $active_id | ) |
Returns the value of the title_output status.
| integer | $active_id | The active id of a user |
Definition at line 2156 of file class.ilObjTest.php.
|
static |
Definition at line 8029 of file class.ilObjTest.php.
Referenced by assQuestion\_setReachedPoints(), sendAdvancedNotification(), and sendSimpleNotification().
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 3636 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 3595 of file class.ilObjTest.php.
|
static |
Creates an instance of a question with a given question id.
| int | $question_id | The question id |
| InvalidArgumentException |
Definition at line 4693 of file class.ilObjTest.php.
References assQuestion\instantiateQuestion().
Referenced by ilCourseObjectiveQuestion\__read(), duplicateQuestionForTest(), ilTestExport\exportToExcel(), getAllTestResults(), getDetailedTestResults(), getEstimatedWorkingTime(), ilCourseObjectiveQuestion\getMaxPointsByObjective(), ilCourseObjectiveQuestion\getMaxPointsByTest(), ilTestSequence\getSequenceSummary(), ilTestSequenceDynamicQuestionSet\getSequenceSummary(), and ilCourseObjectiveQuestionAssignmentTableGUI\parse().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::_isComplete | ( | $obj_id | ) |
Definition at line 694 of file class.ilObjTest.php.
References $DIC, $ilDB, and ilObject\$tree.
|
static |
Returns the anonymity status of a test with a given object id.
| int | $a_obj_id | The object id of the test object |
Definition at line 8378 of file class.ilObjTest.php.
Referenced by ilObjTestAccess\_getParticipantData(), and ilTestLP\isAnonymized().
Here is the caller graph for this function:
|
static |
Gets the authors name of the ilObjTest object.
Definition at line 6197 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 9927 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 10679 of file class.ilObjTest.php.
Referenced by ilCourseObjectivesGUI\isRandomTestType(), ilLOSettings\isRandomTestType(), and ilLOUtils\lookupRandomTest().
Here is the caller graph for this function:| ilObjTest::_lookupRandomTestFromActiveId | ( | $active_id | ) |
Returns the random status of a test with a given object id.
| int | $a_obj_id | The object id of the test object |
Definition at line 8430 of file class.ilObjTest.php.
|
static |
Get test Object ID for question ID.
Definition at line 9413 of file class.ilObjTest.php.
|
static |
Definition at line 549 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:| ilObjTest::addDefaults | ( | $a_name | ) |
Adds the defaults of this test to the test defaults.
| string | $a_name | The name of the test defaults @access public |
Definition at line 8580 of file class.ilObjTest.php.
| ilObjTest::addExtraTime | ( | $active_id, | |
| $minutes | |||
| ) |
Definition at line 10412 of file class.ilObjTest.php.
References ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), ilTestParticipantAccessFilter\getManageParticipantsUserFilter(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::addQTIMaterial | ( | & | $a_xml_writer, |
$a_material = '' |
|||
| ) |
Creates a QTI material tag from a plain text or xhtml text.
| object | $a_xml_writer | Reference to the ILIAS XML writer |
| string | $a_material | plain text or html text containing the material |
Definition at line 8206 of file class.ilObjTest.php.
References $mobs, $txt, ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Survey\Mode\getId(), and IL_INST_ID.
Here is the call graph for this function:| ilObjTest::adjustTestSequence | ( | ) |
Definition at line 10924 of file class.ilObjTest.php.
|
static |
checks wether all questions marked as obligatory were answered within the test pass with given testId, activeId and pass index
@access public @global ilDBInterface $ilDB
| integer | $test_id | |
| integer | $active_id | |
| integer | $pass |
Definition at line 10217 of file class.ilObjTest.php.
Referenced by ilTestPlayerAbstractGUI\finishTestCmd(), ilTestPlayerAbstractGUI\getFinishTestCommand(), and ilTestPlayerAbstractGUI\outQuestionSummaryCmd().
Here is the caller 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 8699 of file class.ilObjTest.php.
References ILIAS\LTI\ToolProvider\$settings.
| ilObjTest::areObligationsEnabled | ( | ) |
returns the fact wether obligations are enabled or not
Definition at line 10161 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:
|
static |
Definition at line 10515 of file class.ilObjTest.php.
References $DIC, and $ilSetting.
Referenced by ilTestPlayerAbstractGUI\getKioskHead().
Here is the caller graph for this function:
|
protected |
| $unix_timestamp |
Definition at line 5800 of file class.ilObjTest.php.
References IL_CAL_DATETIME, and IL_CAL_UNIX.
| ilObjTest::buildName | ( | $user_id, | |
| $firstname, | |||
| $lastname, | |||
| $title | |||
| ) |
Builds a user name for the output depending on test type and existence of the user.
| int | $user_id | The database ID of the user |
| string | $firstname | The first name of the user |
| string | $lastname | The last name of the user |
| string | $title | The title of the user |
Definition at line 4488 of file class.ilObjTest.php.
References $name, ANONYMOUS_USER_ID, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::buildStatisticsAccessFilteredParticipantList | ( | ) |
Definition at line 4016 of file class.ilObjTest.php.
References ilTestParticipantAccessFilter\getAccessStatisticsUserFilter().
Here is the call graph for this function:| ilObjTest::canEditEctsGrades | ( | ) |
{}
Implements ilEctsGradesEnabled.
Definition at line 5984 of file class.ilObjTest.php.
| ilObjTest::canEditMarks | ( | ) |
Implements ilMarkSchemaAware.
Definition at line 6097 of file class.ilObjTest.php.
| ilObjTest::canShowEctsGrades | ( | ) |
| ilObjTest::canShowSolutionPrintview | ( | $user_id = null | ) |
Definition at line 7958 of file class.ilObjTest.php.
| ilObjTest::canShowTestResults | ( | ilTestSession | $testSession | ) |
Definition at line 7521 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 6052 of file class.ilObjTest.php.
| ilObjTest::checkMaximumAllowedUsers | ( | ) |
Definition at line 8076 of file class.ilObjTest.php.
References $DIC, $ilDB, $query, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::checkQuestionParent | ( | $questionId | ) |
Definition at line 7663 of file class.ilObjTest.php.
References $DIC, and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilObjTest::cleanupMediaobjectUsage | ( | ) |
Cleans up the media objects for all text fields in a test which are using an RTE field.
Definition at line 767 of file class.ilObjTest.php.
References ilRTE\_cleanupMediaObjectUsage(), getAllRTEContent(), ilObject\getId(), and ilObject\getType().
Referenced by saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::create | ( | ) |
note: title, description and type should be set when this function is called
Reimplemented from ilObject.
Definition at line 394 of file class.ilObjTest.php.
References ilObject\$id, ilObject\createMetaData(), and ilObject\setOfflineStatus().
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 491 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 4649 of file class.ilObjTest.php.
References $DIC, $ilDB, $ilUser, $lng, ilObjAssessmentFolder\_enabledAssessmentLogging(), assQuestion\_includeClass(), and assQuestion\getFeedbackClassNameByQuestionType().
Here is the call graph for this function:| & ilObjTest::createTestSequence | ( | $active_id, | |
| $pass, | |||
| $shuffle | |||
| ) |
Definition at line 9341 of file class.ilObjTest.php.
| ilObjTest::delete | ( | ) |
delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!!
Reimplemented from ilObject.
Definition at line 419 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 | ) |
Deletes the defaults for a test.
| integer | $test_default_id | The database ID of the test defaults @access public |
Definition at line 8563 of file class.ilObjTest.php.
| ilObjTest::deleteTest | ( | ) |
Definition at line 440 of file class.ilObjTest.php.
References $DIC, $ilDB, ilObject\$lng, $mobs, ilObject\$tree, ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilFileUtils\delDir(), ilFileUtils\getDataDir(), ilObject\getId(), getTestId(), and removeTestResults().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::deliverPDFfromFO | ( | $fo, | |
$title = null |
|||
| ) |
Delivers a PDF file from a XSL-FO string.
| string | $fo | The XSL-FO string @access public |
@noinspection PhpUndefinedFieldInspection
Definition at line 9126 of file class.ilObjTest.php.
References $DIC, Vendor\Package\$e, $filename, ilUtil\deliverData(), ilRpcClientFactory\factory(), ilFileUtils\getASCIIFilename(), and ilFileUtils\ilTempnam().
Here is the call graph for this function:| ilObjTest::deliverPDFfromHTML | ( | $content, | |
$title = null |
|||
| ) |
Delivers a PDF file from XHTML.
| string | $html | The XHTML string @access public |
Definition at line 9090 of file class.ilObjTest.php.
References $config, ilUtil\getStyleSheetLocation(), and ilLegacyFormElementsUtil\prepareFormOutput().
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 @access public |
Definition at line 6939 of file class.ilObjTest.php.
|
protected |
@inheritDoc
Reimplemented from ilObject.
Definition at line 6157 of file class.ilObjTest.php.
| ilObjTest::duplicateQuestionForTest | ( | $question_id | ) |
Takes a question and creates a copy of the question for use in the test.
| integer | $question_id | The database id of the question |
Definition at line 2812 of file class.ilObjTest.php.
References _instanciateQuestion(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilObjTest::endingTimeReached | ( | ) |
Returns true if the ending time of a test is reached An ending time is not available for self assessment tests.
Definition at line 4767 of file class.ilObjTest.php.
|
static |
Definition at line 10847 of file class.ilObjTest.php.
References $DIC, $ilDB, $lng, ILIAS\Repository\$refinery, and ilObjectFactory\getInstanceByRefId().
Here is the call graph for this function:| & ilObjTest::evalResultsOverview | ( | ) |
Creates an associated array with the results of all participants of a test.
Definition at line 4377 of file class.ilObjTest.php.
| & 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 4436 of file class.ilObjTest.php.
| ilObjTest::evalStatistical | ( | $active_id | ) |
Returns the statistical evaluation of the test for a specified user.
Definition at line 3666 of file class.ilObjTest.php.
References $DIC, $ilDB, ILIAS\LTI\ToolProvider\$key, and _getResultPass().
Here is the call graph for this function:| ilObjTest::evalTotalParticipantsArray | ( | $name_sort_order = "asc" | ) |
Returns all participants who started the test.
Definition at line 3883 of file class.ilObjTest.php.
References $DIC, $ilDB, ANONYMOUS_USER_ID, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::evalTotalPersons | ( | ) |
Returns the number of persons who started the test.
Definition at line 3478 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::evalTotalPersonsArray | ( | $name_sort_order = "asc" | ) |
Returns all persons who started the test.
Definition at line 3846 of file class.ilObjTest.php.
References $DIC, $ilDB, ANONYMOUS_USER_ID, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::evalTotalStartedAverageTime | ( | $activeIdsFilter = null | ) |
Returns the average processing time for all started tests.
Definition at line 4544 of file class.ilObjTest.php.
References $DIC, ILIAS\LTI\ToolProvider\$key, and $query.
| ilObjTest::exportFileItems | ( | $target_dir, | |
| & | $expLog | ||
| ) |
export files of file itmes
Definition at line 5954 of file class.ilObjTest.php.
References IL_INST_ID, and ilFileUtils\makeDir().
Here is the call graph for this function:| ilObjTest::exportPagesXML | ( | & | $a_xml_writer, |
| $a_inst, | |||
| $a_target_dir, | |||
| & | $expLog | ||
| ) |
export pages of test to xml (see ilias_co.dtd)
| object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 5815 of file class.ilObjTest.php.
References $DIC.
| ilObjTest::exportXMLMediaObjects | ( | & | $a_xml_writer, |
| $a_inst, | |||
| $a_target_dir, | |||
| & | $expLog | ||
| ) |
export media objects to xml (see ilias_co.dtd)
Definition at line 5937 of file class.ilObjTest.php.
References ilObjMediaObject\_exists().
Here is the call 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 5854 of file class.ilObjTest.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilObjTest::exportXMLPageObjects | ( | & | $a_xml_writer, |
| $a_inst, | |||
| & | $expLog | ||
| ) |
export page objects to xml (see ilias_co.dtd)
| object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 5883 of file class.ilObjTest.php.
References $DIC, $xml, and ilPCFileList\collectFileItems().
Here is the call graph for this function:| ilObjTest::fromXML | ( | ilQTIAssessment | $assessment | ) |
Receives parameters from a QTI parser and creates a valid ILIAS test object.
| ilQTIAssessment | $assessment |
Definition at line 4870 of file class.ilObjTest.php.
References $DIC, $objectives, $type, _getImportDirectory(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveTempFileAsMediaObject(), ilObjMediaObject\_saveUsage(), ilSession\clear(), ilSession\get(), ilQTIAssessment\getComment(), ilObjTestScoreSettings\getGamificationSettings(), ilQTIAssessment\getPresentationMaterial(), ilObjTestScoreSettings\getResultDetailsSettings(), ilObjTestScoreSettings\getResultSummarySettings(), ilObjTestScoreSettings\getScoringSettings(), ilQTIAssessment\getTitle(), IL_CAL_DATETIME, IL_CAL_UNIX, IL_INST_ID, and ilObjTestScoreSettings\withGamificationSettings().
Here is the call graph for this function:| ilObjTest::getAccessFilteredParticipantList | ( | ) |
Definition at line 4000 of file class.ilObjTest.php.
| ilObjTest::getActivationEndingTime | ( | ) |
Definition at line 10350 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getActivationStartingTime | ( | ) |
Definition at line 10345 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getActivationVisibility | ( | ) |
Definition at line 10005 of file class.ilObjTest.php.
Referenced by saveToDb().
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 3167 of file class.ilObjTest.php.
References $DIC, $ilDB, $ilUser, ANONYMOUS_USER_ID, and ilSession\get().
Referenced by ilCourseObjectiveResult\resetTestForUser().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getActiveParticipantList | ( | ) |
Definition at line 6612 of file class.ilObjTest.php.
| ilObjTest::getAggregatedResultsData | ( | ) |
Returns the aggregated test results.
@access public
Definition at line 9522 of file class.ilObjTest.php.
References $data, $i, $results, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::getAllowedUsers | ( | ) |
Definition at line 8056 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getAllowedUsersTimeGap | ( | ) |
Definition at line 8066 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| & ilObjTest::getAllQuestions | ( | $pass = null | ) |
Returns all questions of a test in test order.
Definition at line 3126 of file class.ilObjTest.php.
| ilObjTest::getAllRTEContent | ( | ) |
Returns the content of all RTE enabled text areas in the test.
Definition at line 756 of file class.ilObjTest.php.
References getFinalStatement(), and getIntroduction().
Referenced by cleanupMediaobjectUsage().
Here is the call graph for this function:
Here is the caller 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 7103 of file class.ilObjTest.php.
References $results, _getResultPass(), _instanciateQuestion(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::getAnonymity | ( | ) |
Returns the anonymity status of the test.
Definition at line 8261 of file class.ilObjTest.php.
Referenced by saveToDb().
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 7339 of file class.ilObjTest.php.
References $DIC, $ilDB, $lng, ILIAS\Repository\$refinery, and assQuestion\_isWorkedThrough().
Here is the call graph for this function:| ilObjTest::getAnswerFeedback | ( | ) |
Returns 1 if generic answer feedback is activated.
Definition at line 1825 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getAnswerFeedbackPoints | ( | ) |
Returns 1 if answer specific feedback as reached points is activated.
Definition at line 1848 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getAuthor | ( | ) |
Gets the authors name of the ilObjTest object.
Definition at line 6169 of file class.ilObjTest.php.
References $id, and ILIAS\Survey\Mode\getId().
Referenced by saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getAutosave | ( | ) |
Definition at line 10264 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getAutosaveIval | ( | ) |
Definition at line 10274 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller 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 4587 of file class.ilObjTest.php.
References ilObjQuestionPool\_getAvailableQuestionpools().
Here is the call graph for this function:| ilObjTest::getAvailableQuestions | ( | $arrFilter, | |
$completeonly = 0 |
|||
| ) |
Calculates the available questions for a test.
@access public
Definition at line 4783 of file class.ilObjTest.php.
References $DIC, $ilDB, $ilUser, $lng, XapiProxy\$plugin, $rows, ilObjQuestionPool\_getAvailableQuestionpools(), and ilAssQuestionType\completeMissingPluginName().
Here is the call graph for this function:| ilObjTest::getCharSelectorAvailability | ( | ) |
Definition at line 10575 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getCharSelectorDefinition | ( | ) |
Definition at line 10591 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| & ilObjTest::getCompleteEvaluationData | ( | $withStatistics = true, |
|
$filterby = "", |
|||
$filtertext = "" |
|||
| ) |
Definition at line 4361 of file class.ilObjTest.php.
References $data.
|
static |
Retrieves the manual feedback for a question in a test.
| integer | $question_id | Question ID |
Definition at line 9205 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 3498 of file class.ilObjTest.php.
| ilObjTest::getCompleteWorkingTimeOfParticipant | ( | $active_id | ) |
Returns the complete working time in seconds for a test participant.
Definition at line 3568 of file class.ilObjTest.php.
| & ilObjTest::getCompleteWorkingTimeOfParticipants | ( | ) |
Returns the complete working time in seconds for all test participants.
Definition at line 3525 of file class.ilObjTest.php.
| ilObjTest::getCountSystem | ( | ) |
Gets the count system for the calculation of points.
Definition at line 1860 of file class.ilObjTest.php.
| ilObjTest::getCustomStyle | ( | ) |
Definition at line 1564 of file class.ilObjTest.php.
Referenced by saveToDb().
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 9364 of file class.ilObjTest.php.
References $results, _getResultPass(), _instanciateQuestion(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::getECTSFX | ( | ) |
Implements ilEctsGradesEnabled.
Definition at line 1644 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getECTSGrade | ( | $passed_array, | |
| $reached_points, | |||
| $max_points | |||
| ) |
{Returns the ECTS grade for a number of reached points.
| array | $passed_array | An array with the points of all users who passed the test |
| double | $reached_points | The points reached in the test |
| double | $max_points | The maximum number of points for the test |
Implements ilEctsGradesEnabled.
Definition at line 6000 of file class.ilObjTest.php.
| ilObjTest::getECTSGrades | ( | ) |
Implements ilEctsGradesEnabled.
Definition at line 1654 of file class.ilObjTest.php.
| ilObjTest::getECTSOutput | ( | ) |
Implements ilEctsGradesEnabled.
Definition at line 1634 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getEnableArchiving | ( | ) |
Definition at line 10473 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getEnabledViewMode | ( | ) |
Definition at line 9745 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getEnableExamview | ( | ) |
Definition at line 10328 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getEnableProcessingTime | ( | ) |
Returns the state of the processing time (enabled/disabled)
Definition at line 2280 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getEndingTime | ( | ) |
Returns the ending time of the test.
Definition at line 2354 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getEstimatedWorkingTime | ( | ) |
Returns the estimated working time for the test calculated from the working time of the contained questions.
Definition at line 4598 of file class.ilObjTest.php.
References _instanciateQuestion(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilObjTest::getEvaluationAdditionalFields | ( | ) |
Gets additional user fields that should be shown in the user evaluation.
Definition at line 9627 of file class.ilObjTest.php.
| & ilObjTest::getExistingQuestions | ( | $pass = null | ) |
Get the id's of the questions which are already part of the test.
Definition at line 2974 of file class.ilObjTest.php.
| ilObjTest::getExportDirectory | ( | ) |
Definition at line 514 of file class.ilObjTest.php.
References ilFileUtils\getDataDir(), and ilObject\getId().
Here is the call graph for this function:| ilObjTest::getExportSettings | ( | ) |
Definition at line 9715 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getExportSettingsSingleChoiceShort | ( | ) |
Definition at line 9729 of file class.ilObjTest.php.
| ilObjTest::getExtraTime | ( | $active_id | ) |
Definition at line 10395 of file class.ilObjTest.php.
| ilObjTest::getFinalStatement | ( | ) |
Definition at line 1581 of file class.ilObjTest.php.
Referenced by getAllRTEContent(), and saveToDb().
Here is the caller graph for this function:| ilObjTest::getFixedParticipants | ( | ) |
Returns the fixed participants status.
Definition at line 8348 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getFixedQuestionSetTotalPoints | ( | ) |
Definition at line 7679 of file class.ilObjTest.php.
| ilObjTest::getForceJS | ( | ) |
Gets whether JavaScript should be forced for tests.
Definition at line 1605 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getGenericAnswerFeedback | ( | ) |
Returns 1 if generic answer feedback is to be shown.
Definition at line 1836 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getGroupData | ( | $ids | ) |
Definition at line 6874 of file class.ilObjTest.php.
References $ref_id, ilObject\_lookupDescription(), ilObject\_lookupObjId(), and ilObject\_lookupTitle().
Here is the call graph for this function:| ilObjTest::getHighscoreAchievedTS | ( | ) |
Returns if date and time of the scores achievement should be displayed.
Definition at line 10056 of file class.ilObjTest.php.
| ilObjTest::getHighscoreAnon | ( | ) |
Gets if the highscores should be anonymized per setting.
Note: This method will retrieve the setting as set by the user. If you want to figure out, if the highscore is to be shown anonymized or not, with consideration of the global anon switch you should
Definition at line 10035 of file class.ilObjTest.php.
| ilObjTest::getHighscoreEnabled | ( | ) |
Definition at line 10021 of file class.ilObjTest.php.
| ilObjTest::getHighscoreHints | ( | ) |
Gets, if the column with the number of requested hints should be shown.
Definition at line 10080 of file class.ilObjTest.php.
| ilObjTest::getHighscoreMode | ( | ) |
Definition at line 10118 of file class.ilObjTest.php.
| ilObjTest::getHighscoreOwnTable | ( | ) |
Gets if the own rankings table should be shown.
Definition at line 10096 of file class.ilObjTest.php.
| ilObjTest::getHighscorePercentage | ( | ) |
Gets if the percentage column should be shown.
Definition at line 10072 of file class.ilObjTest.php.
| ilObjTest::getHighscoreScore | ( | ) |
Gets if the score column should be shown.
Definition at line 10064 of file class.ilObjTest.php.
| ilObjTest::getHighscoreTopNum | ( | int | $a_retval = 10 | ) |
Gets the number of entries which are to be shown in the top-rankings table.
Definition at line 10113 of file class.ilObjTest.php.
| ilObjTest::getHighscoreTopTable | ( | ) |
Gets, if the top-rankings table should be shown.
Definition at line 10104 of file class.ilObjTest.php.
| ilObjTest::getHighscoreWTime | ( | ) |
Gets if the column with the workingtime should be shown.
Definition at line 10088 of file class.ilObjTest.php.
|
protected |
Definition at line 11015 of file class.ilObjTest.php.
References ilHtmlPurifierFactory\getInstanceByType().
Here is the call graph for this function:| ilObjTest::getImagePath | ( | ) |
Returns the image path for web accessable images of a test The image path is under the CLIENT_WEB_DIR in assessment/REFERENCE_ID_OF_TEST/images.
@access public
Definition at line 4620 of file class.ilObjTest.php.
References CLIENT_WEB_DIR, and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilObjTest::getImagePathWeb | ( | ) |
Returns the web image path for web accessable images of a test The image path is under the web accessable data dir in assessment/REFERENCE_ID_OF_TEST/images.
@access public
Definition at line 4631 of file class.ilObjTest.php.
References CLIENT_WEB_DIR, ILIAS\Survey\Mode\getId(), and ilFileUtils\removeTrailingPathSeparators().
Here is the call graph for this function:| ilObjTest::getImportDirectory | ( | ) |
Definition at line 572 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 5976 of file class.ilObjTest.php.
| ilObjTest::getInstantFeedbackOptionsAsArray | ( | ) |
Definition at line 9773 of file class.ilObjTest.php.
| ilObjTest::getInstantFeedbackSolution | ( | ) |
Returns 1 if the correct solution will be shown after answering a question.
Definition at line 1812 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getIntroduction | ( | ) |
Definition at line 1509 of file class.ilObjTest.php.
Referenced by getAllRTEContent(), and saveToDb().
Here is the caller graph for this function:| ilObjTest::getInvitedParticipantList | ( | ) |
Definition at line 6601 of file class.ilObjTest.php.
| & ilObjTest::getInvitedUsers | ( | $user_id = "", |
|
$order = "login, lastname, firstname" |
|||
| ) |
Returns a list of all invited users in a test.
Definition at line 6626 of file class.ilObjTest.php.
References $DIC, $ilDB, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::getJavaScriptOutput | ( | ) |
Returns if Javascript should be chosen for drag & drop actions for the active user.
Definition at line 9336 of file class.ilObjTest.php.
| ilObjTest::getKiosk | ( | ) |
Returns the kiosk mode.
Definition at line 2006 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getKioskMode | ( | ) |
Returns the kiosk mode.
Definition at line 2031 of file class.ilObjTest.php.
| ilObjTest::getListOfQuestions | ( | ) |
Returns if the list of questions should be presented to the user or not.
Definition at line 7801 of file class.ilObjTest.php.
| ilObjTest::getListOfQuestionsDescription | ( | ) |
Returns TRUE if the list of questions should be presented with the question descriptions.
Definition at line 7894 of file class.ilObjTest.php.
| ilObjTest::getListOfQuestionsEnd | ( | ) |
Returns if the list of questions should be presented as the last page of the test.
Definition at line 7864 of file class.ilObjTest.php.
| ilObjTest::getListOfQuestionsSettings | ( | ) |
Returns the settings for the list of questions options in the test properties This could contain one of the following values: 0 = No list of questions offered 1 = A list of questions is offered 3 = A list of questions is offered and the list of questions is shown as first page of the test 5 = A list of questions is offered and the list of questions is shown as last page of the test 7 = A list of questions is offered and the list of questions is shown as first and last page of the test.
Definition at line 7773 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getListOfQuestionsStart | ( | ) |
Returns if the list of questions should be presented as the first page of the test.
Definition at line 7831 of file class.ilObjTest.php.
| ilObjTest::getMailNotification | ( | ) |
Definition at line 9604 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getMailNotificationType | ( | ) |
Definition at line 9697 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:
|
static |
Retrieves the feedback comment for a question in a test if it is finalized.
| integer | $active_id | Active ID of the user |
| integer | $question_id | Question ID |
| integer | $pass | Pass number |
Definition at line 9161 of file class.ilObjTest.php.
References ilTestService\isManScoringDone().
Referenced by assClozeTestGUI\getGenericFeedbackOutput(), and assQuestionGUI\getGenericFeedbackOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getMarkSchema | ( | ) |
{
Implements ilMarkSchemaAware.
Definition at line 6060 of file class.ilObjTest.php.
| ilObjTest::getMarkSchemaForeignId | ( | ) |
| ilObjTest::getNrOfResultsForPass | ( | $active_id, | |
| $pass | |||
| ) |
Calculates the number of user results for a specific test pass.
Definition at line 1294 of file class.ilObjTest.php.
| ilObjTest::getNrOfTries | ( | ) |
Returns the nr of tries for the test.
Definition at line 1978 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getOldOnlineStatus | ( | ) |
Definition at line 9965 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| & ilObjTest::getParticipants | ( | ) |
Returns all persons who started the test.
Definition at line 3801 of file class.ilObjTest.php.
References $DIC, $ilDB, $name, ANONYMOUS_USER_ID, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::getPassed | ( | $active_id | ) |
Definition at line 9458 of file class.ilObjTest.php.
References $DIC, $ilDB, and _getResultPass().
Here is the call graph for this function:| ilObjTest::getPassScoring | ( | ) |
Gets the pass scoring type.
Definition at line 1907 of file class.ilObjTest.php.
| ilObjTest::getPassWaiting | ( | ) |
Definition at line 2523 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getPassword | ( | ) |
Definition at line 2503 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getProcessingTime | ( | ) |
Returns the processing time for the test.
Definition at line 2201 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getProcessingTimeAsArray | ( | ) |
Definition at line 2209 of file class.ilObjTest.php.
| ilObjTest::getProcessingTimeAsMinutes | ( | ) |
Definition at line 2227 of file class.ilObjTest.php.
| ilObjTest::getProcessingTimeInSeconds | ( | $active_id = "" | ) |
Returns the processing time for the test in seconds.
Definition at line 2245 of file class.ilObjTest.php.
| ilObjTest::getQuestionCount | ( | ) |
Definition at line 6397 of file class.ilObjTest.php.
| ilObjTest::getQuestionCountWithoutReloading | ( | ) |
Definition at line 6439 of file class.ilObjTest.php.
| ilObjTest::getQuestionDataset | ( | $question_id | ) |
Returns the dataset for a given question id.
| integer | $question_id | The database id of the question |
Definition at line 2954 of file class.ilObjTest.php.
| ilObjTest::getQuestions | ( | ) |
Definition at line 9947 of file class.ilObjTest.php.
| ilObjTest::getQuestionSetType | ( | ) |
getter for question set type
Definition at line 10612 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getQuestionSetTypeTranslation | ( | ilLanguage | $lng, |
| $questionSetType | |||
| ) |
Definition at line 10684 of file class.ilObjTest.php.
References $lng, QUESTION_SET_TYPE_FIXED, and QUESTION_SET_TYPE_RANDOM.
| & ilObjTest::getQuestionsOfPass | ( | $active_id, | |
| $pass | |||
| ) |
Retrieves all the assigned questions for a test participant in a given test pass.
Definition at line 3958 of file class.ilObjTest.php.
| & ilObjTest::getQuestionsOfTest | ( | $active_id | ) |
Retrieves all the assigned questions for all test passes of a test participant.
Definition at line 3917 of file class.ilObjTest.php.
| ilObjTest::getQuestiontext | ( | $question_id | ) |
Returns the question text for a given question.
| integer | $question_id | The question id |
Definition at line 6578 of file class.ilObjTest.php.
| ilObjTest::getQuestionTitle | ( | $title, | |
$nr = 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 2932 of file class.ilObjTest.php.
References 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 2879 of file class.ilObjTest.php.
| & ilObjTest::getQuestionTitlesAndIndexes | ( | ) |
Returns the titles of the test questions in question sequence.
Definition at line 2904 of file class.ilObjTest.php.
| ilObjTest::getQuestionType | ( | $question_id | ) |
Returns the question type of a question with a given id.
| integer | $question_id | The database id of the question |
Definition at line 3015 of file class.ilObjTest.php.
| ilObjTest::getRedirectionMode | ( | ) |
Definition at line 2403 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getRedirectionUrl | ( | ) |
Definition at line 2411 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getReportingDate | ( | ) |
Gets the reporting date of the ilObjTest object.
Definition at line 1966 of file class.ilObjTest.php.
| ilObjTest::getResetProcessingTime | ( | ) |
Returns wheather the processing time should be reset or not.
Definition at line 2292 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getResultFilterTaxIds | ( | ) |
Definition at line 10748 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getResultsForActiveId | ( | $active_id | ) |
Definition at line 9659 of file class.ilObjTest.php.
References $DIC, $ilDB, $query, and assQuestion\_updateTestResultCache().
Here is the call graph for this function:| ilObjTest::getResultsPresentation | ( | ) |
Returns the combined results presentation value.
Definition at line 7927 of file class.ilObjTest.php.
| ilObjTest::getRoleData | ( | $ids | ) |
Definition at line 6887 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 1895 of file class.ilObjTest.php.
| ilObjTest::getScoreReporting | ( | ) |
Definition at line 1780 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getScoreSettings | ( | ) |
Definition at line 11020 of file class.ilObjTest.php.
| ilObjTest::getScoreSettingsRepository | ( | ) |
Definition at line 11029 of file class.ilObjTest.php.
| ilObjTest::getSecondsUntilEndingTime | ( | ) |
Returns the seconds left from the actual time until the ending time.
Definition at line 2262 of file class.ilObjTest.php.
| ilObjTest::getSequenceSettings | ( | ) |
SEQUENCE SETTING = POSTPONING ENABLED !!
Definition at line 1669 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getShowCancel | ( | ) |
Returns wheather the cancel test button is shown or not.
Definition at line 8290 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getShowExamviewHtml | ( | ) |
Definition at line 10296 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getShowExamviewPdf | ( | ) |
Definition at line 10312 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getShowFinalStatement | ( | ) |
Returns whether the final statement should be shown or not.
Definition at line 1617 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getShowInfo | ( | ) |
Gets whether the complete information page is shown or the required data only.
Definition at line 1593 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getShowKioskModeParticipant | ( | ) |
Returns the status of the kiosk mode participant.
Definition at line 2098 of file class.ilObjTest.php.
| ilObjTest::getShowKioskModeTitle | ( | ) |
Returns the status of the kiosk mode title.
Definition at line 2065 of file class.ilObjTest.php.
| ilObjTest::getShowMarker | ( | ) |
Returns wheather the marker button is shown or not.
Definition at line 8319 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getShowPassDetails | ( | ) |
Returns if the pass details should be shown when a test is not finished.
Definition at line 7935 of file class.ilObjTest.php.
| ilObjTest::getShowSolutionAnswersOnly | ( | ) |
Returns if the full solution (including ILIAS content) should be presented to the solution or not.
Definition at line 7974 of file class.ilObjTest.php.
| ilObjTest::getShowSolutionDetails | ( | ) |
Returns if the solution details should be presented to the user or not.
Definition at line 7943 of file class.ilObjTest.php.
| ilObjTest::getShowSolutionFeedback | ( | ) |
Returns if the feedback should be presented to the solution or not.
Definition at line 7966 of file class.ilObjTest.php.
| ilObjTest::getShowSolutionListComparison | ( | ) |
Definition at line 7999 of file class.ilObjTest.php.
| ilObjTest::getShowSolutionListOwnAnswers | ( | $user_id = null | ) |
Definition at line 8004 of file class.ilObjTest.php.
| ilObjTest::getShowSolutionPrintview | ( | ) |
Returns if the solution printview should be presented to the user or not.
Definition at line 7951 of file class.ilObjTest.php.
| ilObjTest::getShowSolutionSignature | ( | ) |
Returns if the signature field should be shown in the test results.
Definition at line 7982 of file class.ilObjTest.php.
| ilObjTest::getShowSolutionSuggested | ( | ) |
Definition at line 7990 of file class.ilObjTest.php.
| ilObjTest::getShuffleQuestions | ( | ) |
Returns the status of the shuffle_questions variable.
Definition at line 7745 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getSignSubmission | ( | ) |
Definition at line 10562 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:
|
static |
Definition at line 9173 of file class.ilObjTest.php.
References $DIC, $ilDB, and ilRTE\_replaceMediaObjectImageSrc().
Referenced by ilTestScoringByQuestionsGUI\appendFormToModal(), ilTestScoringGUI\buildManScoringParticipantForm(), and ilTestServiceGUI\getPassListOfAnswersWithScoring().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getSpecificAnswerFeedback | ( | ) |
Definition at line 10136 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getStartingTime | ( | ) |
Returns the starting time of the test.
Definition at line 2317 of file class.ilObjTest.php.
Referenced by saveToDb().
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 10361 of file class.ilObjTest.php.
| ilObjTest::getStartingTimeOfUser | ( | $active_id, | |
$pass = null |
|||
| ) |
Returns the unix timestamp of the time a user started a test.
| integer | $active_id | The active id of the user |
Definition at line 7548 of file class.ilObjTest.php.
References $ilDB.
| ilObjTest::getStartTestLabel | ( | $active_id | ) |
Returns the "Start the Test" label for the Info page.
| int | $active_id | The active id of the current user |
Definition at line 8482 of file class.ilObjTest.php.
References $res, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::getTemplate | ( | ) |
Definition at line 9760 of file class.ilObjTest.php.
Referenced by ilTestSettingsGUI\__construct(), and saveToDb().
Here is the caller graph for this function:| ilObjTest::getTestDefaults | ( | $test_defaults_id | ) |
Returns the test defaults for a given id.
| integer | $test_defaults_id | The database id of a test defaults dataset |
Definition at line 8534 of file class.ilObjTest.php.
| ilObjTest::getTestId | ( | ) |
Gets the database id of the additional test data.
Definition at line 1629 of file class.ilObjTest.php.
Referenced by ilTestCorrectionsGUI\__construct(), ilObjTestDynamicQuestionSetConfig\cloneQuestionSetRelatedData(), ilTestRandomQuestionSetConfig\cloneQuestionSetRelatedData(), deleteTest(), hasSingleChoiceQuestions(), ilTestImporter\importSkillLevelThresholds(), isNewRandomTest(), isSingleChoiceTest(), isSingleChoiceTestWithoutShuffle(), saveCompleteStatus(), saveQuestionsToDb(), and saveToDb().
Here is the caller graph for this function:
|
static |
Definition at line 10714 of file class.ilObjTest.php.
References $DIC, $ilDB, $query, $res, and ILIAS\Repository\int().
Here is the call graph for this function:| & ilObjTest::getTestParticipants | ( | ) |
Returns a list of all participants in a test.
Definition at line 6691 of file class.ilObjTest.php.
References $data, $DIC, $ilDB, $index, $query, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::getTestParticipantsForManualScoring | ( | $filter = null | ) |
Definition at line 6757 of file class.ilObjTest.php.
References $DIC, $ilDB, and ilObjAssessmentFolder\_getManualScoring().
Here is the call graph for this function:| & ilObjTest::getTestQuestions | ( | ) |
Definition at line 7596 of file class.ilObjTest.php.
References $DIC, $ilDB, $query, and ILIAS\Repository\refinery().
Here is the call graph for this function:| & ilObjTest::getTestResult | ( | $active_id, | |
$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 3260 of file class.ilObjTest.php.
Referenced by ilTestSequence\hideCorrectAnsweredQuestions().
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 | $user_id | The user id |
| integer | $question_id | The question id |
Definition at line 6546 of file class.ilObjTest.php.
References $DIC, $ilDB, and assQuestion\_getSolutionMaxPass().
Here is the call graph for this function:| ilObjTest::getTimeExtensionsOfParticipants | ( | ) |
Definition at line 10378 of file class.ilObjTest.php.
| ilObjTest::getTitleFilenameCompliant | ( | ) |
returns the object title prepared to be used as a filename
Definition at line 379 of file class.ilObjTest.php.
References ilFileUtils\getASCIIFilename(), and ilObject\getTitle().
Here is the call graph for this function:| ilObjTest::getTitleOutput | ( | ) |
Returns the value of the title_output status.
Definition at line 2143 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getTmpCopyWizardCopyId | ( | ) |
Definition at line 384 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 3774 of file class.ilObjTest.php.
| ilObjTest::getUsePreviousAnswers | ( | ) |
Returns if the previous answers should be shown for a learner.
Definition at line 2131 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getUserData | ( | $ids | ) |
Returns a data of all users specified by id list.
Definition at line 6848 of file class.ilObjTest.php.
References $DIC, $ilDB, and ILIAS\Repository\lng().
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 3623 of file class.ilObjTest.php.
References _getVisitTimeOfParticipant().
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 3080 of file class.ilObjTest.php.
| ilObjTest::getXMLZip | ( | ) |
Get zipped xml file for test.
Reimplemented from ilObject.
Definition at line 9597 of file class.ilObjTest.php.
| ilObjTest::hasAnyTestResult | ( | ilTestSession | $testSession | ) |
Definition at line 7531 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 7078 of file class.ilObjTest.php.
|
static |
returns the fact wether the test with given test id contains questions markes as obligatory or not
@global ilDBInterface $ilDB
| integer | $test_id |
Definition at line 10243 of file class.ilObjTest.php.
| ilObjTest::hasQuestionsWithoutQuestionpool | ( | ) |
Definition at line 9893 of file class.ilObjTest.php.
| ilObjTest::hasRandomQuestionsForPass | ( | int | $active_id, |
| int | $pass | ||
| ) |
Checkes wheather a random test has already created questions for a given pass or not.
Definition at line 1311 of file class.ilObjTest.php.
| ilObjTest::hasSingleChoiceQuestions | ( | ) |
Definition at line 607 of file class.ilObjTest.php.
References $DIC, $ilDB, and getTestId().
Referenced by isSingleChoiceTestWithoutShuffle().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 9260 of file class.ilObjTest.php.
| 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 2827 of file class.ilObjTest.php.
References $data, $DIC, $ilDB, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), and ILIAS\Repository\lng().
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 @access public |
Definition at line 6906 of file class.ilObjTest.php.
References ilObjUser\_lookupClientIP().
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 @access public |
Definition at line 6921 of file class.ilObjTest.php.
References $DIC, and ilObjUser\_lookupClientIP().
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 @access public |
Definition at line 6957 of file class.ilObjTest.php.
| ilObjTest::isActivationLimited | ( | ) |
Definition at line 10010 of file class.ilObjTest.php.
Referenced by saveToDb().
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 7057 of file class.ilObjTest.php.
| ilObjTest::isAnyInstantFeedbackOptionEnabled | ( | ) |
Definition at line 9765 of file class.ilObjTest.php.
| ilObjTest::isBestSolutionPrintedWithResult | ( | ) |
Definition at line 9975 of file class.ilObjTest.php.
| ilObjTest::isBlockPassesAfterPassedEnabled | ( | ) |
Definition at line 1986 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:
|
final |
Definition at line 681 of file class.ilObjTest.php.
References ilTestQuestionSetConfig\isQuestionSetConfigured().
Referenced by saveCompleteStatus(), and saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::isDynamicTest | ( | ) |
Returns the fact wether this test is a dynamic question set test or not.
Definition at line 10667 of file class.ilObjTest.php.
| ilObjTest::isEndingTimeEnabled | ( | ) |
Definition at line 2334 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::isExecutable | ( | $testSession, | |
| $user_id, | |||
$allowPassIncrease = false |
|||
| ) |
Checks if the test is executable by the given user.
| $testSession | ||
| integer | $user_id | The user id |
| bool | $allowPassIncrease |
| ilDateTimeException |
Definition at line 7432 of file class.ilObjTest.php.
References ilObjTestAccess\_isPassed(), ilDatePresentation\formatDate(), ILIAS\Survey\Mode\getId(), IL_CAL_UNIX, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::isFixedTest | ( | ) |
Returns the fact wether this test is a fixed question set test or not.
Definition at line 10647 of file class.ilObjTest.php.
| ilObjTest::isFollowupQuestionAnswerFixationEnabled | ( | ) |
Definition at line 10819 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::isForceInstantFeedbackEnabled | ( | ) |
Definition at line 10834 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller 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 10048 of file class.ilObjTest.php.
| ilObjTest::isHTML | ( | $a_text | ) |
Checks if a given string contains HTML or not.
| string | $a_text | Text which should be checked |
Definition at line 8159 of file class.ilObjTest.php.
| ilObjTest::isInstantFeedbackAnswerFixationEnabled | ( | ) |
Definition at line 10829 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::isIntroductionEnabled | ( | ) |
Definition at line 1496 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::isLimitUsersEnabled | ( | ) |
Definition at line 8046 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller 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 7581 of file class.ilObjTest.php.
|
protected |
Checks wheather the test is a new random test (using tst_rnd_cpy) or an old one.
Definition at line 1184 of file class.ilObjTest.php.
References $DIC, $ilDB, and getTestId().
Here is the call graph for this function:| ilObjTest::isNrOfTriesReached | ( | $tries | ) |
returns if number of tries are reached
Definition at line 7089 of file class.ilObjTest.php.
| ilObjTest::isOfferingQuestionHintsEnabled | ( | ) |
returns the fact wether offering hints is enabled or not
Definition at line 9985 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::isOnline | ( | ) |
Definition at line 9952 of file class.ilObjTest.php.
|
static |
Definition at line 10880 of file class.ilObjTest.php.
References $DIC, $ilDB, $lng, ILIAS\Repository\$refinery, and ilObjectFactory\getInstanceByRefId().
Referenced by ilContainerObjectiveGUI\updateResult().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::isPassDeletionAllowed | ( | ) |
Definition at line 10279 of file class.ilObjTest.php.
| ilObjTest::isPassWaitingEnabled | ( | ) |
Definition at line 2538 of file class.ilObjTest.php.
| ilObjTest::isPasswordEnabled | ( | ) |
Definition at line 2490 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::isPluginActive | ( | $a_pname | ) |
Checks wheather or not a question plugin with a given name is active.
| string | $a_pname | The plugin name @access public |
Definition at line 9433 of file class.ilObjTest.php.
References $DIC, and ilComponentInfo\TYPE_MODULES.
| ilObjTest::isPostponingEnabled | ( | ) |
Definition at line 1684 of file class.ilObjTest.php.
| ilObjTest::isPreviousSolutionReuseEnabled | ( | $active_id | ) |
Definition at line 2173 of file class.ilObjTest.php.
References $res, and ILIAS\Repository\user().
Here is the call graph for this function:
|
static |
checks wether the obligation for question with given id is possible or not
| integer | $questionId |
Definition at line 10172 of file class.ilObjTest.php.
References assQuestion\_getQuestionType(), and assQuestion\_includeClass().
Referenced by ilObjTestGUI\saveOrderAndObligationsObject().
Here is the call graph for this function:
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 10191 of file class.ilObjTest.php.
Referenced by assQuestion\calculateResultsFromSolution(), ilTestSequence\getSequenceSummary(), ilTestSequenceDynamicQuestionSet\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 10657 of file class.ilObjTest.php.
| ilObjTest::isScoreReportingEnabled | ( | ) |
Definition at line 1788 of file class.ilObjTest.php.
| ilObjTest::isShowExamIdInTestPassEnabled | ( | ) |
Definition at line 10538 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::isShowExamIdInTestResultsEnabled | ( | ) |
| ilObjTest::isShowGradingMarkEnabled | ( | ) |
Definition at line 10809 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::isShowGradingStatusEnabled | ( | ) |
Definition at line 10798 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::isSingleChoiceTest | ( | ) |
Definition at line 626 of file class.ilObjTest.php.
References $DIC, $ilDB, and getTestId().
Here is the call graph for this function:| ilObjTest::isSingleChoiceTestWithoutShuffle | ( | ) |
Definition at line 647 of file class.ilObjTest.php.
References $DIC, $ilDB, getTestId(), and hasSingleChoiceQuestions().
Here is the call graph for this function:
|
static |
Definition at line 10782 of file class.ilObjTest.php.
Referenced by ilObjTestSettingsGeneralGUI\buildForm(), ilTestSkillAdministrationGUI\isAccessDenied(), ilObjTestSettingsGeneralGUI\isSkillServiceSettingToBeAdjusted(), and ilObjTestSettingsGeneralGUI\performSaveForm().
Here is the caller graph for this function:| ilObjTest::isSkillServiceEnabled | ( | ) |
Definition at line 10743 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller 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 10767 of file class.ilObjTest.php.
| ilObjTest::isStartingTimeEnabled | ( | ) |
Definition at line 2297 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::isTestFinalBroken | ( | ) |
Definition at line 10911 of file class.ilObjTest.php.
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 7041 of file class.ilObjTest.php.
| ilObjTest::isTestFinishedToViewResults | ( | $active_id, | |
| $currentpass | |||
| ) |
Returns true if an active user completed a test pass and did not start a new pass.
| integer | $active_id | The active id of the user |
| integer | $currentpass | The current test pass of the user |
Definition at line 3114 of file class.ilObjTest.php.
References lookupPassResultsUpdateTimestamp(), and true.
Here is the call graph for this function:| ilObjTest::isTestQuestion | ( | $questionId | ) |
| int | $questionId |
Definition at line 7650 of file class.ilObjTest.php.
| ilObjTest::loadFromDb | ( | ) |
Definition at line 1323 of file class.ilObjTest.php.
References $data, $DIC, $ilDB, ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Survey\Mode\getId(), ilObjectActivation\getItem(), and ilObjectActivation\TIMINGS_ACTIVATION.
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::loadQuestions | ( | $active_id = "", |
|
$pass = null |
|||
| ) |
Load the test question id's from the database.
| int | null | string | $active_id |
Definition at line 1448 of file class.ilObjTest.php.
References $data, $DIC, $ilDB, $ilUser, $index, and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilObjTest::logAction | ( | $logtext = "", |
|
$question_id = "" |
|||
| ) |
Logs an action into the Test&Assessment log.
| string | $logtext | The log text |
| integer | $question_id | If given, saves the question id to the database @access public |
Definition at line 6454 of file class.ilObjTest.php.
References $DIC, $ilUser, ilObjAssessmentFolder\_addLog(), and assQuestion\_getOriginalId().
Referenced by 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 9310 of file class.ilObjTest.php.
References $DIC, $ilUser, $lng, ilObjAssessmentFolder\_getLogLanguage(), ilObjTestAccess\_getParticipantData(), and assQuestion\_getQuestionTitle().
Here is the call graph for this function:
|
static |
Definition at line 10497 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 |
Definition at line 8128 of file class.ilObjTest.php.
References $DIC, $query, and $res.
Referenced by ilTestServiceGUI\getPassOverviewTableData(), ilTestServiceGUI\getResultsOfUserOutput(), ilTestParticipantList\getScoringsTableRows(), ilTestEvaluationGUI\outParticipantsPassDetails(), and ilTestEvaluationGUI\outUserPassDetails().
Here is the caller graph for this function:
|
static |
| int | $active_id | |
| int | $pass |
Definition at line 7382 of file class.ilObjTest.php.
References $DIC, $ilDB, and $query.
Referenced by ilTestEvaluationGUI\detailedEvaluation(), ilTestExport\exportToCSV(), ilTestExport\exportToExcel(), ilTestService\getPassOverviewData(), and isTestFinishedToViewResults().
Here is the caller graph for this function:
|
static |
lookup-er for question set type
@global ilDBInterface $ilDB
| integer | $objId |
Definition at line 10624 of file class.ilObjTest.php.
|
static |
returns the question set type of test relating to passed active id
| integer | $activeId |
Definition at line 8400 of file class.ilObjTest.php.
References $DIC, $ilDB, $query, 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.
@access private
Definition at line 5867 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 9862 of file class.ilObjTest.php.
| 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 @access public |
Definition at line 4710 of file class.ilObjTest.php.
| ilObjTest::participantDataExist | ( | ) |
Definition at line 10697 of file class.ilObjTest.php.
| ilObjTest::pcArrayShuffle | ( | $array | ) |
Shuffles the values of a given array.
| array | $array | An array which should be shuffled @access public |
Definition at line 3243 of file class.ilObjTest.php.
References ILIAS\LTI\ToolProvider\$key, and $keys.
| ilObjTest::prepareTextareaOutput | ( | $txt_output, | |
$prepare_for_latex_output = false, |
|||
$omitNl2BrWhenTextArea = false |
|||
| ) |
Prepares a string for a text area output in tests.
| string | $txt_output | String which should be prepared for output @access public |
Definition at line 8243 of file class.ilObjTest.php.
References ilLegacyFormElementsUtil\prepareTextareaOutput().
Here is the call graph for this function:| & ilObjTest::processCSVRow | ( | $row, | |
$quoteAll = false, |
|||
$separator = ";" |
|||
| ) |
Processes an array as a CSV row and converts the array values to correct CSV values.
The "converted" array is returned
| array | $row | The array containing the values for a CSV row |
| string | $quoteAll | Indicates to quote every value (=TRUE) or only values containing quotes and separators (=FALSE, default) |
| string | $separator | The value separator in the CSV row (used for quoting) (; = default) |
Definition at line 7190 of file class.ilObjTest.php.
| ilObjTest::processPrintoutput2FO | ( | $print_output | ) |
Convert a print output to XSL-FO.
| string | $print_output | The print output |
Definition at line 9048 of file class.ilObjTest.php.
References $config, $DIC, $params, xslt_create(), xslt_error(), and xslt_free().
Here is the call graph for this function:| ilObjTest::QTIMaterialToString | ( | $a_material | ) |
Reads an QTI material tag an creates a text string.
Definition at line 8174 of file class.ilObjTest.php.
References $DIC, $i, ilSession\get(), and ilSession\set().
Here is the call 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 @access public |
Definition at line 2767 of file class.ilObjTest.php.
References $data, $DIC, $ilDB, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), and ILIAS\Repository\lng().
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 @access public |
Definition at line 2721 of file class.ilObjTest.php.
References $data, $DIC, $ilDB, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::randomSelectQuestions | ( | int | $nr_of_questions, |
| int | $questionpool, | ||
$use_obj_id = 0, |
|||
$qpls = "", |
|||
$pass = null |
|||
| ) |
Returns a random selection of questions.
| bool | int | $use_obj_id | Use the object id instead of the reference id when set to true |
| array | string | $qpls | An array of questionpool id's if the random questions should only be chose from the contained questionpools |
Definition at line 1203 of file class.ilObjTest.php.
References ilObject\_lookupObjId().
Here is the call graph for this function:| ilObjTest::read | ( | ) |
Reimplemented from ilObject.
Definition at line 413 of file class.ilObjTest.php.
References loadFromDb().
Here is the call graph for this function:| ilObjTest::recalculateScores | ( | $preserve_manscoring = false | ) |
Definition at line 10706 of file class.ilObjTest.php.
References ilLPStatusWrapper\_updateStatus(), ILIAS\Survey\Mode\getId(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilObjTest::reindexFixedQuestionOrdering | ( | ) |
Definition at line 9811 of file class.ilObjTest.php.
References $DIC.
| ilObjTest::removeQuestion | ( | int | $question_id | ) |
Definition at line 2589 of file class.ilObjTest.php.
References Vendor\Package\$e, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::removeQuestionFromSequences | ( | $questionId, | |
| $activeIds, | |||
| ilTestReindexedSequencePositionMap | $reindexedSequencePositionMap | ||
| ) |
| int | $questionId | |
| array | $activeIds | |
| ilTestReindexedSequencePositionMap | $reindexedSequencePositionMap |
Definition at line 2551 of file class.ilObjTest.php.
References $DIC.
| ilObjTest::removeQuestions | ( | array | $removeQuestionIds | ) |
| int[] | $removeQuestionIds |
Definition at line 2580 of file class.ilObjTest.php.
| ilObjTest::removeTestActives | ( | $activeIds | ) |
Definition at line 2705 of file class.ilObjTest.php.
Referenced by ilCourseObjectiveResult\resetTestForUser().
Here is the caller graph for this function:| ilObjTest::removeTestResults | ( | ilTestParticipantData | $participantData | ) |
Definition at line 2629 of file class.ilObjTest.php.
References ilTestParticipantData\getActiveIds(), ilTestParticipantData\getAnonymousActiveIds(), ILIAS\Survey\Mode\getId(), ilObjectLP\getInstance(), and ilTestParticipantData\getUserIds().
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 2668 of file class.ilObjTest.php.
References $ilDB, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), CLIENT_WEB_DIR, ilFileUtils\delDir(), ilAssQuestionHintTracking\deleteRequestsByActiveIds(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjTest::removeTestResultsByUserIds | ( | $userIds | ) |
Definition at line 2647 of file class.ilObjTest.php.
| ilObjTest::removeTestResultsFromSoapLpAdministration | ( | $userIds | ) |
this method should only be used from non refactored soap context i think
| $userIds |
Definition at line 2614 of file class.ilObjTest.php.
| ilObjTest::saveAuthorToMetadata | ( | string | $a_author = "" | ) |
Saves an authors name into the lifecycle metadata if no lifecycle metadata exists This will only be called for conversion of "old" tests where the author hasn't been stored in the lifecycle metadata.
| string | $a_author | A string containing the name of the test author @access private |
Definition at line 6132 of file class.ilObjTest.php.
References $DIC, $ilUser, and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilObjTest::saveCompleteStatus | ( | ilTestQuestionSetConfig | $testQuestionSetConfig | ) |
Definition at line 734 of file class.ilObjTest.php.
References $DIC, $ilDB, getTestId(), and isComplete().
Here is the call graph for this function:| ilObjTest::saveManualFeedback | ( | int | $active_id, |
| int | $question_id, | ||
| int | $pass, | ||
| ?string | $feedback, | ||
| bool | $finalized = false, |
||
| bool | $is_single_feedback = false |
||
| ) |
Definition at line 9230 of file class.ilObjTest.php.
| ilObjTest::saveQuestionsToDb | ( | ) |
Definition at line 1100 of file class.ilObjTest.php.
References $DIC, $ilDB, $index, ILIAS\LTI\ToolProvider\$key, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), getTestId(), ILIAS\Repository\lng(), and logAction().
Referenced by saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::saveToDb | ( | bool | $properties_only = false | ) |
Definition at line 780 of file class.ilObjTest.php.
References $DIC, $ilDB, $ilUser, ILIAS\LTI\ToolProvider\$key, ilObject\$tree, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), ilRTE\_replaceMediaObjectImageSrc(), areObligationsEnabled(), cleanupMediaobjectUsage(), ilNewsItem\deleteNewsOfContext(), evalTotalPersons(), getActivationEndingTime(), getActivationStartingTime(), getActivationVisibility(), getAllowedUsers(), getAllowedUsersTimeGap(), getAnonymity(), getAnswerFeedback(), getAnswerFeedbackPoints(), getAuthor(), getAutosave(), getAutosaveIval(), getCharSelectorAvailability(), getCharSelectorDefinition(), getCustomStyle(), getECTSFX(), getECTSOutput(), getEnableArchiving(), getEnabledViewMode(), getEnableExamview(), getEnableProcessingTime(), getEndingTime(), getExportSettings(), getFinalStatement(), ilNewsItem\getFirstNewsIdForContext(), getFixedParticipants(), getForceJS(), getGenericAnswerFeedback(), ilObject\getId(), getInstantFeedbackSolution(), getIntroduction(), ilObjectActivation\getItem(), getKiosk(), getListOfQuestionsSettings(), getMailNotification(), getMailNotificationType(), getNrOfTries(), ilObject\getOfflineStatus(), getOldOnlineStatus(), getPassWaiting(), getPassword(), getProcessingTime(), getQuestionSetType(), getRedirectionMode(), getRedirectionUrl(), getResetProcessingTime(), getResultFilterTaxIds(), getScoreReporting(), getSequenceSettings(), getShowCancel(), getShowExamviewHtml(), getShowExamviewPdf(), getShowFinalStatement(), getShowInfo(), getShowMarker(), getShuffleQuestions(), getSignSubmission(), getSpecificAnswerFeedback(), getStartingTime(), getTemplate(), getTestId(), getTitleOutput(), getUsePreviousAnswers(), isActivationLimited(), isBlockPassesAfterPassedEnabled(), isComplete(), isEndingTimeEnabled(), isFollowupQuestionAnswerFixationEnabled(), isForceInstantFeedbackEnabled(), isInstantFeedbackAnswerFixationEnabled(), isIntroductionEnabled(), isLimitUsersEnabled(), isOfferingQuestionHintsEnabled(), isPasswordEnabled(), isShowExamIdInTestPassEnabled(), isShowGradingMarkEnabled(), isShowGradingStatusEnabled(), isSkillServiceEnabled(), isStartingTimeEnabled(), isTestFinalBroken(), ILIAS\Repository\lng(), logAction(), NEWS_NOTICE, NEWS_USERS, saveQuestionsToDb(), ilObjectActivation\TIMINGS_ACTIVATION, and ilObjectActivation\TIMINGS_DEACTIVATED.
Here is the call graph for this function:| ilObjTest::sendAdvancedNotification | ( | $active_id | ) |
Definition at line 9633 of file class.ilObjTest.php.
References _getUserIdFromActiveId(), and ANONYMOUS_USER_ID.
Here is the call graph for this function:| ilObjTest::sendSimpleNotification | ( | $active_id | ) |
Definition at line 9614 of file class.ilObjTest.php.
References _getUserIdFromActiveId().
Here is the call graph for this function:| ilObjTest::setAccessFilteredParticipantList | ( | $accessFilteredParticipantList | ) |
| ilTestParticipantList | $accessFilteredParticipantList |
Definition at line 4008 of file class.ilObjTest.php.
| ilObjTest::setActivationEndingTime | ( | $ending_time = null | ) |
Definition at line 10340 of file class.ilObjTest.php.
| ilObjTest::setActivationLimited | ( | $a_value | ) |
Definition at line 10015 of file class.ilObjTest.php.
| ilObjTest::setActivationStartingTime | ( | $starting_time = null | ) |
Definition at line 10335 of file class.ilObjTest.php.
| ilObjTest::setActivationVisibility | ( | $a_value | ) |
Definition at line 10000 of file class.ilObjTest.php.
| ilObjTest::setAllowedUsers | ( | $a_allowed_users | ) |
Definition at line 8061 of file class.ilObjTest.php.
| ilObjTest::setAllowedUsersTimeGap | ( | $a_allowed_users_time_gap | ) |
Definition at line 8071 of file class.ilObjTest.php.
| ilObjTest::setAnonymity | ( | $a_value = 0 | ) |
Sets the anonymity status of the test.
| integer | $a_value | The value for the anonymity status (0 = personalized, 1 = anonymized) @access public |
Definition at line 8272 of file class.ilObjTest.php.
| ilObjTest::setAnswerFeedback | ( | $answer_feedback = 0 | ) |
Sets the generic feedback for the test @deprecate Use setGenericAnswerFeedback instead.
| int | string | $answer_feedback | If 1, answer specific feedback will be shown after answering a question |
Definition at line 1718 of file class.ilObjTest.php.
| ilObjTest::setAnswerFeedbackPoints | ( | $answer_feedback_points = 0 | ) |
Sets the answer specific feedback of reached points for the test.
| int | string | $answer_feedback_points | If 1, answer specific feedback will show the reached points after answering a question |
Definition at line 1748 of file class.ilObjTest.php.
| ilObjTest::setAuthor | ( | string | $author = "" | ) |
Sets the authors name of the ilObjTest object.
| string | $author | A string containing the name of the test author @access public |
Definition at line 6118 of file class.ilObjTest.php.
| ilObjTest::setAutosave | ( | $autosave | ) |
Definition at line 10259 of file class.ilObjTest.php.
| ilObjTest::setAutosaveIval | ( | $autosave_ival | ) |
Definition at line 10269 of file class.ilObjTest.php.
| ilObjTest::setBlockPassesAfterPassedEnabled | ( | $blockPassesAfterPassedEnabled | ) |
| bool | $blockPassesAfterPassedEnabled |
Definition at line 1994 of file class.ilObjTest.php.
| ilObjTest::setCharSelectorAvailability | ( | $availability | ) |
Definition at line 10567 of file class.ilObjTest.php.
References ILIAS\Repository\int().
Here is the call graph for this function:| ilObjTest::setCharSelectorDefinition | ( | $definition = '' | ) |
| string | definition of the special character selector |
Definition at line 10583 of file class.ilObjTest.php.
| ilObjTest::setClientIP | ( | $user_id, | |
| $client_ip | |||
| ) |
Definition at line 6975 of file class.ilObjTest.php.
| ilObjTest::setCustomStyle | ( | $a_customStyle = null | ) |
Set the custom style.
| string | $a_customStyle | The custom style @access public |
Definition at line 1555 of file class.ilObjTest.php.
| ilObjTest::setECTSFX | ( | $ects_fx | ) |
| float | null | $ects_fx |
Implements ilEctsGradesEnabled.
Definition at line 1649 of file class.ilObjTest.php.
| ilObjTest::setECTSGrades | ( | array | $a_ects_grades | ) |
Implements ilEctsGradesEnabled.
Definition at line 1659 of file class.ilObjTest.php.
| ilObjTest::setECTSOutput | ( | $status | ) |
| int | bool | $status |
Implements ilEctsGradesEnabled.
Definition at line 1639 of file class.ilObjTest.php.
| ilObjTest::setEnableArchiving | ( | $enable_archiving | ) |
| boolean | $enable_archiving |
Definition at line 10464 of file class.ilObjTest.php.
| ilObjTest::setEnabledViewMode | ( | $mode | ) |
Definition at line 9750 of file class.ilObjTest.php.
| ilObjTest::setEnableExamview | ( | $enable_examview | ) |
| boolean | $enable_examview |
Definition at line 10320 of file class.ilObjTest.php.
| ilObjTest::setEnableProcessingTime | ( | $enable = 0 | ) |
Sets the processing time enabled or disabled.
| integer | $enable | 0 to disable the processing time, 1 to enable the processing time @access public |
Definition at line 2462 of file class.ilObjTest.php.
| ilObjTest::setEndingTime | ( | $ending_time = null | ) |
Sets the ending time in database timestamp format for the test.
| string | $ending_time | The ending time for the test. Empty string for no ending time. @access public |
Definition at line 2366 of file class.ilObjTest.php.
| ilObjTest::setEndingTimeEnabled | ( | $ending_time_enabled | ) |
| boolean | $ending_time_enabled |
Definition at line 2342 of file class.ilObjTest.php.
| ilObjTest::setExportSettings | ( | $a_settings | ) |
Definition at line 9720 of file class.ilObjTest.php.
| ilObjTest::setExportSettingsSingleChoiceShort | ( | $a_settings | ) |
Definition at line 9734 of file class.ilObjTest.php.
| ilObjTest::setFinalStatement | ( | string | $a_statement | ) |
Definition at line 1519 of file class.ilObjTest.php.
| ilObjTest::setFixedParticipants | ( | $a_value = 1 | ) |
Sets the fixed participants status.
| integer | $a_value | The value for the fixed participants status (0 = don't allow, 1 = allow) @access public |
Definition at line 8359 of file class.ilObjTest.php.
| ilObjTest::setFollowupQuestionAnswerFixationEnabled | ( | $followupQuestionAnswerFixationEnabled | ) |
Definition at line 10814 of file class.ilObjTest.php.
| ilObjTest::setForceInstantFeedbackEnabled | ( | $forceInstantFeedbackEnabled | ) |
| boolean | $forceInstantFeedbackEnabled |
Definition at line 10842 of file class.ilObjTest.php.
| ilObjTest::setForceJS | ( | $a_js = 1 | ) |
Set whether JavaScript should be forced for tests.
| integer | $a_js | 1 to force JavaScript, 0 otherwise @access public |
Definition at line 1543 of file class.ilObjTest.php.
| ilObjTest::setGenericAnswerFeedback | ( | int | $generic_answer_feedback = 0 | ) |
Definition at line 1730 of file class.ilObjTest.php.
| ilObjTest::setInstantFeedbackAnswerFixationEnabled | ( | $instantFeedbackAnswerFixationEnabled | ) |
Definition at line 10824 of file class.ilObjTest.php.
| ilObjTest::setInstantFeedbackOptionsByArray | ( | $options | ) |
Definition at line 9793 of file class.ilObjTest.php.
| ilObjTest::setInstantFeedbackSolution | ( | $instant_feedback = 0 | ) |
Sets the instant feedback for the solution.
| int | string | $instant_feedback | If 1, the solution will be shown after answering a question |
Definition at line 1700 of file class.ilObjTest.php.
| ilObjTest::setIntroduction | ( | string | $introduction | ) |
Definition at line 1514 of file class.ilObjTest.php.
| ilObjTest::setIntroductionEnabled | ( | $introductionEnabled | ) |
| bool | string | $introductionEnabled |
Definition at line 1504 of file class.ilObjTest.php.
| ilObjTest::setKiosk | ( | $kiosk = 0 | ) |
Sets the kiosk mode for the test.
| integer | $kiosk | The value for the kiosk mode. @access public |
Definition at line 2019 of file class.ilObjTest.php.
| ilObjTest::setKioskMode | ( | $a_kiosk = false | ) |
Sets the kiosk mode for the test.
| boolean | $kiosk | The value for the kiosk mode @access public |
Definition at line 2047 of file class.ilObjTest.php.
| ilObjTest::setLimitUsersEnabled | ( | bool | $limitUsersEnabled | ) |
Definition at line 8051 of file class.ilObjTest.php.
| ilObjTest::setListOfQuestions | ( | $a_value = true | ) |
Sets if the the list of questions should be presented to the user or not.
| boolean | $a_value | TRUE if the list of questions should be presented, FALSE otherwise @access public |
Definition at line 7816 of file class.ilObjTest.php.
| ilObjTest::setListOfQuestionsDescription | ( | $a_value = true | ) |
Sets the show_summary attribute to TRUE if the list of questions should be presented with the question descriptions.
| boolean | $a_value | TRUE if the list of questions should be shown with question descriptions, FALSE otherwise @access public |
Definition at line 7909 of file class.ilObjTest.php.
| ilObjTest::setListOfQuestionsEnd | ( | $a_value = true | ) |
Sets if the the list of questions as the end page of the test.
| boolean | $a_value | TRUE if the list of questions should be the end page, FALSE otherwise @access public |
Definition at line 7879 of file class.ilObjTest.php.
| ilObjTest::setListOfQuestionsSettings | ( | $a_value = 0 | ) |
Sets the settings for the list of questions options in the test properties This could contain one of the following values: 0 = No list of questions offered 1 = A list of questions is offered 3 = A list of questions is offered and the list of questions is shown as first page of the test 5 = A list of questions is offered and the list of questions is shown as last page of the test 7 = A list of questions is offered and the list of questions is shown as first and last page of the test.
| integer | $a_value | 0, 1, 3, 5 or 7 @access public |
Definition at line 7790 of file class.ilObjTest.php.
| ilObjTest::setListOfQuestionsStart | ( | $a_value = true | ) |
Sets if the the list of questions as the start page of the test.
| boolean | $a_value | TRUE if the list of questions should be the start page, FALSE otherwise @access public |
Definition at line 7846 of file class.ilObjTest.php.
| ilObjTest::setMailNotification | ( | $a_notification | ) |
Definition at line 9609 of file class.ilObjTest.php.
| ilObjTest::setMailNotificationType | ( | $a_type | ) |
Definition at line 9706 of file class.ilObjTest.php.
| ilObjTest::setNrOfTries | ( | $nr_of_tries = 0 | ) |
Sets the nr of tries for the test.
| integer | $nr_of_tries | The maximum number of tries for the test. 0 for infinite tries. @access public |
Definition at line 2378 of file class.ilObjTest.php.
| ilObjTest::setObligationsEnabled | ( | $obligationsEnabled = true | ) |
sets obligations enabled/disabled
| boolean | $obligationsEnabled |
Definition at line 10151 of file class.ilObjTest.php.
| ilObjTest::setOfferingQuestionHintsEnabled | ( | $offeringQuestionHintsEnabled | ) |
sets offering question hints enabled/disabled
| boolean | $offeringQuestionHintsEnabled |
Definition at line 9995 of file class.ilObjTest.php.
| ilObjTest::setOldOnlineStatus | ( | $oldOnlineStatus | ) |
Definition at line 9970 of file class.ilObjTest.php.
| ilObjTest::setOnline | ( | $a_online = true | ) |
Definition at line 9957 of file class.ilObjTest.php.
Referenced by ilTestImporter\importQuestionSkillAssignments().
Here is the caller graph for this function:| ilObjTest::setPassWaiting | ( | $pass_waiting | ) |
| string | $pass_waiting | mm:ddd:hh:ii:ss |
Definition at line 2531 of file class.ilObjTest.php.
| ilObjTest::setPassword | ( | $a_password = null | ) |
Sets the password for test access.
| string | $a_password | The password for test access @access public |
Definition at line 2515 of file class.ilObjTest.php.
| ilObjTest::setPasswordEnabled | ( | $passwordEnabled | ) |
| boolean | $passwordEnabled |
Definition at line 2498 of file class.ilObjTest.php.
| ilObjTest::setPostponingEnabled | ( | $postponingEnabled | ) |
Definition at line 1689 of file class.ilObjTest.php.
| ilObjTest::setProcessingTime | ( | $processing_time = "00:00:00" | ) |
Sets the processing time for the test.
| string | $processing_time | The maximum processing time for the test given in hh:mm:ss @access public |
Definition at line 2445 of file class.ilObjTest.php.
| ilObjTest::setProcessingTimeByMinutes | ( | $minutes | ) |
Definition at line 2450 of file class.ilObjTest.php.
| ilObjTest::setQuestionOrderAndObligations | ( | $orders, | |
| $obligations | |||
| ) |
Definition at line 9829 of file class.ilObjTest.php.
| ilObjTest::setQuestionSetSolved | ( | $value, | |
| $question_id, | |||
| $user_id | |||
| ) |
sets question solved state to value for given user_id
Definition at line 7020 of file class.ilObjTest.php.
| ilObjTest::setQuestionSetType | ( | $questionSetType | ) |
setter for question set type
| string | $questionSetType |
Definition at line 10602 of file class.ilObjTest.php.
| ilObjTest::setRedirectionMode | ( | $redirection_mode = 0 | ) |
Definition at line 2399 of file class.ilObjTest.php.
| ilObjTest::setRedirectionUrl | ( | $redirection_url = null | ) |
Definition at line 2407 of file class.ilObjTest.php.
| ilObjTest::setReportingDate | ( | $reporting_date | ) |
Sets the reporting date of the ilObjTest object when the score reporting is available.
Definition at line 1764 of file class.ilObjTest.php.
| ilObjTest::setResetProcessingTime | ( | $reset = 0 | ) |
Sets wheather the processing time should be reset or not.
| integer | $reset | 1 to reset the processing time, 0 otherwise @access public |
Definition at line 2478 of file class.ilObjTest.php.
| ilObjTest::setSequenceSettings | ( | $sequence_settings = 0 | ) |
SEQUENCE SETTING = POSTPONING ENABLED !!
| int | string | $sequence_settings | The POSTPONING ENABLED status |
Definition at line 1679 of file class.ilObjTest.php.
| ilObjTest::setShowCancel | ( | $a_value = 1 | ) |
Sets the cancel test button status.
| integer | $a_value | The value for the cancel test status (0 = don't show, 1 = show) @access public |
Definition at line 8301 of file class.ilObjTest.php.
| ilObjTest::setShowExamIdInTestPassEnabled | ( | $show_exam_id_in_test_pass_enabled | ) |
Definition at line 10533 of file class.ilObjTest.php.
| ilObjTest::setShowExamviewHtml | ( | $show_examview_html | ) |
| boolean | $show_examview_html |
Definition at line 10288 of file class.ilObjTest.php.
| ilObjTest::setShowExamviewPdf | ( | $show_examview_pdf | ) |
| boolean | $show_examview_pdf |
Definition at line 10304 of file class.ilObjTest.php.
| ilObjTest::setShowFinalStatement | ( | $show = 0 | ) |
Sets whether the final statement should be shown or not.
| integer | $show | 1 if TRUE or 0 if FALSE @access public |
Definition at line 1576 of file class.ilObjTest.php.
| ilObjTest::setShowGradingMarkEnabled | ( | $showGradingMarkEnabled | ) |
Definition at line 10803 of file class.ilObjTest.php.
| ilObjTest::setShowGradingStatusEnabled | ( | $showGradingStatusEnabled | ) |
Definition at line 10793 of file class.ilObjTest.php.
| ilObjTest::setShowInfo | ( | $a_info = 1 | ) |
Set whether the complete information page is shown or the required data only.
| integer | $a_info | 1 for the complete information, 0 otherwise @access public |
Definition at line 1531 of file class.ilObjTest.php.
| ilObjTest::setShowKioskModeParticipant | ( | $a_participant = false | ) |
Set to true, if the participant's name should be shown in kiosk mode.
| boolean | $a_title | TRUE if the participant's name should be shown in kiosk mode, FALSE otherwise @access public |
Definition at line 2113 of file class.ilObjTest.php.
| ilObjTest::setShowKioskModeTitle | ( | $a_title = false | ) |
Set to true, if the full test title should be shown in kiosk mode.
| boolean | $a_title | TRUE if the test title should be shown in kiosk mode, FALSE otherwise @access public |
Definition at line 2080 of file class.ilObjTest.php.
| ilObjTest::setShowMarker | ( | $a_value = 1 | ) |
Sets the marker button status.
| integer | $a_value | The value for the marker status (0 = don't show, 1 = show) @access public |
Definition at line 8330 of file class.ilObjTest.php.
| ilObjTest::setShowSolutionPrintview | ( | int | $a_printview = 1 | ) |
Sets if the the solution printview should be presented to the user or not.
| boolean | $a_details | TRUE if the solution printview should be presented, FALSE otherwise @access public |
Definition at line 8016 of file class.ilObjTest.php.
| ilObjTest::setShuffleQuestions | ( | $a_shuffle | ) |
Sets the status of the shuffle_questions variable.
| boolean | $a_shuffle | 0 if the test questions are not shuffled, 1 if the test questions are shuffled @access public |
Definition at line 7756 of file class.ilObjTest.php.
| ilObjTest::setSignSubmission | ( | $sign_submission | ) |
| boolean | $sign_submission |
Definition at line 10554 of file class.ilObjTest.php.
| ilObjTest::setSkillServiceEnabled | ( | $skillServiceEnabled | ) |
Definition at line 10738 of file class.ilObjTest.php.
| ilObjTest::setSpecificAnswerFeedback | ( | $specific_answer_feedback | ) |
Definition at line 10124 of file class.ilObjTest.php.
| ilObjTest::setStartingTime | ( | $starting_time = null | ) |
Sets the starting time in database timestamp format for the test.
| string | $starting_time | The starting time for the test. Empty string for no starting time. @access public |
Definition at line 2329 of file class.ilObjTest.php.
| ilObjTest::setStartingTimeEnabled | ( | $starting_time_enabled | ) |
| boolean | $starting_time_enabled |
Definition at line 2305 of file class.ilObjTest.php.
| ilObjTest::setTemplate | ( | $template_id | ) |
Definition at line 9755 of file class.ilObjTest.php.
References ILIAS\Repository\int().
Referenced by ilLOEditorGUI\applySettingsTemplate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::setTestFinalBroken | ( | $testFinalBroken | ) |
| boolean | $testFinalBroken |
Definition at line 10919 of file class.ilObjTest.php.
| ilObjTest::setTestId | ( | $a_id | ) |
Sets the test ID.
| integer | $a_id | Test ID |
Definition at line 9351 of file class.ilObjTest.php.
| ilObjTest::setTitleOutput | ( | $title_output = 0 | ) |
Sets the status of the title output.
| integer | $title_output | 0 for full title, 1 for title without points, 2 for no title @access public |
Definition at line 2423 of file class.ilObjTest.php.
| ilObjTest::setTmpCopyWizardCopyId | ( | int | $tmpCopyWizardCopyId | ) |
Definition at line 389 of file class.ilObjTest.php.
References $tmpCopyWizardCopyId.
| ilObjTest::setUsePreviousAnswers | ( | $use_previous_answers = 1 | ) |
Sets the status of the visibility of previous learner answers.
| integer | $use_previous_answers | 1 if the previous answers should be shown @access public |
Definition at line 2390 of file class.ilObjTest.php.
| 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 4749 of file class.ilObjTest.php.
| ilObjTest::startWorkingTime | ( | $active_id, | |
| $pass | |||
| ) |
Write the initial entry for the tests working time to the database.
| integer | $user_id | The database id of the user working with the test @access public |
Definition at line 3042 of file class.ilObjTest.php.
| ilObjTest::toXML | ( | ) |
Returns a QTI xml representation of the test.
Definition at line 5270 of file class.ilObjTest.php.
References $data, $index, $xml, IL_INST_ID, and ILIAS_VERSION.
| ilObjTest::update | ( | ) |
Reimplemented from ilObject.
Definition at line 402 of file class.ilObjTest.php.
References ilObject\updateMetaData().
Here is the call graph for this function:| ilObjTest::updateWorkingTime | ( | $times_id | ) |
Update the working time of a test when a question is answered.
| integer | $times_id | The database id of a working time entry @access public |
Definition at line 3062 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 8458 of file class.ilObjTest.php.
References ilObjUser\_lookupName(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Name of a custom style sheet for the test string?
Definition at line 185 of file class.ilObjTest.php.
|
private |
Definition at line 175 of file class.ilObjTest.php.
|
private |
Definition at line 179 of file class.ilObjTest.php.
|
protected |
Definition at line 53 of file class.ilObjTest.php.
|
private |
Definition at line 174 of file class.ilObjTest.php.
|
private |
Definition at line 177 of file class.ilObjTest.php.
|
protected |
Definition at line 3997 of file class.ilObjTest.php.
|
protected |
Definition at line 207 of file class.ilObjTest.php.
|
private |
Definition at line 47 of file class.ilObjTest.php.
|
protected |
Definition at line 205 of file class.ilObjTest.php.
|
protected |
Definition at line 203 of file class.ilObjTest.php.
|
protected |
Definition at line 140 of file class.ilObjTest.php.
|
protected |
Definition at line 147 of file class.ilObjTest.php.
| int ilObjTest::$anonymity |
Definition at line 149 of file class.ilObjTest.php.
| int ilObjTest::$answer_feedback |
Definition at line 157 of file class.ilObjTest.php.
| int ilObjTest::$answer_feedback_points |
Definition at line 73 of file class.ilObjTest.php.
| string ilObjTest::$author |
Definition at line 56 of file class.ilObjTest.php.
|
protected |
Definition at line 209 of file class.ilObjTest.php.
|
protected |
Definition at line 210 of file class.ilObjTest.php.
|
protected |
Definition at line 81 of file class.ilObjTest.php.
|
protected |
Definition at line 241 of file class.ilObjTest.php.
|
protected |
Definition at line 242 of file class.ilObjTest.php.
|
protected |
Definition at line 265 of file class.ilObjTest.php.
|
protected |
Contains the percentage of maximum points a failed user needs to get the FX ECTS grade.
Definition at line 111 of file class.ilObjTest.php.
|
protected |
Definition at line 112 of file class.ilObjTest.php.
|
protected |
Definition at line 106 of file class.ilObjTest.php.
|
protected |
Definition at line 230 of file class.ilObjTest.php.
|
protected |
Definition at line 227 of file class.ilObjTest.php.
| ilObjTest::$enable_processing_time |
Definition at line 85 of file class.ilObjTest.php.
|
protected |
Definition at line 114 of file class.ilObjTest.php.
|
protected |
Definition at line 100 of file class.ilObjTest.php.
|
protected |
bool?
Definition at line 98 of file class.ilObjTest.php.
| ilObjTest::$evaluation_data |
Contains the evaluation data settings the tutor defines for the user.
Definition at line 79 of file class.ilObjTest.php.
|
protected |
Definition at line 191 of file class.ilObjTest.php.
|
private |
Definition at line 49 of file class.ilObjTest.php.
| int ilObjTest::$fixed_participants |
Definition at line 155 of file class.ilObjTest.php.
|
protected |
Definition at line 247 of file class.ilObjTest.php.
|
protected |
Definition at line 253 of file class.ilObjTest.php.
| int ilObjTest::$instant_verification |
Definition at line 72 of file class.ilObjTest.php.
|
protected |
Definition at line 248 of file class.ilObjTest.php.
|
protected |
Definition at line 64 of file class.ilObjTest.php.
|
protected |
Definition at line 63 of file class.ilObjTest.php.
| int ilObjTest::$invitation = INVITATION_OFF |
Definition at line 55 of file class.ilObjTest.php.
|
staticprivate |
Definition at line 10780 of file class.ilObjTest.php.
|
protected |
bool?
Definition at line 133 of file class.ilObjTest.php.
|
protected |
Definition at line 187 of file class.ilObjTest.php.
|
protected |
Definition at line 189 of file class.ilObjTest.php.
| ilObjTest::$mark_schema |
Defines the mark schema ASS_MarkSchema ?
Definition at line 70 of file class.ilObjTest.php.
| ilObjTest::$metadata |
A reference to an IMS compatible matadata set.
Definition at line 61 of file class.ilObjTest.php.
|
private |
Definition at line 48 of file class.ilObjTest.php.
| int ilObjTest::$nr_of_tries |
Definition at line 80 of file class.ilObjTest.php.
|
private |
Definition at line 201 of file class.ilObjTest.php.
|
private |
Definition at line 199 of file class.ilObjTest.php.
|
protected |
Definition at line 195 of file class.ilObjTest.php.
|
private |
Definition at line 50 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 225 of file class.ilObjTest.php.
|
protected |
Definition at line 262 of file class.ilObjTest.php.
|
private |
Definition at line 218 of file class.ilObjTest.php.
|
protected |
Definition at line 128 of file class.ilObjTest.php.
|
protected |
bool?
Definition at line 127 of file class.ilObjTest.php.
|
protected |
Definition at line 197 of file class.ilObjTest.php.
| ilObjTest::$processing_time |
Definition at line 84 of file class.ilObjTest.php.
| array ilObjTest::$questions |
Definition at line 62 of file class.ilObjTest.php.
|
private |
Definition at line 43 of file class.ilObjTest.php.
|
private |
Definition at line 232 of file class.ilObjTest.php.
|
private |
Definition at line 233 of file class.ilObjTest.php.
|
private |
Definition at line 51 of file class.ilObjTest.php.
| ilObjTest::$reporting_date |
Definition at line 74 of file class.ilObjTest.php.
| int ilObjTest::$reset_processing_time |
Definition at line 86 of file class.ilObjTest.php.
|
private |
Definition at line 45 of file class.ilObjTest.php.
|
protected |
Definition at line 266 of file class.ilObjTest.php.
|
protected |
Definition at line 267 of file class.ilObjTest.php.
| int ilObjTest::$sequence_settings |
Definition at line 71 of file class.ilObjTest.php.
| int ilObjTest::$show_cancel |
Definition at line 151 of file class.ilObjTest.php.
|
protected |
Definition at line 235 of file class.ilObjTest.php.
|
protected |
Definition at line 236 of file class.ilObjTest.php.
|
protected |
Definition at line 228 of file class.ilObjTest.php.
|
protected |
Definition at line 229 of file class.ilObjTest.php.
| int ilObjTest::$show_marker |
Definition at line 153 of file class.ilObjTest.php.
| ilObjTest::$show_summary |
Definition at line 122 of file class.ilObjTest.php.
|
protected |
Definition at line 245 of file class.ilObjTest.php.
|
protected |
Definition at line 244 of file class.ilObjTest.php.
| bool ilObjTest::$shuffle_questions |
Definition at line 115 of file class.ilObjTest.php.
|
protected |
Definition at line 238 of file class.ilObjTest.php.
|
private |
Definition at line 44 of file class.ilObjTest.php.
|
private |
Definition at line 46 of file class.ilObjTest.php.
|
protected |
Definition at line 93 of file class.ilObjTest.php.
|
protected |
bool?
Definition at line 91 of file class.ilObjTest.php.
|
private |
Definition at line 193 of file class.ilObjTest.php.
| int ilObjTest::$test_id |
Definition at line 54 of file class.ilObjTest.php.
|
protected |
Definition at line 255 of file class.ilObjTest.php.
|
private |
Definition at line 52 of file class.ilObjTest.php.
| ilObjTest::$testSequence |
contains the test sequence data
Definition at line 167 of file class.ilObjTest.php.
| ilObjTest::$testSession |
contains the test session data
Definition at line 162 of file class.ilObjTest.php.
| int ilObjTest::$title_output |
Definition at line 83 of file class.ilObjTest.php.
|
private |
Definition at line 257 of file class.ilObjTest.php.
Referenced by getTmpCopyWizardCopyId(), and setTmpCopyWizardCopyId().
| int ilObjTest::$use_previous_answers |
Definition at line 82 of file class.ilObjTest.php.
| const ilObjTest::DEFAULT_PROCESSING_TIME_MINUTES = 90 |
Definition at line 35 of file class.ilObjTest.php.
|
private |
Definition at line 41 of file class.ilObjTest.php.
Referenced by _getQuestionCountAndPointsForPassOfParticipant().
| const ilObjTest::QUESTION_SET_TYPE_FIXED = 'FIXED_QUEST_SET' |
Definition at line 39 of file class.ilObjTest.php.
Referenced by _getQuestionCountAndPointsForPassOfParticipant(), ilObjTestSettingsGeneralGUI\addGeneralProperties(), ilTestSettingsTemplateConfig\addGeneralPropertySettings(), ilObjTestGUI\applyDefaultsObject(), ilLOTestAssignmentTableGUI\fillRow(), getQuestionSetTypeTranslation(), ilQTIParser\handlerVerifyEndTag(), ilLOTestAssignmentForm\initForm(), ilObjTestSettingsGeneralGUI\saveFormCmd(), ilTestExportFactoryTest\testGetExporter(), ilTestPlayerFactoryTest\testGetPlayerGUI(), and ilObjTestGUI\uploadTst().
| const ilObjTest::QUESTION_SET_TYPE_RANDOM = 'RANDOM_QUEST_SET' |
Definition at line 40 of file class.ilObjTest.php.
Referenced by _getQuestionCountAndPointsForPassOfParticipant(), ilObjTestSettingsGeneralGUI\addGeneralProperties(), ilTestSettingsTemplateConfig\addGeneralPropertySettings(), ilObjTestGUI\applyDefaultsObject(), ilLOTestAssignmentTableGUI\fillRow(), getQuestionSetTypeTranslation(), ilQTIParser\handlerVerifyEndTag(), ilLOTestAssignmentForm\initForm(), ilTestExportFactoryTest\testGetExporter(), and ilTestPlayerFactoryTest\testGetPlayerGUI().
| const ilObjTest::SCORE_REPORTING_AFTER_PASSED = 4 |
Definition at line 1778 of file class.ilObjTest.php.
Referenced by ilObjTestGUI\infoScreen(), ilTestPassesSelector\isReportablePass(), and ilTestResultsGUI\showNoResultsReportingMessage().
| const ilObjTest::SCORE_REPORTING_DATE = 3 |
Definition at line 1777 of file class.ilObjTest.php.
Referenced by ilObjTestGUI\infoScreen(), ilTestPassesSelector\isReportablePass(), and ilTestResultsGUI\showNoResultsReportingMessage().
| const ilObjTest::SCORE_REPORTING_DISABLED = 0 |
Definition at line 1774 of file class.ilObjTest.php.
| const ilObjTest::SCORE_REPORTING_FINISHED = 1 |
Definition at line 1775 of file class.ilObjTest.php.
Referenced by ilObjTestGUI\infoScreen(), ilTestPassesSelector\isReportablePass(), and ilTestResultsGUI\showNoResultsReportingMessage().
| const ilObjTest::SCORE_REPORTING_IMMIDIATLY = 2 |
Definition at line 1776 of file class.ilObjTest.php.
Referenced by ilObjTestGUI\infoScreen(), and ilTestPassesSelector\isReportablePass().