|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Inheritance diagram for ilObjTest:
Collaboration diagram for ilObjTest:Public Member Functions | ||||||||||
| __construct ($a_id=0, $a_call_by_reference=true) | ||||||||||
| Constructor. More... | ||||||||||
| getTitleFilenameCompliant () | ||||||||||
| returns the object title prepared to be used as a filename More... | ||||||||||
| getTmpCopyWizardCopyId () | ||||||||||
| setTmpCopyWizardCopyId ($tmpCopyWizardCopyId) | ||||||||||
| create () | ||||||||||
| create test object More... | ||||||||||
| update () | ||||||||||
| update object data More... | ||||||||||
| read () | ||||||||||
| read object data from db into object More... | ||||||||||
| delete () | ||||||||||
| delete object and all related data More... | ||||||||||
| deleteTest () | ||||||||||
| Deletes the test and all related objects, files and database entries. More... | ||||||||||
| 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 () | ||||||||||
| Get the location of the export directory for the test. More... | ||||||||||
| getImportDirectory () | ||||||||||
| hasSingleChoiceQuestions () | ||||||||||
| Returns TRUE if the test contains single choice results. More... | ||||||||||
| isSingleChoiceTest () | ||||||||||
| Returns TRUE if the test contains single choice results only. More... | ||||||||||
| isSingleChoiceTestWithoutShuffle () | ||||||||||
| Returns TRUE if the test contains single choice results and no shuffle only. More... | ||||||||||
| isComplete (ilTestQuestionSetConfig $testQuestionSetConfig) | ||||||||||
| Returns true, if a test is complete for use and can be set online. More... | ||||||||||
| _isComplete ($obj_id) | ||||||||||
| Returns true, if a test is complete for use. More... | ||||||||||
| saveCompleteStatus (ilTestQuestionSetConfig $testQuestionSetConfig) | ||||||||||
| Checks if the test is complete and saves the status in the database. More... | ||||||||||
| 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 ($properties_only=false) | ||||||||||
| Saves a ilObjTest object to a database. More... | ||||||||||
| saveQuestionsToDb () | ||||||||||
| Saves the test questions to the database. More... | ||||||||||
| randomSelectQuestions ($nr_of_questions, $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 ($active_id, $pass) | ||||||||||
| Checkes wheather a random test has already created questions for a given pass or not. More... | ||||||||||
| loadFromDb () | ||||||||||
| Loads a ilObjTest object from a database. More... | ||||||||||
| loadQuestions ($active_id="", $pass=null) | ||||||||||
| Load the test question id's from the database. More... | ||||||||||
| isIntroductionEnabled () | ||||||||||
| setIntroductionEnabled ($introductionEnabled) | ||||||||||
| getIntroduction () | ||||||||||
| Gets the introduction text of the ilObjTest object. More... | ||||||||||
| setIntroduction ($introduction="") | ||||||||||
| Sets the introduction text of the ilObjTest object. More... | ||||||||||
| setFinalStatement ($a_statement="") | ||||||||||
| Sets the final statement text of the ilObjTest object. More... | ||||||||||
| 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 () | ||||||||||
| Get the custom style. More... | ||||||||||
| setShowFinalStatement ($show=0) | ||||||||||
| Sets whether the final statement should be shown or not. More... | ||||||||||
| getFinalStatement () | ||||||||||
| Gets the final statement. More... | ||||||||||
| 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) | ||||||||||
| setScoreReporting ($score_reporting=0) | ||||||||||
| Sets the score reporting of the ilObjTest object. More... | ||||||||||
| 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 ($generic_answer_feedback=0) | ||||||||||
| Sets if the generic feedback is to be shown in the test. More... | ||||||||||
| 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. More... | ||||||||||
| getScoreReporting () | ||||||||||
| Gets the score reporting of the ilObjTest object. More... | ||||||||||
| 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... | ||||||||||
| getMCScoring () | ||||||||||
| Gets the scoring type for multiple choice questions. 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 ($activeId) | ||||||||||
| getProcessingTime () | ||||||||||
| Returns the processing time for the test. More... | ||||||||||
| getProcessingTimeAsArray () | ||||||||||
| Returns the processing time for the test. More... | ||||||||||
| 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... | ||||||||||
| setCountSystem ($a_count_system=COUNT_PARTIAL_SOLUTIONS) | ||||||||||
| Sets the count system for the calculation of points. More... | ||||||||||
| isPasswordEnabled () | ||||||||||
| setPasswordEnabled ($passwordEnabled) | ||||||||||
| getPassword () | ||||||||||
| Returns the password for test access. More... | ||||||||||
| setPassword ($a_password=null) | ||||||||||
| Sets the password for test access. More... | ||||||||||
| setScoreCutting ($a_score_cutting=SCORE_CUT_QUESTION) | ||||||||||
| Sets the type of score cutting. More... | ||||||||||
| setMCScoring ($a_mc_scoring=SCORE_ZERO_POINTS_WHEN_UNANSWERED) | ||||||||||
| Sets the multiple choice scoring. More... | ||||||||||
| setPassScoring ($a_pass_scoring=SCORE_LAST_PASS) | ||||||||||
| Sets the pass scoring. More... | ||||||||||
| getPassWaiting () | ||||||||||
| setPassWaiting ($pass_waiting) | ||||||||||
| isPassWaitingEnabled () | ||||||||||
| removeQuestionFromSequences ($questionId, $activeIds, ilTestReindexedSequencePositionMap $reindexedSequencePositionMap) | ||||||||||
| removeQuestions ($removeQuestionIds) | ||||||||||
| removeQuestion ($question_id) | ||||||||||
| Removes a question from the test object. More... | ||||||||||
| 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, $ordered_sequence=false, $considerHiddenQuestions=true, $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 () | ||||||||||
{
| ||||||||||
| canShowEctsGrades () | ||||||||||
{
| ||||||||||
| getECTSGrade ($passed_array, $reached_points, $max_points) | ||||||||||
{Returns the ECTS grade for a number of reached points.
| ||||||||||
| checkMarks () | ||||||||||
{
| ||||||||||
| getMarkSchema () | ||||||||||
{
| ||||||||||
| getMarkSchemaForeignId () | ||||||||||
{
| ||||||||||
| canEditMarks () | ||||||||||
| setAuthor ($author="") | ||||||||||
| Sets the authors name of the ilObjTest object. More... | ||||||||||
| saveAuthorToMetadata ($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... | ||||||||||
| createMetaData () | ||||||||||
| Create meta data entry. More... | ||||||||||
| getAuthor () | ||||||||||
| Gets the authors name of the ilObjTest object. More... | ||||||||||
| getQuestionCount () | ||||||||||
| Returns the number of questions in the test. More... | ||||||||||
| 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 ($starting_time, $active_id) | ||||||||||
| Returns whether the maximum processing time for a test is reached or not. More... | ||||||||||
| & | getTestQuestions () | |||||||||
| isTestQuestion ($questionId) | ||||||||||
| checkQuestionParent ($questionId) | ||||||||||
| getFixedQuestionSetTotalPoints () | ||||||||||
| getFixedQuestionSetTotalWorkingTime () | ||||||||||
| 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... | ||||||||||
| 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 () | ||||||||||
| setResultsPresentation ($a_results_presentation=3) | ||||||||||
| Sets the combined results presentation value. More... | ||||||||||
| setShowPassDetails ($a_details=1) | ||||||||||
| Sets if the pass details should be shown when a test is not finished. More... | ||||||||||
| setShowSolutionDetails ($a_details=1) | ||||||||||
| Sets if the the solution details should be presented to the user or not. More... | ||||||||||
| canShowSolutionPrintview ($user_id=null) | ||||||||||
| Calculates if a user may see the solution printview of his/her test results. More... | ||||||||||
| setShowSolutionPrintview ($a_printview=1) | ||||||||||
| Sets if the the solution printview should be presented to the user or not. More... | ||||||||||
| setShowSolutionFeedback ($a_feedback=true) | ||||||||||
| Sets if the the feedback should be presented to the user in the solution or not. More... | ||||||||||
| setShowSolutionAnswersOnly ($a_full=true) | ||||||||||
| Set to true, if the full solution (including the ILIAS content pages) should be shown in the solution output. More... | ||||||||||
| setShowSolutionSignature ($a_signature=false) | ||||||||||
| Set to TRUE, if the signature field should be shown in the solution. More... | ||||||||||
| setShowSolutionSuggested ($a_solution=false) | ||||||||||
| Set to TRUE, if the suggested solution should be shown in the solution. More... | ||||||||||
| setShowSolutionListComparison ($a_comparison=false) | ||||||||||
| Set to TRUE, if the list of answers should be shown prior to finish the test. More... | ||||||||||
| isLimitUsersEnabled () | ||||||||||
| setLimitUsersEnabled ($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... | ||||||||||
| saveCertificateVisibility ($a_value) | ||||||||||
| Saves the visibility settings of the certificate. More... | ||||||||||
| getCertificateVisibility () | ||||||||||
| Returns the visibility settings of the certificate. More... | ||||||||||
| setCertificateVisibility ($a_value) | ||||||||||
| Sets the visibility settings of the certificate. 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 ($active_id, $question_id, $pass, $feedback, $finalized=false, $is_single_feedback=false) | ||||||||||
| Saves the manual feedback for a question in a test. More... | ||||||||||
| 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) | ||||||||||
| canShowCertificate ($testSession, $user_id, $active_id) | ||||||||||
| Checks whether the certificate button could be shown on the info page or not. More... | ||||||||||
| getAggregatedResultsData () | ||||||||||
| Returns the aggregated test results. More... | ||||||||||
| getXMLZip () | ||||||||||
| Get zipped xml file for test. More... | ||||||||||
| getMailNotification () | ||||||||||
| Get mail notification settings. More... | ||||||||||
| setMailNotification ($a_notification) | ||||||||||
| Set mail notification settings. More... | ||||||||||
| 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 () | ||||||||||
| moveQuestionAfterOLD ($previous_question_id, $new_question_id) | ||||||||||
| isAnyInstantFeedbackOptionEnabled () | ||||||||||
| getInstantFeedbackOptionsAsArray () | ||||||||||
| setInstantFeedbackOptionsByArray ($options) | ||||||||||
| setResultsPresentationOptionsByArray ($options) | ||||||||||
| getPoolUsage () | ||||||||||
| setPoolUsage ($usage) | ||||||||||
| reindexFixedQuestionOrdering () | ||||||||||
| setQuestionOrderAndObligations ($orders, $obligations) | ||||||||||
| moveQuestionAfter ($question_to_move, $question_before) | ||||||||||
| hasQuestionsWithoutQuestionpool () | ||||||||||
| getQuestions () | ||||||||||
| isOnline () | ||||||||||
| setOnline ($a_online=true) | ||||||||||
| getOldOnlineStatus () | ||||||||||
| setOldOnlineStatus ($oldOnlineStatus) | ||||||||||
| setPrintBestSolutionWithResult ($status) | ||||||||||
| 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) | ||||||||||
| setHighscoreEnabled ($a_enabled) | ||||||||||
| Sets if the highscore feature should be enabled. More... | ||||||||||
| getHighscoreEnabled () | ||||||||||
| Gets the setting which determines if the highscore feature is enabled. More... | ||||||||||
| setHighscoreAnon ($a_anon) | ||||||||||
| Sets if the highscores should be anonymized. More... | ||||||||||
| getHighscoreAnon () | ||||||||||
| Gets if the highscores should be anonymized per setting. More... | ||||||||||
| isHighscoreAnon () | ||||||||||
| Gets if the highscores should be displayed anonymized. More... | ||||||||||
| setHighscoreAchievedTS ($a_achieved_ts) | ||||||||||
| Sets if the date and time of the scores achievement should be displayed. More... | ||||||||||
| getHighscoreAchievedTS () | ||||||||||
| Returns if date and time of the scores achievement should be displayed. More... | ||||||||||
| setHighscoreScore ($a_score) | ||||||||||
| Sets if the actual score should be displayed. More... | ||||||||||
| getHighscoreScore () | ||||||||||
| Gets if the score column should be shown. More... | ||||||||||
| setHighscorePercentage ($a_percentage) | ||||||||||
| Sets if the percentages of the scores pass should be shown. More... | ||||||||||
| getHighscorePercentage () | ||||||||||
| Gets if the percentage column should be shown. More... | ||||||||||
| setHighscoreHints ($a_hints) | ||||||||||
| Sets if the number of requested hints should be shown. More... | ||||||||||
| getHighscoreHints () | ||||||||||
| Gets, if the column with the number of requested hints should be shown. More... | ||||||||||
| setHighscoreWTime ($a_wtime) | ||||||||||
| Sets if the workingtime of the scores should be shown. More... | ||||||||||
| getHighscoreWTime () | ||||||||||
| Gets if the column with the workingtime should be shown. More... | ||||||||||
| setHighscoreOwnTable ($a_own_table) | ||||||||||
| Sets if the table with the own ranking should be shown. More... | ||||||||||
| getHighscoreOwnTable () | ||||||||||
| Gets if the own rankings table should be shown. More... | ||||||||||
| setHighscoreTopTable ($a_top_table) | ||||||||||
| Sets if the top-rankings table should be shown. More... | ||||||||||
| getHighscoreTopTable () | ||||||||||
| Gets, if the top-rankings table should be shown. More... | ||||||||||
| setHighscoreTopNum ($a_top_num) | ||||||||||
| Sets the number of entries which are to be shown in the top-rankings table. More... | ||||||||||
| getHighscoreTopNum ($a_retval=10) | ||||||||||
| Gets the number of entries which are to be shown in the top-rankings table. More... | ||||||||||
| getHighscoreMode () | ||||||||||
| setHighscoreMode ($mode) | ||||||||||
| 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 () | ||||||||||
| getter for the test setting passDeletionAllowed More... | ||||||||||
| setPassDeletionAllowed ($passDeletionAllowed) | ||||||||||
| setter for the test setting passDeletionAllowed More... | ||||||||||
| 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 () | ||||||||||
| setShowExamIdInTestResultsEnabled ($show_exam_id_in_test_results_enabled) | ||||||||||
| 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 () | ||||||||||
| setResultFilterTaxIds ($resultFilterTaxIds) | ||||||||||
| getResultFilterTaxIds () | ||||||||||
| isSkillServiceToBeConsidered () | ||||||||||
| setShowGradingStatusEnabled ($showGradingStatusEnabled) | ||||||||||
| isShowGradingStatusEnabled () | ||||||||||
| setShowGradingMarkEnabled ($showGradingMarkEnabled) | ||||||||||
| isShowGradingMarkEnabled () | ||||||||||
| setFollowupQuestionAnswerFixationEnabled ($followupQuestionAnswerFixationEnabled) | ||||||||||
| isFollowupQuestionAnswerFixationEnabled () | ||||||||||
| setInstantFeedbackAnswerFixationEnabled ($instantFeedbackAnswerFixationEnabled) | ||||||||||
| isInstantFeedbackAnswerFixationEnabled () | ||||||||||
| isForceInstantFeedbackEnabled () | ||||||||||
| setForceInstantFeedbackEnabled ($forceInstantFeedbackEnabled) | ||||||||||
| isTestFinalBroken () | ||||||||||
| setTestFinalBroken ($testFinalBroken) | ||||||||||
Public Member Functions inherited from ilObject | ||||||||||
| __construct ($a_id=0, $a_reference=true) | ||||||||||
| Constructor @access public. More... | ||||||||||
| withReferences () | ||||||||||
| determines wehter objects are referenced or not (got ref ids or not) More... | ||||||||||
| read () | ||||||||||
| read object data from db into object More... | ||||||||||
| getId () | ||||||||||
| get object id @access public More... | ||||||||||
| setId ($a_id) | ||||||||||
| set object id @access public More... | ||||||||||
| setRefId ($a_id) | ||||||||||
| set reference id @access public More... | ||||||||||
| getRefId () | ||||||||||
| get reference id @access public More... | ||||||||||
| getType () | ||||||||||
| get object type @access public More... | ||||||||||
| setType ($a_type) | ||||||||||
| set object type @access public More... | ||||||||||
| getPresentationTitle () | ||||||||||
| get presentation title Normally same as title Overwritten for sessions More... | ||||||||||
| getTitle () | ||||||||||
| get object title @access public More... | ||||||||||
| getUntranslatedTitle () | ||||||||||
| get untranslated object title @access public More... | ||||||||||
| setTitle ($a_title) | ||||||||||
| set object title More... | ||||||||||
| getDescription () | ||||||||||
| get object description More... | ||||||||||
| setDescription ($a_desc) | ||||||||||
| set object description More... | ||||||||||
| getLongDescription () | ||||||||||
| get object long description (stored in object_description) More... | ||||||||||
| getImportId () | ||||||||||
| get import id More... | ||||||||||
| setImportId ($a_import_id) | ||||||||||
| set import id More... | ||||||||||
| setOfflineStatus ($a_status) | ||||||||||
| Set offline status. More... | ||||||||||
| getOfflineStatus () | ||||||||||
| Get offline status. More... | ||||||||||
| supportsOfflineHandling () | ||||||||||
| Check whether object supports offline handling. More... | ||||||||||
| getOwner () | ||||||||||
| get object owner More... | ||||||||||
| getOwnerName () | ||||||||||
| setOwner ($a_owner) | ||||||||||
| set object owner More... | ||||||||||
| getCreateDate () | ||||||||||
| get create date @access public More... | ||||||||||
| getLastUpdateDate () | ||||||||||
| get last update date @access public More... | ||||||||||
| getDiskUsage () | ||||||||||
| Gets the disk usage of the object in bytes. More... | ||||||||||
| create () | ||||||||||
| create More... | ||||||||||
| update () | ||||||||||
| update object in db More... | ||||||||||
| MDUpdateListener ($a_element) | ||||||||||
| Meta data update listener. More... | ||||||||||
| createMetaData () | ||||||||||
| create meta data entry More... | ||||||||||
| updateMetaData () | ||||||||||
| update meta data entry More... | ||||||||||
| deleteMetaData () | ||||||||||
| delete meta data entry More... | ||||||||||
| updateOwner () | ||||||||||
| update owner of object in db More... | ||||||||||
| putInTree ($a_parent_ref) | ||||||||||
| maybe this method should be in tree object!? More... | ||||||||||
| setPermissions ($a_parent_ref) | ||||||||||
| set permissions of object More... | ||||||||||
| setParentRolePermissions ($a_parent_ref) | ||||||||||
| Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g courses, groups for building permission intersections with non_member templates. More... | ||||||||||
| createReference () | ||||||||||
| creates reference for object More... | ||||||||||
| countReferences () | ||||||||||
| count references of object More... | ||||||||||
| 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 If you want to setup default local roles you MUST overwrite this method in derived object classes (see ilObjForum for an example) @access public More... | ||||||||||
| applyDidacticTemplate ($a_tpl_id) | ||||||||||
| Apply template. More... | ||||||||||
| setRegisterMode ($a_bool) | ||||||||||
| isUserRegistered ($a_user_id=0) | ||||||||||
| requireRegistration () | ||||||||||
| getXMLZip () | ||||||||||
| getHTMLDirectory () | ||||||||||
| appendCopyInfo ($a_target_id, $a_copy_id) | ||||||||||
| Prepend Copy info if object with same name exists in that container. More... | ||||||||||
| cloneDependencies ($a_target_id, $a_copy_id) | ||||||||||
| Clone object dependencies. More... | ||||||||||
| cloneMetaData ($target_obj) | ||||||||||
| Copy meta data. More... | ||||||||||
| getPossibleSubObjects ($a_filter=true) | ||||||||||
| get all possible subobjects of this type the object can decide which types of subobjects 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) | ||||||
| set import directory More... | |||||||
| 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 | _getMCScoring ($active_id) | ||||||
| Gets the scoring type for multiple choice questions. 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 | _getUsePreviousAnswers ($active_id, $user_active_user_setting=false) | ||||||
| Returns if the previous results should be hidden for a learner. More... | |||||||
| static | _getActiveIdOfUser ($user_id="", $test_id="") | ||||||
| Gets the active id of the tst_active table for the active user. More... | |||||||
| 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 ($active_id, $question_id, $pass) | ||||||
| Retrieves the manual feedback for a question in a test. More... | |||||||
| 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 | getPoolQuestionChangeListeners (ilDBInterface $db, $poolObjId) | ||||||
| static | getTestObjIdsWithActiveForUserId ($userId) | ||||||
| static | isSkillManagementGloballyActivated () | ||||||
| static | ensureParticipantsLastActivePassFinished ($testObjId, $userId, $a_force_new_run=false) | ||||||
| static | isParticipantsLastPassActive ($testRefId, $userId) | ||||||
| static | getDataWebPath (string $relative_path='') | ||||||
| This is originally a fix for https://mantis.ilias.de/view.php?id=35707; in general, the handling of those pathes shold be improved or better, avoided entirely (e.g. More... | |||||||
Static Public Member Functions inherited from ilObject | |||||||
| static | _lookupObjIdByImportId ($a_import_id) | ||||||
| static | _lookupImportId ($a_obj_id) | ||||||
| static | _lookupOwnerName ($a_owner_id) | ||||||
| lookup owner name for owner id More... | |||||||
| static | _getIdForImportId ($a_import_id) | ||||||
| get current object id for import id (static) More... | |||||||
| static | _getAllReferences ($a_id) | ||||||
| get all reference ids of object More... | |||||||
| static | _lookupTitle ($a_id) | ||||||
| lookup object title More... | |||||||
| static | lookupOfflineStatus ($a_obj_id) | ||||||
| Lookup offline status using objectDataCache. More... | |||||||
| static | _lookupOwner ($a_id) | ||||||
| lookup object owner More... | |||||||
| static | _getIdsForTitle ($title, $type='', $partialmatch=false) | ||||||
| static | _lookupDescription ($a_id) | ||||||
| lookup object description More... | |||||||
| static | _lookupLastUpdate ($a_id, $a_as_string=false) | ||||||
| lookup last update More... | |||||||
| static | _getLastUpdateOfObjects ($a_objs) | ||||||
| Get last update for a set of media objects. More... | |||||||
| static | _lookupObjId ($a_id) | ||||||
| static | _setDeletedDate ($a_ref_id, $a_deleted_by) | ||||||
| static | setDeletedDates ($a_ref_ids, $a_user_id) | ||||||
| Set deleted date. More... | |||||||
| static | _resetDeletedDate ($a_ref_id) | ||||||
| only called in ilObjectGUI::insertSavedNodes More... | |||||||
| static | _lookupDeletedDate ($a_ref_id) | ||||||
| only called in ilObjectGUI::insertSavedNodes More... | |||||||
| static | _writeTitle ($a_obj_id, $a_title) | ||||||
| write title to db (static) More... | |||||||
| static | _writeDescription ($a_obj_id, $a_desc) | ||||||
| write description to db (static) More... | |||||||
| static | _writeImportId ($a_obj_id, $a_import_id) | ||||||
| write import id to db (static) More... | |||||||
| static | _lookupType ($a_id, $a_reference=false) | ||||||
| lookup object type More... | |||||||
| static | _isInTrash ($a_ref_id) | ||||||
| checks wether object is in trash More... | |||||||
| static | _hasUntrashedReference ($a_obj_id) | ||||||
| checks wether an object has at least one reference that is not in trash More... | |||||||
| static | _lookupObjectId ($a_ref_id) | ||||||
| lookup object id More... | |||||||
| static | _getObjectsDataForType ($a_type, $a_omit_trash=false) | ||||||
| get all objects of a certain type More... | |||||||
| static | _exists ($a_id, $a_reference=false, $a_type=null) | ||||||
| checks if an object exists in object_data@access public More... | |||||||
| static | _getObjectsByType ($a_obj_type="", $a_owner="") | ||||||
| Get objects by type. More... | |||||||
| static | _prepareCloneSelection ($a_ref_ids, $new_type, $show_path=true) | ||||||
| Prepare copy wizard object selection. More... | |||||||
| static | _getIcon ( $a_obj_id="", $a_size="big", $a_type="", $a_offline=false) | ||||||
| Get icon for repository item. More... | |||||||
| static | collectDeletionDependencies (&$deps, $a_ref_id, $a_obj_id, $a_type, $a_depth=0) | ||||||
| Collect deletion dependencies. More... | |||||||
| static | getDeletionDependencies ($a_obj_id) | ||||||
| Get deletion dependencies. More... | |||||||
| static | getLongDescriptions (array $a_obj_ids) | ||||||
| Get long description data. More... | |||||||
| static | getAllOwnedRepositoryObjects ($a_user_id) | ||||||
| Get all ids of objects user owns. More... | |||||||
| static | fixMissingTitles ($a_type, array &$a_obj_title_map) | ||||||
| Try to fix missing object titles. More... | |||||||
| static | _lookupCreationDate ($a_id) | ||||||
| Lookup creation date. More... | |||||||
| static | hasAutoRating ($a_type, $a_ref_id) | ||||||
| Check if auto rating is active for parent group/course. 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. 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) | |
| getHtmlQuestionContentPurifier () | |
Private Member Functions | |
| insertManualFeedback ($active_id, $question_id, $pass, $feedback, $finalized, $feedback_old) | |
| Inserts a manual feedback into the DB. More... | |
| logManualFeedback ($active_id, $question_id, $feedback) | |
| Creates a log for the manual feedback. More... | |
Private Attributes | |
| $questionSetType = self::QUESTION_SET_TYPE_FIXED | |
| $skillServiceEnabled = false | |
| $resultFilterTaxIds = array() | |
| $_showfinalstatement | |
| $_finalstatement | |
| $_showinfo | |
| $_forcejs = true | |
| $_customStyle | |
| $template_id | |
| $offeringQuestionHintsEnabled = null | |
| $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... | |
| $redirection_mode = 0 | |
| $redirection_url = null | |
| $tmpCopyWizardCopyId | |
Static Private Attributes | |
| static | $isSkillManagementGloballyActivated = null |
Definition at line 22 of file class.ilObjTest.php.
| ilObjTest::__construct | ( | $a_id = 0, |
|
$a_call_by_reference = true |
|||
| ) |
Constructor.
| $a_id | integer Reference_id or object_id. |
| $a_call_by_reference | boolean Treat the id as reference_id (true) or object_id (false). |
Reimplemented from ilObject.
Definition at line 600 of file class.ilObjTest.php.
References $DIC, $ilUser, ilObject\$lng, ILIAS\GlobalScreen\Provider\__construct(), COUNT_PARTIAL_SOLUTIONS, SCORE_CUT_QUESTION, SCORE_LAST_PASS, SCORE_REPORTING_FINISHED, SCORE_ZERO_POINTS_WHEN_UNANSWERED, setShowPassDetails(), setShowSolutionAnswersOnly(), setShowSolutionDetails(), setShowSolutionSignature(), and TEST_FIXED_SEQUENCE.
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 5313 of file class.ilObjTest.php.
References $DIC, ilObject\$lng, $name, ilObject\$title, 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 978 of file class.ilObjTest.php.
References $DIC, ilUtil\delDir(), ilUtil\getDataDir(), and ilUtil\makeDir().
Referenced by ilObjTestGUI\uploadTstObject().
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 5183 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, and $test_id.
Referenced by evalResultsOverview().
Here is the caller graph for this function:
|
static |
Gets the active id of the tst_active table for the active user.
| integer | $user_id | The database id of the user |
| integer | $test_id | The database id of the test |
Definition at line 3990 of file class.ilObjTest.php.
References $DIC, $ilDB, $ilUser, $result, and $test_id.
Referenced by ilLOUtils\getTestResultLinkForUser().
Here is the caller graph for this function:
|
static |
Returns the available tests for the active user.
Definition at line 7051 of file class.ilObjTest.php.
References $DIC, $ilDB, $ilUser, ilObject\$ref_id, ilUtil\_getObjectsByOperations(), ilObject\_lookupObjId(), and ilObject\_prepareCloneSelection().
Referenced by ilObjAssessmentFolderGUI\exportLogObject(), ilObjAssessmentFolderGUI\getLogDataOutputForm(), and ilObjAssessmentFolderGUI\logAdminObject().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Retrieves the best pass of a given user for a given test.
| int | $active_id |
Definition at line 8132 of file class.ilObjTest.php.
References $DIC, $ilDB, and $result.
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 4313 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, and $test_id.
Referenced by getCompleteWorkingTimeOfParticipants().
Here is the caller graph for this function:
|
static |
Gets the count system for the calculation of points.
Definition at line 2500 of file class.ilObjTest.php.
References $DIC, $ilDB, and $result.
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 6822 of file class.ilObjTest.php.
References Vendor\Package\$a, Vendor\Package\$b, $c, $d, and Vendor\Package\$e.
Referenced by getECTSGrade().
Here is the caller graph for this function:
|
static |
Get the import directory location of the test.
Definition at line 960 of file class.ilObjTest.php.
References $_SESSION.
Referenced by assFormulaQuestionImport\fromXML(), fromXML(), getImportDirectory(), assQuestionImport\getTstImportArchivDirectory(), ilObjTestGUI\importVerifiedFileObject(), and ilObjTestGUI\uploadTstObject().
Here is the caller graph for this function:| ilObjTest::_getLastAccess | ( | $active_id | ) |
Definition at line 9185 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 8109 of file class.ilObjTest.php.
References $DIC, $ilDB, and $result.
Referenced by _getResultPass(), and ilTestParticipantList\lookupNrOfTries().
Here is the caller graph for this function:
|
static |
Gets the scoring type for multiple choice questions.
Definition at line 2582 of file class.ilObjTest.php.
References $DIC, $ilDB, and $result.
Referenced by assKprimChoice\calculateReachedPointsForSolution(), and assMultipleChoice\calculateReachedPointsForSolution().
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 7332 of file class.ilObjTest.php.
References $DIC, $ilDB, and $result.
Referenced by buildExamId(), 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 7308 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, and $test_id.
Referenced by _lookupFinishedUserTests(), assJavaAppletGUI\getSolutionOutput(), and assJavaAppletGUI\getTestOutput().
Here is the caller graph for this function:
|
static |
Retrieves the actual pass of a given user for a given test.
| integer | $user_id | The user id |
| integer | $test_id | The test id |
Definition at line 8083 of file class.ilObjTest.php.
References $DIC, $ilDB, and $result.
Referenced by assQuestion\calculateResultsFromSolution(), ilTestPlayerAbstractGUI\finishTestCmd(), assQuestion\getAdjustedReachedPoints(), getAllQuestions(), ilTestService\getPassOverviewData(), assFileUploadGUI\getSolutionOutput(), assFlashQuestionGUI\getSolutionOutput(), assFormulaQuestionGUI\getSolutionOutput(), assJavaAppletGUI\getSolutionOutput(), getStartTestLabel(), assLongMenuGUI\getTestOutput(), assFlashQuestionGUI\getTestOutput(), assFormulaQuestionGUI\getTestOutput(), assJavaAppletGUI\getTestOutput(), loadQuestions(), assQuestion\lookupCurrentTestPass(), assQuestion\persistWorkingState(), ilTestPlayerAbstractGUI\redirectAfterAutosaveCmd(), ilTestPlayerAbstractGUI\redirectAfterDashboardCmd(), ilTestOutputGUI\saveQuestionSolution(), assClozeTest\saveWorkingData(), assErrorText\saveWorkingData(), assFormulaQuestion\saveWorkingData(), assImagemapQuestion\saveWorkingData(), assLongMenu\saveWorkingData(), assMatchingQuestion\saveWorkingData(), assOrderingHorizontal\saveWorkingData(), assOrderingQuestion\saveWorkingData(), assSingleChoice\saveWorkingData(), assTextQuestion\saveWorkingData(), and assTextSubset\saveWorkingData().
Here is the caller graph for this function:
|
static |
Gets the pass scoring type.
Definition at line 2559 of file class.ilObjTest.php.
References $DIC, $ilDB, and $result.
Referenced by _getResultPass().
Here is the caller graph for this function:
|
static |
Definition at line 5061 of file class.ilObjTest.php.
References $DIC, $ilDB, $pass, $questionSetType, $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 8176 of file class.ilObjTest.php.
References _getBestPass(), _getMaxPass(), _getPassScoring(), and SCORE_BEST_PASS.
Referenced by assQuestion\_updateTestResultCache(), evalStatistical(), getPassed(), ilCertificateTestObjectHelper\getResultPass(), getResultsForActiveId(), ilTestParticipantList\getScoredParticipantList(), 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 2605 of file class.ilObjTest.php.
References $DIC, $ilDB, and $result.
Referenced by assQuestion\adjustReachedPointsByScoringOptions().
Here is the caller graph for this function:
|
static |
get solved questions
Definition at line 7855 of file class.ilObjTest.php.
References $DIC, $ilDB, and $result.
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 9653 of file class.ilObjTest.php.
References $DIC, $ilDB, and $result.
Referenced by ilObjTestGUI\afterSave(), and getTestDefaults().
Here is the caller graph for this function:
|
static |
Returns the ILIAS test id for a given object id.
| integer | $object_id | The object id |
Definition at line 7356 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, and $test_id.
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 2818 of file class.ilObjTest.php.
|
static |
Returns if the previous results should be hidden for a learner.
| integer | $test_id | The test id |
| boolean | $use_active_user_setting | If true, the tst_use_previous_answers- of the active user should be used as well |
Definition at line 2852 of file class.ilObjTest.php.
References $DIC, $ilDB, $ilUser, $res, $result, and $use_previous_answers.
Referenced by ilTestPlayerAbstractGUI\determineSolutionPassIndex(), assFileUploadGUI\getSolutionOutput(), assFormulaQuestionGUI\getSolutionOutput(), assLongMenuGUI\getTestOutput(), and isPreviousSolutionReuseEnabled().
Here is the caller graph for this function:
|
static |
Definition at line 9096 of file class.ilObjTest.php.
References $DIC, $ilDB, and $result.
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 4412 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, and $test_id.
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 4371 of file class.ilObjTest.php.
|
static |
Creates an instance of a question with a given question id.
| integer | $question_id | The question id |
Definition at line 5487 of file class.ilObjTest.php.
References assQuestion\_instanciateQuestion().
Referenced by ilCourseObjectiveQuestion\__read(), duplicateQuestionForTest(), ilTestExport\exportToExcel(), getAllTestResults(), getDetailedTestResults(), getEstimatedWorkingTime(), ilCourseObjectiveQuestion\getMaxPointsByObjective(), ilCourseObjectiveQuestion\getMaxPointsByTest(), ilTestSequence\getSequenceSummary(), ilTestSequenceDynamicQuestionSet\getSequenceSummary(), ilCourseObjectiveQuestionAssignmentTableGUI\parse(), and removeQuestion().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::_isComplete | ( | $obj_id | ) |
Returns true, if a test is complete for use.
Definition at line 1121 of file class.ilObjTest.php.
References $DIC, $ilDB, $test, 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 9491 of file class.ilObjTest.php.
References $DIC, $ilDB, and $result.
Referenced by ilObjTestAccess\_getParticipantData(), assJavaAppletGUI\getSolutionOutput(), assJavaAppletGUI\getTestOutput(), and ilTestLP\isAnonymized().
Here is the caller graph for this function:
|
static |
Gets the authors name of the ilObjTest object.
Definition at line 7023 of file class.ilObjTest.php.
References $author, and ilObject\$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 10983 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, and _getObjectIDFromTestID().
Here is the call graph for this function:
|
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 11962 of file class.ilObjTest.php.
References lookupQuestionSetType(), and QUESTION_SET_TYPE_RANDOM.
Referenced by ilCourseObjectivesGUI\isRandomTestType(), ilLOSettings\isRandomTestType(), ilLOUtils\lookupRandomTest(), and ilCourseObjectiveQuestionAssignmentTableGUI\parse().
Here is the call graph for this function:
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 9543 of file class.ilObjTest.php.
|
static |
Get test Object ID for question ID.
Definition at line 10331 of file class.ilObjTest.php.
References $DIC, $ilDB, and $result.
Referenced by ilObjMediaObject\getParentObjectIdForUsage().
Here is the caller graph for this function:
|
static |
set import directory
Definition at line 945 of file class.ilObjTest.php.
References $_SESSION.
Referenced by ilTestImporter\importXmlRepresentation(), ilObjQuestionPoolGUI\uploadQplObject(), and ilObjTestGUI\uploadTstObject().
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 9694 of file class.ilObjTest.php.
References $DIC, $ilDB, $ilUser, areObligationsEnabled(), getActivationEndingTime(), getActivationStartingTime(), getActivationVisibility(), getAllowedUsers(), getAllowedUsersTimeGap(), getAnonymity(), getAnswerFeedback(), getAnswerFeedbackPoints(), getAutosave(), getAutosaveIval(), getCharSelectorAvailability(), getCharSelectorDefinition(), getCountSystem(), getCustomStyle(), getECTSFX(), getECTSGrades(), getECTSOutput(), getEnableArchiving(), getEnableExamview(), getEnableProcessingTime(), getEndingTime(), getExportSettings(), getFinalStatement(), getFixedParticipants(), getForceJS(), getHighscoreAchievedTS(), getHighscoreAnon(), getHighscoreEnabled(), getHighscoreHints(), getHighscoreOwnTable(), getHighscorePercentage(), getHighscoreScore(), getHighscoreTopNum(), getHighscoreTopTable(), getHighscoreWTime(), getInstantFeedbackSolution(), getIntroduction(), getKiosk(), getListOfQuestionsSettings(), getMailNotification(), getMailNotificationType(), getMCScoring(), getNrOfTries(), getPassScoring(), getPassWaiting(), getPassword(), getPoolUsage(), getProcessingTime(), getQuestionSetType(), getRedirectionMode(), getRedirectionUrl(), getReportingDate(), getResetProcessingTime(), getResultFilterTaxIds(), getResultsPresentation(), getScoreCutting(), getScoreReporting(), getSequenceSettings(), getShowCancel(), getShowExamviewHtml(), getShowExamviewPdf(), getShowFinalStatement(), getShowInfo(), getShowMarker(), getShuffleQuestions(), getSignSubmission(), getSpecificAnswerFeedback(), getStartingTime(), getTitleOutput(), getUsePreviousAnswers(), isActivationLimited(), isBestSolutionPrintedWithResult(), isBlockPassesAfterPassedEnabled(), isEndingTimeEnabled(), isFollowupQuestionAnswerFixationEnabled(), isForceInstantFeedbackEnabled(), isInstantFeedbackAnswerFixationEnabled(), isIntroductionEnabled(), isLimitUsersEnabled(), isOfferingQuestionHintsEnabled(), isPassDeletionAllowed(), isPasswordEnabled(), isShowExamIdInTestPassEnabled(), isShowExamIdInTestResultsEnabled(), isShowGradingMarkEnabled(), isShowGradingStatusEnabled(), isSkillServiceEnabled(), and isStartingTimeEnabled().
Here is the call graph for this function:| ilObjTest::addExtraTime | ( | $active_id, | |
| $minutes | |||
| ) |
Definition at line 11669 of file class.ilObjTest.php.
References $DIC, $result, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), ilTestParticipantAccessFilter\getManageParticipantsUserFilter(), ilObject\getRefId(), getTestId(), and logAction().
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 9282 of file class.ilObjTest.php.
References $mobs, $txt, ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilRTE\_replaceMediaObjectImageSrc(), ilObject\getId(), IL_INST_ID, and isHTML().
Referenced by toXML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
checks wether all questions marked as obligatory were answered within the test pass with given testId, activeId and pass index
@access public @global ilDBInterface $ilDB
| integer | $test_id | |
| integer | $active_id | |
| integer | $pass |
Definition at line 11459 of file class.ilObjTest.php.
References $DIC, $ilDB, $pass, $test_id, and hasObligations().
Referenced by ilTestPlayerAbstractGUI\finishTestCmd(), ilTestPlayerAbstractGUI\getFinishTestCommand(), and ilTestPlayerAbstractGUI\outQuestionSummaryCmd().
Here is the call graph for this function:
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 9815 of file class.ilObjTest.php.
References saveToDb(), setActivationEndingTime(), setActivationLimited(), setActivationStartingTime(), setActivationVisibility(), setAllowedUsers(), setAllowedUsersTimeGap(), setAnonymity(), setAnswerFeedback(), setAnswerFeedbackPoints(), setAutosave(), setAutosaveIval(), setBlockPassesAfterPassedEnabled(), setCharSelectorAvailability(), setCharSelectorDefinition(), setCountSystem(), setCustomStyle(), setECTSFX(), setECTSGrades(), setECTSOutput(), setEnableArchiving(), setEnableExamview(), setEnableProcessingTime(), setEndingTime(), setEndingTimeEnabled(), setExportSettings(), setFinalStatement(), setFixedParticipants(), setFollowupQuestionAnswerFixationEnabled(), setForceInstantFeedbackEnabled(), setForceJS(), setHighscoreAchievedTS(), setHighscoreAnon(), setHighscoreEnabled(), setHighscoreHints(), setHighscoreOwnTable(), setHighscorePercentage(), setHighscoreScore(), setHighscoreTopNum(), setHighscoreTopTable(), setHighscoreWTime(), setInstantFeedbackAnswerFixationEnabled(), setInstantFeedbackSolution(), setIntroduction(), setIntroductionEnabled(), setKiosk(), setLimitUsersEnabled(), setListOfQuestionsSettings(), setMailNotification(), setMailNotificationType(), setMCScoring(), setNrOfTries(), setObligationsEnabled(), setOfferingQuestionHintsEnabled(), setPassDeletionAllowed(), setPassScoring(), setPassWaiting(), setPassword(), setPasswordEnabled(), setPoolUsage(), setPrintBestSolutionWithResult(), setProcessingTime(), setQuestionSetType(), setRedirectionMode(), setRedirectionUrl(), setReportingDate(), setResetProcessingTime(), setResultFilterTaxIds(), setResultsPresentation(), setScoreCutting(), setScoreReporting(), setSequenceSettings(), setShowCancel(), setShowExamIdInTestPassEnabled(), setShowExamIdInTestResultsEnabled(), setShowExamviewHtml(), setShowExamviewPdf(), setShowFinalStatement(), setShowGradingMarkEnabled(), setShowGradingStatusEnabled(), setShowInfo(), setShowMarker(), setShuffleQuestions(), setSignSubmission(), setSkillServiceEnabled(), setSpecificAnswerFeedback(), setStartingTime(), setStartingTimeEnabled(), setTitleOutput(), and setUsePreviousAnswers().
Here is the call graph for this function:| ilObjTest::areObligationsEnabled | ( | ) |
returns the fact wether obligations are enabled or not
Definition at line 11401 of file class.ilObjTest.php.
References $obligationsEnabled.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:
|
static |
| $active_id | |
| $pass | |
| $test_obj_id |
Definition at line 11787 of file class.ilObjTest.php.
References $DIC, $ilSetting, $pass, and _getObjectIDFromActiveID().
Referenced by ilTestPlayerAbstractGUI\getKioskHead().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| $unix_timestamp |
Definition at line 6597 of file class.ilObjTest.php.
References IL_CAL_DATETIME, and IL_CAL_UNIX.
Referenced by toXML().
Here is the caller graph for this function:| 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 5283 of file class.ilObjTest.php.
References $name, ilObject\$title, ANONYMOUS_USER_ID, and getAnonymity().
Here is the call graph for this function:| ilObjTest::buildStatisticsAccessFilteredParticipantList | ( | ) |
Definition at line 4798 of file class.ilObjTest.php.
References ilTestParticipantAccessFilter\getAccessStatisticsUserFilter(), ilObject\getRefId(), and getTestParticipants().
Here is the call graph for this function:| ilObjTest::canEditEctsGrades | ( | ) |
{
Implements ilEctsGradesEnabled.
Definition at line 6798 of file class.ilObjTest.php.
References canEditMarks(), and canShowEctsGrades().
Here is the call graph for this function:| ilObjTest::canEditMarks | ( | ) |
Implements ilMarkSchemaAware.
Definition at line 6914 of file class.ilObjTest.php.
References $total, evalTotalPersons(), and getReportingDate().
Referenced by canEditEctsGrades().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::canShowCertificate | ( | $testSession, | |
| $user_id, | |||
| $active_id | |||
| ) |
Checks whether the certificate button could be shown on the info page or not.
@access public
Definition at line 10387 of file class.ilObjTest.php.
References Vendor\Package\$e, $testSession, canShowTestResults(), getCertificateVisibility(), ilObject\getId(), and getPassed().
Here is the call graph for this function:| ilObjTest::canShowEctsGrades | ( | ) |
{
Implements ilEctsGradesEnabled.
Definition at line 6806 of file class.ilObjTest.php.
References getReportingDate().
Referenced by canEditEctsGrades().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::canShowSolutionPrintview | ( | $user_id = null | ) |
Calculates if a user may see the solution printview of his/her test results.
Definition at line 8987 of file class.ilObjTest.php.
References getShowSolutionPrintview().
Here is the call graph for this function:| ilObjTest::canShowTestResults | ( | ilTestSession | $testSession | ) |
Definition at line 8378 of file class.ilObjTest.php.
References $DIC, and $testSession.
Referenced by canShowCertificate(), and ilTestSession\reportableResultsAvailable().
Here is the caller graph for this function:| ilObjTest::checkMarks | ( | ) |
{
Implements ilMarkSchemaAware.
Definition at line 6867 of file class.ilObjTest.php.
| ilObjTest::checkMaximumAllowedUsers | ( | ) |
Definition at line 9149 of file class.ilObjTest.php.
References $DIC, $ilDB, $query, $result, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), getAllowedUsers(), getAllowedUsersTimeGap(), getTestId(), and logAction().
Here is the call graph for this function:| ilObjTest::checkQuestionParent | ( | $questionId | ) |
Definition at line 8529 of file class.ilObjTest.php.
References $DIC, and ilObject\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.
@access private
Definition at line 1210 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 | ( | ) |
create test object
Reimplemented from ilObject.
Definition at line 744 of file class.ilObjTest.php.
References 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 876 of file class.ilObjTest.php.
References ilUtil\getDataDir(), ilObject\getId(), and ilUtil\makeDir().
Here is the call graph for this function:| ilObjTest::createMetaData | ( | ) |
Create meta data entry.
@access public
Reimplemented from ilObject.
Definition at line 6981 of file class.ilObjTest.php.
References saveAuthorToMetadata().
Referenced by create().
Here is the call graph for this function:
Here is the caller 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 5437 of file class.ilObjTest.php.
References $DIC, $ilDB, $ilUser, ilObject\$lng, ilObjAssessmentFolder\_enabledAssessmentLogging(), assQuestion\_includeClass(), assQuestion\getFeedbackClassNameByQuestionType(), assQuestion\getGuiClassNameByQuestionType(), and getQuestionType().
Here is the call graph for this function:| & ilObjTest::createTestSequence | ( | $active_id, | |
| $pass, | |||
| $shuffle | |||
| ) |
Definition at line 10259 of file class.ilObjTest.php.
References $pass, and isRandomTest().
Here is the call graph for this function:| ilObjTest::delete | ( | ) |
delete object and all related data
@access public
Reimplemented from ilObject.
Definition at line 791 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 9677 of file class.ilObjTest.php.
| ilObjTest::deleteTest | ( | ) |
Deletes the test and all related objects, files and database entries.
@access public
Definition at line 819 of file class.ilObjTest.php.
References $DIC, $ilDB, ilObject\$lng, $mobs, ilObject\$tree, ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilUtil\delDir(), ilUtil\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 |
Definition at line 10024 of file class.ilObjTest.php.
References $DIC, Vendor\Package\$e, $filename, ilObject\$title, ilUtil\deliverData(), ilRpcClientFactory\factory(), ilUtil\getASCIIFilename(), ilObject\getTitle(), and ilUtil\ilTempnam().
Referenced by deliverPDFfromHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::deliverPDFfromHTML | ( | $content, | |
$title = null |
|||
| ) |
Delivers a PDF file from XHTML.
| string | $html | The XHTML string @access public |
Definition at line 9987 of file class.ilObjTest.php.
References $config, ilObject\$title, deliverPDFfromFO(), ilUtil\getStyleSheetLocation(), ilObject\getTitle(), ilUtil\prepareFormOutput(), and processPrintoutput2FO().
Here is the call graph for this function:| ilObjTest::disinviteUser | ( | $user_id | ) |
Disinvites a user from a test.
| integer | $user_id | The database id of the disinvited user @access public |
Definition at line 7802 of file class.ilObjTest.php.
References $DIC, $ilDB, and getTestId().
Here is the call graph for this function:| ilObjTest::duplicateQuestionForTest | ( | $question_id | ) |
Takes a question and creates a copy of the question for use in the test.
| integer | $question_id | The database id of the question |
Definition at line 3581 of file class.ilObjTest.php.
References $DIC, $ilUser, _instanciateQuestion(), and ilObject\getId().
Referenced by insertQuestion().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::endingTimeReached | ( | ) |
Returns true if the ending time of a test is reached An ending time is not available for self assessment tests.
Definition at line 5560 of file class.ilObjTest.php.
References getEndingTime(), and isEndingTimeEnabled().
Referenced by isExecutable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 12138 of file class.ilObjTest.php.
References $DIC, $ilDB, ilObject\$lng, $testSequence, $testSession, 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 5172 of file class.ilObjTest.php.
References _evalResultsOverview(), and getTestId().
Here is the call graph for this function:| & ilObjTest::evalResultsOverviewOfParticipant | ( | $active_id | ) |
Creates an associated array with the results for a given participant of a test.
| integer | $active_id | The active id of the participant |
Definition at line 5231 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, and getTestId().
Here is the call graph for this function:| & ilObjTest::evalStatistical | ( | $active_id | ) |
Returns the statistical evaluation of the test for a specified user.
Definition at line 4445 of file class.ilObjTest.php.
References $DIC, $ilDB, $pass, $result, _getResultPass(), and getTestResult().
Here is the call graph for this function:| & ilObjTest::evalTotalParticipantsArray | ( | $name_sort_order = "asc" | ) |
Returns all participants who started the test.
Definition at line 4663 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, ANONYMOUS_USER_ID, getAnonymity(), and getTestId().
Referenced by getTotalPointsPassedArray().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::evalTotalPersons | ( | ) |
Returns the number of persons who started the test.
Definition at line 4254 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, and getTestId().
Referenced by canEditMarks(), participantDataExist(), and saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| & ilObjTest::evalTotalPersonsArray | ( | $name_sort_order = "asc" | ) |
Returns all persons who started the test.
Definition at line 4625 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, ANONYMOUS_USER_ID, getAccessFilteredParticipantList(), getAnonymity(), and getTestId().
Here is the call graph for this function:| ilObjTest::evalTotalStartedAverageTime | ( | $activeIdsFilter = null | ) |
Returns the average processing time for all started tests.
Definition at line 5339 of file class.ilObjTest.php.
References $DIC, $query, $result, and getTestId().
Referenced by getAggregatedResultsData().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::exportFileItems | ( | $target_dir, | |
| & | $expLog | ||
| ) |
export files of file itmes
Definition at line 6762 of file class.ilObjTest.php.
References IL_INST_ID, and ilUtil\makeDir().
Referenced by exportPagesXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::exportPagesXML | ( | & | $a_xml_writer, |
| $a_inst, | |||
| $a_target_dir, | |||
| & | $expLog | ||
| ) |
export pages of test to xml (see ilias_co.dtd)
| object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 6612 of file class.ilObjTest.php.
References $DIC, $ilBench, exportFileItems(), exportXMLMediaObjects(), exportXMLMetaData(), and exportXMLPageObjects().
Here is the call graph for this function:| ilObjTest::exportXMLMediaObjects | ( | & | $a_xml_writer, |
| $a_inst, | |||
| $a_target_dir, | |||
| & | $expLog | ||
| ) |
export media objects to xml (see ilias_co.dtd)
| object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 6743 of file class.ilObjTest.php.
References ilObjMediaObject\_exists().
Referenced by exportPagesXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::exportXMLMetaData | ( | & | $a_xml_writer | ) |
export content objects meta data to xml (see ilias_co.dtd)
| object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 6651 of file class.ilObjTest.php.
References ilObject\getId(), and ilObject\getType().
Referenced by exportPagesXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::exportXMLPageObjects | ( | & | $a_xml_writer, |
| $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 6682 of file class.ilObjTest.php.
References $DIC, $ilBench, $xml, and ilPCFileList\collectFileItems().
Referenced by exportPagesXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::fromXML | ( | ilQTIAssessment | $assessment | ) |
Receives parameters from a QTI parser and creates a valid ILIAS test object.
| ilQTIAssessment | $assessment |
Definition at line 5662 of file class.ilObjTest.php.
References $_SESSION, $DIC, $metadata, ilObject\$type, _getImportDirectory(), ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveTempFileAsMediaObject(), ilObjMediaObject\_saveUsage(), ilQTIAssessment\getComment(), ilQTIAssessment\getPresentationMaterial(), ilQTIAssessment\getTitle(), IL_CAL_DATETIME, IL_CAL_UNIX, IL_INST_ID, QTIMaterialToString(), saveToDb(), setActivationEndingTime(), setActivationLimited(), setActivationStartingTime(), setActivationVisibility(), setAllowedUsers(), setAllowedUsersTimeGap(), setAnonymity(), setAnswerFeedback(), setAnswerFeedbackPoints(), setAuthor(), setAutosave(), setAutosaveIval(), setBlockPassesAfterPassedEnabled(), setCharSelectorAvailability(), setCharSelectorDefinition(), setCountSystem(), setCustomStyle(), ilObject\setDescription(), setEnableArchiving(), setEnableExamview(), setEnableProcessingTime(), setEndingTime(), setEndingTimeEnabled(), setExportSettings(), setFinalStatement(), setFixedParticipants(), setFollowupQuestionAnswerFixationEnabled(), setForceInstantFeedbackEnabled(), setForceJS(), setHighscoreAchievedTS(), setHighscoreAnon(), setHighscoreEnabled(), setHighscoreHints(), setHighscoreOwnTable(), setHighscorePercentage(), setHighscoreScore(), setHighscoreTopNum(), setHighscoreTopTable(), setHighscoreWTime(), setInstantFeedbackAnswerFixationEnabled(), setInstantFeedbackSolution(), setIntroduction(), setIntroductionEnabled(), setKiosk(), setLimitUsersEnabled(), setListOfQuestionsSettings(), setMailNotification(), setMailNotificationType(), setMCScoring(), setNrOfTries(), setObligationsEnabled(), setOfferingQuestionHintsEnabled(), setPassDeletionAllowed(), setPassScoring(), setPassWaiting(), setPassword(), setPasswordEnabled(), setPoolUsage(), setPrintBestSolutionWithResult(), setProcessingTime(), setQuestionSetType(), setRedirectionMode(), setRedirectionUrl(), setReportingDate(), setResetProcessingTime(), setResultFilterTaxIds(), setResultsPresentation(), setScoreCutting(), setScoreReporting(), setSequenceSettings(), setShowCancel(), setShowExamIdInTestPassEnabled(), setShowExamIdInTestResultsEnabled(), setShowExamviewHtml(), setShowExamviewPdf(), setShowFinalStatement(), setShowGradingMarkEnabled(), setShowGradingStatusEnabled(), setShowInfo(), setShowMarker(), setShowSolutionDetails(), setShowSolutionPrintview(), setShuffleQuestions(), setSignSubmission(), setSkillServiceEnabled(), setSpecificAnswerFeedback(), setStartingTime(), setStartingTimeEnabled(), ilObject\setTitle(), setTitleOutput(), and setUsePreviousAnswers().
Here is the call graph for this function:| ilObjTest::getAccessFilteredParticipantList | ( | ) |
Definition at line 4782 of file class.ilObjTest.php.
References $accessFilteredParticipantList.
Referenced by evalTotalPersonsArray().
Here is the caller graph for this function:| ilObjTest::getActivationEndingTime | ( | ) |
Definition at line 11607 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getActivationStartingTime | ( | ) |
Definition at line 11602 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getActivationVisibility | ( | ) |
Definition at line 11069 of file class.ilObjTest.php.
References $activation_visibility.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getActiveIdOfUser | ( | $user_id = "", |
|
$anonymous_id = "" |
|||
| ) |
Gets the active id of a given user.
| integer | $user_id | The database id of the user |
| string | $anonymous_id | The anonymous id if the test is an anonymized test |
Definition at line 3943 of file class.ilObjTest.php.
References $_SESSION, $DIC, $GLOBALS, $ilDB, $ilUser, $result, ANONYMOUS_USER_ID, ilObject\getId(), and getTestId().
Referenced by getAllQuestions(), getExistingQuestions(), isExecutable(), loadQuestions(), ilCourseObjectiveResult\resetTestForUser(), and setQuestionSetSolved().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getActiveParticipantList | ( | ) |
Definition at line 7447 of file class.ilObjTest.php.
References getTestParticipants().
Here is the call graph for this function:| ilObjTest::getAggregatedResultsData | ( | ) |
Returns the aggregated test results.
@access public
Definition at line 10471 of file class.ilObjTest.php.
References $data, $i, $results, evalTotalStartedAverageTime(), and getCompleteEvaluationData().
Here is the call graph for this function:| ilObjTest::getAllowedUsers | ( | ) |
Definition at line 9129 of file class.ilObjTest.php.
Referenced by addDefaults(), checkMaximumAllowedUsers(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getAllowedUsersTimeGap | ( | ) |
Definition at line 9139 of file class.ilObjTest.php.
Referenced by addDefaults(), checkMaximumAllowedUsers(), saveToDb(), and toXML().
Here is the caller graph for this function:| & ilObjTest::getAllQuestions | ( | $pass = null | ) |
Returns all questions of a test in test order.
Definition at line 3902 of file class.ilObjTest.php.
References $DIC, $ilDB, $ilUser, $pass, $result, _getPass(), getActiveIdOfUser(), isRandomTest(), and loadQuestions().
Here is the call graph for this function:| ilObjTest::getAllRTEContent | ( | ) |
Returns the content of all RTE enabled text areas in the test.
@access private
Definition at line 1197 of file class.ilObjTest.php.
References $result, 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 7966 of file class.ilObjTest.php.
References $results, _instanciateQuestion(), getAnonymity(), getECTSGrade(), getECTSOutput(), getTotalPointsPassedArray(), and processCSVRow().
Here is the call graph for this function:| ilObjTest::getAnonymity | ( | ) |
Returns the anonymity status of the test.
Definition at line 9374 of file class.ilObjTest.php.
Referenced by addDefaults(), buildName(), evalTotalParticipantsArray(), evalTotalPersonsArray(), getAllTestResults(), getDetailedTestResults(), getEvaluationAdditionalFields(), getInvitedUsers(), getParticipants(), getTestParticipants(), getUserData(), isHighscoreAnon(), saveToDb(), toXML(), and userLookupFullName().
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 8196 of file class.ilObjTest.php.
References $DIC, $ilDB, ilObject\$lng, $pass, $testSequence, $testSession, ilObject\$tree, assQuestion\_isWorkedThrough(), isDynamicTest(), isRandomTest(), and loadQuestions().
Here is the call graph for this function:| ilObjTest::getAnswerFeedback | ( | ) |
Returns 1 if generic answer feedback is activated.
Definition at line 2453 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getAnswerFeedbackPoints | ( | ) |
Returns 1 if answer specific feedback as reached points is activated.
Definition at line 2476 of file class.ilObjTest.php.
Referenced by addDefaults(), getInstantFeedbackOptionsAsArray(), isAnyInstantFeedbackOptionEnabled(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getAuthor | ( | ) |
Gets the authors name of the ilObjTest object.
Definition at line 6994 of file class.ilObjTest.php.
References $author, ilObject\$id, ilObject\getId(), and ilObject\getType().
Referenced by loadFromDb(), saveToDb(), and toXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getAutosave | ( | ) |
Definition at line 11506 of file class.ilObjTest.php.
References $autosave.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getAutosaveIval | ( | ) |
Definition at line 11516 of file class.ilObjTest.php.
References $autosave_ival.
Referenced by addDefaults(), saveToDb(), and toXML().
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 5378 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 5576 of file class.ilObjTest.php.
References $DIC, $ilDB, $ilUser, ilObject\$lng, $rows, ilObjQuestionPool\_getAvailableQuestionpools(), ilAssQuestionType\completeMissingPluginName(), getExistingQuestions(), ilPlugin\getPluginObject(), and IL_COMP_MODULE.
Here is the call graph for this function:| ilObjTest::getCertificateVisibility | ( | ) |
Returns the visibility settings of the certificate.
Definition at line 9352 of file class.ilObjTest.php.
Referenced by canShowCertificate(), and saveToDb().
Here is the caller graph for this function:| ilObjTest::getCharSelectorAvailability | ( | ) |
Definition at line 11858 of file class.ilObjTest.php.
References $char_selector_availability.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getCharSelectorDefinition | ( | ) |
Definition at line 11874 of file class.ilObjTest.php.
References $char_selector_definition.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| & ilObjTest::getCompleteEvaluationData | ( | $withStatistics = true, |
|
$filterby = "", |
|||
$filtertext = "" |
|||
| ) |
Definition at line 5153 of file class.ilObjTest.php.
References $data.
Referenced by getAggregatedResultsData().
Here is the caller graph for this function:
|
static |
Retrieves the manual feedback for a question in a test.
| integer | $question_id | Question ID |
Definition at line 10107 of file class.ilObjTest.php.
References $DIC, $ilDB, $pass, $result, 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 4274 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, and getTestId().
Here is the call graph for this function:| ilObjTest::getCompleteWorkingTimeOfParticipant | ( | $active_id | ) |
Returns the complete working time in seconds for a test participant.
Definition at line 4344 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, and getTestId().
Here is the call graph for this function:| & ilObjTest::getCompleteWorkingTimeOfParticipants | ( | ) |
Returns the complete working time in seconds for all test participants.
Definition at line 4301 of file class.ilObjTest.php.
References _getCompleteWorkingTimeOfParticipants(), and getTestId().
Here is the call graph for this function:| ilObjTest::getCountSystem | ( | ) |
Gets the count system for the calculation of points.
Definition at line 2488 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getCustomStyle | ( | ) |
Get the custom style.
Definition at line 2137 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:
|
static |
This is originally a fix for https://mantis.ilias.de/view.php?id=35707; in general, the handling of those pathes shold be improved or better, avoided entirely (e.g.
with the IRSS).
Definition at line 12320 of file class.ilObjTest.php.
References CLIENT_ID, and ILIAS_WEB_DIR.
Referenced by assQuestion\getFlashPathWeb(), getImagePathWeb(), assQuestion\getImagePathWeb(), assQuestion\getJavaPathWeb(), and assQuestion\getSuggestedSolutionPathWeb().
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 10283 of file class.ilObjTest.php.
References $results, _instanciateQuestion(), and getAnonymity().
Here is the call graph for this function:| ilObjTest::getECTSFX | ( | ) |
{
Implements ilEctsGradesEnabled.
Definition at line 2233 of file class.ilObjTest.php.
Referenced by addDefaults(), and 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 6814 of file class.ilObjTest.php.
References _getECTSGrade().
Referenced by getAllTestResults().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getECTSGrades | ( | ) |
{
Implements ilEctsGradesEnabled.
Definition at line 2249 of file class.ilObjTest.php.
References $ects_grades.
Referenced by addDefaults().
Here is the caller graph for this function:| ilObjTest::getECTSOutput | ( | ) |
{
Implements ilEctsGradesEnabled.
Definition at line 2217 of file class.ilObjTest.php.
Referenced by addDefaults(), getAllTestResults(), and saveToDb().
Here is the caller graph for this function:| ilObjTest::getEnableArchiving | ( | ) |
Definition at line 11734 of file class.ilObjTest.php.
References $enable_archiving.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getEnabledViewMode | ( | ) |
Definition at line 10724 of file class.ilObjTest.php.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::getEnableExamview | ( | ) |
Definition at line 11585 of file class.ilObjTest.php.
References $enable_examview.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getEnableProcessingTime | ( | ) |
Returns the state of the processing time (enabled/disabled)
Definition at line 2970 of file class.ilObjTest.php.
Referenced by addDefaults(), isExecutable(), isMaxProcessingTimeReached(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getEndingTime | ( | ) |
Returns the ending time of the test.
Definition at line 3050 of file class.ilObjTest.php.
Referenced by addDefaults(), endingTimeReached(), getSecondsUntilEndingTime(), isExecutable(), saveToDb(), and toXML().
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 5390 of file class.ilObjTest.php.
References $result, and _instanciateQuestion().
Referenced by getProcessingTimeAsArray().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getEvaluationAdditionalFields | ( | ) |
Gets additional user fields that should be shown in the user evaluation.
Definition at line 10587 of file class.ilObjTest.php.
References getAnonymity(), and ilObject\getRefId().
Here is the call graph for this function:| & ilObjTest::getExistingQuestions | ( | $pass = null | ) |
Get the id's of the questions which are already part of the test.
Definition at line 3750 of file class.ilObjTest.php.
References $data, $DIC, $ilDB, $ilUser, $pass, $result, getActiveIdOfUser(), getTestId(), and isRandomTest().
Referenced by getAvailableQuestions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getExportDirectory | ( | ) |
Get the location of the export directory for the test.
@access public
Definition at line 905 of file class.ilObjTest.php.
References ilUtil\getDataDir(), and ilObject\getId().
Here is the call graph for this function:| ilObjTest::getExportSettings | ( | ) |
Definition at line 10686 of file class.ilObjTest.php.
References $exportsettings.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getExportSettingsSingleChoiceShort | ( | ) |
Definition at line 10704 of file class.ilObjTest.php.
Referenced by setExportSettingsSingleChoiceShort().
Here is the caller graph for this function:| ilObjTest::getExtraTime | ( | $active_id | ) |
Definition at line 11652 of file class.ilObjTest.php.
References $DIC, $ilDB, and $result.
Referenced by getProcessingTimeInSeconds().
Here is the caller graph for this function:| ilObjTest::getFinalStatement | ( | ) |
Gets the final statement.
Definition at line 2161 of file class.ilObjTest.php.
Referenced by addDefaults(), getAllRTEContent(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getFixedParticipants | ( | ) |
Returns the fixed participants status.
Definition at line 9461 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getFixedQuestionSetTotalPoints | ( | ) |
Definition at line 8545 of file class.ilObjTest.php.
References getTestQuestions().
Here is the call graph for this function:| ilObjTest::getFixedQuestionSetTotalWorkingTime | ( | ) |
Definition at line 8559 of file class.ilObjTest.php.
References getTestQuestions(), and assQuestion\sumTimesInISO8601FormatH_i_s_Extended().
Here is the call graph for this function:| ilObjTest::getForceJS | ( | ) |
Gets whether JavaScript should be forced for tests.
Definition at line 2185 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getGenericAnswerFeedback | ( | ) |
Returns 1 if generic answer feedback is to be shown.
Definition at line 2464 of file class.ilObjTest.php.
Referenced by getInstantFeedbackOptionsAsArray(), isAnyInstantFeedbackOptionEnabled(), and saveToDb().
Here is the caller graph for this function:| & ilObjTest::getGroupData | ( | $ids | ) |
Definition at line 7734 of file class.ilObjTest.php.
References ilObject\$ref_id, $result, 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 11164 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getHighscoreAnon | ( | ) |
Gets if the highscores should be anonymized per setting.
Note: This method will retrieve the setting as set by the user. If you want to figure out, if the highscore is to be shown anonymized or not, with consideration of the global anon switch you should
Definition at line 11127 of file class.ilObjTest.php.
Referenced by addDefaults(), isHighscoreAnon(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getHighscoreEnabled | ( | ) |
Gets the setting which determines if the highscore feature is enabled.
Definition at line 11101 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getHighscoreHints | ( | ) |
Gets, if the column with the number of requested hints should be shown.
Definition at line 11224 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getHighscoreMode | ( | ) |
Definition at line 11321 of file class.ilObjTest.php.
References getHighscoreOwnTable(), getHighscoreTopTable(), HIGHSCORE_SHOW_ALL_TABLES, HIGHSCORE_SHOW_OWN_TABLE, and HIGHSCORE_SHOW_TOP_TABLE.
Here is the call graph for this function:| ilObjTest::getHighscoreOwnTable | ( | ) |
Gets if the own rankings table should be shown.
Definition at line 11264 of file class.ilObjTest.php.
Referenced by addDefaults(), getHighscoreMode(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getHighscorePercentage | ( | ) |
Gets if the percentage column should be shown.
Definition at line 11204 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getHighscoreScore | ( | ) |
Gets if the score column should be shown.
Definition at line 11184 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getHighscoreTopNum | ( | $a_retval = 10 | ) |
Gets the number of entries which are to be shown in the top-rankings table.
Default: 10 entries
| integer | $a_retval | Optional return value if nothing is set, defaults to 10. |
Definition at line 11308 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getHighscoreTopTable | ( | ) |
Gets, if the top-rankings table should be shown.
Definition at line 11284 of file class.ilObjTest.php.
Referenced by addDefaults(), getHighscoreMode(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getHighscoreWTime | ( | ) |
Gets if the column with the workingtime should be shown.
Definition at line 11244 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:
|
protected |
Definition at line 12310 of file class.ilObjTest.php.
References ilHtmlPurifierFactory\_getInstanceByType().
Referenced by setFinalStatement(), and setIntroduction().
Here is the call graph for this function:
Here is the caller 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 5412 of file class.ilObjTest.php.
References CLIENT_WEB_DIR, and ilObject\getId().
Here is the call graph for this function:| ilObjTest::getImagePathWeb | ( | ) |
Returns the web image path for web accessable images of a test The image path is under the web accessable data dir in assessment/REFERENCE_ID_OF_TEST/images.
@access public
Definition at line 5423 of file class.ilObjTest.php.
References getDataWebPath(), and ilObject\getId().
Here is the call graph for this function:| ilObjTest::getImportDirectory | ( | ) |
Definition at line 968 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 6786 of file class.ilObjTest.php.
| ilObjTest::getInstantFeedbackOptionsAsArray | ( | ) |
Definition at line 10797 of file class.ilObjTest.php.
References getAnswerFeedbackPoints(), getGenericAnswerFeedback(), getInstantFeedbackSolution(), and getSpecificAnswerFeedback().
Here is the call graph for this function:| ilObjTest::getInstantFeedbackSolution | ( | ) |
Returns 1 if the correct solution will be shown after answering a question.
Definition at line 2440 of file class.ilObjTest.php.
Referenced by addDefaults(), getInstantFeedbackOptionsAsArray(), isAnyInstantFeedbackOptionEnabled(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getIntroduction | ( | ) |
Gets the introduction text of the ilObjTest object.
Definition at line 2058 of file class.ilObjTest.php.
Referenced by addDefaults(), getAllRTEContent(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getInvitedParticipantList | ( | ) |
Definition at line 7435 of file class.ilObjTest.php.
References getInvitedUsers().
Here is the call graph for this function:| & ilObjTest::getInvitedUsers | ( | $user_id = "", |
|
$order = "login, lastname, firstname" |
|||
| ) |
Returns a list of all invited users in a test.
Definition at line 7462 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, getAnonymity(), and getTestId().
Referenced by getInvitedParticipantList().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getJavaScriptOutput | ( | ) |
Returns if Javascript should be chosen for drag & drop actions for the active user.
Definition at line 10247 of file class.ilObjTest.php.
| ilObjTest::getKiosk | ( | ) |
Returns the kiosk mode.
Definition at line 2668 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getKioskMode | ( | ) |
Returns the kiosk mode.
Definition at line 2693 of file class.ilObjTest.php.
Referenced by setKioskMode().
Here is the caller graph for this function:| ilObjTest::getListOfQuestions | ( | ) |
Returns if the list of questions should be presented to the user or not.
Definition at line 8684 of file class.ilObjTest.php.
Referenced by setListOfQuestionsDescription(), setListOfQuestionsEnd(), and setListOfQuestionsStart().
Here is the caller graph for this function:| ilObjTest::getListOfQuestionsDescription | ( | ) |
Returns TRUE if the list of questions should be presented with the question descriptions.
Definition at line 8780 of file class.ilObjTest.php.
Referenced by setListOfQuestionsDescription().
Here is the caller graph for this function:| ilObjTest::getListOfQuestionsEnd | ( | ) |
Returns if the list of questions should be presented as the last page of the test.
Definition at line 8747 of file class.ilObjTest.php.
Referenced by setListOfQuestionsEnd().
Here is the caller graph for this function:| ilObjTest::getListOfQuestionsSettings | ( | ) |
Returns the settings for the list of questions options in the test properties This could contain one of the following values: 0 = No list of questions offered 1 = A list of questions is offered 3 = A list of questions is offered and the list of questions is shown as first page of the test 5 = A list of questions is offered and the list of questions is shown as last page of the test 7 = A list of questions is offered and the list of questions is shown as first and last page of the test.
Definition at line 8656 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
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 8714 of file class.ilObjTest.php.
Referenced by setListOfQuestionsStart().
Here is the caller graph for this function:| ilObjTest::getMailNotification | ( | ) |
Get mail notification settings.
Definition at line 10557 of file class.ilObjTest.php.
References $mailnotification.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getMailNotificationType | ( | ) |
Definition at line 10668 of file class.ilObjTest.php.
References $mailnottype.
Referenced by addDefaults(), saveToDb(), and toXML().
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 10056 of file class.ilObjTest.php.
References $pass, getSingleManualFeedback(), and ilTestService\isManScoringDone().
Referenced by assClozeTestGUI\getAnswerFeedbackOutput(), 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 6875 of file class.ilObjTest.php.
References $mark_schema.
| ilObjTest::getMarkSchemaForeignId | ( | ) |
{
Implements ilMarkSchemaAware.
Definition at line 6883 of file class.ilObjTest.php.
References getTestId().
Here is the call graph for this function:| ilObjTest::getMCScoring | ( | ) |
Gets the scoring type for multiple choice questions.
Definition at line 2523 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getNrOfResultsForPass | ( | $active_id, | |
| $pass | |||
| ) |
Calculates the number of user results for a specific test pass.
@access private
Definition at line 1807 of file class.ilObjTest.php.
References $DIC, $ilDB, $pass, and $result.
Referenced by getStartTestLabel().
Here is the caller graph for this function:| ilObjTest::getNrOfTries | ( | ) |
Returns the nr of tries for the test.
Definition at line 2640 of file class.ilObjTest.php.
Referenced by addDefaults(), getStartTestLabel(), hasNrOfTriesRestriction(), isExecutable(), isNrOfTriesReached(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getOldOnlineStatus | ( | ) |
Definition at line 11021 of file class.ilObjTest.php.
References $oldOnlineStatus.
Referenced by saveToDb().
Here is the caller graph for this function:| & ilObjTest::getParticipants | ( | ) |
Returns all persons who started the test.
Definition at line 4580 of file class.ilObjTest.php.
References $DIC, $ilDB, $login, $name, $result, ANONYMOUS_USER_ID, getAnonymity(), and getTestId().
Here is the call graph for this function:| ilObjTest::getPassed | ( | $active_id | ) |
Definition at line 10362 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, _getResultPass(), and getTestResult().
Referenced by canShowCertificate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getPassScoring | ( | ) |
Gets the pass scoring type.
Definition at line 2547 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getPassWaiting | ( | ) |
Definition at line 3281 of file class.ilObjTest.php.
References $pass_waiting.
Referenced by addDefaults(), isExecutable(), isPassWaitingEnabled(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getPassword | ( | ) |
Returns the password for test access.
Definition at line 3218 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:
|
static |
Definition at line 12000 of file class.ilObjTest.php.
References ilObject\$db, and ilObjTestDynamicQuestionSetConfig\getPoolQuestionChangeListener().
Referenced by ilObjQuestionPool\addQuestionChangeListeners().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getPoolUsage | ( | ) |
Definition at line 10852 of file class.ilObjTest.php.
References $poolUsage.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getProcessingTime | ( | ) |
Returns the processing time for the test.
Definition at line 2888 of file class.ilObjTest.php.
Referenced by addDefaults(), getProcessingTimeInSeconds(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getProcessingTimeAsArray | ( | ) |
Returns the processing time for the test.
Definition at line 2899 of file class.ilObjTest.php.
References getEstimatedWorkingTime().
Here is the call graph for this function:| ilObjTest::getProcessingTimeAsMinutes | ( | ) |
Definition at line 2917 of file class.ilObjTest.php.
References DEFAULT_PROCESSING_TIME_MINUTES.
| ilObjTest::getProcessingTimeInSeconds | ( | $active_id = "" | ) |
Returns the processing time for the test in seconds.
Definition at line 2935 of file class.ilObjTest.php.
References getExtraTime(), and getProcessingTime().
Referenced by isMaxProcessingTimeReached().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getQuestionCount | ( | ) |
Returns the number of questions in the test.
Definition at line 7237 of file class.ilObjTest.php.
References $DIC, $ilDB, ilObject\$tree, and isRandomTest().
Referenced by getQuestionsOfPass(), and getQuestionsOfTest().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getQuestionDataset | ( | $question_id | ) |
Returns the dataset for a given question id.
| integer | $question_id | The database id of the question |
Definition at line 3730 of file class.ilObjTest.php.
| ilObjTest::getQuestions | ( | ) |
| ilObjTest::getQuestionSetType | ( | ) |
getter for question set type
Definition at line 11895 of file class.ilObjTest.php.
References $questionSetType.
Referenced by addDefaults(), getQuestionTitle(), getQuestionTitles(), getQuestionTitlesAndIndexes(), isDynamicTest(), isFixedTest(), isRandomTest(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getQuestionSetTypeTranslation | ( | ilLanguage | $lng, |
| $questionSetType | |||
| ) |
Definition at line 11967 of file class.ilObjTest.php.
References ilObject\$lng, $questionSetType, QUESTION_SET_TYPE_DYNAMIC, 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 4738 of file class.ilObjTest.php.
References $DIC, $ilDB, $pass, $result, getQuestionCount(), and isRandomTest().
Here is the call graph for this function:| & ilObjTest::getQuestionsOfTest | ( | $active_id | ) |
Retrieves all the assigned questions for all test passes of a test participant.
Definition at line 4697 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, getQuestionCount(), and isRandomTest().
Here is the call graph for this function:| ilObjTest::getQuestiontext | ( | $question_id | ) |
Returns the question text for a given question.
| integer | $question_id | The question id |
Definition at line 7412 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 3705 of file class.ilObjTest.php.
References ilObject\$title, getQuestionSetType(), and getTitleOutput().
Here is the call graph for this function:| & ilObjTest::getQuestionTitles | ( | ) |
Returns the titles of the test questions in question sequence.
Definition at line 3652 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, getQuestionSetType(), and getTestId().
Here is the call graph for this function:| & ilObjTest::getQuestionTitlesAndIndexes | ( | ) |
Returns the titles of the test questions in question sequence.
Definition at line 3677 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, getQuestionSetType(), and getTestId().
Referenced by hasQuestionsWithoutQuestionpool().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getQuestionType | ( | $question_id | ) |
Returns the question type of a question with a given id.
| integer | $question_id | The database id of the question |
Definition at line 3791 of file class.ilObjTest.php.
References $data, $DIC, $ilDB, and $result.
Referenced by createQuestionGUI().
Here is the caller graph for this function:| ilObjTest::getRedirectionMode | ( | ) |
Definition at line 3099 of file class.ilObjTest.php.
References $redirection_mode.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getRedirectionUrl | ( | ) |
Definition at line 3107 of file class.ilObjTest.php.
References $redirection_url.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getReportingDate | ( | ) |
Gets the reporting date of the ilObjTest object.
Definition at line 2628 of file class.ilObjTest.php.
Referenced by addDefaults(), canEditMarks(), canShowEctsGrades(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getResetProcessingTime | ( | ) |
Returns wheather the processing time should be reset or not.
Definition at line 2982 of file class.ilObjTest.php.
Referenced by addDefaults(), getStartingTimeOfUser(), isExecutable(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getResultFilterTaxIds | ( | ) |
Definition at line 12050 of file class.ilObjTest.php.
References $resultFilterTaxIds.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getResultsForActiveId | ( | $active_id | ) |
Definition at line 10625 of file class.ilObjTest.php.
References $DIC, $ilDB, $query, $result, _getResultPass(), and assQuestion\_updateTestResultCache().
Referenced by getTestResult().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getResultsPresentation | ( | ) |
Returns the combined results presentation value.
Definition at line 8813 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| & ilObjTest::getRoleData | ( | $ids | ) |
Definition at line 7747 of file class.ilObjTest.php.
References $result, 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 2535 of file class.ilObjTest.php.
Referenced by addDefaults(), getTestResult(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getScoreReporting | ( | ) |
Gets the score reporting of the ilObjTest object.
Definition at line 2411 of file class.ilObjTest.php.
Referenced by addDefaults(), isScoreReportingEnabled(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getSecondsUntilEndingTime | ( | ) |
Returns the seconds left from the actual time until the ending time.
Definition at line 2952 of file class.ilObjTest.php.
References getEndingTime().
Here is the call graph for this function:| ilObjTest::getSequenceSettings | ( | ) |
SEQUENCE SETTING = POSTPONING ENABLED !!
Definition at line 2267 of file class.ilObjTest.php.
Referenced by addDefaults(), isPostponingEnabled(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getShowCancel | ( | ) |
Returns wheather the cancel test button is shown or not.
Definition at line 9403 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getShowExamviewHtml | ( | ) |
Definition at line 11553 of file class.ilObjTest.php.
References $show_examview_html.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getShowExamviewPdf | ( | ) |
Definition at line 11569 of file class.ilObjTest.php.
References $show_examview_pdf.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getShowFinalStatement | ( | ) |
Returns whether the final statement should be shown or not.
Definition at line 2197 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
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 2173 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getShowKioskModeParticipant | ( | ) |
Returns the status of the kiosk mode participant.
Definition at line 2760 of file class.ilObjTest.php.
Referenced by setShowKioskModeParticipant().
Here is the caller graph for this function:| ilObjTest::getShowKioskModeTitle | ( | ) |
Returns the status of the kiosk mode title.
Definition at line 2727 of file class.ilObjTest.php.
Referenced by setShowKioskModeTitle().
Here is the caller graph for this function:| ilObjTest::getShowMarker | ( | ) |
Returns wheather the marker button is shown or not.
Definition at line 9432 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
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 8824 of file class.ilObjTest.php.
Referenced by setShowPassDetails().
Here is the caller graph for this function:| ilObjTest::getShowSolutionAnswersOnly | ( | ) |
Returns if the full solution (including ILIAS content) should be presented to the solution or not.
Definition at line 8884 of file class.ilObjTest.php.
Referenced by setShowSolutionAnswersOnly().
Here is the caller graph for this function:| ilObjTest::getShowSolutionDetails | ( | ) |
Returns if the solution details should be presented to the user or not.
Definition at line 8839 of file class.ilObjTest.php.
Referenced by setShowSolutionDetails(), and toXML().
Here is the caller graph for this function:| ilObjTest::getShowSolutionFeedback | ( | ) |
Returns if the feedback should be presented to the solution or not.
Definition at line 8869 of file class.ilObjTest.php.
Referenced by setShowSolutionFeedback().
Here is the caller graph for this function:| ilObjTest::getShowSolutionListComparison | ( | ) |
Definition at line 8925 of file class.ilObjTest.php.
Referenced by setShowSolutionListComparison().
Here is the caller graph for this function:| ilObjTest::getShowSolutionPrintview | ( | ) |
Returns if the solution printview should be presented to the user or not.
Definition at line 8854 of file class.ilObjTest.php.
Referenced by canShowSolutionPrintview(), and setShowSolutionPrintview().
Here is the caller graph for this function:| ilObjTest::getShowSolutionSignature | ( | ) |
Returns if the signature field should be shown in the test results.
Definition at line 8899 of file class.ilObjTest.php.
Referenced by setShowSolutionSignature().
Here is the caller graph for this function:| ilObjTest::getShowSolutionSuggested | ( | ) |
Definition at line 8912 of file class.ilObjTest.php.
Referenced by setShowSolutionSuggested().
Here is the caller graph for this function:| ilObjTest::getShuffleQuestions | ( | ) |
Returns the status of the shuffle_questions variable.
Definition at line 8628 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getSignSubmission | ( | ) |
Definition at line 11842 of file class.ilObjTest.php.
References $sign_submission.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:
|
static |
Retrieves the manual feedback for a question in a test.
| integer | $active_id | Active ID of the user |
| integer | $question_id | Question ID |
| integer | $pass | Pass number |
Definition at line 10077 of file class.ilObjTest.php.
References $DIC, $ilDB, $pass, $result, and ilRTE\_replaceMediaObjectImageSrc().
Referenced by getManualFeedback(), ilTestScoringByQuestionsGUI\saveManScoringByQuestion(), and saveManualFeedback().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getSpecificAnswerFeedback | ( | ) |
Definition at line 11376 of file class.ilObjTest.php.
Referenced by addDefaults(), getInstantFeedbackOptionsAsArray(), isAnyInstantFeedbackOptionEnabled(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getStartingTime | ( | ) |
Returns the starting time of the test.
Definition at line 3010 of file class.ilObjTest.php.
Referenced by addDefaults(), isExecutable(), saveToDb(), startingTimeReached(), and toXML().
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 11618 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, and getTestId().
Here is the call graph for this function:| ilObjTest::getStartingTimeOfUser | ( | $active_id, | |
$pass = null |
|||
| ) |
Returns the unix timestamp of the time a user started a test.
| integer | $active_id | The active id of the user |
Definition at line 8411 of file class.ilObjTest.php.
References $DIC, $ilDB, $pass, $result, and getResetProcessingTime().
Referenced by isExecutable().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 9596 of file class.ilObjTest.php.
References $res, _getPass(), getNrOfResultsForPass(), and getNrOfTries().
Here is the call graph for this function:| ilObjTest::getTemplate | ( | ) |
Definition at line 10739 of file class.ilObjTest.php.
References $template_id.
Referenced by 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 9648 of file class.ilObjTest.php.
References _getTestDefaults().
Here is the call graph for this function:| ilObjTest::getTestId | ( | ) |
Gets the database id of the additional test data.
Definition at line 2209 of file class.ilObjTest.php.
References $test_id.
Referenced by addExtraTime(), checkMaximumAllowedUsers(), ilObjTestDynamicQuestionSetConfig\cloneQuestionSetRelatedData(), ilTestRandomQuestionSetConfig\cloneQuestionSetRelatedData(), deleteTest(), disinviteUser(), evalResultsOverview(), evalResultsOverviewOfParticipant(), evalTotalParticipantsArray(), evalTotalPersons(), evalTotalPersonsArray(), evalTotalStartedAverageTime(), getActiveIdOfUser(), getCompleteWorkingTime(), getCompleteWorkingTimeOfParticipant(), getCompleteWorkingTimeOfParticipants(), getExistingQuestions(), getInvitedUsers(), getMarkSchemaForeignId(), getParticipants(), getQuestionTitles(), getQuestionTitlesAndIndexes(), getStartingTimeOfParticipants(), getTestParticipants(), getTestQuestions(), getTimeExtensionsOfParticipants(), getVisitTimeOfParticipant(), hasSingleChoiceQuestions(), ilTestImporter\importSkillLevelThresholds(), insertQuestion(), inviteUser(), isActiveTestSubmitted(), isNewRandomTest(), isSingleChoiceTest(), isSingleChoiceTestWithoutShuffle(), loadFromDb(), moveQuestionAfter(), moveQuestionAfterOLD(), questionMoveDown(), questionMoveUp(), randomSelectQuestions(), removeTestResultsByActiveIds(), removeTestResultsByUserIds(), removeTestResultsFromSoapLpAdministration(), saveCertificateVisibility(), saveCompleteStatus(), saveQuestionsToDb(), saveToDb(), setClientIP(), and toXML().
Here is the caller graph for this function:
|
static |
Definition at line 12011 of file class.ilObjTest.php.
| & ilObjTest::getTestParticipants | ( | ) |
Returns a list of all participants in a test.
Definition at line 7527 of file class.ilObjTest.php.
References $data, $DIC, $ilDB, $index, $query, $result, getAnonymity(), and getTestId().
Referenced by buildStatisticsAccessFilteredParticipantList(), getActiveParticipantList(), getTestParticipantsForManualScoring(), and sendAdvancedNotification().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getTestParticipantsForManualScoring | ( | $filter = null | ) |
Definition at line 7593 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, ilObjAssessmentFolder\_getManualScoring(), and getTestParticipants().
Here is the call graph for this function:| & ilObjTest::getTestQuestions | ( | ) |
Definition at line 8462 of file class.ilObjTest.php.
References $DIC, $ilDB, $query, $questions, getTestId(), and isQuestionObligationPossible().
Referenced by getFixedQuestionSetTotalPoints(), getFixedQuestionSetTotalWorkingTime(), and isTestQuestion().
Here is the call graph for this function:
Here is the caller graph for this function:| & ilObjTest::getTestResult | ( | $active_id, | |
$pass = null, |
|||
$ordered_sequence = false, |
|||
$considerHiddenQuestions = true, |
|||
$considerOptionalQuestions = true |
|||
| ) |
Calculates the results of a test for a given user and returns an array with all test results.
Definition at line 4039 of file class.ilObjTest.php.
References $data, $DIC, $ilDB, ilObject\$lng, $pass, $query, $result, $results, $testSequence, $testSession, ilObject\$tree, assQuestion\_getSuggestedSolutionOutput(), getResultsForActiveId(), getScoreCutting(), isDynamicTest(), and ilUtil\prepareFormOutput().
Referenced by evalStatistical(), getPassed(), getTotalPointsPassedArray(), and ilTestSequence\hideCorrectAnsweredQuestions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getTextAnswer | ( | $active_id, | |
| $question_id, | |||
$pass = null |
|||
| ) |
Returns the text answer of a given user for a given question.
| integer | $user_id | The user id |
| integer | $question_id | The question id |
Definition at line 7381 of file class.ilObjTest.php.
References $DIC, $ilDB, $pass, $res, $result, and assQuestion\_getSolutionMaxPass().
Here is the call graph for this function:| ilObjTest::getTimeExtensionsOfParticipants | ( | ) |
Definition at line 11635 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, and getTestId().
Here is the call graph for this function:| ilObjTest::getTitleFilenameCompliant | ( | ) |
returns the object title prepared to be used as a filename
Definition at line 719 of file class.ilObjTest.php.
References ilUtil\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 2805 of file class.ilObjTest.php.
Referenced by addDefaults(), getQuestionTitle(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::getTmpCopyWizardCopyId | ( | ) |
Definition at line 728 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 4553 of file class.ilObjTest.php.
References $total, evalTotalParticipantsArray(), and getTestResult().
Referenced by getAllTestResults().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::getUsePreviousAnswers | ( | ) |
Returns if the previous answers should be shown for a learner.
Definition at line 2793 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| & ilObjTest::getUserData | ( | $ids | ) |
Returns a data of all users specified by id list.
| $usr_ids | kommaseparated list of ids |
Definition at line 7708 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, and getAnonymity().
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 4399 of file class.ilObjTest.php.
References _getVisitTimeOfParticipant(), and getTestId().
Here is the call graph for this function:| & ilObjTest::getWorkedQuestions | ( | $active_id, | |
$pass = null |
|||
| ) |
Gets the id's of all questions a user already worked through.
Definition at line 3856 of file class.ilObjTest.php.
| ilObjTest::getXMLZip | ( | ) |
Get zipped xml file for test.
Reimplemented from ilObject.
Definition at line 10546 of file class.ilObjTest.php.
| ilObjTest::hasAnyTestResult | ( | ilTestSession | $testSession | ) |
Definition at line 8391 of file class.ilObjTest.php.
References $DIC, and $testSession.
| ilObjTest::hasNrOfTriesRestriction | ( | ) |
returns if the numbers of tries have to be checked
Definition at line 7941 of file class.ilObjTest.php.
References getNrOfTries().
Referenced by isExecutable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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 11485 of file class.ilObjTest.php.
References $DIC, $ilDB, and $test_id.
Referenced by allObligationsAnswered().
Here is the caller graph for this function:| ilObjTest::hasQuestionsWithoutQuestionpool | ( | ) |
Definition at line 10949 of file class.ilObjTest.php.
References $DIC, $ilDB, $query, $questions, and getQuestionTitlesAndIndexes().
Here is the call graph for this function:| ilObjTest::hasRandomQuestionsForPass | ( | $active_id, | |
| $pass | |||
| ) |
Checkes wheather a random test has already created questions for a given pass or not.
@access private
| $active_id | Active id of the test |
| $pass | Pass of the test |
Definition at line 1830 of file class.ilObjTest.php.
| ilObjTest::hasSingleChoiceQuestions | ( | ) |
Returns TRUE if the test contains single choice results.
Definition at line 1010 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, and getTestId().
Referenced by isSingleChoiceTestWithoutShuffle().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Inserts a manual feedback into the DB.
| integer | $active_id | Active ID of the user |
| integer | $question_id | Question ID |
| integer | $pass | Pass number |
| string | $feedback | The feedback text |
| array | $feedback_old | The feedback before update |
| boolean | $finalized | In Feedback is final |
Definition at line 10177 of file class.ilObjTest.php.
References $DIC, $ilDB, $ilUser, $pass, and ilRTE\_replaceMediaObjectImageSrc().
Referenced by saveManualFeedback().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::insertQuestion | ( | ilTestQuestionSetConfig | $testQuestionSetConfig, |
| $question_id, | |||
$linkOnly = false |
|||
| ) |
Insert a question in the list of questions.
| ilTestQuestionSetConfig | $testQuestionSetConfig | |
| integer | $question_id | The database id of the inserted question |
| boolean | $linkOnly |
Definition at line 3599 of file class.ilObjTest.php.
References $data, $DIC, $ilDB, $result, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), duplicateQuestionForTest(), getTestId(), loadQuestions(), logAction(), and saveCompleteStatus().
Here is the call graph for this function:| ilObjTest::inviteGroup | ( | $group_id | ) |
Invites all users of a group to a test.
| integer | $group_id | The database id of the invited group @access public |
Definition at line 7766 of file class.ilObjTest.php.
References ilObjUser\_lookupClientIP(), and inviteUser().
Here is the call graph for this function:| ilObjTest::inviteRole | ( | $role_id | ) |
Invites all users of a role to a test.
| integer | $group_id | The database id of the invited group @access public |
Definition at line 7783 of file class.ilObjTest.php.
References $DIC, ilObject\$rbacreview, ilObjUser\_lookupClientIP(), and inviteUser().
Here is the call graph for this function:| ilObjTest::inviteUser | ( | $user_id, | |
$client_ip = "" |
|||
| ) |
Invites a user to a test.
| integer | $user_id | The database id of the invited user @access public |
Definition at line 7820 of file class.ilObjTest.php.
References $DIC, $ilDB, and getTestId().
Referenced by inviteGroup(), and inviteRole().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::isActivationLimited | ( | ) |
Definition at line 11074 of file class.ilObjTest.php.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::isActiveTestSubmitted | ( | $user_id = null | ) |
returns if the active for user_id has been submitted
Definition at line 7920 of file class.ilObjTest.php.
References $DIC, $ilDB, $ilUser, $result, and getTestId().
Here is the call graph for this function:| ilObjTest::isAnyInstantFeedbackOptionEnabled | ( | ) |
Definition at line 10789 of file class.ilObjTest.php.
References getAnswerFeedbackPoints(), getGenericAnswerFeedback(), getInstantFeedbackSolution(), and getSpecificAnswerFeedback().
Here is the call graph for this function:| ilObjTest::isBestSolutionPrintedWithResult | ( | ) |
Definition at line 11039 of file class.ilObjTest.php.
References $print_best_solution_with_result.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::isBlockPassesAfterPassedEnabled | ( | ) |
Definition at line 2648 of file class.ilObjTest.php.
References $blockPassesAfterPassedEnabled.
Referenced by addDefaults(), isExecutable(), saveToDb(), and toXML().
Here is the caller graph for this function:
|
final |
Returns true, if a test is complete for use and can be set online.
| ilTestQuestionSetConfig | $testQuestionSetConfig |
Definition at line 1102 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 11950 of file class.ilObjTest.php.
References getQuestionSetType(), and QUESTION_SET_TYPE_DYNAMIC.
Referenced by getAnsweredQuestionCount(), getTestResult(), and removeTestResultsByActiveIds().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::isEndingTimeEnabled | ( | ) |
Definition at line 3030 of file class.ilObjTest.php.
References $ending_time_enabled.
Referenced by addDefaults(), endingTimeReached(), and 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.
| ilTestSession|ilTestSessionDynamicQuestionSet | ||
| integer | $user_id | The user id |
Definition at line 8293 of file class.ilObjTest.php.
References $DIC, $result, $starting_time, $testSession, ilObjTestAccess\_isPassed(), endingTimeReached(), ilDatePresentation\formatDate(), getActiveIdOfUser(), getEnableProcessingTime(), getEndingTime(), ilObject\getId(), getNrOfTries(), getPassWaiting(), getResetProcessingTime(), getStartingTime(), getStartingTimeOfUser(), hasNrOfTriesRestriction(), IL_CAL_UNIX, isBlockPassesAfterPassedEnabled(), isMaxProcessingTimeReached(), isPassWaitingEnabled(), and startingTimeReached().
Here is the call graph for this function:| ilObjTest::isFixedTest | ( | ) |
Returns the fact wether this test is a fixed question set test or not.
Definition at line 11930 of file class.ilObjTest.php.
References getQuestionSetType(), and QUESTION_SET_TYPE_FIXED.
Here is the call graph for this function:| ilObjTest::isFollowupQuestionAnswerFixationEnabled | ( | ) |
Definition at line 12107 of file class.ilObjTest.php.
References $followupQuestionAnswerFixationEnabled.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::isForceInstantFeedbackEnabled | ( | ) |
Definition at line 12125 of file class.ilObjTest.php.
References $forceInstantFeedbackEnabled.
Referenced by addDefaults(), saveToDb(), and toXML().
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 11140 of file class.ilObjTest.php.
References getAnonymity(), and getHighscoreAnon().
Here is the call graph for this function:| ilObjTest::isHTML | ( | $a_text | ) |
Checks if a given string contains HTML or not.
| string | $a_text | Text which should be checked |
Definition at line 9233 of file class.ilObjTest.php.
Referenced by addQTIMaterial().
Here is the caller graph for this function:| ilObjTest::isInstantFeedbackAnswerFixationEnabled | ( | ) |
Definition at line 12117 of file class.ilObjTest.php.
References $instantFeedbackAnswerFixationEnabled.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::isIntroductionEnabled | ( | ) |
Definition at line 2039 of file class.ilObjTest.php.
References $introductionEnabled.
Referenced by addDefaults(), and saveToDb().
Here is the caller graph for this function:| ilObjTest::isLimitUsersEnabled | ( | ) |
Definition at line 9116 of file class.ilObjTest.php.
References $limitUsersEnabled.
Referenced by addDefaults(), and saveToDb().
Here is the caller graph for this function:| ilObjTest::isMaxProcessingTimeReached | ( | $starting_time, | |
| $active_id | |||
| ) |
Returns whether the maximum processing time for a test is reached or not.
| long | $starting_time | The unix timestamp of the starting time of the test |
Definition at line 8447 of file class.ilObjTest.php.
References $processing_time, $starting_time, getEnableProcessingTime(), and getProcessingTimeInSeconds().
Referenced by isExecutable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Checks wheather the test is a new random test (using tst_rnd_cpy) or an old one.
Definition at line 1692 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, and getTestId().
Here is the call graph for this function:| ilObjTest::isNrOfTriesReached | ( | $tries | ) |
returns if number of tries are reached
Definition at line 7952 of file class.ilObjTest.php.
References getNrOfTries().
Here is the call graph for this function:| ilObjTest::isOfferingQuestionHintsEnabled | ( | ) |
returns the fact wether offering hints is enabled or not
Definition at line 11049 of file class.ilObjTest.php.
References $offeringQuestionHintsEnabled.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::isOnline | ( | ) |
Definition at line 11008 of file class.ilObjTest.php.
|
static |
Definition at line 12173 of file class.ilObjTest.php.
References $DIC, $ilDB, ilObject\$lng, $testSequence, $testSession, and ilObjectFactory\getInstanceByRefId().
Referenced by ilLOUtils\hasActiveRun(), and ilContainerObjectiveGUI\updateResult().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::isPassDeletionAllowed | ( | ) |
getter for the test setting passDeletionAllowed
Definition at line 11526 of file class.ilObjTest.php.
References $passDeletionAllowed.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::isPassWaitingEnabled | ( | ) |
Definition at line 3296 of file class.ilObjTest.php.
References getPassWaiting().
Referenced by isExecutable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::isPasswordEnabled | ( | ) |
Definition at line 3198 of file class.ilObjTest.php.
References $passwordEnabled.
Referenced by addDefaults(), and 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 10351 of file class.ilObjTest.php.
References $DIC, and IL_COMP_MODULE.
| ilObjTest::isPostponingEnabled | ( | ) |
Definition at line 2285 of file class.ilObjTest.php.
References getSequenceSettings().
Here is the call graph for this function:| ilObjTest::isPreviousSolutionReuseEnabled | ( | $activeId | ) |
Definition at line 2836 of file class.ilObjTest.php.
References _getUsePreviousAnswers().
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 11412 of file class.ilObjTest.php.
References assQuestion\_getQuestionType(), and assQuestion\_includeClass().
Referenced by getTestQuestions(), and 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 11433 of file class.ilObjTest.php.
Referenced by assQuestion\calculateResultsFromSolution(), ilTestSequence\getSequenceSummary(), ilTestSequenceDynamicQuestionSet\getSequenceSummary(), ilTestOutputGUI\showQuestionCmd(), and ilTestPlayerDynamicQuestionSetGUI\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 11940 of file class.ilObjTest.php.
References getQuestionSetType(), and QUESTION_SET_TYPE_RANDOM.
Referenced by createTestSequence(), getAllQuestions(), getAnsweredQuestionCount(), getExistingQuestions(), getQuestionCount(), getQuestionsOfPass(), getQuestionsOfTest(), loadQuestions(), and removeTestResultsByActiveIds().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::isScoreReportingEnabled | ( | ) |
Definition at line 2416 of file class.ilObjTest.php.
References getScoreReporting(), SCORE_REPORTING_AFTER_PASSED, SCORE_REPORTING_DATE, SCORE_REPORTING_DISABLED, SCORE_REPORTING_FINISHED, and SCORE_REPORTING_IMMIDIATLY.
Here is the call graph for this function:| ilObjTest::isShowExamIdInTestPassEnabled | ( | ) |
Definition at line 11810 of file class.ilObjTest.php.
References $show_exam_id_in_test_pass_enabled.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::isShowExamIdInTestResultsEnabled | ( | ) |
Definition at line 11826 of file class.ilObjTest.php.
References $show_exam_id_in_test_results_enabled.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::isShowGradingMarkEnabled | ( | ) |
Definition at line 12097 of file class.ilObjTest.php.
References $showGradingMarkEnabled.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::isShowGradingStatusEnabled | ( | ) |
Definition at line 12086 of file class.ilObjTest.php.
References $showGradingStatusEnabled.
Referenced by addDefaults(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::isSingleChoiceTest | ( | ) |
Returns TRUE if the test contains single choice results only.
Definition at line 1035 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, and getTestId().
Here is the call graph for this function:| ilObjTest::isSingleChoiceTestWithoutShuffle | ( | ) |
Returns TRUE if the test contains single choice results and no shuffle only.
Definition at line 1062 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, getTestId(), and hasSingleChoiceQuestions().
Here is the call graph for this function:
|
static |
Definition at line 12070 of file class.ilObjTest.php.
References $isSkillManagementGloballyActivated.
Referenced by ilObjTestSettingsGeneralGUI\buildForm(), ilTestSkillAdministrationGUI\isAccessDenied(), ilObjTestSettingsGeneralGUI\isSkillServiceSettingToBeAdjusted(), ilObjTestSettingsGeneralGUI\performSaveForm(), and ilTestTabsManager\setupTabsGuiConfig().
Here is the caller graph for this function:| ilObjTest::isSkillServiceEnabled | ( | ) |
Definition at line 12040 of file class.ilObjTest.php.
References $skillServiceEnabled.
Referenced by addDefaults(), isSkillServiceToBeConsidered(), saveToDb(), and toXML().
Here is the caller graph for this function:| ilObjTest::isSkillServiceToBeConsidered | ( | ) |
Definition at line 12055 of file class.ilObjTest.php.
References isSkillServiceEnabled().
Here is the call graph for this function:| ilObjTest::isStartingTimeEnabled | ( | ) |
Definition at line 2990 of file class.ilObjTest.php.
References $starting_time_enabled.
Referenced by addDefaults(), saveToDb(), and startingTimeReached().
Here is the caller graph for this function:| ilObjTest::isTestFinalBroken | ( | ) |
Definition at line 12206 of file class.ilObjTest.php.
References $testFinalBroken.
Referenced by saveToDb().
Here is the caller graph for this function:| ilObjTest::isTestFinished | ( | $active_id | ) |
returns if the active for user_id has been submitted
Definition at line 7904 of file class.ilObjTest.php.
References $DIC, $ilDB, and $result.
Referenced by isTestFinishedToViewResults().
Here is the caller graph for this function:| ilObjTest::isTestFinishedToViewResults | ( | $active_id, | |
| $currentpass | |||
| ) |
Returns true if an active user completed a test pass and did not start a new pass.
| integer | $active_id | The active id of the user |
| integer | $currentpass | The current test pass of the user |
Definition at line 3890 of file class.ilObjTest.php.
References isTestFinished(), lookupPassResultsUpdateTimestamp(), and true.
Here is the call graph for this function:| ilObjTest::isTestQuestion | ( | $questionId | ) |
| int | $questionId |
Definition at line 8516 of file class.ilObjTest.php.
References getTestQuestions().
Here is the call graph for this function:| ilObjTest::loadFromDb | ( | ) |
Loads a ilObjTest object from a database.
Definition at line 1845 of file class.ilObjTest.php.
References $data, $DIC, $ilDB, $result, ilRTE\_replaceMediaObjectImageSrc(), getAuthor(), ilObject\getId(), ilObjectActivation\getItem(), ilObject\getOfflineStatus(), getTestId(), loadQuestions(), saveAuthorToMetadata(), setActivationEndingTime(), setActivationLimited(), setActivationStartingTime(), setActivationVisibility(), setAllowedUsers(), setAllowedUsersTimeGap(), setAnonymity(), setAnswerFeedback(), setAnswerFeedbackPoints(), setAuthor(), setAutosave(), setAutosaveIval(), setBlockPassesAfterPassedEnabled(), setCertificateVisibility(), setCharSelectorAvailability(), setCharSelectorDefinition(), setCountSystem(), setCustomStyle(), setECTSFX(), setECTSGrades(), setECTSOutput(), setEnableArchiving(), setEnabledViewMode(), setEnableExamview(), setEnableProcessingTime(), setEndingTime(), setEndingTimeEnabled(), setExportSettings(), setFinalStatement(), setFixedParticipants(), setFollowupQuestionAnswerFixationEnabled(), setForceInstantFeedbackEnabled(), setForceJS(), setHighscoreAchievedTS(), setHighscoreAnon(), setHighscoreEnabled(), setHighscoreHints(), setHighscoreOwnTable(), setHighscorePercentage(), setHighscoreScore(), setHighscoreTopNum(), setHighscoreTopTable(), setHighscoreWTime(), setInstantFeedbackAnswerFixationEnabled(), setInstantFeedbackSolution(), setIntroduction(), setIntroductionEnabled(), setKiosk(), setLimitUsersEnabled(), setListOfQuestionsSettings(), setMailNotification(), setMailNotificationType(), setMCScoring(), setNrOfTries(), setObligationsEnabled(), setOfferingQuestionHintsEnabled(), setOldOnlineStatus(), setPassDeletionAllowed(), setPassScoring(), setPassWaiting(), setPassword(), setPasswordEnabled(), setPoolUsage(), setPrintBestSolutionWithResult(), setProcessingTime(), setQuestionSetType(), setRedirectionMode(), setRedirectionUrl(), setReportingDate(), setResetProcessingTime(), setResultFilterTaxIds(), setResultsPresentation(), setScoreCutting(), setScoreReporting(), setSequenceSettings(), setShowCancel(), setShowExamIdInTestPassEnabled(), setShowExamIdInTestResultsEnabled(), setShowExamviewHtml(), setShowExamviewPdf(), setShowFinalStatement(), setShowGradingMarkEnabled(), setShowGradingStatusEnabled(), setShowInfo(), setShowMarker(), setShuffleQuestions(), setSignSubmission(), setSkillServiceEnabled(), setSpecificAnswerFeedback(), setStartingTime(), setStartingTimeEnabled(), setTemplate(), setTestFinalBroken(), setTestId(), setTitleOutput(), setUsePreviousAnswers(), 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.
| integer | $user_id | The user id of the test user (necessary for random tests) @access public |
Definition at line 1991 of file class.ilObjTest.php.
References $data, $DIC, $ilDB, $ilUser, $index, $pass, $result, _getPass(), getActiveIdOfUser(), and isRandomTest().
Referenced by getAllQuestions(), getAnsweredQuestionCount(), insertQuestion(), loadFromDb(), questionMoveDown(), questionMoveUp(), reindexFixedQuestionOrdering(), and setQuestionOrderAndObligations().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::logAction | ( | $logtext = "", |
|
$question_id = "" |
|||
| ) |
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 7287 of file class.ilObjTest.php.
References $DIC, $ilUser, ilObjAssessmentFolder\_addLog(), and assQuestion\_getOriginalId().
Referenced by addExtraTime(), checkMaximumAllowedUsers(), insertQuestion(), logManualFeedback(), questionMoveDown(), questionMoveUp(), removeQuestion(), removeTestResultsByActiveIds(), saveQuestionsToDb(), and saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Creates a log for the manual feedback.
| integer | $active_id | Active ID of the user |
| integer | $question_id | Question ID |
| string | $feedback | The feedback text |
Definition at line 10221 of file class.ilObjTest.php.
References $DIC, $ilUser, ilObject\$lng, ilObjAssessmentFolder\_getLogLanguage(), ilObjTestAccess\_getParticipantData(), assQuestion\_getQuestionTitle(), and logAction().
Referenced by saveManualFeedback().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| $active_id | |
| $pass |
Definition at line 11763 of file class.ilObjTest.php.
References $DIC, $ilDB, and $pass.
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 9202 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 8243 of file class.ilObjTest.php.
References $DIC, $ilDB, $pass, $query, and $result.
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 11907 of file class.ilObjTest.php.
References $DIC, $ilDB, $objId, $query, $questionSetType, and $res.
Referenced by _lookupRandomTest().
Here is the caller graph for this function:
|
static |
returns the question set type of test relating to passed active id
| integer | $activeId |
Definition at line 9513 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 6665 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 10917 of file class.ilObjTest.php.
References $DIC, $ilDB, $query, getTestId(), and reindexFixedQuestionOrdering().
Here is the call graph for this function:| ilObjTest::moveQuestionAfterOLD | ( | $previous_question_id, | |
| $new_question_id | |||
| ) |
Definition at line 10744 of file class.ilObjTest.php.
References $DIC, $ilDB, $query, $res, and getTestId().
Here is the call graph for this function:| ilObjTest::moveQuestions | ( | $move_questions, | |
| $target_index, | |||
| $insert_mode | |||
| ) |
Move questions to another position.
| array | $move_questions | An array with the question id's of the questions to move |
| integer | $target_index | The question id of the target position |
| integer | $insert_mode | 0, if insert before the target position, 1 if insert after the target position @access public |
Definition at line 5503 of file class.ilObjTest.php.
References saveQuestionsToDb().
Here is the call graph for this function:| ilObjTest::participantDataExist | ( | ) |
Definition at line 11983 of file class.ilObjTest.php.
References $participantDataExist, evalTotalPersons(), and participantDataExist().
Referenced by participantDataExist().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::pcArrayShuffle | ( | $array | ) |
| 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 9322 of file class.ilObjTest.php.
References ilUtil\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 8048 of file class.ilObjTest.php.
Referenced by getAllTestResults().
Here is the caller graph for this function:| ilObjTest::processPrintoutput2FO | ( | $print_output | ) |
Convert a print output to XSL-FO.
| string | $print_output | The print output |
Definition at line 9945 of file class.ilObjTest.php.
References $config, $DIC, xslt_create(), xslt_error(), and xslt_free().
Referenced by deliverPDFfromHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::QTIMaterialToString | ( | $a_material | ) |
Reads an QTI material tag an creates a text string.
| string | $a_material | QTI material tag |
Definition at line 9249 of file class.ilObjTest.php.
References $_SESSION, $DIC, $i, and $result.
Referenced by fromXML().
Here is the caller graph for this function:| ilObjTest::questionMoveDown | ( | $question_id | ) |
Moves a question down in order.
| integer | $question_id | The database id of the question to be moved down @access public |
Definition at line 3534 of file class.ilObjTest.php.
References $data, $DIC, $ilDB, $result, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), getTestId(), loadQuestions(), and logAction().
Here is the call graph for this function:| ilObjTest::questionMoveUp | ( | $question_id | ) |
Moves a question up in order.
| integer | $question_id | The database id of the question to be moved up @access public |
Definition at line 3487 of file class.ilObjTest.php.
References $data, $DIC, $ilDB, $result, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), getTestId(), loadQuestions(), and logAction().
Here is the call graph for this function:| ilObjTest::randomSelectQuestions | ( | $nr_of_questions, | |
| $questionpool, | |||
$use_obj_id = 0, |
|||
$qpls = "", |
|||
$pass = null |
|||
| ) |
Returns a random selection of questions.
| integer | $nr_of_questions | Number of questions to return |
| integer | $questionpool | ID of questionpool to choose the questions from (0 = all available questionpools) |
| boolean | $user_obj_id | Use the object id instead of the reference id when set to true |
| array | $qpls | An array of questionpool id's if the random questions should only be chose from the contained questionpools |
Definition at line 1716 of file class.ilObjTest.php.
References $DIC, $ilDB, $result, ilObjQuestionPool\_getAvailableQuestionpools(), ilObject\_lookupObjId(), ilObject\_lookupOwner(), ilObject\getId(), and getTestId().
Here is the call graph for this function:| ilObjTest::read | ( | ) |
read object data from db into object
| boolean | @access public |
Reimplemented from ilObject.
Definition at line 778 of file class.ilObjTest.php.
References loadFromDb().
Here is the call graph for this function:| ilObjTest::recalculateScores | ( | $preserve_manscoring = false | ) |
Definition at line 11992 of file class.ilObjTest.php.
| ilObjTest::reindexFixedQuestionOrdering | ( | ) |
Definition at line 10865 of file class.ilObjTest.php.
References ilObject\$db, $DIC, ilObject\$tree, and loadQuestions().
Referenced by moveQuestionAfter(), and removeQuestions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::removeQuestion | ( | $question_id | ) |
Removes a question from the test object.
| integer | $question_id | The database id of the question to be removed @access public |
Definition at line 3354 of file class.ilObjTest.php.
References ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), _instanciateQuestion(), and logAction().
Referenced by removeQuestions().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::removeQuestionFromSequences | ( | $questionId, | |
| $activeIds, | |||
| ilTestReindexedSequencePositionMap | $reindexedSequencePositionMap | ||
| ) |
| int | $questionId | |
| array | $activeIds | |
| ilTestReindexedSequencePositionMap | $reindexedSequencePositionMap |
Definition at line 3309 of file class.ilObjTest.php.
References $DIC, $pass, and $testSequence.
| ilObjTest::removeQuestions | ( | $removeQuestionIds | ) |
| array | $removeQuestionIds |
Definition at line 3338 of file class.ilObjTest.php.
References reindexFixedQuestionOrdering(), and removeQuestion().
Here is the call graph for this function:| ilObjTest::removeTestActives | ( | $activeIds | ) |
Definition at line 3471 of file class.ilObjTest.php.
Referenced by removeTestResults(), removeTestResultsFromSoapLpAdministration(), and ilCourseObjectiveResult\resetTestForUser().
Here is the caller graph for this function:| ilObjTest::removeTestResults | ( | ilTestParticipantData | $participantData | ) |
Definition at line 3388 of file class.ilObjTest.php.
References ilTestParticipantData\getActiveIds(), ilTestParticipantData\getAnonymousActiveIds(), ilObject\getId(), ilObjectLP\getInstance(), ilTestParticipantData\getUserIds(), removeTestActives(), and removeTestResultsByActiveIds().
Referenced by deleteTest().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::removeTestResultsByActiveIds | ( | $activeIds | ) |
Definition at line 3430 of file class.ilObjTest.php.
References $DIC, $ilDB, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), CLIENT_WEB_DIR, ilUtil\delDir(), ilAssQuestionHintTracking\deleteRequestsByActiveIds(), getTestId(), isDynamicTest(), isRandomTest(), and logAction().
Referenced by removeTestResults(), and removeTestResultsByUserIds().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::removeTestResultsByUserIds | ( | $userIds | ) |
Definition at line 3407 of file class.ilObjTest.php.
References $DIC, $ilDB, ilObject\$lng, getTestId(), and removeTestResultsByActiveIds().
Referenced by removeTestResultsFromSoapLpAdministration().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::removeTestResultsFromSoapLpAdministration | ( | $userIds | ) |
this method should only be used from non refactored soap context i think
| $userIds |
Definition at line 3372 of file class.ilObjTest.php.
References $DIC, $ilDB, ilObject\$lng, getTestId(), removeTestActives(), and removeTestResultsByUserIds().
Here is the call graph for this function:| ilObjTest::saveAuthorToMetadata | ( | $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 6954 of file class.ilObjTest.php.
References $DIC, $ilUser, ilObject\getId(), and ilObject\getType().
Referenced by createMetaData(), and loadFromDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::saveCertificateVisibility | ( | $a_value | ) |
Saves the visibility settings of the certificate.
| integer | $a_value | The value for the visibility settings (0 = always, 1 = only passed, 2 = never) @access private |
Definition at line 9334 of file class.ilObjTest.php.
References $DIC, $ilDB, and getTestId().
Here is the call graph for this function:| ilObjTest::saveCompleteStatus | ( | ilTestQuestionSetConfig | $testQuestionSetConfig | ) |
Checks if the test is complete and saves the status in the database.
| ilTestQuestionSetConfig | $testQuestionSetConfig |
Definition at line 1174 of file class.ilObjTest.php.
References $DIC, $ilDB, getTestId(), and isComplete().
Referenced by insertQuestion().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::saveManualFeedback | ( | $active_id, | |
| $question_id, | |||
| $pass, | |||
| $feedback, | |||
$finalized = false, |
|||
$is_single_feedback = false |
|||
| ) |
Saves the manual feedback for a question in a test.
| integer | $active_id | Active ID of the user |
| integer | $question_id | Question ID |
| integer | $pass | Pass number |
| string | $feedback | The feedback text |
| boolean | $finalized | In Feedback is final |
| boolean | $is_single_feedback |
Definition at line 10143 of file class.ilObjTest.php.
References $DIC, $pass, ilObjAssessmentFolder\_enabledAssessmentLogging(), getSingleManualFeedback(), insertManualFeedback(), and logManualFeedback().
Here is the call graph for this function:| ilObjTest::saveQuestionsToDb | ( | ) |
Saves the test questions to the database.
@access public
Definition at line 1606 of file class.ilObjTest.php.
References $DIC, $ilDB, $index, $result, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), getTestId(), and logAction().
Referenced by moveQuestions(), and saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::saveToDb | ( | $properties_only = false | ) |
Saves a ilObjTest object to a database.
| bool | $properties_only |
Definition at line 1229 of file class.ilObjTest.php.
References $DIC, $ilDB, $ilUser, $result, ilObject\$tree, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), ilRTE\_replaceMediaObjectImageSrc(), areObligationsEnabled(), cleanupMediaobjectUsage(), ilNewsItem\deleteNewsOfContext(), evalTotalPersons(), getActivationEndingTime(), getActivationStartingTime(), getActivationVisibility(), getAllowedUsers(), getAllowedUsersTimeGap(), getAnonymity(), getAnswerFeedback(), getAnswerFeedbackPoints(), getAuthor(), getAutosave(), getAutosaveIval(), getCertificateVisibility(), getCharSelectorAvailability(), getCharSelectorDefinition(), getCountSystem(), getCustomStyle(), getECTSFX(), getECTSOutput(), getEnableArchiving(), getEnabledViewMode(), getEnableExamview(), getEnableProcessingTime(), getEndingTime(), getExportSettings(), getFinalStatement(), ilNewsItem\getFirstNewsIdForContext(), getFixedParticipants(), getForceJS(), getGenericAnswerFeedback(), getHighscoreAchievedTS(), getHighscoreAnon(), getHighscoreEnabled(), getHighscoreHints(), getHighscoreOwnTable(), getHighscorePercentage(), getHighscoreScore(), getHighscoreTopNum(), getHighscoreTopTable(), getHighscoreWTime(), ilObject\getId(), getInstantFeedbackSolution(), getIntroduction(), ilObjectActivation\getItem(), getKiosk(), getListOfQuestionsSettings(), getMailNotification(), getMailNotificationType(), getMCScoring(), getNrOfTries(), ilObject\getOfflineStatus(), getOldOnlineStatus(), getPassScoring(), getPassWaiting(), getPassword(), getPoolUsage(), getProcessingTime(), getQuestionSetType(), getRedirectionMode(), getRedirectionUrl(), getReportingDate(), getResetProcessingTime(), getResultFilterTaxIds(), getResultsPresentation(), getScoreCutting(), getScoreReporting(), getSequenceSettings(), getShowCancel(), getShowExamviewHtml(), getShowExamviewPdf(), getShowFinalStatement(), getShowInfo(), getShowMarker(), getShuffleQuestions(), getSignSubmission(), getSpecificAnswerFeedback(), getStartingTime(), getTemplate(), getTestId(), getTitleOutput(), getUsePreviousAnswers(), isActivationLimited(), isBestSolutionPrintedWithResult(), isBlockPassesAfterPassedEnabled(), isComplete(), isEndingTimeEnabled(), isFollowupQuestionAnswerFixationEnabled(), isForceInstantFeedbackEnabled(), isInstantFeedbackAnswerFixationEnabled(), isIntroductionEnabled(), isLimitUsersEnabled(), isOfferingQuestionHintsEnabled(), isPassDeletionAllowed(), isPasswordEnabled(), isShowExamIdInTestPassEnabled(), isShowExamIdInTestResultsEnabled(), isShowGradingMarkEnabled(), isShowGradingStatusEnabled(), isSkillServiceEnabled(), isStartingTimeEnabled(), isTestFinalBroken(), logAction(), NEWS_NOTICE, NEWS_USERS, saveQuestionsToDb(), ilObjectActivation\setTimingType(), ilObjectActivation\TIMINGS_ACTIVATION, and ilObjectActivation\TIMINGS_DEACTIVATED.
Referenced by applyDefaults(), and fromXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::sendAdvancedNotification | ( | $active_id | ) |
Definition at line 10595 of file class.ilObjTest.php.
References _getUserIdFromActiveId(), ANONYMOUS_USER_ID, ilObject\getOwner(), getTestParticipants(), ilObject\getTitle(), and userLookupFullName().
Here is the call graph for this function:| ilObjTest::sendSimpleNotification | ( | $active_id | ) |
Definition at line 10572 of file class.ilObjTest.php.
References _getUserIdFromActiveId(), ilObject\getOwner(), ilObject\getTitle(), and userLookupFullName().
Here is the call graph for this function:| ilObjTest::setAccessFilteredParticipantList | ( | $accessFilteredParticipantList | ) |
| ilTestParticipantList | $accessFilteredParticipantList |
Definition at line 4790 of file class.ilObjTest.php.
References $accessFilteredParticipantList.
| ilObjTest::setActivationEndingTime | ( | $ending_time = null | ) |
Definition at line 11597 of file class.ilObjTest.php.
References $ending_time.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setActivationLimited | ( | $a_value | ) |
Definition at line 11079 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setActivationStartingTime | ( | $starting_time = null | ) |
Definition at line 11592 of file class.ilObjTest.php.
References $starting_time.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setActivationVisibility | ( | $a_value | ) |
Definition at line 11064 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setAllowedUsers | ( | $a_allowed_users | ) |
Definition at line 9134 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setAllowedUsersTimeGap | ( | $a_allowed_users_time_gap | ) |
Definition at line 9144 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| 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 9385 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setAnswerFeedback | ( | $answer_feedback = 0 | ) |
Sets the generic feedback for the test @deprecate Use setGenericAnswerFeedback instead.
| integer | $answer_feedback | If 1, answer specific feedback will be shown after answering a question @access public |
Definition at line 2336 of file class.ilObjTest.php.
References $answer_feedback.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setAnswerFeedbackPoints | ( | $answer_feedback_points = 0 | ) |
Sets the answer specific feedback of reached points for the test.
| integer | $answer_feedback_points | If 1, answer specific feedback will show the reached points after answering a question @access public |
Definition at line 2372 of file class.ilObjTest.php.
References $answer_feedback_points.
Referenced by applyDefaults(), fromXML(), loadFromDb(), and setInstantFeedbackOptionsByArray().
Here is the caller graph for this function:| ilObjTest::setAuthor | ( | $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 6940 of file class.ilObjTest.php.
References $author.
Referenced by fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setAutosave | ( | $autosave | ) |
Definition at line 11501 of file class.ilObjTest.php.
References $autosave.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setAutosaveIval | ( | $autosave_ival | ) |
Definition at line 11511 of file class.ilObjTest.php.
References $autosave_ival.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setBlockPassesAfterPassedEnabled | ( | $blockPassesAfterPassedEnabled | ) |
| bool | $blockPassesAfterPassedEnabled |
Definition at line 2656 of file class.ilObjTest.php.
References $blockPassesAfterPassedEnabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setCertificateVisibility | ( | $a_value | ) |
Sets the visibility settings of the certificate.
| integer | $a_value | The value for the visibility settings (0 = always, 1 = only passed, 2 = never) @access public |
Definition at line 9363 of file class.ilObjTest.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjTest::setCharSelectorAvailability | ( | $availability | ) |
| int | availability of the special character selector |
Definition at line 11850 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setCharSelectorDefinition | ( | $definition = '' | ) |
| string | definition of the special character selector |
Definition at line 11866 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setClientIP | ( | $user_id, | |
| $client_ip | |||
| ) |
Definition at line 7838 of file class.ilObjTest.php.
References $DIC, $ilDB, and getTestId().
Here is the call graph for this function:| ilObjTest::setCountSystem | ( | $a_count_system = COUNT_PARTIAL_SOLUTIONS | ) |
Sets the count system for the calculation of points.
| integer | $a_count_system | The count system for the calculation of points. @access public |
Definition at line 3190 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setCustomStyle | ( | $a_customStyle = null | ) |
Set the custom style.
| string | $a_customStyle | The custom style @access public |
Definition at line 2125 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setECTSFX | ( | $a_ects_fx | ) |
{
| float | null | $ects_fx |
Implements ilEctsGradesEnabled.
Definition at line 2241 of file class.ilObjTest.php.
Referenced by applyDefaults(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setECTSGrades | ( | array | $a_ects_grades | ) |
{
| array | $grades |
Implements ilEctsGradesEnabled.
Definition at line 2257 of file class.ilObjTest.php.
Referenced by applyDefaults(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setECTSOutput | ( | $a_ects_output | ) |
{
| int | bool | $status |
Implements ilEctsGradesEnabled.
Definition at line 2225 of file class.ilObjTest.php.
Referenced by applyDefaults(), loadFromDb(), and setReportingDate().
Here is the caller graph for this function:| ilObjTest::setEnableArchiving | ( | $enable_archiving | ) |
| boolean | $enable_archiving |
Definition at line 11725 of file class.ilObjTest.php.
References $enable_archiving.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setEnabledViewMode | ( | $mode | ) |
Definition at line 10729 of file class.ilObjTest.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjTest::setEnableExamview | ( | $enable_examview | ) |
| boolean | $enable_examview |
Definition at line 11577 of file class.ilObjTest.php.
References $enable_examview.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| 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 3158 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| 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 3062 of file class.ilObjTest.php.
References $ending_time.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setEndingTimeEnabled | ( | $ending_time_enabled | ) |
| boolean | $ending_time_enabled |
Definition at line 3038 of file class.ilObjTest.php.
References $ending_time_enabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setExportSettings | ( | $a_settings | ) |
Definition at line 10695 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setExportSettingsSingleChoiceShort | ( | $a_settings | ) |
Definition at line 10713 of file class.ilObjTest.php.
References getExportSettingsSingleChoiceShort().
Here is the call graph for this function:| ilObjTest::setFinalStatement | ( | $a_statement = "" | ) |
Sets the final statement text of the ilObjTest object.
| string | $a_statement | A final statement @access public |
Definition at line 2086 of file class.ilObjTest.php.
References getHtmlQuestionContentPurifier().
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 9472 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setFollowupQuestionAnswerFixationEnabled | ( | $followupQuestionAnswerFixationEnabled | ) |
Definition at line 12102 of file class.ilObjTest.php.
References $followupQuestionAnswerFixationEnabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setForceInstantFeedbackEnabled | ( | $forceInstantFeedbackEnabled | ) |
| boolean | $forceInstantFeedbackEnabled |
Definition at line 12133 of file class.ilObjTest.php.
References $forceInstantFeedbackEnabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| 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 2113 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setGenericAnswerFeedback | ( | $generic_answer_feedback = 0 | ) |
Sets if the generic feedback is to be shown in the test.
| int | $generic_answer_feedback |
Definition at line 2353 of file class.ilObjTest.php.
Referenced by setInstantFeedbackOptionsByArray().
Here is the caller graph for this function:| ilObjTest::setHighscoreAchievedTS | ( | $a_achieved_ts | ) |
Sets if the date and time of the scores achievement should be displayed.
| bool | $a_achieved_ts |
Definition at line 11154 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setHighscoreAnon | ( | $a_anon | ) |
Sets if the highscores should be anonymized.
Note: This setting will be overriden, if the test is globally anonymized.
| bool | $a_anon |
Definition at line 11113 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setHighscoreEnabled | ( | $a_enabled | ) |
Sets if the highscore feature should be enabled.
| bool | $a_enabled |
Definition at line 11091 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setHighscoreHints | ( | $a_hints | ) |
Sets if the number of requested hints should be shown.
| bool | $a_hints |
Definition at line 11214 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setHighscoreMode | ( | $mode | ) |
| $mode | int |
Definition at line 11342 of file class.ilObjTest.php.
References HIGHSCORE_SHOW_ALL_TABLES, HIGHSCORE_SHOW_OWN_TABLE, HIGHSCORE_SHOW_TOP_TABLE, setHighscoreOwnTable(), and setHighscoreTopTable().
Here is the call graph for this function:| ilObjTest::setHighscoreOwnTable | ( | $a_own_table | ) |
Sets if the table with the own ranking should be shown.
| bool | $a_own_table | True, if table with own ranking should be shown. |
Definition at line 11254 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), loadFromDb(), and setHighscoreMode().
Here is the caller graph for this function:| ilObjTest::setHighscorePercentage | ( | $a_percentage | ) |
Sets if the percentages of the scores pass should be shown.
| bool | $a_percentage |
Definition at line 11194 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setHighscoreScore | ( | $a_score | ) |
Sets if the actual score should be displayed.
| bool | $a_score |
Definition at line 11174 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setHighscoreTopNum | ( | $a_top_num | ) |
Sets the number of entries which are to be shown in the top-rankings table.
| integer | $a_top_num | Number of entries in the top-rankings table. |
Definition at line 11295 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setHighscoreTopTable | ( | $a_top_table | ) |
Sets if the top-rankings table should be shown.
| bool | $a_top_table |
Definition at line 11274 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), loadFromDb(), and setHighscoreMode().
Here is the caller graph for this function:| ilObjTest::setHighscoreWTime | ( | $a_wtime | ) |
Sets if the workingtime of the scores should be shown.
| bool | $a_wtime |
Definition at line 11234 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setInstantFeedbackAnswerFixationEnabled | ( | $instantFeedbackAnswerFixationEnabled | ) |
Definition at line 12112 of file class.ilObjTest.php.
References $instantFeedbackAnswerFixationEnabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setInstantFeedbackOptionsByArray | ( | $options | ) |
Definition at line 10817 of file class.ilObjTest.php.
References setAnswerFeedbackPoints(), setGenericAnswerFeedback(), setInstantFeedbackSolution(), and setSpecificAnswerFeedback().
Here is the call graph for this function:| ilObjTest::setInstantFeedbackSolution | ( | $instant_feedback = 0 | ) |
Sets the instant feedback for the solution.
| integer | $instant_feedback | If 1, the solution will be shown after answering a question @access public |
Definition at line 2317 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), loadFromDb(), and setInstantFeedbackOptionsByArray().
Here is the caller graph for this function:| ilObjTest::setIntroduction | ( | $introduction = "" | ) |
Sets the introduction text of the ilObjTest object.
| string | $introduction | An introduction string for the test @access public |
Definition at line 2070 of file class.ilObjTest.php.
References $introduction, and getHtmlQuestionContentPurifier().
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::setIntroductionEnabled | ( | $introductionEnabled | ) |
| boolean | $introductionEnabled |
Definition at line 2047 of file class.ilObjTest.php.
References $introductionEnabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setKiosk | ( | $kiosk = 0 | ) |
Sets the kiosk mode for the test.
| integer | $kiosk | The value for the kiosk mode. @access public |
Definition at line 2681 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| 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 2709 of file class.ilObjTest.php.
References getKioskMode().
Here is the call graph for this function:| ilObjTest::setLimitUsersEnabled | ( | $limitUsersEnabled | ) |
| boolean | $limitUsersEnabled |
Definition at line 9124 of file class.ilObjTest.php.
References $limitUsersEnabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| 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 8699 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 8795 of file class.ilObjTest.php.
References getListOfQuestions(), and getListOfQuestionsDescription().
Here is the call graph for this function:| 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 8762 of file class.ilObjTest.php.
References getListOfQuestions(), and getListOfQuestionsEnd().
Here is the call graph for this function:| 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 8673 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| 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 8729 of file class.ilObjTest.php.
References getListOfQuestions(), and getListOfQuestionsStart().
Here is the call graph for this function:| ilObjTest::setMailNotification | ( | $a_notification | ) |
Set mail notification settings.
| $a_notification | Mail notification setting |
Definition at line 10567 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setMailNotificationType | ( | $a_type | ) |
Definition at line 10677 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setMCScoring | ( | $a_mc_scoring = SCORE_ZERO_POINTS_WHEN_UNANSWERED | ) |
Sets the multiple choice scoring.
| integer | $a_mc_scoring | The scoring for multiple choice questions @access public |
Definition at line 3254 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| 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 3074 of file class.ilObjTest.php.
References $nr_of_tries.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setObligationsEnabled | ( | $obligationsEnabled = true | ) |
sets obligations enabled/disabled
| boolean | $obligationsEnabled |
Definition at line 11391 of file class.ilObjTest.php.
References $obligationsEnabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setOfferingQuestionHintsEnabled | ( | $offeringQuestionHintsEnabled | ) |
sets offering question hints enabled/disabled
| boolean | $offeringQuestionHintsEnabled |
Definition at line 11059 of file class.ilObjTest.php.
References $offeringQuestionHintsEnabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setOldOnlineStatus | ( | $oldOnlineStatus | ) |
| null | $oldOnlineStatus |
Definition at line 11029 of file class.ilObjTest.php.
References $oldOnlineStatus.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjTest::setOnline | ( | $a_online = true | ) |
Definition at line 11013 of file class.ilObjTest.php.
Referenced by ilTestImporter\importQuestionSkillAssignments().
Here is the caller graph for this function:| ilObjTest::setPassDeletionAllowed | ( | $passDeletionAllowed | ) |
setter for the test setting passDeletionAllowed
Definition at line 11536 of file class.ilObjTest.php.
References $passDeletionAllowed.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setPassScoring | ( | $a_pass_scoring = SCORE_LAST_PASS | ) |
Sets the pass scoring.
| integer | $a_pass_scoring | The pass scoring type @access public |
Definition at line 3266 of file class.ilObjTest.php.
References SCORE_BEST_PASS, and SCORE_LAST_PASS.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setPassWaiting | ( | $pass_waiting | ) |
| string | $pass_waiting | mm:ddd:hh:ii:ss |
Definition at line 3289 of file class.ilObjTest.php.
References $pass_waiting.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setPassword | ( | $a_password = null | ) |
Sets the password for test access.
| string | $a_password | The password for test access @access public |
Definition at line 3230 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setPasswordEnabled | ( | $passwordEnabled | ) |
| boolean | $passwordEnabled |
Definition at line 3206 of file class.ilObjTest.php.
References $passwordEnabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setPoolUsage | ( | $usage | ) |
Definition at line 10857 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setPostponingEnabled | ( | $postponingEnabled | ) |
| bool | $postponingEnabled |
Definition at line 2293 of file class.ilObjTest.php.
References setSequenceSettings().
Here is the call graph for this function:| ilObjTest::setPrintBestSolutionWithResult | ( | $status | ) |
Definition at line 11034 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| 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 3141 of file class.ilObjTest.php.
References $processing_time.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setProcessingTimeByMinutes | ( | $minutes | ) |
Definition at line 3146 of file class.ilObjTest.php.
| ilObjTest::setQuestionOrderAndObligations | ( | $orders, | |
| $obligations | |||
| ) |
Definition at line 10884 of file class.ilObjTest.php.
References $DIC, $i, ilObject\$id, $ilDB, $query, and loadQuestions().
Here is the call graph for this function:| ilObjTest::setQuestionSetSolved | ( | $value, | |
| $question_id, | |||
| $user_id | |||
| ) |
sets question solved state to value for given user_id
Definition at line 7883 of file class.ilObjTest.php.
References $DIC, $ilDB, and getActiveIdOfUser().
Here is the call graph for this function:| ilObjTest::setQuestionSetType | ( | $questionSetType | ) |
setter for question set type
| string | $questionSetType |
Definition at line 11885 of file class.ilObjTest.php.
References $questionSetType.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setRedirectionMode | ( | $redirection_mode = 0 | ) |
Definition at line 3095 of file class.ilObjTest.php.
References $redirection_mode.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setRedirectionUrl | ( | $redirection_url = null | ) |
Definition at line 3103 of file class.ilObjTest.php.
References $redirection_url.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setReportingDate | ( | $reporting_date | ) |
Sets the reporting date of the ilObjTest object.
| timestamp | $reporting_date | The date and time the score reporting is available |
Definition at line 2388 of file class.ilObjTest.php.
References $reporting_date, and setECTSOutput().
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 3174 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setResultFilterTaxIds | ( | $resultFilterTaxIds | ) |
Definition at line 12045 of file class.ilObjTest.php.
References $resultFilterTaxIds.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setResultsPresentation | ( | $a_results_presentation = 3 | ) |
Sets the combined results presentation value.
| integer | $a_results_presentation | The combined results presentation value @access public |
Definition at line 8940 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setResultsPresentationOptionsByArray | ( | $options | ) |
Definition at line 10832 of file class.ilObjTest.php.
| ilObjTest::setScoreCutting | ( | $a_score_cutting = SCORE_CUT_QUESTION | ) |
Sets the type of score cutting.
| integer | $a_score_cutting | The type of score cutting. 0 for cut questions, 1 for cut tests @access public |
Definition at line 3242 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setScoreReporting | ( | $score_reporting = 0 | ) |
Sets the score reporting of the ilObjTest object.
| integer | $score_reporting | The score reporting @access public |
Definition at line 2305 of file class.ilObjTest.php.
References $score_reporting.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setSequenceSettings | ( | $sequence_settings = 0 | ) |
SEQUENCE SETTING = POSTPONING ENABLED !!
| integer | $sequence_settings | The POSTPONING ENABLED status |
Definition at line 2277 of file class.ilObjTest.php.
References $sequence_settings.
Referenced by applyDefaults(), fromXML(), loadFromDb(), and setPostponingEnabled().
Here is the caller graph for this function:| 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 9414 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setShowExamIdInTestPassEnabled | ( | $show_exam_id_in_test_pass_enabled | ) |
Definition at line 11805 of file class.ilObjTest.php.
References $show_exam_id_in_test_pass_enabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setShowExamIdInTestResultsEnabled | ( | $show_exam_id_in_test_results_enabled | ) |
| boolean | $show_exam_id |
Definition at line 11818 of file class.ilObjTest.php.
References $show_exam_id_in_test_results_enabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setShowExamviewHtml | ( | $show_examview_html | ) |
| boolean | $show_examview_html |
Definition at line 11545 of file class.ilObjTest.php.
References $show_examview_html.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setShowExamviewPdf | ( | $show_examview_pdf | ) |
| boolean | $show_examview_pdf |
Definition at line 11561 of file class.ilObjTest.php.
References $show_examview_pdf.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| 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 2150 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setShowGradingMarkEnabled | ( | $showGradingMarkEnabled | ) |
Definition at line 12091 of file class.ilObjTest.php.
References $showGradingMarkEnabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setShowGradingStatusEnabled | ( | $showGradingStatusEnabled | ) |
Definition at line 12081 of file class.ilObjTest.php.
References $showGradingStatusEnabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| 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 2101 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| 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 2775 of file class.ilObjTest.php.
References getShowKioskModeParticipant().
Here is the call graph for this function:| 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 2742 of file class.ilObjTest.php.
References getShowKioskModeTitle().
Here is the call graph for this function:| 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 9443 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setShowPassDetails | ( | $a_details = 1 | ) |
Sets if the pass details should be shown when a test is not finished.
Sets if the pass details should be shown when a test is not finished
| boolean | $a_details | TRUE if the pass details should be shown, FALSE otherwise @access public |
Definition at line 8953 of file class.ilObjTest.php.
References getShowPassDetails().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::setShowSolutionAnswersOnly | ( | $a_full = true | ) |
Set to true, if the full solution (including the ILIAS content pages) should be shown in the solution output.
| boolean | $a_full | TRUE if the full solution should be shown in the solution output, FALSE otherwise @access public |
Definition at line 9032 of file class.ilObjTest.php.
References getShowSolutionAnswersOnly().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::setShowSolutionDetails | ( | $a_details = 1 | ) |
Sets if the the solution details should be presented to the user or not.
| integer | $a_details | 1 if the solution details should be presented, 0 otherwise @access public |
Definition at line 8970 of file class.ilObjTest.php.
References getShowSolutionDetails().
Referenced by __construct(), and fromXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::setShowSolutionFeedback | ( | $a_feedback = true | ) |
Sets if the the feedback should be presented to the user in the solution or not.
| boolean | $a_feedback | TRUE if the feedback should be presented in the solution, FALSE otherwise @access public |
Definition at line 9015 of file class.ilObjTest.php.
References getShowSolutionFeedback().
Here is the call graph for this function:| ilObjTest::setShowSolutionListComparison | ( | $a_comparison = false | ) |
Set to TRUE, if the list of answers should be shown prior to finish the test.
| boolean | $a_comparison | TRUE if the list of answers should be shown prior to finish the test, FALSE otherwise |
Definition at line 9082 of file class.ilObjTest.php.
References getShowSolutionListComparison().
Here is the call graph for this function:| ilObjTest::setShowSolutionPrintview | ( | $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 8998 of file class.ilObjTest.php.
References getShowSolutionPrintview().
Referenced by fromXML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::setShowSolutionSignature | ( | $a_signature = false | ) |
Set to TRUE, if the signature field should be shown in the solution.
| boolean | $a_signature | TRUE if the signature field should be shown, FALSE otherwise @access public |
Definition at line 9049 of file class.ilObjTest.php.
References getShowSolutionSignature().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::setShowSolutionSuggested | ( | $a_solution = false | ) |
Set to TRUE, if the suggested solution should be shown in the solution.
| boolean | $a_solution | TRUE if the suggested solution should be shown, FALSE otherwise @access public |
Definition at line 9066 of file class.ilObjTest.php.
References getShowSolutionSuggested().
Here is the call graph for this function:| 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 8639 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setSignSubmission | ( | $sign_submission | ) |
| boolean | $sign_submission |
Definition at line 11834 of file class.ilObjTest.php.
References $sign_submission.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setSkillServiceEnabled | ( | $skillServiceEnabled | ) |
Definition at line 12035 of file class.ilObjTest.php.
References $skillServiceEnabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setSpecificAnswerFeedback | ( | $specific_answer_feedback | ) |
Definition at line 11364 of file class.ilObjTest.php.
Referenced by applyDefaults(), fromXML(), loadFromDb(), and setInstantFeedbackOptionsByArray().
Here is the caller graph for this function:| 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 3022 of file class.ilObjTest.php.
References $starting_time.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setStartingTimeEnabled | ( | $starting_time_enabled | ) |
| boolean | $starting_time_enabled |
Definition at line 2998 of file class.ilObjTest.php.
References $starting_time_enabled.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setTemplate | ( | $template_id | ) |
Definition at line 10734 of file class.ilObjTest.php.
References $template_id.
Referenced by ilLOEditorGUI\applySettingsTemplate(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setTestFinalBroken | ( | $testFinalBroken | ) |
| boolean | $testFinalBroken |
Definition at line 12214 of file class.ilObjTest.php.
References $testFinalBroken.
Referenced by loadFromDb().
Here is the caller graph for this function:| ilObjTest::setTestId | ( | $a_id | ) |
Sets the test ID.
| integer | $a_id | Test ID |
Definition at line 10270 of file class.ilObjTest.php.
Referenced by loadFromDb().
Here is the caller graph for this function:| 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 3119 of file class.ilObjTest.php.
References $title_output.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| ilObjTest::setTmpCopyWizardCopyId | ( | $tmpCopyWizardCopyId | ) |
| int | $tmpCopyWizardCopyId |
Definition at line 736 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 3086 of file class.ilObjTest.php.
References $use_previous_answers.
Referenced by applyDefaults(), fromXML(), and loadFromDb().
Here is the caller graph for this function:| 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 5542 of file class.ilObjTest.php.
References getStartingTime(), and isStartingTimeEnabled().
Referenced by isExecutable().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjTest::startWorkingTime | ( | $active_id, | |
| $pass | |||
| ) |
Write the initial entry for the tests working time to the database.
| integer | $user_id | The database id of the user working with the test @access public |
Definition at line 3818 of file class.ilObjTest.php.
| ilObjTest::toXML | ( | ) |
Returns a QTI xml representation of the test.
Definition at line 6055 of file class.ilObjTest.php.
References $data, $index, $xml, addQTIMaterial(), areObligationsEnabled(), buildIso8601PeriodFromUnixtimeForExportCompatibility(), getActivationEndingTime(), getActivationStartingTime(), getActivationVisibility(), getAllowedUsers(), getAllowedUsersTimeGap(), getAnonymity(), getAnswerFeedback(), getAnswerFeedbackPoints(), getAuthor(), getAutosave(), getAutosaveIval(), getCharSelectorAvailability(), getCharSelectorDefinition(), getCountSystem(), getCustomStyle(), ilObject\getDescription(), getEnableArchiving(), getEnableExamview(), getEnableProcessingTime(), getEndingTime(), getExportSettings(), getFinalStatement(), getFixedParticipants(), getForceJS(), getHighscoreAchievedTS(), getHighscoreAnon(), getHighscoreEnabled(), getHighscoreHints(), getHighscoreOwnTable(), getHighscorePercentage(), getHighscoreScore(), getHighscoreTopNum(), getHighscoreTopTable(), getHighscoreWTime(), getInstantFeedbackSolution(), getIntroduction(), getKiosk(), getListOfQuestionsSettings(), getMailNotification(), getMailNotificationType(), getMCScoring(), getNrOfTries(), getPassScoring(), getPassWaiting(), getPassword(), getPoolUsage(), getProcessingTime(), getQuestionSetType(), getRedirectionMode(), getRedirectionUrl(), getReportingDate(), getResetProcessingTime(), getResultFilterTaxIds(), getResultsPresentation(), getScoreCutting(), getScoreReporting(), getSequenceSettings(), getShowCancel(), getShowExamviewHtml(), getShowExamviewPdf(), getShowFinalStatement(), getShowInfo(), getShowMarker(), getShowSolutionDetails(), getShuffleQuestions(), getSignSubmission(), getSpecificAnswerFeedback(), getStartingTime(), getTestId(), ilObject\getTitle(), getTitleOutput(), getUsePreviousAnswers(), IL_INST_ID, isActivationLimited(), isBestSolutionPrintedWithResult(), isBlockPassesAfterPassedEnabled(), isFollowupQuestionAnswerFixationEnabled(), isForceInstantFeedbackEnabled(), isInstantFeedbackAnswerFixationEnabled(), isOfferingQuestionHintsEnabled(), isPassDeletionAllowed(), isShowExamIdInTestPassEnabled(), isShowExamIdInTestResultsEnabled(), isShowGradingMarkEnabled(), isShowGradingStatusEnabled(), isSkillServiceEnabled(), and ilXmlWriter\xmlHeader().
Here is the call graph for this function:| ilObjTest::update | ( | ) |
update object data
@access public
Reimplemented from ilObject.
Definition at line 762 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 3838 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 9571 of file class.ilObjTest.php.
References ilObjUser\_lookupName(), and getAnonymity().
Referenced by sendAdvancedNotification(), and sendSimpleNotification().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 456 of file class.ilObjTest.php.
|
private |
Definition at line 435 of file class.ilObjTest.php.
|
private |
Definition at line 449 of file class.ilObjTest.php.
|
protected |
Definition at line 82 of file class.ilObjTest.php.
|
private |
Definition at line 428 of file class.ilObjTest.php.
|
private |
Definition at line 442 of file class.ilObjTest.php.
|
protected |
Definition at line 4777 of file class.ilObjTest.php.
Referenced by getAccessFilteredParticipantList(), and setAccessFilteredParticipantList().
|
protected |
Definition at line 493 of file class.ilObjTest.php.
|
protected |
Definition at line 491 of file class.ilObjTest.php.
|
protected |
Definition at line 489 of file class.ilObjTest.php.
Referenced by getActivationVisibility().
|
protected |
Definition at line 358 of file class.ilObjTest.php.
|
protected |
Definition at line 365 of file class.ilObjTest.php.
| ilObjTest::$anonymity |
Definition at line 379 of file class.ilObjTest.php.
| ilObjTest::$answer_feedback |
Definition at line 407 of file class.ilObjTest.php.
Referenced by setAnswerFeedback().
| ilObjTest::$answer_feedback_points |
Definition at line 174 of file class.ilObjTest.php.
Referenced by setAnswerFeedbackPoints().
| ilObjTest::$author |
Definition at line 104 of file class.ilObjTest.php.
Referenced by _lookupAuthor(), getAuthor(), and setAuthor().
|
protected |
Definition at line 495 of file class.ilObjTest.php.
Referenced by getAutosave(), and setAutosave().
|
protected |
Definition at line 497 of file class.ilObjTest.php.
Referenced by getAutosaveIval(), and setAutosaveIval().
|
protected |
Definition at line 201 of file class.ilObjTest.php.
Referenced by isBlockPassesAfterPassedEnabled(), and setBlockPassesAfterPassedEnabled().
| ilObjTest::$certificate_visibility |
Definition at line 372 of file class.ilObjTest.php.
|
protected |
Definition at line 546 of file class.ilObjTest.php.
Referenced by getCharSelectorAvailability().
|
protected |
Definition at line 549 of file class.ilObjTest.php.
Referenced by getCharSelectorDefinition().
| ilObjTest::$count_system |
Definition at line 291 of file class.ilObjTest.php.
|
protected |
Definition at line 276 of file class.ilObjTest.php.
|
protected |
Definition at line 282 of file class.ilObjTest.php.
Referenced by getECTSGrades().
|
protected |
Definition at line 270 of file class.ilObjTest.php.
|
protected |
Definition at line 524 of file class.ilObjTest.php.
Referenced by getEnableArchiving(), and setEnableArchiving().
|
protected |
Definition at line 515 of file class.ilObjTest.php.
Referenced by getEnableExamview(), and setEnableExamview().
| ilObjTest::$enable_processing_time |
Definition at line 233 of file class.ilObjTest.php.
|
protected |
Definition at line 264 of file class.ilObjTest.php.
Referenced by setActivationEndingTime(), and setEndingTime().
|
protected |
Definition at line 257 of file class.ilObjTest.php.
Referenced by isEndingTimeEnabled(), and setEndingTimeEnabled().
| ilObjTest::$evaluation_data |
Definition at line 191 of file class.ilObjTest.php.
|
protected |
Definition at line 462 of file class.ilObjTest.php.
Referenced by getExportSettings().
| ilObjTest::$fixed_participants |
Definition at line 400 of file class.ilObjTest.php.
|
protected |
Definition at line 564 of file class.ilObjTest.php.
Referenced by isFollowupQuestionAnswerFixationEnabled(), and setFollowupQuestionAnswerFixationEnabled().
|
protected |
Definition at line 574 of file class.ilObjTest.php.
Referenced by isForceInstantFeedbackEnabled(), and setForceInstantFeedbackEnabled().
| ilObjTest::$instant_verification |
Definition at line 167 of file class.ilObjTest.php.
|
protected |
Definition at line 569 of file class.ilObjTest.php.
Referenced by isInstantFeedbackAnswerFixationEnabled(), and setInstantFeedbackAnswerFixationEnabled().
|
protected |
Definition at line 131 of file class.ilObjTest.php.
Referenced by setIntroduction().
|
protected |
Definition at line 123 of file class.ilObjTest.php.
Referenced by isIntroductionEnabled(), and setIntroductionEnabled().
| ilObjTest::$invitation = INVITATION_OFF |
Definition at line 96 of file class.ilObjTest.php.
|
staticprivate |
Definition at line 12068 of file class.ilObjTest.php.
Referenced by isSkillManagementGloballyActivated().
|
protected |
Definition at line 351 of file class.ilObjTest.php.
Referenced by isLimitUsersEnabled(), and setLimitUsersEnabled().
|
protected |
Definition at line 458 of file class.ilObjTest.php.
Referenced by getMailNotification().
|
protected |
Definition at line 460 of file class.ilObjTest.php.
Referenced by getMailNotificationType().
| ilObjTest::$mark_schema |
Definition at line 138 of file class.ilObjTest.php.
Referenced by getMarkSchema().
| ilObjTest::$mc_scoring |
Definition at line 298 of file class.ilObjTest.php.
| ilObjTest::$metadata |
Definition at line 111 of file class.ilObjTest.php.
Referenced by fromXML().
| ilObjTest::$nr_of_tries |
Definition at line 199 of file class.ilObjTest.php.
Referenced by setNrOfTries().
|
private |
Definition at line 487 of file class.ilObjTest.php.
Referenced by areObligationsEnabled(), and setObligationsEnabled().
|
private |
Definition at line 480 of file class.ilObjTest.php.
Referenced by isOfferingQuestionHintsEnabled(), and setOfferingQuestionHintsEnabled().
|
protected |
Definition at line 468 of file class.ilObjTest.php.
Referenced by getOldOnlineStatus(), and setOldOnlineStatus().
|
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 512 of file class.ilObjTest.php.
Referenced by participantDataExist().
| ilObjTest::$pass_scoring |
Definition at line 305 of file class.ilObjTest.php.
|
protected |
Definition at line 589 of file class.ilObjTest.php.
Referenced by getPassWaiting(), and setPassWaiting().
|
private |
Definition at line 505 of file class.ilObjTest.php.
Referenced by isPassDeletionAllowed(), and setPassDeletionAllowed().
|
protected |
Definition at line 346 of file class.ilObjTest.php.
|
protected |
Definition at line 339 of file class.ilObjTest.php.
Referenced by isPasswordEnabled(), and setPasswordEnabled().
|
protected |
Definition at line 464 of file class.ilObjTest.php.
Referenced by getPoolUsage().
|
protected |
Definition at line 473 of file class.ilObjTest.php.
Referenced by isBestSolutionPrintedWithResult().
| ilObjTest::$processing_time |
Definition at line 226 of file class.ilObjTest.php.
Referenced by isMaxProcessingTimeReached(), and setProcessingTime().
| ilObjTest::$questions |
Definition at line 118 of file class.ilObjTest.php.
Referenced by getQuestions(), getTestQuestions(), and hasQuestionsWithoutQuestionpool().
|
private |
Definition at line 63 of file class.ilObjTest.php.
Referenced by _getQuestionCountAndPointsForPassOfParticipant(), getQuestionSetType(), getQuestionSetTypeTranslation(), lookupQuestionSetType(), and setQuestionSetType().
|
private |
Definition at line 529 of file class.ilObjTest.php.
Referenced by getRedirectionMode(), and setRedirectionMode().
|
private |
Definition at line 534 of file class.ilObjTest.php.
Referenced by getRedirectionUrl(), and setRedirectionUrl().
| ilObjTest::$reporting_date |
Definition at line 184 of file class.ilObjTest.php.
Referenced by setReportingDate().
| ilObjTest::$reset_processing_time |
Definition at line 240 of file class.ilObjTest.php.
|
private |
Definition at line 73 of file class.ilObjTest.php.
Referenced by getResultFilterTaxIds(), and setResultFilterTaxIds().
| ilObjTest::$results_presentation |
Definition at line 320 of file class.ilObjTest.php.
| ilObjTest::$score_cutting |
Definition at line 334 of file class.ilObjTest.php.
| ilObjTest::$score_reporting |
Definition at line 158 of file class.ilObjTest.php.
Referenced by setScoreReporting().
| ilObjTest::$sequence_settings |
Definition at line 147 of file class.ilObjTest.php.
Referenced by setSequenceSettings().
| ilObjTest::$show_cancel |
Definition at line 386 of file class.ilObjTest.php.
|
protected |
Definition at line 537 of file class.ilObjTest.php.
Referenced by isShowExamIdInTestPassEnabled(), and setShowExamIdInTestPassEnabled().
|
protected |
Definition at line 540 of file class.ilObjTest.php.
Referenced by isShowExamIdInTestResultsEnabled(), and setShowExamIdInTestResultsEnabled().
|
protected |
Definition at line 518 of file class.ilObjTest.php.
Referenced by getShowExamviewHtml(), and setShowExamviewHtml().
|
protected |
Definition at line 521 of file class.ilObjTest.php.
Referenced by getShowExamviewPdf(), and setShowExamviewPdf().
| ilObjTest::$show_marker |
Definition at line 393 of file class.ilObjTest.php.
| ilObjTest::$show_summary |
Definition at line 327 of file class.ilObjTest.php.
|
protected |
Definition at line 559 of file class.ilObjTest.php.
Referenced by isShowGradingMarkEnabled(), and setShowGradingMarkEnabled().
|
protected |
Definition at line 554 of file class.ilObjTest.php.
Referenced by isShowGradingStatusEnabled(), and setShowGradingStatusEnabled().
| ilObjTest::$shuffle_questions |
Definition at line 313 of file class.ilObjTest.php.
|
protected |
Definition at line 543 of file class.ilObjTest.php.
Referenced by getSignSubmission(), and setSignSubmission().
|
private |
Definition at line 68 of file class.ilObjTest.php.
Referenced by isSkillServiceEnabled(), and setSkillServiceEnabled().
|
protected |
Definition at line 252 of file class.ilObjTest.php.
Referenced by isExecutable(), isMaxProcessingTimeReached(), setActivationStartingTime(), and setStartingTime().
|
protected |
Definition at line 245 of file class.ilObjTest.php.
Referenced by isStartingTimeEnabled(), and setStartingTimeEnabled().
|
private |
Definition at line 466 of file class.ilObjTest.php.
Referenced by getTemplate(), and setTemplate().
| ilObjTest::$test_id |
Definition at line 89 of file class.ilObjTest.php.
Referenced by _evalResultsOverview(), _getActiveIdOfUser(), _getCompleteWorkingTimeOfParticipants(), _getObjectIDFromTestID(), _getTestIDFromObjectID(), _getVisitTimeOfParticipant(), allObligationsAnswered(), getTestId(), and hasObligations().
|
protected |
Definition at line 579 of file class.ilObjTest.php.
Referenced by isTestFinalBroken(), and setTestFinalBroken().
| ilObjTest::$testSequence |
Definition at line 421 of file class.ilObjTest.php.
Referenced by ensureParticipantsLastActivePassFinished(), getAnsweredQuestionCount(), getTestResult(), isParticipantsLastPassActive(), and removeQuestionFromSequences().
| ilObjTest::$testSession |
Definition at line 414 of file class.ilObjTest.php.
Referenced by canShowCertificate(), canShowTestResults(), ensureParticipantsLastActivePassFinished(), getAnsweredQuestionCount(), getTestResult(), hasAnyTestResult(), isExecutable(), and isParticipantsLastPassActive().
| ilObjTest::$title_output |
Definition at line 219 of file class.ilObjTest.php.
Referenced by setTitleOutput().
|
private |
Definition at line 584 of file class.ilObjTest.php.
Referenced by getTmpCopyWizardCopyId(), and setTmpCopyWizardCopyId().
| ilObjTest::$use_previous_answers |
Definition at line 209 of file class.ilObjTest.php.
Referenced by _getUsePreviousAnswers(), and setUsePreviousAnswers().
| const ilObjTest::DEFAULT_PROCESSING_TIME_MINUTES = 90 |
Definition at line 24 of file class.ilObjTest.php.
Referenced by getProcessingTimeAsMinutes().
| const ilObjTest::HIGHSCORE_SHOW_ALL_TABLES = 3 |
Definition at line 56 of file class.ilObjTest.php.
Referenced by ilObjTestSettingsScoringResultsGUI\addResultDetailsSettingsFormSection(), getHighscoreMode(), ilTestToplistGUI\isOwnRankingTableRequired(), ilTestToplistGUI\isTopTenRankingTableRequired(), and setHighscoreMode().
| const ilObjTest::HIGHSCORE_SHOW_OWN_TABLE = 1 |
Definition at line 46 of file class.ilObjTest.php.
Referenced by ilObjTestSettingsScoringResultsGUI\addResultDetailsSettingsFormSection(), getHighscoreMode(), ilTestToplistGUI\isOwnRankingTableRequired(), and setHighscoreMode().
| const ilObjTest::HIGHSCORE_SHOW_TOP_TABLE = 2 |
Definition at line 51 of file class.ilObjTest.php.
Referenced by ilObjTestSettingsScoringResultsGUI\addResultDetailsSettingsFormSection(), getHighscoreMode(), ilTestToplistGUI\isTopTenRankingTableRequired(), and setHighscoreMode().
| const ilObjTest::QUESTION_SET_TYPE_DYNAMIC = 'DYNAMIC_QUEST_SET' |
type setting value for dynamic question set (continues testing mode)
Definition at line 41 of file class.ilObjTest.php.
Referenced by _getQuestionCountAndPointsForPassOfParticipant(), ilObjTestSettingsGeneralGUI\addGeneralProperties(), ilTestSettingsTemplateConfig\addGeneralPropertySettings(), ilTestExportFactory\getExporter(), ilTestSessionFactory\getNewTestSessionObject(), ilTestPlayerFactory\getPlayerGUI(), ilTestQuestionSetConfigFactory\getQuestionSetConfigByType(), getQuestionSetTypeTranslation(), ilTestSequenceFactory\getSequenceByActiveIdAndPass(), isDynamicTest(), ilObjTestGUI\questionsTabGatewayObject(), ilObjTestSettingsGeneralGUI\saveFormCmd(), and ilTestTabsManager\setupTabsGuiConfig().
| const ilObjTest::QUESTION_SET_TYPE_FIXED = 'FIXED_QUEST_SET' |
type setting value for fixed question set
Definition at line 31 of file class.ilObjTest.php.
Referenced by _getQuestionCountAndPointsForPassOfParticipant(), ilObjTestSettingsGeneralGUI\addGeneralProperties(), ilTestSettingsTemplateConfig\addGeneralPropertySettings(), ilObjTestGUI\applyDefaultsObject(), ilLOTestAssignmentTableGUI\fillRow(), ilTestExportFactory\getExporter(), ilTestSessionFactory\getNewTestSessionObject(), ilTestPlayerFactory\getPlayerGUI(), ilTestQuestionSetConfigFactory\getQuestionSetConfigByType(), getQuestionSetTypeTranslation(), ilTestSequenceFactory\getSequenceByActiveIdAndPass(), ilQTIParser\handlerVerifyEndTag(), ilLOTestAssignmentForm\initForm(), isFixedTest(), ilObjTestGUI\questionsTabGatewayObject(), ilObjTestSettingsGeneralGUI\saveFormCmd(), ilTestTabsManager\setupTabsGuiConfig(), and ilObjTestGUI\uploadTstObject().
| const ilObjTest::QUESTION_SET_TYPE_RANDOM = 'RANDOM_QUEST_SET' |
type setting value for random question set
Definition at line 36 of file class.ilObjTest.php.
Referenced by _getQuestionCountAndPointsForPassOfParticipant(), _lookupRandomTest(), ilObjTestSettingsGeneralGUI\addGeneralProperties(), ilTestSettingsTemplateConfig\addGeneralPropertySettings(), ilObjTestGUI\applyDefaultsObject(), ilLOTestAssignmentTableGUI\fillRow(), ilTestExportFactory\getExporter(), ilTestSessionFactory\getNewTestSessionObject(), ilTestPlayerFactory\getPlayerGUI(), ilTestQuestionSetConfigFactory\getQuestionSetConfigByType(), getQuestionSetTypeTranslation(), ilTestSequenceFactory\getSequenceByActiveIdAndPass(), ilQTIParser\handlerVerifyEndTag(), ilLOTestAssignmentForm\initForm(), isRandomTest(), ilObjTestGUI\questionsTabGatewayObject(), and ilTestTabsManager\setupTabsGuiConfig().
| const ilObjTest::SCORE_REPORTING_AFTER_PASSED = 4 |
Definition at line 2402 of file class.ilObjTest.php.
Referenced by ilObjTestSettingsScoringResultsGUI\addResultSummarySettingsFormSection(), ilTestPassesSelector\isReportablePass(), isScoreReportingEnabled(), and ilTestResultsGUI\showNoResultsReportingMessage().
| const ilObjTest::SCORE_REPORTING_DATE = 3 |
Definition at line 2401 of file class.ilObjTest.php.
Referenced by ilObjTestSettingsScoringResultsGUI\addResultSummarySettingsFormSection(), ilTestPassesSelector\isReportablePass(), ilObjTestSettingsScoringResultsGUI\isScoreReportingAvailable(), isScoreReportingEnabled(), ilObjTestSettingsScoringResultsGUI\saveResultSummarySettings(), and ilTestResultsGUI\showNoResultsReportingMessage().
| const ilObjTest::SCORE_REPORTING_DISABLED = 0 |
Definition at line 2398 of file class.ilObjTest.php.
Referenced by isScoreReportingEnabled(), and ilObjTestSettingsScoringResultsGUI\saveResultSummarySettings().
| const ilObjTest::SCORE_REPORTING_FINISHED = 1 |
Definition at line 2399 of file class.ilObjTest.php.
Referenced by __construct(), ilObjTestSettingsScoringResultsGUI\addResultSummarySettingsFormSection(), ilTestPassesSelector\isReportablePass(), isScoreReportingEnabled(), and ilTestResultsGUI\showNoResultsReportingMessage().
| const ilObjTest::SCORE_REPORTING_IMMIDIATLY = 2 |
Definition at line 2400 of file class.ilObjTest.php.
Referenced by ilObjTestSettingsScoringResultsGUI\addResultSummarySettingsFormSection(), ilTestPassesSelector\isReportablePass(), and isScoreReportingEnabled().