ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
Public Member Functions | |
getLocalDIC () | |
getTestLogger () | |
getTestLogViewer () | |
getQuestionSetConfig () | |
getTitleFilenameCompliant () | |
returns the object title prepared to be used as a filename More... | |
getTmpCopyWizardCopyId () | |
setTmpCopyWizardCopyId (int $tmpCopyWizardCopyId) | |
create () | |
update () | |
read () | |
delete () | |
deleteTest () | |
createExportDirectory () | |
creates data directory for export files (data_dir/tst_data/tst_<id>/export, depending on data directory that is set in ILIAS setup/ini) More... | |
getExportDirectory () | |
isComplete (ilTestQuestionSetConfig $test_question_set_config) | |
saveCompleteStatus (ilTestQuestionSetConfig $test_question_set_config) | |
saveToDb (bool $properties_only=false) | |
saveQuestionsToDb () | |
copyQuestions (array $question_ids) | |
getNrOfResultsForPass ($active_id, $pass) | |
Calculates the number of user results for a specific test pass. More... | |
loadFromDb () | |
loadQuestions (int $active_id=0, ?int $pass=null) | |
Load the test question id's from the database. More... | |
getIntroduction () | |
getFinalStatement () | |
getTestId () | |
Gets the database id of the additional test data. More... | |
isPostponingEnabled () | |
isScoreReportingEnabled () | |
getAnswerFeedbackPoints () | |
getGenericAnswerFeedback () | |
getInstantFeedbackSolution () | |
getCountSystem () | |
getScoreCutting () | |
Determines if the score of a question should be cut at 0 points or the score of the whole test. More... | |
getPassScoring () | |
Gets the pass scoring type. More... | |
getMarkSchema () | |
storeMarkSchema (MarkSchema $mark_schema) | |
getNrOfTries () | |
isBlockPassesAfterPassedEnabled () | |
getKioskMode () | |
getShowKioskModeTitle () | |
getShowKioskModeParticipant () | |
getUsePreviousAnswers () | |
getTitleOutput () | |
isPreviousSolutionReuseEnabled ($active_id) | |
getProcessingTime () | |
getProcessingTimeInSeconds (int $active_id=0) | |
getEnableProcessingTime () | |
getResetProcessingTime () | |
isStartingTimeEnabled () | |
getStartingTime () | |
isEndingTimeEnabled () | |
getEndingTime () | |
getRedirectionMode () | |
isRedirectModeKiosk () | |
isRedirectModeNone () | |
getRedirectionUrl () | |
isPasswordEnabled () | |
getPassword () | |
removeQuestionsWithResults (array $question_ids) | |
removeQuestionFromSequences (int $question_id, array $active_ids, ilTestReindexedSequencePositionMap $reindexed_sequence_position_map) | |
removeQuestions (array $question_ids) | |
removeQuestion (int $question_id) | |
removeTestResultsFromSoapLpAdministration (array $user_ids) | |
removeTestResults (ilTestParticipantData $participant_data) | |
removeTestResultsByUserIds (array $user_ids) | |
removeTestActives (array $active_ids) | |
questionMoveUp ($question_id) | |
Moves a question up in order. More... | |
questionMoveDown ($question_id) | |
Moves a question down in order. More... | |
duplicateQuestionForTest ($question_id) | |
Takes a question and creates a copy of the question for use in the test. More... | |
insertQuestion (int $question_id, bool $link_only=false) | |
getQuestionTitlesAndIndexes () | |
Returns the titles of the test questions in question sequence. More... | |
getQuestionTitle ($title, $nr=null, $points=null) | |
Returns the title of a test question and checks if the title output is allowed. More... | |
getQuestionDataset ($question_id) | |
Returns the dataset for a given question id. More... | |
& | getExistingQuestions ($pass=null) |
Get the id's of the questions which are already part of the test. More... | |
getQuestionType ($question_id) | |
Returns the question type of a question with a given id. More... | |
startWorkingTime ($active_id, $pass) | |
Write the initial entry for the tests working time to the database. More... | |
updateWorkingTime ($times_id) | |
Update the working time of a test when a question is answered. More... | |
& | getWorkedQuestions ($active_id, $pass=null) |
Gets the id's of all questions a user already worked through. More... | |
isTestFinishedToViewResults ($active_id, $currentpass) | |
Returns true if an active user completed a test pass and did not start a new pass. More... | |
getAllQuestions ($pass=null) | |
Returns all questions of a test in test order. More... | |
getActiveIdOfUser ($user_id="", $anonymous_id="") | |
Gets the active id of a given user. More... | |
pcArrayShuffle ($array) | |
Shuffles the values of a given array. More... | |
getTestResult (int $active_id, ?int $pass=null, bool $ordered_sequence=false, bool $consider_hidden_questions=true, bool $consider_optional_questions=true) | |
Calculates the results of a test for a given user and returns an array with all test results. More... | |
evalTotalPersons () | |
Returns the number of persons who started the test. More... | |
getCompleteWorkingTime ($user_id) | |
Returns the complete working time in seconds a user worked on the test. More... | |
& | getCompleteWorkingTimeOfParticipants () |
Returns the complete working time in seconds for all test participants. More... | |
& | _getCompleteWorkingTimeOfParticipants ($test_id) |
Returns the complete working time in seconds for all test participants. More... | |
getCompleteWorkingTimeOfParticipant ($active_id) | |
Returns the complete working time in seconds for a test participant. More... | |
getWorkingTimeOfParticipantForPass (int $active_id, int $pass) | |
evalStatistical ($active_id) | |
Returns the statistical evaluation of the test for a specified user. More... | |
getTotalPointsPassedArray () | |
Returns an array with the total points of all users who passed the test This array could be used for statistics. More... | |
getParticipants () | |
Returns all persons who started the test. More... | |
evalTotalPersonsArray (string $name_sort_order='asc') | |
evalTotalParticipantsArray (string $name_sort_order='asc') | |
getQuestionsOfTest (int $active_id) | |
getQuestionsOfPass (int $active_id, int $pass) | |
getAccessFilteredParticipantList () | |
setAccessFilteredParticipantList (ilTestParticipantList $access_filtered_participant_list) | |
buildStatisticsAccessFilteredParticipantList () | |
getUnfilteredEvaluationData () | |
getQuestionCountAndPointsForPassOfParticipant (int $active_id, int $pass) | |
getCompleteEvaluationData ($filterby='', $filtertext='') | |
buildName (?int $user_id, ?string $firstname, ?string $lastname) | |
Builds a user name for the output depending on test type and existence of the user. More... | |
evalTotalStartedAverageTime (?array $active_ids_to_filter=null) | |
getAvailableQuestionpools (bool $use_object_id=false, ?bool $equal_points=false, bool $could_be_offline=false, bool $show_path=false, bool $with_questioncount=false, string $permission='read') | |
Returns the available question pools for the active user. More... | |
getImagePath () | |
Returns the image path for web accessable images of a test The image path is under the CLIENT_WEB_DIR in assessment/REFERENCE_ID_OF_TEST/images. More... | |
getImagePathWeb () | |
Returns the web image path for web accessable images of a test The image path is under the web accessable data dir in assessment/REFERENCE_ID_OF_TEST/images. More... | |
createQuestionGUI ($question_type, $question_id=-1) | |
Creates a question GUI instance of a given question type. More... | |
moveQuestions (array $move_questions, int $target_index, int $insert_mode) | |
startingTimeReached () | |
Returns true if the starting time of a test is reached A starting time is not available for self assessment tests. More... | |
endingTimeReached () | |
Returns true if the ending time of a test is reached An ending time is not available for self assessment tests. More... | |
getAvailableQuestions ($arr_filter, $completeonly=0) | |
Calculates the available questions for a test. More... | |
fromXML (ilQTIAssessment $assessment, array $mappings) | |
Receives parameters from a QTI parser and creates a valid ILIAS test object. More... | |
toXML () | |
Returns a QTI xml representation of the test. More... | |
exportPagesXML (&$a_xml_writer, $a_inst, $a_target_dir, &$expLog) | |
export pages of test to xml (see ilias_co.dtd) More... | |
modifyExportIdentifier ($a_tag, $a_param, $a_value) | |
Returns the installation id for a given identifier. More... | |
exportXMLPageObjects (&$a_xml_writer, $inst, &$expLog) | |
export page objects to xml (see ilias_co.dtd) More... | |
exportXMLMediaObjects (&$a_xml_writer, $a_inst, $a_target_dir, &$expLog) | |
export media objects to xml (see ilias_co.dtd) More... | |
exportFileItems ($target_dir, &$expLog) | |
export files of file itmes More... | |
getImportMapping () | |
get array of (two) new created questions for import id More... | |
onMarkSchemaSaved () | |
marksEditable () | |
saveAuthorToMetadata ($author="") | |
Saves an authors name into the lifecycle metadata if no lifecycle metadata exists This will only be called for conversion of "old" tests where the author hasn't been stored in the lifecycle metadata. More... | |
getAuthor () | |
Gets the authors name of the ilObjTest object. More... | |
cloneObject (int $target_id, int $copy_id=0, bool $omit_tree=false) | |
Clone object. More... | |
getQuestionCount () | |
getQuestionCountWithoutReloading () | |
getTextAnswer ($active_id, $question_id, $pass=null) | |
Returns the text answer of a given user for a given question. More... | |
getQuestiontext ($question_id) | |
Returns the question text for a given question. More... | |
getActiveParticipantList () | |
& | getInvitedUsers (int $user_id=0, $order="login, lastname, firstname") |
Returns a list of all invited users in a test. More... | |
getTestParticipants () | |
getTestParticipantsForManualScoring ($filter=null) | |
getUserData ($ids) | |
Returns a data of all users specified by id list. More... | |
getGroupData ($ids) | |
getRoleData ($ids) | |
inviteUser ($user_id, $client_ip="") | |
Invites a user to a test. More... | |
setQuestionSetSolved ($value, $question_id, $user_id) | |
sets question solved state to value for given user_id More... | |
isTestFinished ($active_id) | |
returns if the active for user_id has been submitted More... | |
isActiveTestSubmitted ($user_id=null) | |
returns if the active for user_id has been submitted More... | |
hasNrOfTriesRestriction () | |
returns if the numbers of tries have to be checked More... | |
isNrOfTriesReached ($tries) | |
returns if number of tries are reached More... | |
getAllTestResults ($participants) | |
returns all test results for all participants More... | |
getAnsweredQuestionCount ($active_id, $pass=null) | |
Retrieves the number of answered questions for a given user in a given test. More... | |
isExecutable ($test_session, $user_id, $allow_pass_increase=false) | |
Checks if the test is executable by the given user. More... | |
isNextPassAllowed (ilTestPassesSelector $testPassesSelector, int &$next_pass_allowed_timestamp) | |
canShowTestResults (ilTestSession $test_session) | |
hasAnyTestResult (ilTestSession $test_session) | |
getStartingTimeOfUser ($active_id, $pass=null) | |
Returns the unix timestamp of the time a user started a test. More... | |
isMaxProcessingTimeReached (int $starting_time, int $active_id) | |
Returns whether the maximum processing time for a test is reached or not. More... | |
getTestQuestions () | |
isTestQuestion (int $question_id) | |
checkQuestionParent (int $question_id) | |
getFixedQuestionSetTotalPoints () | |
getPotentialRandomTestQuestions () | |
getShuffleQuestions () | |
getListOfQuestionsSettings () | |
Returns the settings for the list of questions options in the test properties This could contain one of the following values: 0 = No list of questions offered 1 = A list of questions is offered 3 = A list of questions is offered and the list of questions is shown as first page of the test 5 = A list of questions is offered and the list of questions is shown as last page of the test 7 = A list of questions is offered and the list of questions is shown as first and last page of the test. More... | |
getListOfQuestions () | |
getUsrPassOverviewEnabled () | |
getListOfQuestionsStart () | |
getListOfQuestionsEnd () | |
getListOfQuestionsDescription () | |
getShowPassDetails () | |
Returns if the pass details should be shown when a test is not finished. More... | |
getShowSolutionPrintview () | |
Returns if the solution printview should be presented to the user or not. More... | |
canShowSolutionPrintview ($user_id=null) | |
getShowSolutionFeedback () | |
Returns if the feedback should be presented to the solution or not. More... | |
getShowSolutionAnswersOnly () | |
Returns if the full solution (including ILIAS content) should be presented to the solution or not. More... | |
getShowSolutionSignature () | |
Returns if the signature field should be shown in the test results. More... | |
getShowSolutionSuggested () | |
getShowSolutionListComparison () | |
getShowSolutionListOwnAnswers () | |
_getLastAccess (int $active_id) | |
isHTML ($a_text) | |
Checks if a given string contains HTML or not. More... | |
qtiMaterialToArray ($a_material) | |
Reads an QTI material tag and creates a text string. More... | |
addQTIMaterial (ilXmlWriter &$xml_writer, ?int $page_id, string $material='') | |
prepareTextareaOutput ($txt_output, $prepare_for_latex_output=false, $omitNl2BrWhenTextArea=false) | |
Prepares a string for a text area output in tests. More... | |
getAnonymity () | |
getShowCancel () | |
getShowMarker () | |
getFixedParticipants () | |
lookupQuestionSetTypeByActiveId (int $active_id) | |
userLookupFullName ($user_id, $overwrite_anonymity=false, $sorted_order=false, $suffix="") | |
Returns the full name of a test user according to the anonymity status. More... | |
getAvailableDefaults () | |
Returns the available test defaults for the active user. More... | |
getTestDefaults ($test_defaults_id) | |
deleteDefaults ($test_default_id) | |
addDefaults ($a_name) | |
Adds the defaults of this test to the test defaults. More... | |
applyDefaults (array $test_defaults) | |
processPrintoutput2FO ($print_output) | |
Convert a print output to XSL-FO. More... | |
deliverPDFfromHTML ($content, $title=null) | |
Delivers a PDF file from XHTML. More... | |
deliverPDFfromFO ($fo, $title=null) | |
Delivers a PDF file from a XSL-FO string. More... | |
getCompleteManualFeedback (int $question_id) | |
Retrieves the manual feedback for a question in a test. More... | |
saveManualFeedback (int $active_id, int $question_id, int $pass, ?string $feedback, bool $finalized=false) | |
getJavaScriptOutput () | |
Returns if Javascript should be chosen for drag & drop actions for the active user. More... | |
& | createTestSequence ($active_id, $pass, $shuffle) |
setTestId ($a_id) | |
Sets the test ID. More... | |
getDetailedTestResults ($participants) | |
returns all test results for all participants More... | |
isPluginActive ($a_pname) | |
Checks wheather or not a question plugin with a given name is active. More... | |
getPassed ($active_id) | |
getParticipantsForTestAndQuestion ($test_id, $question_id) | |
Creates an associated array with all active id's for a given test and original question id. More... | |
getAggregatedResultsData () | |
getXMLZip () | |
Get zipped xml file for test. More... | |
getMailNotification () | |
sendSimpleNotification ($active_id) | |
sendAdvancedNotification (int $active_id) | |
getResultsForActiveId (int $active_id) | |
getMailNotificationType () | |
getExportSettings () | |
setTemplate (int $template_id) | |
getTemplate () | |
reindexFixedQuestionOrdering () | |
setQuestionOrder (array $order) | |
hasQuestionsWithoutQuestionpool () | |
getQuestions () | |
isOnline () | |
isOfferingQuestionHintsEnabled () | |
setActivationVisibility ($a_value) | |
getActivationVisibility () | |
isActivationLimited () | |
setActivationLimited ($a_value) | |
storeActivationSettings (?bool $is_activation_limited=false, ?int $activation_starting_time=null, ?int $activation_ending_time=null, bool $activation_visibility=false,) | |
getIntroductionPageId () | |
getConcludingRemarksPageId () | |
getHighscoreEnabled () | |
getHighscoreAnon () | |
Gets if the highscores should be anonymized per setting. More... | |
isHighscoreAnon () | |
Gets if the highscores should be displayed anonymized. More... | |
getHighscoreAchievedTS () | |
Returns if date and time of the scores achievement should be displayed. More... | |
getHighscoreScore () | |
Gets if the score column should be shown. More... | |
getHighscorePercentage () | |
Gets if the percentage column should be shown. More... | |
getHighscoreHints () | |
Gets, if the column with the number of requested hints should be shown. More... | |
getHighscoreWTime () | |
Gets if the column with the workingtime should be shown. More... | |
getHighscoreOwnTable () | |
Gets if the own rankings table should be shown. More... | |
getHighscoreTopTable () | |
Gets, if the top-rankings table should be shown. More... | |
getHighscoreTopNum (int $a_retval=10) | |
Gets the number of entries which are to be shown in the top-rankings table. More... | |
getHighscoreMode () | |
getSpecificAnswerFeedback () | |
getAutosave () | |
isPassDeletionAllowed () | |
getEnableExamview () | |
setActivationStartingTime (?int $starting_time=null) | |
setActivationEndingTime (?int $ending_time=null) | |
getActivationStartingTime () | |
getActivationEndingTime () | |
getStartingTimeOfParticipants () | |
Note, this function should only be used if absolutely necessary, since it perform joins on tables that tend to grow huge and returns vast amount of data. More... | |
getTimeExtensionsOfParticipants () | |
getMaxPassOfTest () | |
isShowExamIdInTestPassEnabled () | |
isShowExamIdInTestResultsEnabled () | |
setQuestionSetType (string $question_set_type) | |
getQuestionSetType () | |
isFixedTest () | |
Returns the fact wether this test is a fixed question set test or not. More... | |
isRandomTest () | |
Returns the fact wether this test is a random questions test or not. More... | |
getQuestionSetTypeTranslation (ilLanguage $lng, $questionSetType) | |
participantDataExist () | |
recalculateScores ($preserve_manscoring=false) | |
isSkillServiceEnabled () | |
isSkillServiceToBeConsidered () | |
Returns whether this test must consider skills, usually by providing appropriate extensions in the user interface components. More... | |
isShowGradingStatusEnabled () | |
isShowGradingMarkEnabled () | |
isFollowupQuestionAnswerFixationEnabled () | |
isInstantFeedbackAnswerFixationEnabled () | |
isForceInstantFeedbackEnabled () | |
adjustTestSequence () | |
getGeneralQuestionPropertiesRepository () | |
getGlobalSettings () | |
getMainSettings () | |
getMainSettingsRepository () | |
getScoreSettings () | |
getScoreSettingsRepository () | |
updateTestResultCache (int $active_id, ?ilAssQuestionProcessLocker $process_locker=null) | |
updateTestPassResults (int $active_id, int $pass, ?ilAssQuestionProcessLocker $process_locker=null, ?int $test_obj_id=null) | |
addToNewsOnOnline (bool $old_online_status, bool $new_online_status) | |
getVisitingTimeOfParticipant (int $active_id) | |
![]() | |
getObjectProperties () | |
flushObjectProperties () | |
withReferences () | |
determines whether objects are referenced or not (got ref ids or not) More... | |
processAutoRating () | |
read () | |
getId () | |
setId (int $id) | |
setRefId (int $ref_id) | |
getRefId () | |
getType () | |
setType (string $type) | |
getPresentationTitle () | |
get presentation title Normally same as title Overwritten for sessions More... | |
getTitle () | |
getUntranslatedTitle () | |
Get untranslated object title WebDAV needs to access the untranslated title of an object. More... | |
setTitle (string $title) | |
getDescription () | |
setDescription (string $description) | |
getLongDescription () | |
get object long description (stored in object_description) More... | |
getImportId () | |
setImportId (string $import_id) | |
setOfflineStatus (bool $status) | |
getOfflineStatus () | |
supportsOfflineHandling () | |
getOwner () | |
getOwnerName () | |
get full name of object owner More... | |
setOwner (int $usr_id) | |
getCreateDate () | |
Get create date in YYYY-MM-DD HH-MM-SS format. More... | |
getLastUpdateDate () | |
Get last update date in YYYY-MM-DD HH-MM-SS format. More... | |
create () | |
note: title, description and type should be set when this function is called More... | |
update () | |
MDUpdateListener (string $element) | |
Metadata update listener. More... | |
createMetaData () | |
updateMetaData () | |
deleteMetaData () | |
updateOwner () | |
update owner of object in db More... | |
putInTree (int $parent_ref_id) | |
maybe this method should be in tree object!? More... | |
setPermissions (int $parent_ref_id) | |
setParentRolePermissions (int $parent_ref_id) | |
Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g. More... | |
createReference () | |
creates reference for object More... | |
countReferences () | |
delete () | |
delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | |
initDefaultRoles () | |
init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type. More... | |
applyDidacticTemplate (int $tpl_id) | |
getXMLZip () | |
getHTMLDirectory () | |
appendCopyInfo (int $target_id, int $copy_id) | |
Prepend Copy info if object with same name exists in that container. More... | |
cloneDependencies (int $target_id, int $copy_id) | |
Clone object dependencies. More... | |
cloneMetaData (ilObject $target_obj) | |
Copy meta data. More... | |
selfOrParentWithRatingEnabled () | |
getPossibleSubObjects (bool $filter=true) | |
get all possible sub objects of this type the object can decide which types of sub objects are possible jut in time overwrite if the decision distinguish from standard model More... | |
Static Public Member Functions | |
static | _createImportDirectory () |
creates data directory for import files (data_dir/tst_data/tst_<id>/import, depending on data directory that is set in ILIAS setup/ini) More... | |
static | _getCountSystem ($active_id) |
static | _getPassScoring (int $active_id) |
Gets the pass scoring type. More... | |
static | _getScoreCutting (int $active_id) |
Determines if the score of a question should be cut at 0 points or the score of the whole test. More... | |
static | _getActiveIdOfUser ($user_id="", $test_id="") |
static | _instanciateQuestion ($question_id) |
Creates an instance of a question with a given question id. More... | |
static | _lookupAuthor ($obj_id) |
Gets the authors name of the ilObjTest object. More... | |
static | _getAvailableTests ($use_object_id=false) |
Returns the available tests for the active user. More... | |
static | _getObjectIDFromTestID ($test_id) |
Returns the ILIAS test object id for a given test id. More... | |
static | _getObjectIDFromActiveID ($active_id) |
Returns the ILIAS test object id for a given active id. More... | |
static | _getTestIDFromObjectID ($object_id) |
Returns the ILIAS test id for a given object id. More... | |
static | _getSolvedQuestions ($active_id, $question_fi=null) |
get solved questions More... | |
static | _getPass ($active_id) |
Retrieves the actual pass of a given user for a given test. More... | |
static | _getMaxPass ($active_id) |
Retrieves the maximum pass of a given user for a given test in which the user answered at least one question. More... | |
static | _getBestPass ($active_id) |
Retrieves the best pass of a given user for a given test. More... | |
static | _getResultPass ($active_id) |
Retrieves the pass number that should be counted for a given user. More... | |
static | lookupPassResultsUpdateTimestamp ($active_id, $pass) |
static | _getUserIdFromActiveId (int $active_id) |
static | _lookupAnonymity ($a_obj_id) |
static | getManualFeedback (int $active_id, int $question_id, ?int $pass) |
Retrieves the feedback comment for a question in a test if it is finalized. More... | |
static | getSingleManualFeedback (int $active_id, int $question_id, int $pass) |
static | _lookupTestObjIdForQuestionId (int $q_id) |
Get test Object ID for question ID. More... | |
static | _lookupFinishedUserTests ($a_user_id) |
Gather all finished tests for user. More... | |
static | lookupExamId ($active_id, $pass) |
static | buildExamId ($active_id, $pass, $test_obj_id=null) |
static | getTestObjIdsWithActiveForUserId ($userId) |
static | isSkillManagementGloballyActivated () |
static | isParticipantsLastPassActive (int $test_ref_id, int $user_id) |
static | _lookupRandomTest (int $obj_id) |
![]() | |
static | _lookupObjIdByImportId (string $import_id) |
Get (latest) object id for an import id. More... | |
static | _lookupImportId (int $obj_id) |
static | _lookupOwnerName (int $owner_id) |
Lookup owner name for owner id. More... | |
static | _getIdForImportId (string $import_id) |
static | _getAllReferences (int $id) |
get all reference ids for object ID More... | |
static | _lookupTitle (int $obj_id) |
static | lookupOfflineStatus (int $obj_id) |
Lookup offline status using objectDataCache. More... | |
static | _lookupOwner (int $obj_id) |
Lookup owner user ID for object ID. More... | |
static | _getIdsForTitle (string $title, string $type='', bool $partial_match=false) |
static | _lookupDescription (int $obj_id) |
static | _lookupLastUpdate (int $obj_id, bool $formatted=false) |
static | _getLastUpdateOfObjects (array $obj_ids) |
static | _lookupObjId (int $ref_id) |
static | _setDeletedDate (int $ref_id, int $deleted_by) |
static | setDeletedDates (array $ref_ids, int $user_id) |
static | _resetDeletedDate (int $ref_id) |
static | _lookupDeletedDate (int $ref_id) |
static | _writeTitle (int $obj_id, string $title) |
write title to db (static) More... | |
static | _writeDescription (int $obj_id, string $desc) |
write description to db (static) More... | |
static | _writeImportId (int $obj_id, string $import_id) |
write import id to db (static) More... | |
static | _lookupType (int $id, bool $reference=false) |
static | _isInTrash (int $ref_id) |
static | _hasUntrashedReference (int $obj_id) |
checks whether an object has at least one reference that is not in trash More... | |
static | _lookupObjectId (int $ref_id) |
static | _getObjectsDataForType (string $type, bool $omit_trash=false) |
get all objects of a certain type More... | |
static | _exists (int $id, bool $reference=false, ?string $type=null) |
checks if an object exists in object_data More... | |
static | _getObjectsByType (string $obj_type="", ?int $owner=null) |
static | _prepareCloneSelection (array $ref_ids, string $new_type, bool $show_path=true) |
Prepare copy wizard object selection. More... | |
static | getIconForType (string $type) |
static | _getIcon (int $obj_id=0, string $size="big", string $type="", bool $offline=false) |
Get icon for repository item. More... | |
static | collectDeletionDependencies (array &$deps, int $ref_id, int $obj_id, string $type, int $depth=0) |
Collect deletion dependencies. More... | |
static | getDeletionDependencies (int $obj_id) |
Get deletion dependencies. More... | |
static | getLongDescriptions (array $obj_ids) |
static | getAllOwnedRepositoryObjects (int $user_id) |
static | fixMissingTitles ($type, array &$obj_title_map) |
Try to fix missing object titles. More... | |
static | _lookupCreationDate (int $obj_id) |
static | _getObjectTypeIdByTitle (string $type, ?\ilDBInterface $ilDB=null) |
Data Fields | |
const | QUESTION_SET_TYPE_FIXED = 'FIXED_QUEST_SET' |
const | QUESTION_SET_TYPE_RANDOM = 'RANDOM_QUEST_SET' |
const | INVITATION_OFF = 0 |
const | INVITATION_ON = 1 |
const | SCORE_LAST_PASS = 0 |
const | SCORE_BEST_PASS = 1 |
const | REDIRECT_NONE = 0 |
const | REDIRECT_ALWAYS = 1 |
const | REDIRECT_KIOSK = 2 |
int | $test_id = -1 |
int | $invitation = self::INVITATION_OFF |
string | $author |
$metadata | |
A reference to an IMS compatible matadata set. More... | |
array | $questions = [] |
$evaluation_data | |
Contains the evaluation data settings the tutor defines for the user. More... | |
$test_sequence = false | |
contains the test sequence data More... | |
![]() | |
const | TITLE_LENGTH = 255 |
const | DESC_LENGTH = 128 |
const | LONG_DESC_LENGTH = 4000 |
const | TABLE_OBJECT_DATA = "object_data" |
array | $objectList |
string | $untranslatedTitle |
Protected Member Functions | |
buildIso8601PeriodForExportCompatibility (DateTimeImmutable $date_time) | |
buildDateTimeImmutableFromPeriod (?string $period) | |
doCreateMetaData () | |
secondsToHoursMinutesSecondsString (int $seconds) | |
getHtmlQuestionContentPurifier () | |
![]() | |
doMDUpdateListener (string $a_element) | |
beforeMDUpdateListener (string $a_element) | |
doCreateMetaData () | |
beforeCreateMetaData () | |
doUpdateMetaData () | |
beforeUpdateMetaData () | |
doDeleteMetaData () | |
beforeDeleteMetaData () | |
handleAutoRating () | |
hasAutoRating () | |
Private Member Functions | |
cloneIntroduction () | |
cloneConcludingRemarks () | |
clonePage (int $source_page_id) | |
getProcessingTimeForXML () | |
removeQuestionWithResults (int $question_id, TestScoring $scoring) | |
removeTestResultsByActiveIds (array $active_ids) | |
getQuestionTitles () | |
addIntroductionToSettingsFromImport (SettingsIntroduction $settings, array $material, string $importdir, array $mappings) | |
addConcludingRemarksToSettingsFromImport (SettingsFinishing $settings, array $material, string $importdir, array $mappings) | |
replaceMobsInPageImports (string $text, array $mappings) | |
replaceFilesInPageImports (string $text, array $mappings) | |
retrieveMobsFromLegacyImports (string $text, array $mobs, string $importdir) | |
convertTimeToDateTimeImmutableIfNecessary (DateTimeImmutable|int|null $date_time) | |
insertManualFeedback (int $active_id, int $question_id, int $pass, ?string $feedback, bool $finalized, array $feedback_old) | |
getExtraTime (int $active_id) | |
Private Attributes | |
bool | $activation_limited = null |
array | $mob_ids |
array | $file_ids = [] |
bool | $online |
RequestDataCollector | $testrequest |
MarksRepository | $marks_repository |
MarkSchema | $mark_schema = null |
int | $template_id = 0 |
$participantDataExist = null | |
holds the fact wether participant data exists or not DO NOT USE TIS PROPERTY DRIRECTLY ALWAYS USE ilObjTest::paricipantDataExist() since this method initialises this property More... | |
int | $tmpCopyWizardCopyId = null |
TestManScoringDoneHelper | $test_man_scoring_done_helper |
ilComponentRepository | $component_repository |
ilComponentFactory | $component_factory |
Filesystem | $filesystem_web |
Static Private Attributes | |
static | $isSkillManagementGloballyActivated = null |
Definition at line 64 of file class.ilObjTest.php.
|
static |
creates data directory for import files (data_dir/tst_data/tst_<id>/import, depending on data directory that is set in ILIAS setup/ini)
Definition at line 400 of file class.ilObjTest.php.
References $DIC, ilObject\$ilias, ilFileUtils\delDir(), ilFileUtils\getDataDir(), ilFileUtils\makeDir(), and ILIAS\raiseError().
|
static |
Definition at line 1740 of file class.ilObjTest.php.
References $DIC, $ilDB, and $user_id.
Referenced by ilLOUtils\getTestResultLinkForUser().
|
static |
Returns the available tests for the active user.
Definition at line 4092 of file class.ilObjTest.php.
References $DIC, ilObject\$ref_id, ilUtil\_getObjectsByOperations(), ilObject\_lookupObjId(), and ilObject\_prepareCloneSelection().
|
static |
Retrieves the best pass of a given user for a given test.
int | $active_id |
Definition at line 4836 of file class.ilObjTest.php.
References $DIC, $ilDB, and null.
Referenced by _getResultPass().
& 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 2040 of file class.ilObjTest.php.
Referenced by getCompleteWorkingTimeOfParticipants().
|
static |
Definition at line 766 of file class.ilObjTest.php.
Referenced by assQuestion\adjustReachedPointsByScoringOptions().
ilObjTest::_getLastAccess | ( | int | $active_id | ) |
|
static |
Retrieves the maximum pass of a given user for a given test in which the user answered at least one question.
integer | $user_id | The user id |
integer | $test_id | The test id |
Definition at line 4813 of file class.ilObjTest.php.
References $DIC, $ilDB, and null.
Referenced by _getResultPass(), and ilTestParticipantList\lookupNrOfTries().
|
static |
Returns the ILIAS test object id for a given active id.
integer | $active_id | The active id |
Definition at line 4276 of file class.ilObjTest.php.
|
static |
Returns the ILIAS test object id for a given test id.
integer | $test_id | The test id |
Definition at line 4252 of file class.ilObjTest.php.
|
static |
Retrieves the actual pass of a given user for a given test.
integer | $user_id | The user id |
integer | $test_id | The test id |
Definition at line 4787 of file class.ilObjTest.php.
Referenced by ilTestService\getPassOverviewData(), assFormulaQuestionGUI\getTestOutput(), assQuestion\persistWorkingState(), ilTestPlayerAbstractGUI\populateInstantResponseBlocks(), ilTestPlayerAbstractGUI\save(), assOrderingHorizontal\saveWorkingData(), assNumeric\saveWorkingData(), assErrorText\saveWorkingData(), assSingleChoice\saveWorkingData(), assTextSubset\saveWorkingData(), assKprimChoice\saveWorkingData(), assTextQuestion\saveWorkingData(), assMultipleChoice\saveWorkingData(), assFileUpload\saveWorkingData(), assLongMenu\saveWorkingData(), assOrderingQuestion\saveWorkingData(), assFormulaQuestion\saveWorkingData(), assMatchingQuestion\saveWorkingData(), and assClozeTest\saveWorkingData().
|
static |
Gets the pass scoring type.
Definition at line 801 of file class.ilObjTest.php.
Referenced by _getResultPass().
|
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 4881 of file class.ilObjTest.php.
References _getBestPass(), _getMaxPass(), _getPassScoring(), and null.
Referenced by ILIAS\Test\Questions\Presentation\Printer\addQuestionResultForTestUsersToTemplate(), ilTestArchiver\createUserResultsForArchive(), evalStatistical(), getAllTestResults(), getDetailedTestResults(), getPassed(), ilTestServiceGUI\getPassOverviewTableData(), ilTestEvaluationGUI\outUserListOfAnswerPasses(), ilTestEvaluationGUI\performDeletePass(), ilTestEvaluationGUI\printResults(), ilTestEvaluationGUI\showResults(), and updateTestResultCache().
|
static |
Determines if the score of a question should be cut at 0 points or the score of the whole test.
Definition at line 820 of file class.ilObjTest.php.
Referenced by assQuestion\adjustReachedPointsByScoringOptions().
|
static |
get solved questions
Definition at line 4611 of file class.ilObjTest.php.
Referenced by ilTestPlayerAbstractGUI\buildEditableStateQuestionNavigationGUI(), ilTestPlayerAbstractGUI\buildReadOnlyStateQuestionNavigationGUI(), ilTestService\getQuestionSummaryData(), and ilTestSequence\getSequenceSummary().
|
static |
Returns the ILIAS test id for a given object id.
integer | $object_id | The object id |
Definition at line 4300 of file class.ilObjTest.php.
References $DIC, $ilDB, and $test_id.
Referenced by ilLOUtils\getTestResultLinkForUser(), and ilTestAccess\isParticipantAllowed().
|
static |
Definition at line 5369 of file class.ilObjTest.php.
Referenced by assQuestion\_setReachedPoints(), sendAdvancedNotification(), sendSimpleNotification(), and ILIAS\Test\ExportImport\CertificateExport\write().
|
static |
Creates an instance of a question with a given question id.
int | $question_id | The question id |
InvalidArgumentException |
Definition at line 2715 of file class.ilObjTest.php.
References assQuestion\instantiateQuestion(), and null.
Referenced by ilCourseObjectiveQuestion\__read(), duplicateQuestionForTest(), getAllTestResults(), getDetailedTestResults(), ilCourseObjectiveQuestion\getMaxPointsByObjective(), ilCourseObjectiveQuestion\getMaxPointsByTest(), and ilCourseObjectiveQuestionAssignmentTableGUI\parse().
|
static |
Definition at line 5548 of file class.ilObjTest.php.
Referenced by ilObjTestAccess\_getParticipantData().
|
static |
Gets the authors name of the ilObjTest object.
Definition at line 4073 of file class.ilObjTest.php.
References $DIC.
Referenced by assQuestion\getInstances().
|
static |
Gather all finished tests for user.
int | $a_user_id |
Definition at line 6658 of file class.ilObjTest.php.
|
static |
Definition at line 7554 of file class.ilObjTest.php.
References $DIC, $res, and null.
Referenced by ilLOSettings\isRandomTestType(), ilCourseObjectivesGUI\isRandomTestType(), and ilLOUtils\lookupRandomTest().
|
static |
Get test Object ID for question ID.
Definition at line 6304 of file class.ilObjTest.php.
References $DIC, $ilDB, and null.
Referenced by assQuestion\_setReachedPoints(), and ilObjMediaObject\getParentObjectIdForUsage().
|
private |
Definition at line 3274 of file class.ilObjTest.php.
References ilSession\get(), ILIAS\Test\Settings\MainSettings\SettingsFinishing\getAlwaysSendMailNotification(), ilObject\getId(), ILIAS\Test\Settings\MainSettings\SettingsFinishing\getMailNotificationContentType(), ILIAS\Test\Settings\MainSettings\SettingsFinishing\getRedirectionMode(), ILIAS\Test\Settings\MainSettings\SettingsFinishing\getRedirectionUrl(), ILIAS\Test\Settings\MainSettings\SettingsFinishing\getShowAnswerOverview(), ILIAS\Test\Settings\TestSettings\getTestId(), null, replaceFilesInPageImports(), replaceMobsInPageImports(), retrieveMobsFromLegacyImports(), and ILIAS\Test\Settings\MainSettings\SettingsFinishing\withConcludingRemarksPageId().
Referenced by fromXML().
ilObjTest::addDefaults | ( | $a_name | ) |
Adds the defaults of this test to the test defaults.
string | $a_name | The name of the test defaults public |
Definition at line 5674 of file class.ilObjTest.php.
References ILIAS\Test\Settings\MainSettings\MainSettings\getAccessSettings(), getActivationEndingTime(), getActivationStartingTime(), getActivationVisibility(), ILIAS\Test\Settings\MainSettings\MainSettings\getAdditionalSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getFinishingSettings(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getGamificationSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getGeneralSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getIntroductionSettings(), getMainSettings(), getMarkSchema(), ILIAS\Test\Scoring\Marks\Mark\getMinimumLevel(), ILIAS\Test\Scoring\Marks\Mark\getOfficialName(), ILIAS\Test\Settings\MainSettings\MainSettings\getParticipantFunctionalitySettings(), ILIAS\Test\Scoring\Marks\Mark\getPassed(), ILIAS\Test\Settings\MainSettings\MainSettings\getQuestionBehaviourSettings(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getResultDetailsSettings(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getResultSummarySettings(), getScoreSettings(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getScoringSettings(), ILIAS\Test\Scoring\Marks\Mark\getShortName(), ILIAS\Test\Settings\MainSettings\MainSettings\getTestBehaviourSettings(), ILIAS\Repository\int(), isActivationLimited(), and ILIAS\Repository\user().
|
private |
Definition at line 3241 of file class.ilObjTest.php.
References ilObject\getId(), ILIAS\Test\Settings\TestSettings\getTestId(), replaceFilesInPageImports(), replaceMobsInPageImports(), retrieveMobsFromLegacyImports(), and ILIAS\Test\Settings\MainSettings\SettingsIntroduction\withIntroductionPageId().
Referenced by fromXML().
ilObjTest::addQTIMaterial | ( | ilXmlWriter & | $xml_writer, |
?int | $page_id, | ||
string | $material = '' |
||
) |
Definition at line 5480 of file class.ilObjTest.php.
References ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilPCFileList\collectFileItems(), ilObject\getId(), IL_INST_ID, ILIAS\Repository\int(), isHTML(), null, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by toXML().
ilObjTest::addToNewsOnOnline | ( | bool | $old_online_status, |
bool | $new_online_status | ||
) |
Definition at line 7519 of file class.ilObjTest.php.
References ilNewsItem\deleteNewsOfContext(), ilNewsItem\getFirstNewsIdForContext(), ilObject\getId(), NEWS_NOTICE, NEWS_USERS, and ILIAS\Repository\user().
Referenced by fromXML().
ilObjTest::adjustTestSequence | ( | ) |
Definition at line 7205 of file class.ilObjTest.php.
References getShuffleQuestions(), and getTestId().
ilObjTest::applyDefaults | ( | array | $test_defaults | ) |
Definition at line 5787 of file class.ilObjTest.php.
References convertTimeToDateTimeImmutableIfNecessary(), ILIAS\Test\Settings\MainSettings\MainSettings\getAccessSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getAdditionalSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getFinishingSettings(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getGamificationSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getGeneralSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getIntroductionSettings(), getMainSettings(), getMainSettingsRepository(), getMarkSchema(), ILIAS\Test\Settings\MainSettings\MainSettings\getParticipantFunctionalitySettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getQuestionBehaviourSettings(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getResultDetailsSettings(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getResultSummarySettings(), getScoreSettings(), getScoreSettingsRepository(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getScoringSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getTestBehaviourSettings(), ILIAS\Repository\int(), null, saveToDb(), storeActivationSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\withGeneralSettings(), and ILIAS\Test\Settings\ScoreReporting\ScoreSettings\withScoringSettings().
|
protected |
Definition at line 3807 of file class.ilObjTest.php.
References null.
Referenced by fromXML().
|
static |
Definition at line 6997 of file class.ilObjTest.php.
References $DIC, $ilSetting, and null.
Referenced by ilTestPlayerAbstractGUI\getTestPlayerTitle(), and updateTestPassResults().
|
protected |
Definition at line 3802 of file class.ilObjTest.php.
Referenced by toXML().
ilObjTest::buildName | ( | ?int | $user_id, |
?string | $firstname, | ||
?string | $lastname | ||
) |
Builds a user name for the output depending on test type and existence of the user.
int | $user_id | The database ID of the user |
string | $firstname | The first name of the user |
string | $lastname | The last name of the user |
string | $title | The title of the user |
Definition at line 2562 of file class.ilObjTest.php.
References ANONYMOUS_USER_ID, getAnonymity(), ILIAS\Repository\lng(), and null.
ilObjTest::buildStatisticsAccessFilteredParticipantList | ( | ) |
Definition at line 2467 of file class.ilObjTest.php.
References getTestParticipants(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
ilObjTest::canShowSolutionPrintview | ( | $user_id = null | ) |
Definition at line 5315 of file class.ilObjTest.php.
References getShowSolutionPrintview().
ilObjTest::canShowTestResults | ( | ilTestSession | $test_session | ) |
Definition at line 5058 of file class.ilObjTest.php.
References ilTestSession\getActiveId(), and ilTestSession\getLastFinishedPass().
Referenced by ilTestSession\reportableResultsAvailable().
ilObjTest::checkQuestionParent | ( | int | $question_id | ) |
Definition at line 5196 of file class.ilObjTest.php.
|
private |
Definition at line 710 of file class.ilObjTest.php.
References clonePage(), getMainSettings(), and null.
Referenced by cloneObject().
|
private |
Definition at line 692 of file class.ilObjTest.php.
References clonePage(), getMainSettings(), and null.
Referenced by cloneObject().
ilObjTest::cloneObject | ( | int | $target_id, |
int | $copy_id = 0 , |
||
bool | $omit_tree = false |
||
) |
Clone object.
public
int | ref id of parent container |
int | copy id |
Definition at line 4128 of file class.ilObjTest.php.
References cloneConcludingRemarks(), cloneIntroduction(), ilObject\cloneMetaData(), ilObject\getId(), getMainSettings(), getMainSettingsRepository(), getMarkSchema(), getScoreSettings(), getScoreSettingsRepository(), getTemplate(), getTestId(), loadFromDb(), and ILIAS\Repository\user().
|
private |
Definition at line 719 of file class.ilObjTest.php.
References ilObject\getId().
Referenced by cloneConcludingRemarks(), and cloneIntroduction().
|
private |
Definition at line 5950 of file class.ilObjTest.php.
References null.
Referenced by applyDefaults().
ilObjTest::copyQuestions | ( | array | $question_ids | ) |
array<int> | $question_ids |
Definition at line 561 of file class.ilObjTest.php.
References $id, ilObject\$title, ilObject\getId(), getQuestionTitles(), and insertQuestion().
ilObjTest::create | ( | ) |
Definition at line 239 of file class.ilObjTest.php.
References $id, and ilObject\createMetaData().
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 342 of file class.ilObjTest.php.
References ilFileUtils\getDataDir(), ilObject\getId(), and ilFileUtils\makeDir().
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 2689 of file class.ilObjTest.php.
References getQuestionType(), and null.
Referenced by ILIAS\Test\Results\Data\Factory\buildAttemptResults().
& ilObjTest::createTestSequence | ( | $active_id, | |
$pass, | |||
$shuffle | |||
) |
Definition at line 6234 of file class.ilObjTest.php.
References isRandomTest().
ilObjTest::delete | ( | ) |
Definition at line 266 of file class.ilObjTest.php.
References ilObject\$title, ilObject\deleteMetaData(), deleteTest(), ilObject\getId(), ilObject\getRefId(), ILIAS\Repository\logger(), ILIAS\Test\Logging\TEST_DELETED, and ILIAS\Repository\user().
ilObjTest::deleteDefaults | ( | $test_default_id | ) |
Definition at line 5659 of file class.ilObjTest.php.
ilObjTest::deleteTest | ( | ) |
Definition at line 300 of file class.ilObjTest.php.
References ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilFileUtils\delDir(), ilFileUtils\getDataDir(), ilObject\getId(), getTestId(), ILIAS\Repository\lng(), and removeTestResults().
Referenced by delete().
ilObjTest::deliverPDFfromFO | ( | $fo, | |
$title = null |
|||
) |
Delivers a PDF file from a XSL-FO string.
string | $fo | The XSL-FO string public |
PhpUndefinedFieldInspection
Definition at line 6045 of file class.ilObjTest.php.
References Vendor\Package\$e, $filename, ilObject\$title, ilUtil\deliverData(), ilRpcClientFactory\factory(), ilFileUtils\getASCIIFilename(), ilObject\getTitle(), ilFileUtils\ilTempnam(), and ILIAS\Repository\logger().
Referenced by deliverPDFfromHTML().
ilObjTest::deliverPDFfromHTML | ( | $content, | |
$title = null |
|||
) |
Delivers a PDF file from XHTML.
string | $html | The XHTML string public |
Definition at line 6009 of file class.ilObjTest.php.
References ilObject\$title, deliverPDFfromFO(), ilUtil\getStyleSheetLocation(), ilObject\getTitle(), ilLegacyFormElementsUtil\prepareFormOutput(), and processPrintoutput2FO().
|
protected |
Definition at line 4045 of file class.ilObjTest.php.
References saveAuthorToMetadata().
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 1351 of file class.ilObjTest.php.
References _instanciateQuestion(), and ilObject\getId().
Referenced by insertQuestion().
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 2798 of file class.ilObjTest.php.
References getEndingTime(), and isEndingTimeEnabled().
Referenced by isExecutable().
ilObjTest::evalStatistical | ( | $active_id | ) |
Returns the statistical evaluation of the test for a specified user.
Definition at line 2149 of file class.ilObjTest.php.
References _getResultPass(), getMarkSchema(), getTestResult(), and null.
ilObjTest::evalTotalParticipantsArray | ( | string | $name_sort_order = 'asc' | ) |
Definition at line 2356 of file class.ilObjTest.php.
References ANONYMOUS_USER_ID, getAnonymity(), getTestId(), and ILIAS\Repository\lng().
Referenced by getTotalPointsPassedArray().
ilObjTest::evalTotalPersons | ( | ) |
Returns the number of persons who started the test.
Definition at line 1973 of file class.ilObjTest.php.
References getTestId().
Referenced by marksEditable(), participantDataExist(), and saveToDb().
ilObjTest::evalTotalPersonsArray | ( | string | $name_sort_order = 'asc' | ) |
Definition at line 2326 of file class.ilObjTest.php.
References ANONYMOUS_USER_ID, getAccessFilteredParticipantList(), getAnonymity(), getTestId(), and ILIAS\Repository\lng().
ilObjTest::evalTotalStartedAverageTime | ( | ?array | $active_ids_to_filter = null | ) |
Definition at line 2583 of file class.ilObjTest.php.
References getTestId(), and null.
Referenced by getAggregatedResultsData(), and ILIAS\Test\Results\Data\Factory\getOverviewDataForTest().
ilObjTest::exportFileItems | ( | $target_dir, | |
& | $expLog | ||
) |
export files of file itmes
Definition at line 3957 of file class.ilObjTest.php.
References IL_INST_ID, and ilFileUtils\makeDir().
Referenced by exportPagesXML().
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 3835 of file class.ilObjTest.php.
References exportFileItems(), exportXMLMediaObjects(), and exportXMLPageObjects().
ilObjTest::exportXMLMediaObjects | ( | & | $a_xml_writer, |
$a_inst, | |||
$a_target_dir, | |||
& | $expLog | ||
) |
export media objects to xml (see ilias_co.dtd)
Definition at line 3933 of file class.ilObjTest.php.
References ilObjMediaObject\_exists(), ilFileUtils\createDirectory(), and IL_INST_ID.
Referenced by exportPagesXML().
ilObjTest::exportXMLPageObjects | ( | & | $a_xml_writer, |
$inst, | |||
& | $expLog | ||
) |
export page objects to xml (see ilias_co.dtd)
object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 3882 of file class.ilObjTest.php.
References ilPCFileList\collectFileItems().
Referenced by exportPagesXML().
ilObjTest::fromXML | ( | ilQTIAssessment | $assessment, |
array | $mappings | ||
) |
Receives parameters from a QTI parser and creates a valid ILIAS test object.
ilQTIAssessment | $assessment |
Definition at line 2894 of file class.ilObjTest.php.
References $main_settings, $metadata, $objectives, $score_settings, addConcludingRemarksToSettingsFromImport(), addIntroductionToSettingsFromImport(), addToNewsOnOnline(), buildDateTimeImmutableFromPeriod(), ILIAS\TestQuestionPool\Import\buildImportDirectoryFromImportFile(), ilSession\clear(), ilSession\get(), ILIAS\Test\Settings\MainSettings\MainSettings\getAccessSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getAdditionalSettings(), ilQTIAssessment\getComment(), ILIAS\Test\Settings\MainSettings\MainSettings\getFinishingSettings(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getGamificationSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getGeneralSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getIntroductionSettings(), getMainSettings(), getMainSettingsRepository(), getMarkSchema(), ilObject\getObjectProperties(), ILIAS\Test\Settings\MainSettings\MainSettings\getParticipantFunctionalitySettings(), ilQTIAssessment\getPresentationMaterial(), ILIAS\Test\Settings\MainSettings\MainSettings\getQuestionBehaviourSettings(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getResultDetailsSettings(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getResultSummarySettings(), getScoreSettings(), getScoreSettingsRepository(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\getScoringSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getTestBehaviourSettings(), ilQTIAssessment\getTitle(), loadFromDb(), null, qtiMaterialToArray(), saveAuthorToMetadata(), saveToDb(), setActivationEndingTime(), setActivationLimited(), setActivationStartingTime(), setActivationVisibility(), ILIAS\Test\Settings\ScoreReporting\ScoreSettings\withGamificationSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\withGeneralSettings(), and ILIAS\GlobalScreen\Scope\Footer\Factory\withTitle().
ilObjTest::getAccessFilteredParticipantList | ( | ) |
Definition at line 2457 of file class.ilObjTest.php.
References $access_filtered_participant_list.
Referenced by evalTotalPersonsArray(), and getParticipantsForTestAndQuestion().
ilObjTest::getActivationEndingTime | ( | ) |
Definition at line 6917 of file class.ilObjTest.php.
References $activation_ending_time.
Referenced by addDefaults(), saveToDb(), and toXML().
ilObjTest::getActivationStartingTime | ( | ) |
Definition at line 6912 of file class.ilObjTest.php.
References $activation_starting_time.
Referenced by addDefaults(), saveToDb(), and toXML().
ilObjTest::getActivationVisibility | ( | ) |
Definition at line 6699 of file class.ilObjTest.php.
References $activation_visibility.
Referenced by addDefaults(), saveToDb(), and toXML().
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 1699 of file class.ilObjTest.php.
References $user_id, ANONYMOUS_USER_ID, ilSession\get(), getTestId(), null, and ILIAS\Repository\user().
Referenced by getAllQuestions(), getExistingQuestions(), isExecutable(), loadQuestions(), ilCourseObjectiveResult\resetTestForUser(), and setQuestionSetSolved().
ilObjTest::getActiveParticipantList | ( | ) |
Definition at line 4371 of file class.ilObjTest.php.
References getTestParticipants(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
ilObjTest::getAggregatedResultsData | ( | ) |
Definition at line 6398 of file class.ilObjTest.php.
References $data, $results, evalTotalStartedAverageTime(), getCompleteEvaluationData(), ILIAS\Repository\lng(), and secondsToHoursMinutesSecondsString().
ilObjTest::getAllQuestions | ( | $pass = null | ) |
Returns all questions of a test in test order.
Definition at line 1659 of file class.ilObjTest.php.
References getActiveIdOfUser(), isRandomTest(), loadQuestions(), null, and ILIAS\Repository\user().
ilObjTest::getAllTestResults | ( | $participants | ) |
returns all test results for all participants
array | $partipants | array of user ids |
Definition at line 4711 of file class.ilObjTest.php.
References $results, _getResultPass(), _instanciateQuestion(), getAnonymity(), getMarkSchema(), ILIAS\Repository\lng(), and null.
ilObjTest::getAnonymity | ( | ) |
Definition at line 5542 of file class.ilObjTest.php.
References getMainSettings().
Referenced by buildName(), evalTotalParticipantsArray(), evalTotalPersonsArray(), getAllTestResults(), getDetailedTestResults(), getInvitedUsers(), getParticipants(), ilTestArchiver\getResultsOfUserOutput(), getTestParticipants(), getUserData(), isHighscoreAnon(), and userLookupFullName().
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 4901 of file class.ilObjTest.php.
References isRandomTest(), and loadQuestions().
ilObjTest::getAnswerFeedbackPoints | ( | ) |
Definition at line 746 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::getAuthor | ( | ) |
Gets the authors name of the ilObjTest object.
Definition at line 4057 of file class.ilObjTest.php.
References ilObject\getId(), and ilObject\getType().
Referenced by toXML().
ilObjTest::getAutosave | ( | ) |
Definition at line 6887 of file class.ilObjTest.php.
References getMainSettings().
Referenced by ILIAS\Test\Results\Data\Factory\buildAttemptResults().
ilObjTest::getAvailableDefaults | ( | ) |
Returns the available test defaults for the active user.
Definition at line 5630 of file class.ilObjTest.php.
References ILIAS\Repository\user().
ilObjTest::getAvailableQuestionpools | ( | bool | $use_object_id = false , |
?bool | $equal_points = false , |
||
bool | $could_be_offline = false , |
||
bool | $show_path = false , |
||
bool | $with_questioncount = false , |
||
string | $permission = 'read' |
||
) |
Returns the available question pools for the active user.
Definition at line 2636 of file class.ilObjTest.php.
References ilObjQuestionPool\_getAvailableQuestionpools().
ilObjTest::getAvailableQuestions | ( | $arr_filter, | |
$completeonly = 0 |
|||
) |
Calculates the available questions for a test.
public
Definition at line 2814 of file class.ilObjTest.php.
References XapiProxy\$plugin, ilObjQuestionPool\_getAvailableQuestionpools(), ilAssQuestionType\completeMissingPluginName(), getExistingQuestions(), and ILIAS\Repository\lng().
ilObjTest::getCompleteEvaluationData | ( | $filterby = '' , |
|
$filtertext = '' |
|||
) |
Definition at line 2544 of file class.ilObjTest.php.
References $data, and getUnfilteredEvaluationData().
Referenced by getAggregatedResultsData(), and ILIAS\Test\Results\Data\Factory\retrieveResultData().
ilObjTest::getCompleteManualFeedback | ( | int | $question_id | ) |
Retrieves the manual feedback for a question in a test.
integer | $question_id | Question ID |
Definition at line 6123 of file class.ilObjTest.php.
References $DIC, $ilDB, and ilRTE\_replaceMediaObjectImageSrc().
ilObjTest::getCompleteWorkingTime | ( | $user_id | ) |
Returns the complete working time in seconds a user worked on the test.
Definition at line 1990 of file class.ilObjTest.php.
References $user_id, and getTestId().
ilObjTest::getCompleteWorkingTimeOfParticipant | ( | $active_id | ) |
Returns the complete working time in seconds for a test participant.
Definition at line 2082 of file class.ilObjTest.php.
References getTestId().
& ilObjTest::getCompleteWorkingTimeOfParticipants | ( | ) |
Returns the complete working time in seconds for all test participants.
Definition at line 2028 of file class.ilObjTest.php.
References _getCompleteWorkingTimeOfParticipants(), and getTestId().
ilObjTest::getConcludingRemarksPageId | ( | ) |
Definition at line 6762 of file class.ilObjTest.php.
References ilObject\getId(), getMainSettings(), getMainSettingsRepository(), and null.
ilObjTest::getCountSystem | ( | ) |
Definition at line 761 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
ilObjTest::getDetailedTestResults | ( | $participants | ) |
returns all test results for all participants
array | $partipants | array of user ids |
Definition at line 6256 of file class.ilObjTest.php.
References $results, _getResultPass(), _instanciateQuestion(), getAnonymity(), and ILIAS\Repository\lng().
ilObjTest::getEnableExamview | ( | ) |
Definition at line 6897 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::getEnableProcessingTime | ( | ) |
Definition at line 940 of file class.ilObjTest.php.
References getMainSettings().
Referenced by isExecutable(), and isMaxProcessingTimeReached().
ilObjTest::getEndingTime | ( | ) |
Definition at line 966 of file class.ilObjTest.php.
References getMainSettings(), and null.
Referenced by endingTimeReached(), isExecutable(), and toXML().
& ilObjTest::getExistingQuestions | ( | $pass = null | ) |
Get the id's of the questions which are already part of the test.
Definition at line 1524 of file class.ilObjTest.php.
References $data, getActiveIdOfUser(), getTestId(), isRandomTest(), null, and ILIAS\Repository\user().
Referenced by getAvailableQuestions().
ilObjTest::getExportDirectory | ( | ) |
Definition at line 365 of file class.ilObjTest.php.
References ilFileUtils\getDataDir(), ilObject\getId(), and ILIAS\UI\examples\Symbol\Glyph\Sort\sort().
ilObjTest::getExportSettings | ( | ) |
Definition at line 6566 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
|
private |
Definition at line 6956 of file class.ilObjTest.php.
References getTestId().
Referenced by getProcessingTimeInSeconds().
ilObjTest::getFinalStatement | ( | ) |
Definition at line 701 of file class.ilObjTest.php.
References getMainSettings(), and null.
Referenced by toXML().
ilObjTest::getFixedParticipants | ( | ) |
Definition at line 5574 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::getFixedQuestionSetTotalPoints | ( | ) |
Definition at line 5207 of file class.ilObjTest.php.
References getTestQuestions().
ilObjTest::getGeneralQuestionPropertiesRepository | ( | ) |
Definition at line 7298 of file class.ilObjTest.php.
References $questionrepository.
ilObjTest::getGenericAnswerFeedback | ( | ) |
Definition at line 751 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::getGlobalSettings | ( | ) |
Definition at line 7303 of file class.ilObjTest.php.
Referenced by getTestParticipantsForManualScoring().
ilObjTest::getGroupData | ( | $ids | ) |
Definition at line 4561 of file class.ilObjTest.php.
References ilObject\$ref_id, ilObject\_lookupDescription(), ilObject\_lookupObjId(), and ilObject\_lookupTitle().
ilObjTest::getHighscoreAchievedTS | ( | ) |
Returns if date and time of the scores achievement should be displayed.
Definition at line 6815 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
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 6794 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by isHighscoreAnon(), and toXML().
ilObjTest::getHighscoreEnabled | ( | ) |
Definition at line 6780 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
ilObjTest::getHighscoreHints | ( | ) |
Gets, if the column with the number of requested hints should be shown.
Definition at line 6839 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
ilObjTest::getHighscoreMode | ( | ) |
Definition at line 6877 of file class.ilObjTest.php.
References getScoreSettings().
ilObjTest::getHighscoreOwnTable | ( | ) |
Gets if the own rankings table should be shown.
Definition at line 6855 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
ilObjTest::getHighscorePercentage | ( | ) |
Gets if the percentage column should be shown.
Definition at line 6831 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
ilObjTest::getHighscoreScore | ( | ) |
Gets if the score column should be shown.
Definition at line 6823 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
ilObjTest::getHighscoreTopNum | ( | int | $a_retval = 10 | ) |
Gets the number of entries which are to be shown in the top-rankings table.
Definition at line 6872 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by ILIAS\Test\Results\Toplist\TestTopListRepository\getGeneralToplist(), ILIAS\Test\Results\Toplist\TestTopListRepository\getUserToplistByPercentage(), ILIAS\Test\Results\Toplist\TestTopListRepository\getUserToplistByWorkingtime(), and toXML().
ilObjTest::getHighscoreTopTable | ( | ) |
Gets, if the top-rankings table should be shown.
Definition at line 6863 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
ilObjTest::getHighscoreWTime | ( | ) |
Gets if the column with the workingtime should be shown.
Definition at line 6847 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
|
protected |
Definition at line 7293 of file class.ilObjTest.php.
References ilHtmlPurifierFactory\getInstanceByType().
ilObjTest::getImagePath | ( | ) |
Returns the image path for web accessable images of a test The image path is under the CLIENT_WEB_DIR in assessment/REFERENCE_ID_OF_TEST/images.
public
Definition at line 2660 of file class.ilObjTest.php.
References CLIENT_WEB_DIR, and ilObject\getId().
ilObjTest::getImagePathWeb | ( | ) |
Returns the web image path for web accessable images of a test The image path is under the web accessable data dir in assessment/REFERENCE_ID_OF_TEST/images.
public
Definition at line 2671 of file class.ilObjTest.php.
References CLIENT_WEB_DIR, ilObject\getId(), and ilFileUtils\removeTrailingPathSeparators().
ilObjTest::getImportMapping | ( | ) |
get array of (two) new created questions for import id
Definition at line 3979 of file class.ilObjTest.php.
ilObjTest::getInstantFeedbackSolution | ( | ) |
Definition at line 756 of file class.ilObjTest.php.
References getMainSettings().
Referenced by toXML().
ilObjTest::getIntroduction | ( | ) |
Definition at line 682 of file class.ilObjTest.php.
References getMainSettings(), and null.
Referenced by toXML().
ilObjTest::getIntroductionPageId | ( | ) |
Definition at line 6744 of file class.ilObjTest.php.
References ilObject\getId(), getMainSettings(), getMainSettingsRepository(), and null.
& ilObjTest::getInvitedUsers | ( | int | $user_id = 0 , |
$order = "login, lastname, firstname" |
|||
) |
Returns a list of all invited users in a test.
Definition at line 4385 of file class.ilObjTest.php.
References $user_id, getAnonymity(), getTestId(), and ILIAS\Repository\lng().
ilObjTest::getJavaScriptOutput | ( | ) |
Returns if Javascript should be chosen for drag & drop actions for the active user.
Definition at line 6229 of file class.ilObjTest.php.
ilObjTest::getKioskMode | ( | ) |
Definition at line 861 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::getListOfQuestions | ( | ) |
Definition at line 5272 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::getListOfQuestionsDescription | ( | ) |
Definition at line 5292 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::getListOfQuestionsEnd | ( | ) |
Definition at line 5287 of file class.ilObjTest.php.
References getMainSettings().
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 5267 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::getListOfQuestionsStart | ( | ) |
Definition at line 5282 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::getLocalDIC | ( | ) |
Definition at line 201 of file class.ilObjTest.php.
Referenced by ilTestServiceGUI\setContextResultPresentation().
ilObjTest::getMailNotification | ( | ) |
Definition at line 6485 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::getMailNotificationType | ( | ) |
Definition at line 6561 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::getMainSettings | ( | ) |
Definition at line 7308 of file class.ilObjTest.php.
References $main_settings, getMainSettingsRepository(), and getTestId().
Referenced by addDefaults(), applyDefaults(), cloneConcludingRemarks(), cloneIntroduction(), cloneObject(), fromXML(), getAnonymity(), getAnswerFeedbackPoints(), ILIAS\Test\Results\Presentation\Factory\getAttemptResultsSettings(), getAutosave(), getConcludingRemarksPageId(), getEnableExamview(), getEnableProcessingTime(), getEndingTime(), getFinalStatement(), getFixedParticipants(), getGenericAnswerFeedback(), getInstantFeedbackSolution(), getIntroduction(), getIntroductionPageId(), getKioskMode(), getListOfQuestions(), getListOfQuestionsDescription(), getListOfQuestionsEnd(), getListOfQuestionsSettings(), getListOfQuestionsStart(), getMailNotification(), getMailNotificationType(), getNrOfTries(), getPassword(), getProcessingTime(), getProcessingTimeForXML(), getProcessingTimeInSeconds(), getQuestionSetType(), getRedirectionMode(), getRedirectionUrl(), getResetProcessingTime(), getShowCancel(), getShowKioskModeParticipant(), getShowKioskModeTitle(), getShowMarker(), getShuffleQuestions(), getSpecificAnswerFeedback(), getStartingTime(), getTestParticipants(), getTitleOutput(), getUsePreviousAnswers(), getUsrPassOverviewEnabled(), isBlockPassesAfterPassedEnabled(), isEndingTimeEnabled(), isFollowupQuestionAnswerFixationEnabled(), isForceInstantFeedbackEnabled(), isInstantFeedbackAnswerFixationEnabled(), isNextPassAllowed(), isOfferingQuestionHintsEnabled(), isPasswordEnabled(), isPostponingEnabled(), isRedirectModeKiosk(), isRedirectModeNone(), isShowExamIdInTestPassEnabled(), isSkillServiceEnabled(), isSkillServiceToBeConsidered(), isStartingTimeEnabled(), setQuestionSetType(), and toXML().
ilObjTest::getMainSettingsRepository | ( | ) |
Definition at line 7317 of file class.ilObjTest.php.
References $main_settings_repo.
Referenced by applyDefaults(), cloneObject(), fromXML(), getConcludingRemarksPageId(), getIntroductionPageId(), and getMainSettings().
|
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 6077 of file class.ilObjTest.php.
References ilTestService\isManScoringDone(), and null.
Referenced by assQuestionGUI\getGenericFeedbackOutput(), and assClozeTestGUI\getGenericFeedbackOutput().
ilObjTest::getMarkSchema | ( | ) |
Definition at line 836 of file class.ilObjTest.php.
References $mark_schema, getTestId(), and null.
Referenced by ILIAS\Test\Scoring\Marks\MarkSchemaGUI\__construct(), addDefaults(), applyDefaults(), cloneObject(), evalStatistical(), fromXML(), getAllTestResults(), getTotalPointsPassedArray(), isComplete(), saveToDb(), toXML(), and updateTestResultCache().
ilObjTest::getMaxPassOfTest | ( | ) |
Definition at line 6966 of file class.ilObjTest.php.
References $data, $res, and getTestId().
ilObjTest::getNrOfResultsForPass | ( | $active_id, | |
$pass | |||
) |
Calculates the number of user results for a specific test pass.
Definition at line 597 of file class.ilObjTest.php.
ilObjTest::getNrOfTries | ( | ) |
Definition at line 851 of file class.ilObjTest.php.
References getMainSettings().
Referenced by hasNrOfTriesRestriction(), isExecutable(), isNrOfTriesReached(), and saveToDb().
ilObjTest::getParticipants | ( | ) |
Returns all persons who started the test.
Definition at line 2289 of file class.ilObjTest.php.
References ANONYMOUS_USER_ID, getAnonymity(), getTestId(), and ILIAS\Repository\lng().
ilObjTest::getParticipantsForTestAndQuestion | ( | $test_id, | |
$question_id | |||
) |
Creates an associated array with all active id's for a given test and original question id.
PhpAssignmentInConditionInspection
Definition at line 6366 of file class.ilObjTest.php.
References getAccessFilteredParticipantList().
ilObjTest::getPassed | ( | $active_id | ) |
Definition at line 6346 of file class.ilObjTest.php.
References _getResultPass(), and getTestResult().
ilObjTest::getPassScoring | ( | ) |
Gets the pass scoring type.
Definition at line 793 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
ilObjTest::getPassword | ( | ) |
Definition at line 997 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::getPotentialRandomTestQuestions | ( | ) |
Definition at line 5221 of file class.ilObjTest.php.
References getTestId().
ilObjTest::getProcessingTime | ( | ) |
Definition at line 906 of file class.ilObjTest.php.
References getMainSettings().
|
private |
Definition at line 911 of file class.ilObjTest.php.
References getMainSettings(), and null.
Referenced by toXML().
ilObjTest::getProcessingTimeInSeconds | ( | int | $active_id = 0 | ) |
Definition at line 929 of file class.ilObjTest.php.
References getExtraTime(), and getMainSettings().
Referenced by isMaxProcessingTimeReached().
ilObjTest::getQuestionCount | ( | ) |
Definition at line 4197 of file class.ilObjTest.php.
References isRandomTest(), ILIAS\Repository\lng(), loadQuestions(), and ILIAS\Repository\logger().
Referenced by getQuestionCountWithoutReloading(), getQuestionsOfPass(), and getQuestionsOfTest().
ilObjTest::getQuestionCountAndPointsForPassOfParticipant | ( | int | $active_id, |
int | $pass | ||
) |
Definition at line 2483 of file class.ilObjTest.php.
References $res, lookupQuestionSetTypeByActiveId(), QUESTION_SET_TYPE_FIXED, and QUESTION_SET_TYPE_RANDOM.
Referenced by updateTestPassResults().
ilObjTest::getQuestionCountWithoutReloading | ( | ) |
Definition at line 4237 of file class.ilObjTest.php.
References getQuestionCount(), and isRandomTest().
ilObjTest::getQuestionDataset | ( | $question_id | ) |
Returns the dataset for a given question id.
integer | $question_id | The database id of the question |
Definition at line 1507 of file class.ilObjTest.php.
Referenced by ilTestArchiver\handInParticipantUploadedResults().
ilObjTest::getQuestions | ( | ) |
ilObjTest::getQuestionSetConfig | ( | ) |
Definition at line 216 of file class.ilObjTest.php.
Referenced by ILIAS\Test\Questions\Properties\DatabaseRepository\buildQuestionPropertiesForRandomTest().
ilObjTest::getQuestionSetType | ( | ) |
Definition at line 7034 of file class.ilObjTest.php.
References getMainSettings().
Referenced by getQuestionTitles(), getQuestionTitlesAndIndexes(), isFixedTest(), isRandomTest(), and saveToDb().
ilObjTest::getQuestionSetTypeTranslation | ( | ilLanguage | $lng, |
$questionSetType | |||
) |
Definition at line 7059 of file class.ilObjTest.php.
References QUESTION_SET_TYPE_FIXED, QUESTION_SET_TYPE_RANDOM, and ilLanguage\txt().
ilObjTest::getQuestionsOfPass | ( | int | $active_id, |
int | $pass | ||
) |
Definition at line 2423 of file class.ilObjTest.php.
References getQuestionCount(), and isRandomTest().
Referenced by ilTestArchiver\handInParticipantUploadedResults().
ilObjTest::getQuestionsOfTest | ( | int | $active_id | ) |
Definition at line 2390 of file class.ilObjTest.php.
References getQuestionCount(), and isRandomTest().
ilObjTest::getQuestiontext | ( | $question_id | ) |
Returns the question text for a given question.
integer | $question_id | The question id |
Definition at line 4354 of file class.ilObjTest.php.
References $res.
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 1465 of file class.ilObjTest.php.
References ilObject\$title, $txt, getTitleOutput(), and ILIAS\Repository\lng().
|
private |
Definition at line 1411 of file class.ilObjTest.php.
References getQuestionSetType(), and getTestId().
Referenced by copyQuestions().
ilObjTest::getQuestionTitlesAndIndexes | ( | ) |
Returns the titles of the test questions in question sequence.
Definition at line 1436 of file class.ilObjTest.php.
References getQuestionSetType(), and getTestId().
Referenced by hasQuestionsWithoutQuestionpool().
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 1561 of file class.ilObjTest.php.
References $data.
Referenced by createQuestionGUI().
ilObjTest::getRedirectionMode | ( | ) |
Definition at line 972 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::getRedirectionUrl | ( | ) |
Definition at line 987 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::getResetProcessingTime | ( | ) |
Definition at line 945 of file class.ilObjTest.php.
References getMainSettings().
Referenced by getStartingTimeOfUser().
ilObjTest::getResultsForActiveId | ( | int | $active_id | ) |
Definition at line 6526 of file class.ilObjTest.php.
References updateTestResultCache().
Referenced by ilTestArchiver\getResultsOfUserOutput(), and getTestResult().
ilObjTest::getRoleData | ( | $ids | ) |
Definition at line 4574 of file class.ilObjTest.php.
References ilObject\_lookupDescription(), and ilObject\_lookupTitle().
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 785 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by getTestResult(), and toXML().
ilObjTest::getScoreSettings | ( | ) |
Definition at line 7325 of file class.ilObjTest.php.
References $score_settings, getScoreSettingsRepository(), and getTestId().
Referenced by addDefaults(), applyDefaults(), cloneObject(), fromXML(), ILIAS\Test\Results\Presentation\Factory\getAttemptResultsSettings(), getCountSystem(), getExportSettings(), getHighscoreAchievedTS(), getHighscoreAnon(), getHighscoreEnabled(), getHighscoreHints(), getHighscoreMode(), getHighscoreOwnTable(), getHighscorePercentage(), getHighscoreScore(), getHighscoreTopNum(), getHighscoreTopTable(), getHighscoreWTime(), getPassScoring(), getScoreCutting(), getShowPassDetails(), getShowSolutionAnswersOnly(), getShowSolutionFeedback(), getShowSolutionListComparison(), getShowSolutionListOwnAnswers(), getShowSolutionPrintview(), getShowSolutionSignature(), getShowSolutionSuggested(), isPassDeletionAllowed(), isScoreReportingEnabled(), isShowExamIdInTestResultsEnabled(), isShowGradingMarkEnabled(), isShowGradingStatusEnabled(), marksEditable(), and toXML().
ilObjTest::getScoreSettingsRepository | ( | ) |
Definition at line 7334 of file class.ilObjTest.php.
References $score_settings_repo.
Referenced by applyDefaults(), cloneObject(), fromXML(), and getScoreSettings().
ilObjTest::getShowCancel | ( | ) |
Definition at line 5564 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::getShowKioskModeParticipant | ( | ) |
Definition at line 870 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::getShowKioskModeTitle | ( | ) |
Definition at line 866 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::getShowMarker | ( | ) |
Definition at line 5569 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::getShowPassDetails | ( | ) |
Returns if the pass details should be shown when a test is not finished.
Definition at line 5300 of file class.ilObjTest.php.
References getScoreSettings().
ilObjTest::getShowSolutionAnswersOnly | ( | ) |
Returns if the full solution (including ILIAS content) should be presented to the solution or not.
Definition at line 5331 of file class.ilObjTest.php.
References getScoreSettings().
ilObjTest::getShowSolutionFeedback | ( | ) |
Returns if the feedback should be presented to the solution or not.
Definition at line 5323 of file class.ilObjTest.php.
References getScoreSettings().
ilObjTest::getShowSolutionListComparison | ( | ) |
Definition at line 5356 of file class.ilObjTest.php.
References getScoreSettings().
ilObjTest::getShowSolutionListOwnAnswers | ( | ) |
Definition at line 5361 of file class.ilObjTest.php.
References getScoreSettings().
ilObjTest::getShowSolutionPrintview | ( | ) |
Returns if the solution printview should be presented to the user or not.
Definition at line 5308 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by canShowSolutionPrintview().
ilObjTest::getShowSolutionSignature | ( | ) |
Returns if the signature field should be shown in the test results.
Definition at line 5339 of file class.ilObjTest.php.
References getScoreSettings().
ilObjTest::getShowSolutionSuggested | ( | ) |
Definition at line 5347 of file class.ilObjTest.php.
References getScoreSettings().
ilObjTest::getShuffleQuestions | ( | ) |
Definition at line 5251 of file class.ilObjTest.php.
References getMainSettings().
Referenced by adjustTestSequence().
|
static |
Definition at line 6092 of file class.ilObjTest.php.
References $DIC, $ilDB, and ilRTE\_replaceMediaObjectImageSrc().
Referenced by ILIAS\Test\Scoring\Manual\TestScoringByQuestionGUI\buildForm(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantGUI\buildManScoringParticipantForm(), and ILIAS\Test\Scoring\Manual\TestScoringByQuestionGUI\saveManScoringByQuestion().
ilObjTest::getSpecificAnswerFeedback | ( | ) |
Definition at line 6882 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::getStartingTime | ( | ) |
Definition at line 955 of file class.ilObjTest.php.
References getMainSettings(), and null.
Referenced by isExecutable(), startingTimeReached(), and toXML().
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 6928 of file class.ilObjTest.php.
References getTestId().
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 5085 of file class.ilObjTest.php.
References getResetProcessingTime(), and null.
Referenced by isExecutable().
ilObjTest::getTemplate | ( | ) |
Definition at line 6576 of file class.ilObjTest.php.
References $template_id.
Referenced by cloneObject(), and saveToDb().
ilObjTest::getTestDefaults | ( | $test_defaults_id | ) |
Definition at line 5644 of file class.ilObjTest.php.
References null.
ilObjTest::getTestId | ( | ) |
Gets the database id of the additional test data.
Definition at line 731 of file class.ilObjTest.php.
References $test_id.
Referenced by adjustTestSequence(), ILIAS\Test\Questions\Properties\DatabaseRepository\buildQuestionPropertiesForRandomTest(), cloneObject(), ilTestRandomQuestionSetConfig\cloneQuestionSetRelatedData(), ilTestArchiver\createUserResultsForArchive(), deleteTest(), evalTotalParticipantsArray(), evalTotalPersons(), evalTotalPersonsArray(), evalTotalStartedAverageTime(), getActiveIdOfUser(), getCompleteWorkingTime(), getCompleteWorkingTimeOfParticipant(), getCompleteWorkingTimeOfParticipants(), getExistingQuestions(), getExtraTime(), getInvitedUsers(), getMainSettings(), getMarkSchema(), getMaxPassOfTest(), getParticipants(), getPotentialRandomTestQuestions(), getQuestionTitles(), getQuestionTitlesAndIndexes(), getScoreSettings(), getStartingTimeOfParticipants(), getTestParticipants(), getTestQuestions(), getTimeExtensionsOfParticipants(), ilTestImporter\importSkillLevelThresholds(), insertQuestion(), inviteUser(), isActiveTestSubmitted(), questionMoveDown(), questionMoveUp(), removeTestResults(), removeTestResultsByActiveIds(), removeTestResultsByUserIds(), removeTestResultsFromSoapLpAdministration(), saveCompleteStatus(), saveQuestionsToDb(), saveToDb(), and toXML().
ilObjTest::getTestLogger | ( | ) |
Definition at line 206 of file class.ilObjTest.php.
References $logger.
ilObjTest::getTestLogViewer | ( | ) |
|
static |
Definition at line 7089 of file class.ilObjTest.php.
References $DIC, $ilDB, $res, and ILIAS\Repository\int().
ilObjTest::getTestParticipants | ( | ) |
Definition at line 4441 of file class.ilObjTest.php.
References $data, getAnonymity(), getGeneralSettings(), getMainSettings(), getTestId(), and ILIAS\Repository\lng().
Referenced by buildStatisticsAccessFilteredParticipantList(), getActiveParticipantList(), and getTestParticipantsForManualScoring().
ilObjTest::getTestParticipantsForManualScoring | ( | $filter = null | ) |
Definition at line 4504 of file class.ilObjTest.php.
References getGlobalSettings(), and getTestParticipants().
ilObjTest::getTestQuestions | ( | ) |
Definition at line 5138 of file class.ilObjTest.php.
References $questions, getTestId(), null, and ILIAS\Repository\refinery().
Referenced by getFixedQuestionSetTotalPoints(), ILIAS\Test\Questions\Presentation\QuestionsTableQuery\getRowIds(), isTestQuestion(), and removeQuestionWithResults().
ilObjTest::getTestResult | ( | int | $active_id, |
?int | $pass = null , |
||
bool | $ordered_sequence = false , |
||
bool | $consider_hidden_questions = true , |
||
bool | $consider_optional_questions = true |
||
) |
Calculates the results of a test for a given user and returns an array with all test results.
Definition at line 1788 of file class.ilObjTest.php.
References $data, $results, $test_sequence, assQuestion\_getSuggestedSolutionOutput(), getResultsForActiveId(), getScoreCutting(), ILIAS\Repository\int(), null, and ilLegacyFormElementsUtil\prepareFormOutput().
Referenced by ILIAS\Test\Results\Data\Factory\buildAttemptResults(), evalStatistical(), getPassed(), ilTestArchiver\getResultsOfUserOutput(), and getTotalPointsPassedArray().
ilObjTest::getTextAnswer | ( | $active_id, | |
$question_id, | |||
$pass = null |
|||
) |
Returns the text answer of a given user for a given question.
integer | $active_id | |
integer | $question_id |
Definition at line 4325 of file class.ilObjTest.php.
References assQuestion\_getSolutionMaxPass(), and null.
Referenced by ilTestArchiver\handInParticipantUploadedResults().
ilObjTest::getTimeExtensionsOfParticipants | ( | ) |
Definition at line 6942 of file class.ilObjTest.php.
References getTestId().
ilObjTest::getTitleFilenameCompliant | ( | ) |
returns the object title prepared to be used as a filename
Definition at line 224 of file class.ilObjTest.php.
References ilFileUtils\getASCIIFilename(), and ilObject\getTitle().
ilObjTest::getTitleOutput | ( | ) |
Definition at line 880 of file class.ilObjTest.php.
References getMainSettings().
Referenced by getQuestionTitle().
ilObjTest::getTmpCopyWizardCopyId | ( | ) |
Definition at line 229 of file class.ilObjTest.php.
References $tmpCopyWizardCopyId.
Referenced by ilTestFixedQuestionSetConfig\cloneQuestionSetRelatedData(), and ilTestRandomQuestionSetConfig\registerClonedSourcePoolDefinitionIdMapping().
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 2266 of file class.ilObjTest.php.
References evalTotalParticipantsArray(), getMarkSchema(), getTestResult(), and null.
ilObjTest::getUnfilteredEvaluationData | ( | ) |
Definition at line 2477 of file class.ilObjTest.php.
Referenced by getCompleteEvaluationData().
ilObjTest::getUsePreviousAnswers | ( | ) |
Definition at line 875 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::getUserData | ( | $ids | ) |
Returns a data of all users specified by id list.
Definition at line 4538 of file class.ilObjTest.php.
References getAnonymity(), and ILIAS\Repository\lng().
ilObjTest::getUsrPassOverviewEnabled | ( | ) |
Definition at line 5277 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::getVisitingTimeOfParticipant | ( | int | $active_id | ) |
Definition at line 7571 of file class.ilObjTest.php.
& ilObjTest::getWorkedQuestions | ( | $active_id, | |
$pass = null |
|||
) |
Gets the id's of all questions a user already worked through.
Definition at line 1617 of file class.ilObjTest.php.
ilObjTest::getWorkingTimeOfParticipantForPass | ( | int | $active_id, |
int | $pass | ||
) |
Definition at line 2114 of file class.ilObjTest.php.
Referenced by updateTestPassResults().
ilObjTest::getXMLZip | ( | ) |
Get zipped xml file for test.
Definition at line 6479 of file class.ilObjTest.php.
ilObjTest::hasAnyTestResult | ( | ilTestSession | $test_session | ) |
Definition at line 5068 of file class.ilObjTest.php.
References ilTestSession\getActiveId(), and ilTestSession\getLastFinishedPass().
ilObjTest::hasNrOfTriesRestriction | ( | ) |
returns if the numbers of tries have to be checked
Definition at line 4687 of file class.ilObjTest.php.
References getNrOfTries().
Referenced by isExecutable().
ilObjTest::hasQuestionsWithoutQuestionpool | ( | ) |
Definition at line 6629 of file class.ilObjTest.php.
References getQuestionTitlesAndIndexes().
|
private |
Definition at line 6166 of file class.ilObjTest.php.
References ilObject\$user, ilRTE\_replaceMediaObjectImageSrc(), ilObject\getRefId(), ILIAS\Repository\logger(), null, and ILIAS\Repository\user().
Referenced by saveManualFeedback().
ilObjTest::insertQuestion | ( | int | $question_id, |
bool | $link_only = false |
||
) |
Definition at line 1358 of file class.ilObjTest.php.
References $data, duplicateQuestionForTest(), ilObject\getRefId(), getTestId(), assQuestion\instantiateQuestion(), loadQuestions(), ILIAS\Repository\logger(), saveCompleteStatus(), and ILIAS\Repository\user().
Referenced by copyQuestions().
ilObjTest::inviteUser | ( | $user_id, | |
$client_ip = "" |
|||
) |
Invites a user to a test.
integer | $user_id | The database id of the invited user public |
Definition at line 4592 of file class.ilObjTest.php.
References $user_id, getTestId(), and null.
ilObjTest::isActivationLimited | ( | ) |
Definition at line 6704 of file class.ilObjTest.php.
References $activation_limited.
Referenced by addDefaults(), saveToDb(), and toXML().
ilObjTest::isActiveTestSubmitted | ( | $user_id = null | ) |
returns if the active for user_id has been submitted
Definition at line 4670 of file class.ilObjTest.php.
References $user_id, getTestId(), and ILIAS\Repository\user().
ilObjTest::isBlockPassesAfterPassedEnabled | ( | ) |
Definition at line 856 of file class.ilObjTest.php.
References getMainSettings().
Referenced by isExecutable().
|
final |
Definition at line 425 of file class.ilObjTest.php.
References getMarkSchema(), ilTestQuestionSetConfig\isQuestionSetConfigured(), and null.
Referenced by saveCompleteStatus().
ilObjTest::isEndingTimeEnabled | ( | ) |
Definition at line 961 of file class.ilObjTest.php.
References getMainSettings().
Referenced by endingTimeReached().
ilObjTest::isExecutable | ( | $test_session, | |
$user_id, | |||
$allow_pass_increase = false |
|||
) |
Checks if the test is executable by the given user.
$test_session | ||
integer | $user_id | The user id |
bool | $allowPassIncrease |
ilDateTimeException |
Definition at line 4971 of file class.ilObjTest.php.
References $user_id, ilObjTestAccess\_isPassed(), endingTimeReached(), ilDatePresentation\formatDate(), getActiveIdOfUser(), getEnableProcessingTime(), getEndingTime(), ilObject\getId(), getNrOfTries(), ilObject\getObjectProperties(), getStartingTime(), getStartingTimeOfUser(), hasNrOfTriesRestriction(), IL_CAL_UNIX, isBlockPassesAfterPassedEnabled(), isMaxProcessingTimeReached(), isNextPassAllowed(), ILIAS\Repository\lng(), and startingTimeReached().
ilObjTest::isFixedTest | ( | ) |
Returns the fact wether this test is a fixed question set test or not.
Definition at line 7044 of file class.ilObjTest.php.
References getQuestionSetType().
Referenced by ILIAS\Test\ExportImport\Factory\getExporter(), and ILIAS\Test\Questions\Properties\DatabaseRepository\getQuestionPropertiesForTest().
ilObjTest::isFollowupQuestionAnswerFixationEnabled | ( | ) |
Definition at line 7165 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::isForceInstantFeedbackEnabled | ( | ) |
Definition at line 7175 of file class.ilObjTest.php.
References getMainSettings().
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 6807 of file class.ilObjTest.php.
References getAnonymity(), and getHighscoreAnon().
ilObjTest::isHTML | ( | $a_text | ) |
Checks if a given string contains HTML or not.
string | $a_text | Text which should be checked |
Definition at line 5433 of file class.ilObjTest.php.
Referenced by addQTIMaterial().
ilObjTest::isInstantFeedbackAnswerFixationEnabled | ( | ) |
Definition at line 7170 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::isMaxProcessingTimeReached | ( | int | $starting_time, |
int | $active_id | ||
) |
Returns whether the maximum processing time for a test is reached or not.
Definition at line 5123 of file class.ilObjTest.php.
References getEnableProcessingTime(), and getProcessingTimeInSeconds().
Referenced by isExecutable().
ilObjTest::isNextPassAllowed | ( | ilTestPassesSelector | $testPassesSelector, |
int & | $next_pass_allowed_timestamp | ||
) |
Definition at line 5039 of file class.ilObjTest.php.
References ilTestPassesSelector\getLastFinishedPass(), ilTestPassesSelector\getLastFinishedPassTimestamp(), getMainSettings(), and null.
Referenced by isExecutable().
ilObjTest::isNrOfTriesReached | ( | $tries | ) |
returns if number of tries are reached
Definition at line 4698 of file class.ilObjTest.php.
References getNrOfTries().
ilObjTest::isOfferingQuestionHintsEnabled | ( | ) |
Definition at line 6689 of file class.ilObjTest.php.
References getMainSettings().
Referenced by ilTestArchiver\getResultsOfUserOutput().
ilObjTest::isOnline | ( | ) |
|
static |
Definition at line 7181 of file class.ilObjTest.php.
References $DIC, $ilDB, $test_sequence, and ilObjectFactory\getInstanceByRefId().
ilObjTest::isPassDeletionAllowed | ( | ) |
Definition at line 6892 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
ilObjTest::isPasswordEnabled | ( | ) |
Definition at line 992 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::isPluginActive | ( | $a_pname | ) |
Checks wheather or not a question plugin with a given name is active.
string | $a_pname | The plugin name public |
Definition at line 6324 of file class.ilObjTest.php.
References ilComponentInfo\TYPE_MODULES.
ilObjTest::isPostponingEnabled | ( | ) |
Definition at line 736 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::isPreviousSolutionReuseEnabled | ( | $active_id | ) |
Definition at line 885 of file class.ilObjTest.php.
References $res, and ILIAS\Repository\user().
ilObjTest::isRandomTest | ( | ) |
Returns the fact wether this test is a random questions test or not.
Definition at line 7054 of file class.ilObjTest.php.
References getQuestionSetType().
Referenced by createTestSequence(), getAllQuestions(), getAnsweredQuestionCount(), getExistingQuestions(), getQuestionCount(), getQuestionCountWithoutReloading(), ILIAS\Test\Questions\Properties\DatabaseRepository\getQuestionPropertiesForTest(), getQuestionsOfPass(), getQuestionsOfTest(), loadQuestions(), removeQuestionWithResults(), and removeTestResultsByActiveIds().
ilObjTest::isRedirectModeKiosk | ( | ) |
Definition at line 977 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::isRedirectModeNone | ( | ) |
Definition at line 982 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::isScoreReportingEnabled | ( | ) |
Definition at line 741 of file class.ilObjTest.php.
References getScoreSettings().
ilObjTest::isShowExamIdInTestPassEnabled | ( | ) |
Definition at line 7015 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::isShowExamIdInTestResultsEnabled | ( | ) |
Definition at line 7020 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by ilTestArchiver\getResultsOfUserOutput().
ilObjTest::isShowGradingMarkEnabled | ( | ) |
Definition at line 7160 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
ilObjTest::isShowGradingStatusEnabled | ( | ) |
Definition at line 7155 of file class.ilObjTest.php.
References getScoreSettings().
Referenced by toXML().
|
static |
Definition at line 7144 of file class.ilObjTest.php.
References null.
Referenced by ilTestSkillAdministrationGUI\isAccessDenied().
ilObjTest::isSkillServiceEnabled | ( | ) |
Definition at line 7113 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::isSkillServiceToBeConsidered | ( | ) |
Returns whether this test must consider skills, usually by providing appropriate extensions in the user interface components.
Skills must be considered if skill management is globally enabled and this object has the skill service enabled as well.
Definition at line 7129 of file class.ilObjTest.php.
References getMainSettings().
ilObjTest::isStartingTimeEnabled | ( | ) |
Definition at line 950 of file class.ilObjTest.php.
References getMainSettings().
Referenced by startingTimeReached().
ilObjTest::isTestFinished | ( | $active_id | ) |
returns if the active for user_id has been submitted
Definition at line 4657 of file class.ilObjTest.php.
Referenced by isTestFinishedToViewResults().
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 1647 of file class.ilObjTest.php.
References isTestFinished(), and lookupPassResultsUpdateTimestamp().
ilObjTest::isTestQuestion | ( | int | $question_id | ) |
Definition at line 5183 of file class.ilObjTest.php.
References getTestQuestions().
ilObjTest::loadFromDb | ( | ) |
Definition at line 607 of file class.ilObjTest.php.
References $data, ilObject\getId(), ilObjectActivation\getItem(), loadQuestions(), setActivationEndingTime(), setActivationLimited(), setActivationStartingTime(), setActivationVisibility(), setTestId(), and ilObjectActivation\TIMINGS_ACTIVATION.
Referenced by cloneObject(), fromXML(), and read().
ilObjTest::loadQuestions | ( | int | $active_id = 0 , |
?int | $pass = null |
||
) |
Load the test question id's from the database.
Definition at line 642 of file class.ilObjTest.php.
References $data, getActiveIdOfUser(), isRandomTest(), and ILIAS\Repository\user().
Referenced by getAllQuestions(), getAnsweredQuestionCount(), getQuestionCount(), insertQuestion(), loadFromDb(), questionMoveDown(), questionMoveUp(), reindexFixedQuestionOrdering(), and setQuestionOrder().
|
static |
Definition at line 6979 of file class.ilObjTest.php.
References $DIC, $ilDB, and null.
Referenced by ilTestArchiver\getResultsOfUserOutput(), ilTestPlayerAbstractGUI\outQuestionSummaryCmd(), ilTestEvaluationGUI\outUserListOfAnswerPasses(), ilTestEvaluationGUI\outUserPassDetails(), ilTestServiceGUI\populateExamId(), ilTestPlayerAbstractGUI\prepareTestPage(), and ilTestSubmissionReviewGUI\show().
|
static |
int | $active_id | |
int | $pass |
Definition at line 4921 of file class.ilObjTest.php.
Referenced by ILIAS\Test\ExportImport\ResultsExportExcel\addResultsHeader(), ilTestService\getPassOverviewData(), and isTestFinishedToViewResults().
ilObjTest::lookupQuestionSetTypeByActiveId | ( | int | $active_id | ) |
Definition at line 5579 of file class.ilObjTest.php.
Referenced by getQuestionCountAndPointsForPassOfParticipant().
ilObjTest::marksEditable | ( | ) |
Definition at line 3998 of file class.ilObjTest.php.
References evalTotalPersons(), and getScoreSettings().
Referenced by ILIAS\Test\Scoring\Marks\MarkSchemaGUI\__construct().
ilObjTest::modifyExportIdentifier | ( | $a_tag, | |
$a_param, | |||
$a_value | |||
) |
Returns the installation id for a given identifier.
private
Definition at line 3866 of file class.ilObjTest.php.
References ilUtil\insertInstIntoID().
ilObjTest::moveQuestions | ( | array | $move_questions, |
int | $target_index, | ||
int | $insert_mode | ||
) |
array<int> | $move_questions | |
integer | $insert_mode | 0, if insert before the target position, 1 if insert after the target position |
Definition at line 2728 of file class.ilObjTest.php.
References $questions, ilObject\getRefId(), ILIAS\Repository\logger(), saveQuestionsToDb(), and ILIAS\Repository\user().
ilObjTest::onMarkSchemaSaved | ( | ) |
Definition at line 3986 of file class.ilObjTest.php.
References participantDataExist(), recalculateScores(), and saveCompleteStatus().
ilObjTest::participantDataExist | ( | ) |
Definition at line 7072 of file class.ilObjTest.php.
References $participantDataExist, evalTotalPersons(), and null.
Referenced by onMarkSchemaSaved().
ilObjTest::pcArrayShuffle | ( | $array | ) |
Shuffles the values of a given array.
array | $array | An array which should be shuffled public |
Definition at line 1771 of file class.ilObjTest.php.
ilObjTest::prepareTextareaOutput | ( | $txt_output, | |
$prepare_for_latex_output = false , |
|||
$omitNl2BrWhenTextArea = false |
|||
) |
Prepares a string for a text area output in tests.
string | $txt_output | String which should be prepared for output public |
Definition at line 5530 of file class.ilObjTest.php.
References null, and ilLegacyFormElementsUtil\prepareTextareaOutput().
ilObjTest::processPrintoutput2FO | ( | $print_output | ) |
Convert a print output to XSL-FO.
string | $print_output | The print output |
Definition at line 5967 of file class.ilObjTest.php.
References $params, null, and ILIAS\Repository\settings().
Referenced by deliverPDFfromHTML().
ilObjTest::qtiMaterialToArray | ( | $a_material | ) |
Reads an QTI material tag and creates a text string.
Definition at line 5448 of file class.ilObjTest.php.
References ilSession\get(), and ILIAS\Repository\logger().
Referenced by fromXML().
ilObjTest::questionMoveDown | ( | $question_id | ) |
Moves a question down in order.
integer | $question_id | The database id of the question to be moved down public |
Definition at line 1313 of file class.ilObjTest.php.
References getTestId(), and loadQuestions().
ilObjTest::questionMoveUp | ( | $question_id | ) |
Moves a question up in order.
integer | $question_id | The database id of the question to be moved up public |
Definition at line 1273 of file class.ilObjTest.php.
References $data, getTestId(), and loadQuestions().
ilObjTest::read | ( | ) |
Definition at line 257 of file class.ilObjTest.php.
References loadFromDb(), and null.
ilObjTest::recalculateScores | ( | $preserve_manscoring = false | ) |
Definition at line 7081 of file class.ilObjTest.php.
References ilLPStatusWrapper\_updateStatus(), ilObject\getId(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by onMarkSchemaSaved().
ilObjTest::reindexFixedQuestionOrdering | ( | ) |
Definition at line 6581 of file class.ilObjTest.php.
References loadQuestions().
Referenced by removeQuestions(), and removeQuestionWithResults().
ilObjTest::removeQuestion | ( | int | $question_id | ) |
Definition at line 1104 of file class.ilObjTest.php.
References Vendor\Package\$e, ilObject\getRefId(), ILIAS\Repository\logger(), and ILIAS\Repository\user().
Referenced by removeQuestions(), and removeQuestionWithResults().
ilObjTest::removeQuestionFromSequences | ( | int | $question_id, |
array | $active_ids, | ||
ilTestReindexedSequencePositionMap | $reindexed_sequence_position_map | ||
) |
array<int> | $active_ids |
Definition at line 1067 of file class.ilObjTest.php.
References $test_sequence.
Referenced by removeQuestionWithResults().
ilObjTest::removeQuestions | ( | array | $question_ids | ) |
array<int> | $question_ids |
Definition at line 1095 of file class.ilObjTest.php.
References reindexFixedQuestionOrdering(), and removeQuestion().
ilObjTest::removeQuestionsWithResults | ( | array | $question_ids | ) |
Definition at line 1002 of file class.ilObjTest.php.
References ILIAS\Repository\lng(), removeQuestionWithResults(), and ILIAS\Repository\user().
|
private |
Definition at line 1017 of file class.ilObjTest.php.
References ilObject\$object_properties, ilLPStatusWrapper\_refreshStatus(), ilObject\getId(), ilObject\getObjectProperties(), ilObjectProperties\getPropertyIsOnline(), ilObject\getRefId(), getTestQuestions(), assQuestion\instantiateQuestion(), isRandomTest(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), reindexFixedQuestionOrdering(), ILIAS\Test\Scoring\Manual\TestScoring\removeAllQuestionResults(), removeQuestion(), removeQuestionFromSequences(), ilObjectProperties\storePropertyIsOnline(), ILIAS\Test\Scoring\Manual\TestScoring\updatePassAndTestResults(), and ILIAS\Repository\user().
Referenced by removeQuestionsWithResults().
ilObjTest::removeTestActives | ( | array | $active_ids | ) |
array<int> | $active_ids |
Definition at line 1260 of file class.ilObjTest.php.
Referenced by removeTestResults(), removeTestResultsFromSoapLpAdministration(), and ilCourseObjectiveResult\resetTestForUser().
ilObjTest::removeTestResults | ( | ilTestParticipantData | $participant_data | ) |
Definition at line 1161 of file class.ilObjTest.php.
References ilTestParticipantData\getActiveIds(), ilTestParticipantData\getAnonymousActiveIds(), ilObject\getId(), ilObjectLP\getInstance(), ilObject\getRefId(), getTestId(), ilTestParticipantData\getUserIdByActiveId(), ilTestParticipantData\getUserIds(), ILIAS\Repository\logger(), removeTestActives(), removeTestResultsByActiveIds(), and ILIAS\Repository\user().
Referenced by deleteTest().
|
private |
Definition at line 1227 of file class.ilObjTest.php.
References CLIENT_WEB_DIR, ilFileUtils\delDir(), ilAssQuestionHintTracking\deleteRequestsByActiveIds(), getTestId(), isRandomTest(), and PassPresentedVariablesRepo\TABLE_NAME.
Referenced by removeTestResults(), and removeTestResultsByUserIds().
ilObjTest::removeTestResultsByUserIds | ( | array | $user_ids | ) |
Definition at line 1209 of file class.ilObjTest.php.
References getTestId(), ILIAS\Repository\lng(), and removeTestResultsByActiveIds().
Referenced by removeTestResultsFromSoapLpAdministration().
ilObjTest::removeTestResultsFromSoapLpAdministration | ( | array | $user_ids | ) |
this method should only be used from non refactored soap context i think
$userIds |
Definition at line 1136 of file class.ilObjTest.php.
References ilObject\getRefId(), getTestId(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), removeTestActives(), removeTestResultsByUserIds(), and ILIAS\Repository\user().
|
private |
Definition at line 3327 of file class.ilObjTest.php.
Referenced by addConcludingRemarksToSettingsFromImport(), and addIntroductionToSettingsFromImport().
|
private |
Definition at line 3314 of file class.ilObjTest.php.
References ilObjMediaObject\_saveUsage(), and ilObject\getId().
Referenced by addConcludingRemarksToSettingsFromImport(), and addIntroductionToSettingsFromImport().
|
private |
Definition at line 3339 of file class.ilObjTest.php.
References ilRTE\_replaceMediaObjectImageSrc(), ilObjMediaObject\_saveTempFileAsMediaObject(), ilObjMediaObject\_saveUsage(), ilObject\getId(), and IL_INST_ID.
Referenced by addConcludingRemarksToSettingsFromImport(), and addIntroductionToSettingsFromImport().
ilObjTest::saveAuthorToMetadata | ( | $author = "" | ) |
Saves an authors name into the lifecycle metadata if no lifecycle metadata exists This will only be called for conversion of "old" tests where the author hasn't been stored in the lifecycle metadata.
string | $a_author | A string containing the name of the test author private |
Definition at line 4024 of file class.ilObjTest.php.
References ilObject\getId(), ilObject\getType(), and ILIAS\Repository\user().
Referenced by doCreateMetaData(), and fromXML().
ilObjTest::saveCompleteStatus | ( | ilTestQuestionSetConfig | $test_question_set_config | ) |
Definition at line 439 of file class.ilObjTest.php.
References getTestId(), and isComplete().
Referenced by insertQuestion(), and onMarkSchemaSaved().
ilObjTest::saveManualFeedback | ( | int | $active_id, |
int | $question_id, | ||
int | $pass, | ||
?string | $feedback, | ||
bool | $finalized = false |
||
) |
Definition at line 6148 of file class.ilObjTest.php.
References insertManualFeedback().
ilObjTest::saveQuestionsToDb | ( | ) |
Definition at line 539 of file class.ilObjTest.php.
References getTestId().
Referenced by moveQuestions(), and saveToDb().
ilObjTest::saveToDb | ( | bool | $properties_only = false | ) |
Definition at line 454 of file class.ilObjTest.php.
References evalTotalPersons(), getActivationEndingTime(), getActivationStartingTime(), getActivationVisibility(), ilObject\getId(), getMarkSchema(), getNrOfTries(), getQuestionSetType(), getTemplate(), getTestId(), isActivationLimited(), null, saveQuestionsToDb(), and storeActivationSettings().
Referenced by applyDefaults(), and fromXML().
|
protected |
Definition at line 6467 of file class.ilObjTest.php.
Referenced by getAggregatedResultsData().
ilObjTest::sendAdvancedNotification | ( | int | $active_id | ) |
Definition at line 6498 of file class.ilObjTest.php.
References $path, _getUserIdFromActiveId(), ANONYMOUS_USER_ID, ilObject\getOwner(), ilObject\getTitle(), and userLookupFullName().
ilObjTest::sendSimpleNotification | ( | $active_id | ) |
Definition at line 6490 of file class.ilObjTest.php.
References _getUserIdFromActiveId(), ilObject\getOwner(), ilObject\getTitle(), and userLookupFullName().
ilObjTest::setAccessFilteredParticipantList | ( | ilTestParticipantList | $access_filtered_participant_list | ) |
Definition at line 2462 of file class.ilObjTest.php.
References $access_filtered_participant_list.
ilObjTest::setActivationEndingTime | ( | ?int | $ending_time = null | ) |
Definition at line 6907 of file class.ilObjTest.php.
Referenced by fromXML(), and loadFromDb().
ilObjTest::setActivationLimited | ( | $a_value | ) |
Definition at line 6709 of file class.ilObjTest.php.
Referenced by fromXML(), loadFromDb(), and storeActivationSettings().
ilObjTest::setActivationStartingTime | ( | ?int | $starting_time = null | ) |
Definition at line 6902 of file class.ilObjTest.php.
Referenced by fromXML(), loadFromDb(), and storeActivationSettings().
ilObjTest::setActivationVisibility | ( | $a_value | ) |
Definition at line 6694 of file class.ilObjTest.php.
Referenced by fromXML(), loadFromDb(), and storeActivationSettings().
ilObjTest::setQuestionOrder | ( | array | $order | ) |
Definition at line 6591 of file class.ilObjTest.php.
References $id, ilObject\getRefId(), loadQuestions(), ILIAS\Repository\logger(), and ILIAS\Repository\user().
ilObjTest::setQuestionSetSolved | ( | $value, | |
$question_id, | |||
$user_id | |||
) |
sets question solved state to value for given user_id
Definition at line 4639 of file class.ilObjTest.php.
References $user_id, and getActiveIdOfUser().
ilObjTest::setQuestionSetType | ( | string | $question_set_type | ) |
Definition at line 7026 of file class.ilObjTest.php.
References getGeneralSettings(), and getMainSettings().
ilObjTest::setTemplate | ( | int | $template_id | ) |
ilObjTest::setTestId | ( | $a_id | ) |
Sets the test ID.
integer | $a_id | Test ID |
Definition at line 6244 of file class.ilObjTest.php.
Referenced by loadFromDb().
ilObjTest::setTmpCopyWizardCopyId | ( | int | $tmpCopyWizardCopyId | ) |
ilObjTest::startingTimeReached | ( | ) |
Returns true if the starting time of a test is reached A starting time is not available for self assessment tests.
Definition at line 2780 of file class.ilObjTest.php.
References getStartingTime(), and isStartingTimeEnabled().
Referenced by isExecutable().
ilObjTest::startWorkingTime | ( | $active_id, | |
$pass | |||
) |
Write the initial entry for the tests working time to the database.
integer | $user_id | The database id of the user working with the test public |
Definition at line 1585 of file class.ilObjTest.php.
ilObjTest::storeActivationSettings | ( | ?bool | $is_activation_limited = false , |
?int | $activation_starting_time = null , |
||
?int | $activation_ending_time = null , |
||
bool | $activation_visibility = false |
||
) |
Definition at line 6714 of file class.ilObjTest.php.
References setActivationLimited(), setActivationStartingTime(), setActivationVisibility(), ilObjectActivation\TIMINGS_ACTIVATION, and ilObjectActivation\TIMINGS_DEACTIVATED.
Referenced by applyDefaults(), and saveToDb().
ilObjTest::storeMarkSchema | ( | MarkSchema | $mark_schema | ) |
Definition at line 845 of file class.ilObjTest.php.
References null.
ilObjTest::toXML | ( | ) |
Returns a QTI xml representation of the test.
Definition at line 3364 of file class.ilObjTest.php.
References $data, ilRTE\_replaceMediaObjectImageSrc(), addQTIMaterial(), buildIso8601PeriodForExportCompatibility(), ILIAS\Test\Settings\MainSettings\MainSettings\getAccessSettings(), getActivationEndingTime(), getActivationStartingTime(), getActivationVisibility(), ILIAS\Test\Settings\MainSettings\MainSettings\getAdditionalSettings(), getAuthor(), getCountSystem(), ilObject\getDescription(), getEndingTime(), getExportSettings(), getFinalStatement(), ILIAS\Test\Settings\MainSettings\MainSettings\getFinishingSettings(), ILIAS\Test\Settings\MainSettings\MainSettings\getGeneralSettings(), getHighscoreAchievedTS(), getHighscoreAnon(), getHighscoreEnabled(), getHighscoreHints(), getHighscoreOwnTable(), getHighscorePercentage(), getHighscoreScore(), getHighscoreTopNum(), getHighscoreTopTable(), getHighscoreWTime(), getInstantFeedbackSolution(), getIntroduction(), ILIAS\Test\Settings\MainSettings\MainSettings\getIntroductionSettings(), getMainSettings(), getMarkSchema(), ILIAS\Test\Settings\MainSettings\MainSettings\getParticipantFunctionalitySettings(), getPassScoring(), getProcessingTimeForXML(), ILIAS\Test\Settings\MainSettings\MainSettings\getQuestionBehaviourSettings(), getScoreCutting(), getScoreSettings(), getStartingTime(), ILIAS\Test\Settings\MainSettings\MainSettings\getTestBehaviourSettings(), getTestId(), ilObject\getTitle(), IL_INST_ID, ILIAS_VERSION, isActivationLimited(), isPassDeletionAllowed(), isShowGradingMarkEnabled(), isShowGradingStatusEnabled(), and null.
ilObjTest::update | ( | ) |
Definition at line 246 of file class.ilObjTest.php.
References ilObject\updateMetaData().
ilObjTest::updateTestPassResults | ( | int | $active_id, |
int | $pass, | ||
?ilAssQuestionProcessLocker | $process_locker = null , |
||
?int | $test_obj_id = null |
||
) |
Definition at line 7435 of file class.ilObjTest.php.
References $data, buildExamId(), getQuestionCountAndPointsForPassOfParticipant(), getWorkingTimeOfParticipantForPass(), null, and updateTestResultCache().
ilObjTest::updateTestResultCache | ( | int | $active_id, |
?ilAssQuestionProcessLocker | $process_locker = null |
||
) |
Definition at line 7342 of file class.ilObjTest.php.
References $res, _getResultPass(), getMarkSchema(), ILIAS\Repository\int(), and null.
Referenced by getResultsForActiveId(), and updateTestPassResults().
ilObjTest::updateWorkingTime | ( | $times_id | ) |
Update the working time of a test when a question is answered.
integer | $times_id | The database id of a working time entry public |
Definition at line 1602 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 5608 of file class.ilObjTest.php.
References $user_id, ilObjUser\_lookupName(), getAnonymity(), and ILIAS\Repository\lng().
Referenced by sendAdvancedNotification(), and sendSimpleNotification().
|
protected |
Definition at line 147 of file class.ilObjTest.php.
Referenced by getAccessFilteredParticipantList(), and setAccessFilteredParticipantList().
|
protected |
Definition at line 113 of file class.ilObjTest.php.
Referenced by getActivationEndingTime().
|
private |
Definition at line 79 of file class.ilObjTest.php.
Referenced by isActivationLimited().
|
protected |
Definition at line 112 of file class.ilObjTest.php.
Referenced by getActivationStartingTime().
|
protected |
Definition at line 111 of file class.ilObjTest.php.
Referenced by getActivationVisibility().
string ilObjTest::$author |
Definition at line 89 of file class.ilObjTest.php.
|
protected |
Definition at line 128 of file class.ilObjTest.php.
|
private |
Definition at line 144 of file class.ilObjTest.php.
|
private |
Definition at line 143 of file class.ilObjTest.php.
|
protected |
Definition at line 125 of file class.ilObjTest.php.
ilObjTest::$evaluation_data |
Contains the evaluation data settings the tutor defines for the user.
Definition at line 100 of file class.ilObjTest.php.
|
protected |
Definition at line 141 of file class.ilObjTest.php.
|
private |
Definition at line 81 of file class.ilObjTest.php.
|
private |
Definition at line 145 of file class.ilObjTest.php.
|
protected |
Definition at line 131 of file class.ilObjTest.php.
int ilObjTest::$invitation = self::INVITATION_OFF |
Definition at line 88 of file class.ilObjTest.php.
|
staticprivate |
Definition at line 7142 of file class.ilObjTest.php.
|
protected |
Definition at line 150 of file class.ilObjTest.php.
|
protected |
Definition at line 138 of file class.ilObjTest.php.
Referenced by getTestLogViewer().
|
protected |
Definition at line 137 of file class.ilObjTest.php.
Referenced by getTestLogger().
|
protected |
Definition at line 132 of file class.ilObjTest.php.
Referenced by fromXML(), and getMainSettings().
|
protected |
Definition at line 133 of file class.ilObjTest.php.
Referenced by getMainSettingsRepository().
|
private |
Definition at line 86 of file class.ilObjTest.php.
Referenced by getMarkSchema().
|
private |
Definition at line 85 of file class.ilObjTest.php.
ilObjTest::$metadata |
A reference to an IMS compatible matadata set.
Definition at line 94 of file class.ilObjTest.php.
Referenced by fromXML().
|
private |
Definition at line 80 of file class.ilObjTest.php.
|
private |
Definition at line 82 of file class.ilObjTest.php.
Referenced by isOnline().
|
protected |
Definition at line 129 of file class.ilObjTest.php.
|
protected |
Definition at line 148 of file class.ilObjTest.php.
|
private |
holds the fact wether participant data exists or not DO NOT USE TIS PROPERTY DRIRECTLY ALWAYS USE ilObjTest::paricipantDataExist() since this method initialises this property
Definition at line 120 of file class.ilObjTest.php.
Referenced by participantDataExist().
|
protected |
Definition at line 109 of file class.ilObjTest.php.
|
protected |
Definition at line 139 of file class.ilObjTest.php.
|
protected |
Definition at line 83 of file class.ilObjTest.php.
Referenced by getGeneralQuestionPropertiesRepository().
array ilObjTest::$questions = [] |
Definition at line 95 of file class.ilObjTest.php.
Referenced by getQuestions(), getTestQuestions(), and moveQuestions().
|
protected |
Definition at line 126 of file class.ilObjTest.php.
|
protected |
Definition at line 134 of file class.ilObjTest.php.
Referenced by fromXML(), and getScoreSettings().
|
protected |
Definition at line 135 of file class.ilObjTest.php.
Referenced by getScoreSettingsRepository().
|
protected |
Definition at line 127 of file class.ilObjTest.php.
|
private |
Definition at line 107 of file class.ilObjTest.php.
Referenced by getTemplate(), and setTemplate().
int ilObjTest::$test_id = -1 |
Definition at line 87 of file class.ilObjTest.php.
Referenced by _getTestIDFromObjectID(), and getTestId().
|
private |
Definition at line 124 of file class.ilObjTest.php.
ilObjTest::$test_sequence = false |
contains the test sequence data
Definition at line 105 of file class.ilObjTest.php.
Referenced by getTestResult(), isParticipantsLastPassActive(), and removeQuestionFromSequences().
|
private |
Definition at line 84 of file class.ilObjTest.php.
|
private |
Definition at line 122 of file class.ilObjTest.php.
Referenced by getTmpCopyWizardCopyId(), and setTmpCopyWizardCopyId().
const ilObjTest::INVITATION_OFF = 0 |
Definition at line 70 of file class.ilObjTest.php.
const ilObjTest::INVITATION_ON = 1 |
Definition at line 71 of file class.ilObjTest.php.
const ilObjTest::QUESTION_SET_TYPE_FIXED = 'FIXED_QUEST_SET' |
Definition at line 68 of file class.ilObjTest.php.
Referenced by ilObjTestGUI\applyDefaultsObject(), ilObjTestGUI\executeAfterQuestionCreationTasks(), ilLOTestAssignmentTableGUI\fillRow(), SettingsGeneralTest\getAndWithQuestionSetTypeDataProvider(), getQuestionCountAndPointsForPassOfParticipant(), getQuestionSetTypeTranslation(), ilQTIParser\handlerVerifyEndTag(), ilObjTestGUI\importFile(), ilLOTestAssignmentForm\initForm(), ilLOTestAssignmentTableGUI\parse(), ILIAS\Test\Settings\MainSettings\SettingsMainGUI\populateConfirmationModal(), and ILIAS\Test\Settings\MainSettings\SettingsGeneral\toForm().
const ilObjTest::QUESTION_SET_TYPE_RANDOM = 'RANDOM_QUEST_SET' |
Definition at line 69 of file class.ilObjTest.php.
Referenced by ilObjTestGUI\applyDefaultsObject(), ilLOTestAssignmentTableGUI\fillRow(), SettingsGeneralTest\getAndWithQuestionSetTypeDataProvider(), getQuestionCountAndPointsForPassOfParticipant(), getQuestionSetTypeTranslation(), ilQTIParser\handlerVerifyEndTag(), ilLOTestAssignmentForm\initForm(), and ILIAS\Test\Settings\MainSettings\SettingsGeneral\toForm().
const ilObjTest::REDIRECT_ALWAYS = 1 |
Definition at line 76 of file class.ilObjTest.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsFinishing\getRedirectionInputs().
const ilObjTest::REDIRECT_KIOSK = 2 |
Definition at line 77 of file class.ilObjTest.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsFinishing\getRedirectionInputs().
const ilObjTest::REDIRECT_NONE = 0 |
Definition at line 75 of file class.ilObjTest.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsFinishing\getRedirectionInputs().
const ilObjTest::SCORE_BEST_PASS = 1 |
Definition at line 73 of file class.ilObjTest.php.
Referenced by ILIAS\Test\ExportImport\ResultsExportExcel\addResultsHeader(), ilLPStatusTestPassed\determineStatus(), and ilObjTestGUI\forwardToInfoScreen().
const ilObjTest::SCORE_LAST_PASS = 0 |
Definition at line 72 of file class.ilObjTest.php.
Referenced by ilLPStatusTestPassed\determineStatus(), ILIAS\Test\Scoring\Manual\TestScoringByParticipantGUI\fetchPassParameter(), and ilTestServiceGUI\isGradingMessageRequired().