|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Inheritance diagram for assQuestion:
Collaboration diagram for assQuestion:Public Member Functions | |
| getQuestionType () | |
| isComplete () | |
| saveWorkingData (int $active_id, ?int $pass=null, bool $authorized=true) | |
| calculateReachedPoints (int $active_id, ?int $pass=null, bool $authorized_solution=true) | |
| getAdditionalTableName () | |
| getAnswerTableName () | |
| toLog (AdditionalInformationGenerator $additional_info) | |
| MUST return an array of the question settings that can be stored in the log. More... | |
| getCurrentUser () | |
| getShuffler () | |
| setShuffler (Transformation $shuffler) | |
| setProcessLocker (ilAssQuestionProcessLocker $processLocker) | |
| getProcessLocker () | |
| fromXML (string $importdirectory, int $user_id, ilQTIItem $item, int $questionpool_id, ?int $tst_id, ?ilObject &$tst_object, int &$question_counter, array $import_mapping, array $solutionhints=[]) | |
| toXML (bool $a_include_header=true, bool $a_include_binary=true, bool $a_shuffle=false, bool $test_output=false, bool $force_image_references=false) | |
| Returns a QTI xml representation of the question. More... | |
| setTitle (string $title="") | |
| setId (int $id=-1) | |
| setTestId (int $id=-1) | |
| setComment (string $comment="") | |
| setShuffle (?bool $shuffle=true) | |
| setAuthor (string $author="") | |
| setOwner (int $owner=-1) | |
| getTitle () | |
| getTitleForHTMLOutput () | |
| getTitleFilenameCompliant () | |
| getId () | |
| getShuffle () | |
| getTestId () | |
| getComment () | |
| getDescriptionForHTMLOutput () | |
| getThumbSize () | |
| setThumbSize (int $a_size) | |
| getMinimumThumbSize () | |
| getMaximumThumbSize () | |
| getAuthor () | |
| getAuthorForHTMLOutput () | |
| getOwner () | |
| getObjId () | |
| setObjId (int $obj_id=0) | |
| getLifecycle () | |
| setLifecycle (ilAssQuestionLifecycle $lifecycle) | |
| setExternalId (?string $external_id) | |
| getExternalId () | |
| getSuggestedSolutionOutput () | |
| getSuggestedSolutions () | |
| getReachedPoints (int $active_id, int $pass) | |
| getMaximumPoints () | |
| getAdjustedReachedPoints (int $active_id, int $pass, bool $authorized_solution=true) | |
| calculateResultsFromSolution (int $active_id, int $pass) | |
| Calculates the question results from a previously saved question solution. More... | |
| persistWorkingState (int $active_id, $pass, bool $authorized=true) | |
| persists the working state for current testactive and testpass More... | |
| persistPreviewState (ilAssQuestionPreviewSession $preview_session) | |
| persists the preview state for current user and question More... | |
| validateSolutionSubmit () | |
| getSuggestedSolutionPath () | |
| getImagePath ($question_id=null, $object_id=null) | |
| Returns the image path for web accessable images of a question. More... | |
| getSuggestedSolutionPathWeb () | |
| getImagePathWeb () | |
| Returns the web image path for web accessable images of a question. More... | |
| getTestOutputSolutions (int $activeId, int $pass) | |
| getUserSolutionPreferingIntermediate (int $active_id, ?int $pass=null) | |
| getSolutionValues (int $active_id, ?int $pass=null, bool $authorized=true) | |
| Loads solutions of a given user from the database an returns it. More... | |
| deleteAnswers (int $question_id) | |
| deleteAdditionalTableData (int $question_id) | |
| delete (int $question_id) | |
| getTotalAnswers () | |
| cloneXHTMLMediaObjectsOfQuestion (int $source_question_id) | |
| createPageObject () | |
| clonePageOfQuestion (int $a_q_id) | |
| getPageOfQuestion () | |
| setOriginalId (?int $original_id) | |
| getOriginalId () | |
| static | fixSvgToPng (string $imageFilenameContainingString) |
| fixUnavailableSkinImageSources (string $html) | |
| loadFromDb (int $question_id) | |
| createNewQuestion (bool $a_create_page=true) | |
| Creates a new question without an owner when a new question is created This assures that an ID is given to the question if a file upload or something else occurs. More... | |
| saveQuestionDataToDb (?int $original_id=null) | |
| duplicate (bool $for_test=true, string $title='', string $author='', int $owner=-1, $test_obj_id=null) | |
| copyObject (int $target_parent_id, string $title='') | |
| createNewOriginalFromThisDuplicate (int $target_parent_id, string $target_question_title='') | |
| saveToDb (?int $original_id=null) | |
| deleteSuggestedSolutions () | |
| getSuggestedSolution (int $subquestion_index=0) | |
| resolveInternalLink (string $internal_link) | |
| resolveSuggestedSolutionLinks () | |
| getInternalLinkHref (string $target) | |
| syncWithOriginal () | |
| getPoints () | |
| setPoints (float $points) | |
| getSolutionMaxPass (int $active_id) | |
| isWriteable () | |
| deductHintPointsFromReachedPoints (ilAssQuestionPreviewSession $preview_session, $reached_points) | |
| calculateReachedPointsFromPreviewSession (ilAssQuestionPreviewSession $preview_session) | |
| isPreviewSolutionCorrect (ilAssQuestionPreviewSession $preview_session) | |
| adjustReachedPointsByScoringOptions (float $points, int $active_id) | |
| Adjust the given reached points by checks for all special scoring options in the test container. More... | |
| buildHashedImageFilename (string $plain_image_filename, bool $unique=false) | |
| getQuestion () | |
| getQuestionForHTMLOutput () | |
| setQuestion (string $question="") | |
| getQuestionTypeID () | |
| cloneHints (int $source_question_id, int $target_question_id) | |
| cleanupMediaObjectUsage () | |
| getInstances () | |
| getActiveUserData (int $active_id) | |
| Returns the user id and the test id for a given active id. More... | |
| hasSpecificFeedback () | |
| getNrOfTries () | |
| setNrOfTries (int $a_nr_of_tries) | |
| setExportImagePath (string $path) | |
| formatSAQuestion ($a_q) | |
| setPreventRteUsage (bool $prevent_rte_usage) | |
| getPreventRteUsage () | |
| migrateContentForLearningModule (ilAssSelfAssessmentMigrator $migrator) | |
| setSelfAssessmentEditingMode (bool $selfassessmenteditingmode) | |
| getSelfAssessmentEditingMode () | |
| setDefaultNrOfTries (int $defaultnroftries) | |
| getDefaultNrOfTries () | |
| syncSkillAssignments (int $srcParentId, int $srcQuestionId, int $trgParentId, int $trgQuestionId) | |
| ensureHintPageObjectExists ($pageObjectId) | |
| isAnswered (int $active_id, int $pass) | |
| getAdditionalContentEditingMode () | |
| setAdditionalContentEditingMode (?string $additionalContentEditingMode) | |
| isAdditionalContentEditingModePageObject () | |
| isValidAdditionalContentEditingMode (string $additionalContentEditingMode) | |
| getValidAdditionalContentEditingModes () | |
| getHtmlUserSolutionPurifier () | |
| getHtmlQuestionContentPurifier () | |
| setLastChange (int $lastChange) | |
| getLastChange () | |
| removeIntermediateSolution (int $active_id, int $pass) | |
| removeCurrentSolution (int $active_id, int $pass, bool $authorized=true) | |
| saveCurrentSolution (int $active_id, int $pass, $value1, $value2, bool $authorized=true, $tstamp=0) | |
| updateCurrentSolution (int $solutionId, $value1, $value2, bool $authorized=true) | |
| updateCurrentSolutionsAuthorization (int $activeId, int $pass, bool $authorized, bool $keepTime=false) | |
| setStep ($step) | |
| getStep () | |
| toJSON () | |
| intermediateSolutionExists (int $active_id, int $pass) | |
| authorizedSolutionExists (int $active_id, ?int $pass) | |
| authorizedOrIntermediateSolutionExists (int $active_id, int $pass) | |
| lookupForExistingSolutions (int $activeId, int $pass) | |
| Lookup if an authorized or intermediate solution exists. More... | |
| isAddableAnswerOptionValue (int $qIndex, string $answerOptionValue) | |
| addAnswerOptionValue (int $qIndex, string $answerOptionValue, float $points) | |
| removeAllExistingSolutions () | |
| removeExistingSolutions (int $activeId, int $pass) | |
| resetUsersAnswer (int $activeId, int $pass) | |
| removeResultRecord (int $activeId, int $pass) | |
| fetchValuePairsFromIndexedValues (array $indexedValues) | |
| fetchIndexedValuesFromValuePairs (array $value_pairs) | |
| updateTimestamp () | |
| getTestPresentationConfig () | |
| hasWritableOriginalInQuestionPool () | |
| answerToParticipantInteraction (AdditionalInformationGenerator $additional_info, int $test_ref_id, int $active_id, int $pass, string $source_ip, TestParticipantInteractionTypes $interaction_type) | |
| toQuestionAdministrationInteraction (AdditionalInformationGenerator $additional_info, int $test_ref_id, TestQuestionAdministrationInteractionTypes $interaction_type) | |
| getSolutionForTextOutput (int $active_id, int $pass) | |
| getCorrectSolutionForTextOutput (int $active_id, int $pass) | |
| getVariablesAsTextArray (int $active_id, int $pass) | |
Static Public Member Functions | |
| static | setForcePassResultUpdateEnabled (bool $force_pass_results_update_enabled) |
| static | isForcePassResultUpdateEnabled () |
| static | _getSuggestedSolutionOutput (int $question_id) |
| static | _getReachedPoints (int $active_id, int $question_id, int $pass) |
| static | isFileAvailable (string $file) |
| static | saveOriginalId (int $questionId, int $originalId) |
| static | resetOriginalId (int $questionId) |
| static | instantiateQuestion (int $question_id) |
| static | _getSolutionMaxPass (int $question_id, int $active_id) |
| Returns the maximum pass a users question solution. More... | |
| static | getFeedbackClassNameByQuestionType (string $questionType) |
| static | _questionExistsInTest (int $question_id, int $test_id) |
| static | lookupParentObjId (int $question_id) |
| static | implodeKeyValues (array $keyValues) |
| static | explodeKeyValues (string $keyValues) |
| static | convertISO8601FormatH_i_s_ExtendedToSeconds (string $time) |
| static | extendedTrim (string $value) |
| Trim non-printable characters from the beginning and end of a string. More... | |
Data Fields | |
| const | ADDITIONAL_CONTENT_EDITING_MODE_RTE = 'default' |
| const | ADDITIONAL_CONTENT_EDITING_MODE_IPE = 'pageobject' |
| const | TRIM_PATTERN = '/^[\p{C}\p{Z}]+|[\p{C}\p{Z}]+$/u' |
| ilAssQuestionFeedback | $feedbackOBJ |
| bool | $prevent_rte_usage = false |
| bool | $selfassessmenteditingmode = false |
| int | $defaultnroftries = 0 |
| string | $questionActionCmd = 'handleQuestionAction' |
| const | KEY_VALUES_IMPLOSION_SEPARATOR = ':' |
Protected Member Functions | |
| solutionValuesToLog (AdditionalInformationGenerator $additional_info, array $solution_values) | |
| MUST convert the given solution values into an array or a string that can be stored in the log. More... | |
| solutionValuesToText (array $solution_values) | |
| MUST convert the given solution values into text. More... | |
| getQuestionAction () | |
| isNonEmptyItemListPostSubmission (string $post_submission_field_name) | |
| savePreviewData (ilAssQuestionPreviewSession $preview_session) | |
| deletePageOfQuestion (int $question_id) | |
| cloneQuestionTypeSpecificProperties (self $target) | |
| removeAllImageFiles (string $image_target_path) | |
| onDuplicate (int $original_parent_id, int $original_question_id, int $duplicate_parent_id, int $duplicate_question_id) | |
| afterSyncWithOriginal (int $original_question_id, int $clone_question_id, int $original_parent_id, int $clone_parent_id) | |
| onCopy (int $sourceParentId, int $sourceQuestionId, int $targetParentId, int $targetQuestionId) | |
| duplicateComments (int $parent_source_id, int $source_id, int $parent_target_id, int $target_id) | |
| deleteComments () | |
| getNotesManager () | |
| getNotesDataService () | |
| getNotesRepo () | |
| cloneSuggestedSolutions (int $source_question_id, int $target_question_id) | |
| duplicateSuggestedSolutionFiles (int $parent_id, int $question_id) | |
| Duplicates the files of a suggested solution if the question is duplicated. More... | |
| cloneSuggestedSolutionFiles (int $source_question_id, int $target_question_id) | |
| copySuggestedSolutions (int $target_question_id) | |
| ensureNonNegativePoints (float $points) | |
| purifyAndPrepareTextAreaOutput (string $content) | |
| getRTETextWithMediaObjects () | |
| getSelfAssessmentFormatter () | |
| lmMigrateQuestionTypeGenericContent (ilAssSelfAssessmentMigrator $migrator) | |
| lmMigrateQuestionTypeSpecificContent (ilAssSelfAssessmentMigrator $migrator) | |
| duplicateQuestionHints (int $original_question_id, int $duplicate_question_id) | |
| duplicateSkillAssignments (int $srcParentId, int $srcQuestionId, int $trgParentId, int $trgQuestionId) | |
| buildQuestionDataQuery () | |
| getCurrentSolutionResultSet (int $active_id, int $pass, bool $authorized=true) | |
| removeSolutionRecordById (int $solutionId) | |
| getSolutionRecordById (int $solutionId) | |
| deleteDummySolutionRecord (int $activeId, int $passIndex) | |
| isDummySolutionRecord (array $solutionRecord) | |
| deleteSolutionRecordByValues (int $activeId, int $passIndex, bool $authorized, array $matchValues) | |
| duplicateIntermediateSolutionAuthorized (int $activeId, int $passIndex) | |
| forceExistingIntermediateSolution (int $activeId, int $passIndex, bool $considerDummyRecordCreation) | |
| lookupMaxStep (int $active_id, int $pass) | |
| buildTestPresentationConfig () | |
| getSuggestedSolutionsRepo () | |
| loadSuggestedSolutions () | |
| answerToLog (AdditionalInformationGenerator $additional_info, int $active_id, int $pass) | |
Static Protected Member Functions | |
| static | getNumExistingSolutionRecords (int $activeId, int $pass, int $questionId) |
Protected Attributes | |
| const | HAS_SPECIFIC_FEEDBACK = true |
| GeneralQuestionPropertiesRepository | $questionrepository |
| RequestDataCollector | $questionpool_request |
| QuestionFiles | $question_files |
| ilAssQuestionProcessLocker | $processLocker |
| ilTestQuestionConfig | $testQuestionConfig |
| SuggestedSolutionsDatabaseRepository | $suggestedsolution_repo |
| ILIAS | $ilias |
| ilGlobalPageTemplate | $tpl |
| ilLanguage | $lng |
| ilDBInterface | $db |
| ilObjUser | $current_user |
| SkillUsageService | $skillUsageService |
| HTTPServices | $http |
| Refinery | $refinery |
| Transformation | $shuffler |
| LoggingServices | $log |
| Container | $dic |
| ilAssQuestionLifecycle | $lifecycle |
| ilAssQuestionPage | $page |
| int | $id |
| string | $title |
| string | $comment |
| int | $owner |
| string | $author |
| int | $thumb_size |
| string | $question |
| float | $points = 0.0 |
| bool | $shuffle = true |
| int | $test_id |
| int | $obj_id = 0 |
| int | $original_id = null |
| int | $lastChange = null |
| string | $external_id = null |
| int | $step = null |
| array | $suggested_solutions |
Static Protected Attributes | |
| static | $force_pass_results_update_enabled = false |
| static | $imageSourceFixReplaceMap |
Private Member Functions | |
| importHint (int $question_id, array $hint_array) | |
| deleteTaxonomyAssignments () | |
Private Attributes | |
| const | DEFAULT_THUMB_SIZE = 150 |
| const | MINIMUM_THUMB_SIZE = 20 |
| const | MAXIMUM_THUMB_SIZE = 8192 |
| ilTestQuestionConfig | $test_question_config = null |
| int | $nr_of_tries |
| string | $export_image_path |
| string | $additionalContentEditingMode = '' |
Definition at line 50 of file class.assQuestion.php.
|
static |
Definition at line 535 of file class.assQuestion.php.
References $DIC, $ilDB, and $points.
Referenced by ILIAS\Test\Scoring\Manual\TestScoringByParticipantGUI\buildManScoringParticipantForm(), and ILIAS\Test\Scoring\Manual\TestScoringByParticipantGUI\saveManScoringParticipantScreen().
Here is the caller graph for this function:
|
static |
Returns the maximum pass a users question solution.
Definition at line 1814 of file class.assQuestion.php.
Referenced by buildHashedImageFilename(), and ilObjTest\getTextAnswer().
Here is the caller graph for this function:
|
static |
Definition at line 478 of file class.assQuestion.php.
Referenced by ILIAS\Test\Scoring\Manual\TestScoringByQuestionGUI\buildFeedbackModal(), and ilObjTest\getTestResult().
Here is the caller graph for this function:
|
static |
Definition at line 2216 of file class.assQuestion.php.
| assQuestion::addAnswerOptionValue | ( | int | $qIndex, |
| string | $answerOptionValue, | ||
| float | $points | ||
| ) |
Definition at line 2871 of file class.assQuestion.php.
|
final |
Adjust the given reached points by checks for all special scoring options in the test container.
public
| integer | $points | |
| integer | $active_id | |
| integer | $pass |
Definition at line 1880 of file class.assQuestion.php.
References $points, ilObjTest\_getCountSystem(), ilObjTest\_getScoreCutting(), and getMaximumPoints().
Referenced by calculateResultsFromSolution(), and getAdjustedReachedPoints().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1456 of file class.assQuestion.php.
Referenced by syncWithOriginal().
Here is the caller graph for this function:
|
protected |
Definition at line 3054 of file class.assQuestion.php.
References getReachedPoints(), getSolutionValues(), and solutionValuesToLog().
Referenced by answerToParticipantInteraction().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::answerToParticipantInteraction | ( | AdditionalInformationGenerator | $additional_info, |
| int | $test_ref_id, | ||
| int | $active_id, | ||
| int | $pass, | ||
| string | $source_ip, | ||
| TestParticipantInteractionTypes | $interaction_type | ||
| ) |
Implements ILIAS\TestQuestionPool\Questions\Question.
Definition at line 3020 of file class.assQuestion.php.
References answerToLog().
Referenced by ilTestPlayerAbstractGUI\save().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::authorizedOrIntermediateSolutionExists | ( | int | $active_id, |
| int | $pass | ||
| ) |
Definition at line 2805 of file class.assQuestion.php.
References lookupForExistingSolutions().
Here is the call graph for this function:| assQuestion::authorizedSolutionExists | ( | int | $active_id, |
| ?int | $pass | ||
| ) |
Definition at line 2796 of file class.assQuestion.php.
References lookupForExistingSolutions().
Here is the call graph for this function:| assQuestion::buildHashedImageFilename | ( | string | $plain_image_filename, |
| bool | $unique = false |
||
| ) |
Definition at line 1896 of file class.assQuestion.php.
References $DIC, $ilDB, _getSolutionMaxPass(), ilObjTest\_getUserIdFromActiveId(), and ilCourseObjectiveResult\_updateObjectiveResult().
Referenced by assKprimChoice\handleFileUpload(), assMatchingQuestion\rebuildThumbnails(), assOrderingQuestion\storeImageFile(), and assOrderingQuestion\updateImageFile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 2466 of file class.assQuestion.php.
Referenced by assKprimChoice\loadFromDb().
Here is the caller graph for this function:
|
protected |
Definition at line 2978 of file class.assQuestion.php.
Referenced by getTestPresentationConfig().
Here is the caller graph for this function:
|
abstract |
Referenced by calculateResultsFromSolution(), and getAdjustedReachedPoints().
Here is the caller graph for this function:| assQuestion::calculateReachedPointsFromPreviewSession | ( | ilAssQuestionPreviewSession | $preview_session | ) |
Definition at line 1847 of file class.assQuestion.php.
References deductHintPointsFromReachedPoints(), ensureNonNegativePoints(), and ilAssQuestionPreviewSession\getParticipantsSolution().
Referenced by isPreviewSolutionCorrect().
Here is the call graph for this function:
Here is the caller graph for this function:
|
final |
Calculates the question results from a previously saved question solution.
Definition at line 581 of file class.assQuestion.php.
References ilCourseObjectiveResult\_updateObjectiveResult(), adjustReachedPointsByScoringOptions(), calculateReachedPoints(), getId(), getObjId(), getProcessLocker(), getStep(), and lookupForExistingSolutions().
Referenced by persistWorkingState().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::cleanupMediaObjectUsage | ( | ) |
Definition at line 2085 of file class.assQuestion.php.
References ilRTE\_cleanupMediaObjectUsage(), getId(), and getRTETextWithMediaObjects().
Referenced by saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::cloneHints | ( | int | $source_question_id, |
| int | $target_question_id | ||
| ) |
Definition at line 2029 of file class.assQuestion.php.
Referenced by syncWithOriginal().
Here is the caller graph for this function:| assQuestion::clonePageOfQuestion | ( | int | $a_q_id | ) |
Definition at line 1065 of file class.assQuestion.php.
|
protected |
Definition at line 1369 of file class.assQuestion.php.
Referenced by copyObject(), createNewOriginalFromThisDuplicate(), duplicate(), and syncWithOriginal().
Here is the caller graph for this function:
|
protected |
Definition at line 1595 of file class.assQuestion.php.
References ilFileUtils\delDir(), getSuggestedSolutionPath(), and ilFileUtils\makeDirParents().
Referenced by cloneSuggestedSolutions(), and onDuplicate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1559 of file class.assQuestion.php.
References cloneSuggestedSolutionFiles(), and getSuggestedSolutionsRepo().
Referenced by syncWithOriginal().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::cloneXHTMLMediaObjectsOfQuestion | ( | int | $source_question_id | ) |
Definition at line 1045 of file class.assQuestion.php.
References ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_saveUsage(), and getId().
Referenced by syncWithOriginal().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2772 of file class.assQuestion.php.
References ILIAS\Repository\int().
Here is the call graph for this function:
|
final |
Definition at line 1312 of file class.assQuestion.php.
References cloneQuestionTypeSpecificProperties(), getId(), and getObjId().
Here is the call graph for this function:
|
protected |
Definition at line 1620 of file class.assQuestion.php.
References getSuggestedSolutions(), and getSuggestedSolutionsRepo().
Referenced by onCopy(), and onDuplicate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
final |
Definition at line 1337 of file class.assQuestion.php.
References $id, cloneQuestionTypeSpecificProperties(), getId(), and getObjId().
Here is the call graph for this function:| assQuestion::createNewQuestion | ( | bool | $a_create_page = true | ) |
Creates a new question without an owner when a new question is created This assures that an ID is given to the question if a file upload or something else occurs.
Definition at line 1173 of file class.assQuestion.php.
References createPageObject(), getAdditionalContentEditingMode(), getAuthor(), getDefaultNrOfTries(), getExternalId(), getId(), getObjId(), getQuestionTypeID(), and setId().
Here is the call graph for this function:| assQuestion::createPageObject | ( | ) |
Definition at line 1053 of file class.assQuestion.php.
References getId(), and getObjId().
Referenced by createNewQuestion(), and saveQuestionDataToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::deductHintPointsFromReachedPoints | ( | ilAssQuestionPreviewSession | $preview_session, |
| $reached_points | |||
| ) |
Definition at line 1840 of file class.assQuestion.php.
Referenced by assNumeric\calculateReachedPointsFromPreviewSession(), assErrorText\calculateReachedPointsFromPreviewSession(), assSingleChoice\calculateReachedPointsFromPreviewSession(), assOrderingQuestion\calculateReachedPointsFromPreviewSession(), assFormulaQuestion\calculateReachedPointsFromPreviewSession(), assClozeTest\calculateReachedPointsFromPreviewSession(), and calculateReachedPointsFromPreviewSession().
Here is the caller graph for this function:| assQuestion::delete | ( | int | $question_id | ) |
Definition at line 879 of file class.assQuestion.php.
References Vendor\Package\$e, ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilObjQuestionPool\_updateQuestionCount(), CLIENT_WEB_DIR, ilFileUtils\delDir(), deleteAdditionalTableData(), deleteAnswers(), deleteComments(), ilAssQuestionHintList\deleteHintsByQuestionIds(), deletePageOfQuestion(), deleteTaxonomyAssignments(), getObjId(), getSuggestedSolutionsRepo(), and isAdditionalContentEditingModePageObject().
Here is the call graph for this function:| assQuestion::deleteAdditionalTableData | ( | int | $question_id | ) |
Definition at line 852 of file class.assQuestion.php.
References getAdditionalTableName().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::deleteAnswers | ( | int | $question_id | ) |
Definition at line 833 of file class.assQuestion.php.
References getAnswerTableName().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1509 of file class.assQuestion.php.
References getId(), getNotesManager(), getNotesRepo(), and getObjId().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 2676 of file class.assQuestion.php.
References getSolutionValues(), and removeSolutionRecordById().
Referenced by assFileUpload\saveWorkingData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 871 of file class.assQuestion.php.
References ilPageObject\_exists().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 2690 of file class.assQuestion.php.
References getId(), getStep(), and ILIAS\Repository\int().
Here is the call graph for this function:| assQuestion::deleteSuggestedSolutions | ( | ) |
Definition at line 1542 of file class.assQuestion.php.
References ilInternalLink\_deleteAllLinksOfSource(), ilFileUtils\delDir(), getId(), getSuggestedSolutionPath(), and getSuggestedSolutionsRepo().
Here is the call graph for this function:
|
private |
Definition at line 997 of file class.assQuestion.php.
References getId(), getObjId(), and ilObjTaxonomy\getUsageOfObject().
Referenced by delete().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::duplicate | ( | bool | $for_test = true, |
| string | $title = '', |
||
| string | $author = '', |
||
| int | $owner = -1, |
||
$test_obj_id = null |
|||
| ) |
Definition at line 1268 of file class.assQuestion.php.
References cloneQuestionTypeSpecificProperties(), getId(), and getObjId().
Here is the call graph for this function:
|
protected |
Definition at line 1475 of file class.assQuestion.php.
References getNotesDataService(), and getNotesManager().
Referenced by onCopy(), and onDuplicate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 2730 of file class.assQuestion.php.
References getSolutionValues(), and saveCurrentSolution().
Referenced by forceExistingIntermediateSolution().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 2309 of file class.assQuestion.php.
References ilAssQuestionHintList\duplicateListForQuestion(), ensureHintPageObjectExists(), getId(), and isAdditionalContentEditingModePageObject().
Referenced by onCopy(), and onDuplicate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 2328 of file class.assQuestion.php.
Referenced by onCopy(), onDuplicate(), and syncSkillAssignments().
Here is the caller graph for this function:
|
protected |
Duplicates the files of a suggested solution if the question is duplicated.
Definition at line 1570 of file class.assQuestion.php.
References getSuggestedSolutionPath(), and ilFileUtils\makeDirParents().
Referenced by onCopy().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::ensureHintPageObjectExists | ( | $pageObjectId | ) |
Definition at line 2372 of file class.assQuestion.php.
References ilPageObject\_exists(), and getId().
Referenced by duplicateQuestionHints().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1857 of file class.assQuestion.php.
References $points.
Referenced by assNumeric\calculateReachedPointsFromPreviewSession(), assErrorText\calculateReachedPointsFromPreviewSession(), assSingleChoice\calculateReachedPointsFromPreviewSession(), assOrderingQuestion\calculateReachedPointsFromPreviewSession(), assFormulaQuestion\calculateReachedPointsFromPreviewSession(), assClozeTest\calculateReachedPointsFromPreviewSession(), and calculateReachedPointsFromPreviewSession().
Here is the caller graph for this function:
|
static |
Definition at line 2671 of file class.assQuestion.php.
References KEY_VALUES_IMPLOSION_SEPARATOR.
|
static |
Trim non-printable characters from the beginning and end of a string.
Note: The PHP trim() function is not fully Unicode-compatible and may not handle non-printable characters effectively. As a result, it may not trim certain Unicode characters, such as control characters, zero width characters or ideographic space as expected.
This method provides a workaround for trimming non-printable characters until PHP 8.4, where the mb_trim() function is introduced. Users are encouraged to migrate to mb_trim() for proper Unicode and non-printable character handling.
| string | $value | The string to trim. |
Definition at line 3008 of file class.assQuestion.php.
Referenced by assTextSubset\getSolutionSubmit(), and assTextSubsetGUI\writeAnswerSpecificPostData().
Here is the caller graph for this function:| assQuestion::fetchIndexedValuesFromValuePairs | ( | array | $value_pairs | ) |
Definition at line 2949 of file class.assQuestion.php.
Referenced by assOrderingQuestion\calculateReachedPoints(), assOrderingQuestion\getOrderingElementListForSolutionOutput(), assOrderingQuestion\getSolutionOrderingElementListForTestOutput(), assOrderingQuestion\solutionValuesToLog(), and assOrderingQuestion\solutionValuesToText().
Here is the caller graph for this function:| assQuestion::fetchValuePairsFromIndexedValues | ( | array | $indexedValues | ) |
Definition at line 2938 of file class.assQuestion.php.
| static assQuestion::fixSvgToPng | ( | string | $imageFilenameContainingString | ) |
Definition at line 1102 of file class.assQuestion.php.
| assQuestion::fixUnavailableSkinImageSources | ( | string | $html | ) |
Definition at line 1109 of file class.assQuestion.php.
References ilUtil\getImagePath(), and ilFileUtils\removeTrailingPathSeparators().
Here is the call graph for this function:
|
protected |
Definition at line 2737 of file class.assQuestion.php.
References duplicateIntermediateSolutionAuthorized(), getSolutionValues(), saveCurrentSolution(), and updateCurrentSolutionsAuthorization().
Referenced by assFileUpload\saveWorkingData().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::formatSAQuestion | ( | $a_q | ) |
Definition at line 2233 of file class.assQuestion.php.
References getSelfAssessmentFormatter().
Referenced by assOrderingHorizontal\toJSON(), assTextQuestion\toJSON(), assTextSubset\toJSON(), assMultipleChoice\toJSON(), assSingleChoice\toJSON(), assLongMenu\toJSON(), assKprimChoice\toJSON(), assErrorText\toJSON(), assOrderingQuestion\toJSON(), assMatchingQuestion\toJSON(), assClozeTest\toJSON(), assNumeric\toLog(), assOrderingHorizontal\toLog(), assTextSubset\toLog(), assLongMenu\toLog(), assTextQuestion\toLog(), assKprimChoice\toLog(), assMultipleChoice\toLog(), assSingleChoice\toLog(), assFileUpload\toLog(), assErrorText\toLog(), assOrderingQuestion\toLog(), assFormulaQuestion\toLog(), assMatchingQuestion\toLog(), and assClozeTest\toLog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
final |
Definition at line 257 of file class.assQuestion.php.
References getQuestionType(), and importHint().
Here is the call graph for this function:| assQuestion::getActiveUserData | ( | int | $active_id | ) |
Returns the user id and the test id for a given active id.
| integer | $active_id | Active id for a test/user |
Definition at line 2135 of file class.assQuestion.php.
| assQuestion::getAdditionalContentEditingMode | ( | ) |
Definition at line 2414 of file class.assQuestion.php.
References $additionalContentEditingMode.
Referenced by createNewQuestion(), importHint(), isAdditionalContentEditingModePageObject(), assSingleChoice\saveAdditionalQuestionDataToDb(), assMultipleChoice\saveAnswerSpecificDataToDb(), and saveQuestionDataToDb().
Here is the caller graph for this function:
|
abstract |
|
final |
Definition at line 564 of file class.assQuestion.php.
References adjustReachedPointsByScoringOptions(), calculateReachedPoints(), and getId().
Here is the call graph for this function:
|
abstract |
| assQuestion::getAuthor | ( | ) |
Definition at line 427 of file class.assQuestion.php.
References $author.
Referenced by createNewQuestion(), assOrderingQuestion\isComplete(), assClozeTest\isComplete(), and saveQuestionDataToDb().
Here is the caller graph for this function:| assQuestion::getAuthorForHTMLOutput | ( | ) |
Definition at line 432 of file class.assQuestion.php.
References ILIAS\Repository\refinery().
Here is the call graph for this function:| assQuestion::getComment | ( | ) |
Definition at line 393 of file class.assQuestion.php.
References $comment.
Referenced by saveQuestionDataToDb().
Here is the caller graph for this function:| assQuestion::getCorrectSolutionForTextOutput | ( | int | $active_id, |
| int | $pass | ||
| ) |
Definition at line 3078 of file class.assQuestion.php.
References getSolutionValues(), and solutionValuesToText().
Here is the call graph for this function:
|
protected |
Definition at line 2488 of file class.assQuestion.php.
References getId(), and getStep().
Referenced by assOrderingHorizontal\calculateReachedPoints(), assNumeric\calculateReachedPoints(), assFileUpload\calculateReachedPoints(), assErrorText\calculateReachedPoints(), assSingleChoice\calculateReachedPoints(), assTextSubset\calculateReachedPoints(), assMultipleChoice\calculateReachedPoints(), assTextQuestion\calculateReachedPoints(), assKprimChoice\calculateReachedPoints(), assLongMenu\calculateReachedPoints(), assMatchingQuestion\calculateReachedPoints(), assClozeTest\fetchUserResult(), assNumeric\saveWorkingData(), and assSingleChoice\saveWorkingData().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::getCurrentUser | ( | ) |
Definition at line 232 of file class.assQuestion.php.
References $current_user.
Referenced by isWriteable().
Here is the caller graph for this function:| assQuestion::getDefaultNrOfTries | ( | ) |
Definition at line 2289 of file class.assQuestion.php.
References $defaultnroftries.
Referenced by createNewQuestion().
Here is the caller graph for this function:| assQuestion::getDescriptionForHTMLOutput | ( | ) |
Definition at line 398 of file class.assQuestion.php.
References ILIAS\UI\examples\Symbol\Glyph\Comment\comment(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| assQuestion::getExternalId | ( | ) |
Definition at line 467 of file class.assQuestion.php.
References $external_id, getId(), and IL_INST_ID.
Referenced by createNewQuestion(), and saveQuestionDataToDb().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2155 of file class.assQuestion.php.
References $DIC, $ilDB, and ILIAS\TestQuestionPool\Questions\GeneralQuestionPropertiesRepository\getForQuestionId().
Referenced by assQuestionGUI\_getQuestionGUI().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::getHtmlQuestionContentPurifier | ( | ) |
Definition at line 2461 of file class.assQuestion.php.
References ilHtmlPurifierFactory\getInstanceByType().
Referenced by assSingleChoice\addAnswer(), assKprimChoice\addAnswer(), assMultipleChoice\addAnswer(), assClozeTest\getClozeTextForHTMLOutput(), purifyAndPrepareTextAreaOutput(), assKprimChoice\setAnswers(), and assLongMenu\setLongMenuTextValue().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::getHtmlUserSolutionPurifier | ( | ) |
Definition at line 2453 of file class.assQuestion.php.
References ilHtmlPurifierFactory\getInstanceByType().
Referenced by assTextQuestion\getSolutionSubmit(), and assTextSubset\getSolutionSubmit().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::getId | ( | ) |
Definition at line 378 of file class.assQuestion.php.
References $id.
Referenced by ilQuestionUsagesTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilAssQuestionHintsOrderingClipboard\__construct(), assLongMenu\buildFolderName(), assOrderingQuestion\buildNestedOrderingElementInputGui(), assClozeTest\calculateCombinationResult(), calculateResultsFromSolution(), cleanupMediaObjectUsage(), assOrderingQuestion\cloneQuestionTypeSpecificProperties(), assSingleChoice\cloneQuestionTypeSpecificProperties(), assMultipleChoice\cloneQuestionTypeSpecificProperties(), assImagemapQuestion\cloneQuestionTypeSpecificProperties(), assMatchingQuestion\cloneQuestionTypeSpecificProperties(), assKprimChoice\cloneQuestionTypeSpecificProperties(), assFormulaQuestion\cloneQuestionTypeSpecificProperties(), assClozeTest\cloneQuestionTypeSpecificProperties(), cloneXHTMLMediaObjectsOfQuestion(), copyObject(), createNewOriginalFromThisDuplicate(), createNewQuestion(), createPageObject(), deleteComments(), deleteSolutionRecordByValues(), deleteSuggestedSolutions(), deleteTaxonomyAssignments(), duplicate(), assTextQuestion\duplicateAnswers(), duplicateQuestionHints(), ensureHintPageObjectExists(), assOrderingQuestion\fetchSolutionListFromFormSubmissionData(), getAdjustedReachedPoints(), assFormulaQuestion\getBestSolution(), assLongMenu\getCorrectAnswersAsJson(), getCurrentSolutionResultSet(), assErrorText\getErrorDataAsArrayForJS(), getExternalId(), assFileUpload\getFileUploadPath(), assFileUpload\getFileUploadPathWeb(), getInstances(), assTextQuestion\getLatestAutosaveContent(), assClozeTest\getMaximumPoints(), assOrderingQuestion\getOrderingElementList(), assErrorText\getParsedErrorTextForJS(), getReachedPoints(), assMultipleChoice\getRTETextWithMediaObjects(), assSingleChoice\getRTETextWithMediaObjects(), getRTETextWithMediaObjects(), getSolutionMaxPass(), assOrderingQuestion\getSolutionOrderingElementList(), getSolutionValues(), assFileUpload\getUploadedFiles(), assNumeric\getUserQuestionResult(), assOrderingHorizontal\getUserQuestionResult(), assTextSubset\getUserQuestionResult(), assErrorText\getUserQuestionResult(), assSingleChoice\getUserQuestionResult(), assMultipleChoice\getUserQuestionResult(), assOrderingQuestion\getUserQuestionResult(), assFormulaQuestion\getUserQuestionResult(), assMatchingQuestion\getUserQuestionResult(), assClozeTest\getUserQuestionResult(), assFormulaQuestion\getVariableSolutionValuesForPass(), assFileUpload\hasFileUploads(), isAnswered(), isWriteable(), assTextQuestion\loadFromDb(), loadSuggestedSolutions(), assLongMenu\lookupForExistingSolutions(), assFormulaQuestion\lookupForExistingSolutions(), lookupForExistingSolutions(), lookupMaxStep(), migrateContentForLearningModule(), ilAssNestedOrderingElementsInputGUI\prepareReprintable(), removeAllExistingSolutions(), removeCurrentSolution(), assFormulaQuestion\removeExistingSolutions(), removeExistingSolutions(), removeResultRecord(), ilAssOrderingQuestionAuthoringFormGUI\renewOrderingElementInput(), resolveSuggestedSolutionLinks(), assFileUpload\saveAdditionalQuestionDataToDb(), assErrorText\saveAdditionalQuestionDataToDb(), assImagemapQuestion\saveAdditionalQuestionDataToDb(), assMatchingQuestion\saveAdditionalQuestionDataToDb(), assOrderingHorizontal\saveAdditionalQuestionDataToDb(), assLongMenu\saveAdditionalQuestionDataToDb(), assClozeTest\saveAdditionalQuestionDataToDb(), assNumeric\saveAdditionalQuestionDataToDb(), assKprimChoice\saveAdditionalQuestionDataToDb(), assTextSubset\saveAdditionalQuestionDataToDb(), assSingleChoice\saveAdditionalQuestionDataToDb(), assMultipleChoice\saveAdditionalQuestionDataToDb(), assTextQuestion\saveAdditionalQuestionDataToDb(), assOrderingQuestion\saveAdditionalQuestionDataToDb(), assErrorText\saveAnswerSpecificDataToDb(), assMatchingQuestion\saveAnswerSpecificDataToDb(), assImagemapQuestion\saveAnswerSpecificDataToDb(), assClozeTest\saveAnswerSpecificDataToDb(), assLongMenu\saveAnswerSpecificDataToDb(), assNumeric\saveAnswerSpecificDataToDb(), assKprimChoice\saveAnswerSpecificDataToDb(), assTextSubset\saveAnswerSpecificDataToDb(), assMultipleChoice\saveAnswerSpecificDataToDb(), assClozeTest\saveClozeNumericGapRecordToDb(), assClozeTest\saveClozeSelectGapRecordToDb(), assClozeTest\saveClozeTextGapRecordToDb(), assFormulaQuestion\saveCurrentSolution(), saveCurrentSolution(), assSingleChoice\savePreviewData(), saveQuestionDataToDb(), assFormulaQuestion\saveToDb(), saveToDb(), assFormulaQuestion\saveWorkingData(), assFormulaQuestion\setId(), assOrderingQuestion\setOrderingElementList(), syncWithOriginal(), assOrderingHorizontal\toJSON(), assTextQuestion\toJSON(), assTextSubset\toJSON(), assMultipleChoice\toJSON(), assSingleChoice\toJSON(), assLongMenu\toJSON(), assKprimChoice\toJSON(), assErrorText\toJSON(), assOrderingQuestion\toJSON(), assMatchingQuestion\toJSON(), assClozeTest\toJSON(), updateCurrentSolutionsAuthorization(), ilLOTestQuestionAdapter\updateQuestionResult(), and updateTimestamp().
Here is the caller graph for this function:| assQuestion::getImagePath | ( | $question_id = null, |
|
$object_id = null |
|||
| ) |
Returns the image path for web accessable images of a question.
The image path is under the CLIENT_WEB_DIR in assessment/REFERENCE_ID_OF_QUESTION_POOL/ID_OF_QUESTION/images
Definition at line 713 of file class.assQuestion.php.
Referenced by assOrderingQuestion\buildOrderingImagesFormDataConverter(), assOrderingQuestion\cleanImagefiles(), assOrderingQuestion\cloneImages(), assMatchingQuestion\cloneImages(), assImagemapQuestion\copyImagemapFiles(), assMatchingQuestion\deleteImagefile(), assOrderingQuestion\dropImageFile(), assOrderingQuestion\ensureImagePathExists(), assKprimChoice\handleFileUpload(), assOrderingQuestion\isImageFileStored(), assKprimChoice\loadAnswerData(), assSingleChoice\loadFromDb(), assMultipleChoice\loadFromDb(), assOrderingQuestion\rebuildThumbnails(), assMatchingQuestion\rebuildThumbnails(), assSingleChoice\saveAdditionalQuestionDataToDb(), assMultipleChoice\saveAdditionalQuestionDataToDb(), assMultipleChoice\setImageFile(), assSingleChoice\setImageFile(), assMatchingQuestion\setImageFile(), assImagemapQuestion\setImageFilename(), assOrderingQuestion\storeImageFile(), and assOrderingQuestion\updateImageFile().
Here is the caller graph for this function:| assQuestion::getImagePathWeb | ( | ) |
Returns the web image path for web accessable images of a question.
The image path is under the web accessable data dir in assessment/REFERENCE_ID_OF_QUESTION_POOL/ID_OF_QUESTION/images TODO: in use? refactor and ask for a supported path in all cases, not for THE dynamic highlander path ^^
Definition at line 742 of file class.assQuestion.php.
References $export_image_path, CLIENT_WEB_DIR, and ilFileUtils\removeTrailingPathSeparators().
Referenced by assOrderingQuestion\buildNestedOrderingElementInputGui(), assOrderingQuestion\buildNestedOrderingFormDataConverter(), assOrderingQuestion\buildOrderingImagesFormDataConverter(), assKprimChoice\loadAnswerData(), assMultipleChoice\toJSON(), assSingleChoice\toJSON(), assKprimChoice\toJSON(), and assOrderingQuestion\toJSON().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::getInstances | ( | ) |
Definition at line 2091 of file class.assQuestion.php.
References ilObject\_getAllReferences(), ilObjTest\_lookupAuthor(), ilObject\_lookupTitle(), and getId().
Here is the call graph for this function:| assQuestion::getInternalLinkHref | ( | string | $target | ) |
Definition at line 1709 of file class.assQuestion.php.
Referenced by getSuggestedSolutionOutput().
Here is the caller graph for this function:| assQuestion::getLastChange | ( | ) |
| assQuestion::getLifecycle | ( | ) |
Definition at line 452 of file class.assQuestion.php.
References $lifecycle.
Referenced by saveToDb().
Here is the caller graph for this function:| assQuestion::getMaximumPoints | ( | ) |
Definition at line 559 of file class.assQuestion.php.
References $points.
Referenced by adjustReachedPointsByScoringOptions(), isPreviewSolutionCorrect(), and saveQuestionDataToDb().
Here is the caller graph for this function:| assQuestion::getMaximumThumbSize | ( | ) |
Definition at line 422 of file class.assQuestion.php.
| assQuestion::getMinimumThumbSize | ( | ) |
Definition at line 417 of file class.assQuestion.php.
Referenced by assSingleChoice\loadFromDb(), assMultipleChoice\loadFromDb(), and assOrderingQuestion\loadFromDb().
Here is the caller graph for this function:
|
protected |
Definition at line 1530 of file class.assQuestion.php.
References $service.
Referenced by duplicateComments().
Here is the caller graph for this function:
|
protected |
Definition at line 1524 of file class.assQuestion.php.
References $service.
Referenced by deleteComments(), and duplicateComments().
Here is the caller graph for this function:
|
protected |
Definition at line 1536 of file class.assQuestion.php.
References $service.
Referenced by deleteComments().
Here is the caller graph for this function:| assQuestion::getNrOfTries | ( | ) |
Definition at line 2201 of file class.assQuestion.php.
References $nr_of_tries.
Referenced by saveQuestionDataToDb(), assOrderingHorizontal\toJSON(), assTextQuestion\toJSON(), assTextSubset\toJSON(), assMultipleChoice\toJSON(), assSingleChoice\toJSON(), assLongMenu\toJSON(), assKprimChoice\toJSON(), assErrorText\toJSON(), assOrderingQuestion\toJSON(), assMatchingQuestion\toJSON(), and assClozeTest\toJSON().
Here is the caller graph for this function:
|
staticprotected |
Definition at line 2388 of file class.assQuestion.php.
References $DIC, $ilDB, and $res.
Referenced by isAnswered().
Here is the caller graph for this function:| assQuestion::getObjId | ( | ) |
Definition at line 442 of file class.assQuestion.php.
References $obj_id.
Referenced by calculateResultsFromSolution(), assOrderingQuestion\cloneQuestionTypeSpecificProperties(), assSingleChoice\cloneQuestionTypeSpecificProperties(), assMultipleChoice\cloneQuestionTypeSpecificProperties(), assImagemapQuestion\cloneQuestionTypeSpecificProperties(), assMatchingQuestion\cloneQuestionTypeSpecificProperties(), assKprimChoice\cloneQuestionTypeSpecificProperties(), copyObject(), createNewOriginalFromThisDuplicate(), createNewQuestion(), createPageObject(), delete(), deleteComments(), deleteTaxonomyAssignments(), duplicate(), isWriteable(), saveQuestionDataToDb(), saveToDb(), and syncWithOriginal().
Here is the caller graph for this function:| assQuestion::getOriginalId | ( | ) |
Definition at line 1088 of file class.assQuestion.php.
References $original_id.
Referenced by syncWithOriginal().
Here is the caller graph for this function:| assQuestion::getOwner | ( | ) |
Definition at line 437 of file class.assQuestion.php.
References $owner.
Referenced by saveQuestionDataToDb(), and saveToDb().
Here is the caller graph for this function:| assQuestion::getPageOfQuestion | ( | ) |
Definition at line 1077 of file class.assQuestion.php.
| assQuestion::getPoints | ( | ) |
Definition at line 1796 of file class.assQuestion.php.
References $points.
Referenced by assNumeric\calculateReachedPoints(), assFileUpload\calculateReachedPoints(), assFileUpload\calculateReachedPointsForSolution(), assOrderingHorizontal\calculateReachedPointsForSolution(), assKprimChoice\calculateReachedPointsForSolution(), assOrderingQuestion\calculateReachedPointsForSolution(), assNumeric\calculateReachedPointsFromPreviewSession(), assNumeric\getMaximumPoints(), assOrderingHorizontal\getMaximumPoints(), assFileUpload\getMaximumPoints(), assOrderingQuestion\getMaximumPoints(), assTextSubset\isAnswerCorrect(), assLongMenu\isComplete(), assNumeric\saveAnswerSpecificDataToDb(), assOrderingHorizontal\toJSON(), assOrderingQuestion\toJSON(), assNumeric\toLog(), assOrderingHorizontal\toLog(), assFileUpload\toLog(), and assOrderingQuestion\toLog().
Here is the caller graph for this function:| assQuestion::getPreventRteUsage | ( | ) |
| assQuestion::getProcessLocker | ( | ) |
Definition at line 252 of file class.assQuestion.php.
References $processLocker.
Referenced by calculateResultsFromSolution(), persistWorkingState(), removeIntermediateSolution(), resetUsersAnswer(), 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().
Here is the caller graph for this function:| assQuestion::getQuestion | ( | ) |
Definition at line 1986 of file class.assQuestion.php.
References $question.
Referenced by assFormulaQuestion\checkForDuplicateResults(), assFormulaQuestion\checkForDuplicateVariables(), assFormulaQuestion\getInitialVariableSolutionValues(), getRTETextWithMediaObjects(), assFormulaQuestion\hasRequiredVariableSolutionValues(), assOrderingQuestion\isComplete(), assFormulaQuestion\parseQuestionText(), saveQuestionDataToDb(), assFormulaQuestion\substituteVariables(), assOrderingHorizontal\toJSON(), assTextQuestion\toJSON(), assTextSubset\toJSON(), assMultipleChoice\toJSON(), assSingleChoice\toJSON(), assLongMenu\toJSON(), assKprimChoice\toJSON(), assErrorText\toJSON(), assOrderingQuestion\toJSON(), assMatchingQuestion\toJSON(), assClozeTest\toJSON(), assNumeric\toLog(), assOrderingHorizontal\toLog(), assTextSubset\toLog(), assLongMenu\toLog(), assTextQuestion\toLog(), assKprimChoice\toLog(), assMultipleChoice\toLog(), assSingleChoice\toLog(), assFileUpload\toLog(), assErrorText\toLog(), assOrderingQuestion\toLog(), assFormulaQuestion\toLog(), assMatchingQuestion\toLog(), and assClozeTest\toLog().
Here is the caller graph for this function:
|
protected |
Definition at line 222 of file class.assQuestion.php.
Referenced by assFileUpload\isFileDeletionAction().
Here is the caller graph for this function:| assQuestion::getQuestionForHTMLOutput | ( | ) |
Definition at line 1991 of file class.assQuestion.php.
References purifyAndPrepareTextAreaOutput().
Here is the call graph for this function:
|
abstract |
Referenced by fromXML(), getQuestionTypeID(), and toXML().
Here is the caller graph for this function:| assQuestion::getQuestionTypeID | ( | ) |
Definition at line 2015 of file class.assQuestion.php.
References getQuestionType().
Referenced by createNewQuestion(), and saveQuestionDataToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::getReachedPoints | ( | int | $active_id, |
| int | $pass | ||
| ) |
Definition at line 554 of file class.assQuestion.php.
References getId().
Referenced by answerToLog(), and ilLOTestQuestionAdapter\updateQuestionResult().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 2067 of file class.assQuestion.php.
References getId(), ilAssQuestionHintList\getListByQuestionId(), and getQuestion().
Referenced by cleanupMediaObjectUsage().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::getSelfAssessmentEditingMode | ( | ) |
Definition at line 2279 of file class.assQuestion.php.
References $selfassessmenteditingmode.
Referenced by ilAssQuestionAuthoringFormGUI\addGenericAssessmentQuestionCommandButtons().
Here is the caller graph for this function:
|
protected |
Definition at line 2238 of file class.assQuestion.php.
Referenced by formatSAQuestion().
Here is the caller graph for this function:| assQuestion::getShuffle | ( | ) |
Definition at line 383 of file class.assQuestion.php.
References $shuffle.
Referenced by assSingleChoice\saveAdditionalQuestionDataToDb(), assMultipleChoice\saveAdditionalQuestionDataToDb(), assTextQuestion\toJSON(), assMultipleChoice\toJSON(), assSingleChoice\toJSON(), assLongMenu\toJSON(), assErrorText\toJSON(), assClozeTest\toJSON(), assNumeric\toLog(), assLongMenu\toLog(), assKprimChoice\toLog(), assMultipleChoice\toLog(), assSingleChoice\toLog(), assErrorText\toLog(), assMatchingQuestion\toLog(), and assClozeTest\toLog().
Here is the caller graph for this function:| assQuestion::getShuffler | ( | ) |
Definition at line 237 of file class.assQuestion.php.
References $shuffler.
Referenced by assOrderingHorizontal\getRandomOrderingElements(), assOrderingQuestion\getShuffledOrderingElementList(), assOrderingQuestion\toJSON(), and assMatchingQuestion\toJSON().
Here is the caller graph for this function:| assQuestion::getSolutionForTextOutput | ( | int | $active_id, |
| int | $pass | ||
| ) |
Definition at line 3069 of file class.assQuestion.php.
References getSolutionValues(), and solutionValuesToText().
Here is the call graph for this function:| assQuestion::getSolutionMaxPass | ( | int | $active_id | ) |
Definition at line 1806 of file class.assQuestion.php.
References getId().
Referenced by assOrderingHorizontal\calculateReachedPoints(), assNumeric\calculateReachedPoints(), assFileUpload\calculateReachedPoints(), assErrorText\calculateReachedPoints(), assSingleChoice\calculateReachedPoints(), assTextSubset\calculateReachedPoints(), assMultipleChoice\calculateReachedPoints(), assTextQuestion\calculateReachedPoints(), assKprimChoice\calculateReachedPoints(), assOrderingQuestion\calculateReachedPoints(), assLongMenu\calculateReachedPoints(), assMatchingQuestion\calculateReachedPoints(), assFormulaQuestion\calculateReachedPoints(), assClozeTest\fetchUserResult(), getSolutionValues(), and assFileUpload\getUploadedFiles().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 2537 of file class.assQuestion.php.
Referenced by assFileUpload\saveWorkingData().
Here is the caller graph for this function:| assQuestion::getSolutionValues | ( | int | $active_id, |
| ?int | $pass = null, |
||
| bool | $authorized = true |
||
| ) |
Loads solutions of a given user from the database an returns it.
Definition at line 781 of file class.assQuestion.php.
References getId(), getSolutionMaxPass(), and getStep().
Referenced by answerToLog(), assOrderingQuestion\calculateReachedPoints(), assFormulaQuestion\calculateReachedPoints(), deleteDummySolutionRecord(), duplicateIntermediateSolutionAuthorized(), forceExistingIntermediateSolution(), assFormulaQuestion\getCorrectSolutionForTextOutput(), getCorrectSolutionForTextOutput(), assOrderingQuestion\getOrderingElementListForSolutionOutput(), getSolutionForTextOutput(), ilTestCorrectionsGUI\getSolutions(), ilTestCorrectionsGUI\getSolutionsByParticipantResults(), getTestOutputSolutions(), assFileUpload\getUploadedFilesForWeb(), assFileUpload\getUserSolutionPreferingIntermediate(), and getUserSolutionPreferingIntermediate().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::getStep | ( | ) |
Definition at line 2767 of file class.assQuestion.php.
References $step.
Referenced by calculateResultsFromSolution(), deleteSolutionRecordByValues(), getCurrentSolutionResultSet(), getSolutionValues(), assFileUpload\getUploadedFilesForWeb(), assLongMenu\lookupForExistingSolutions(), assFormulaQuestion\lookupForExistingSolutions(), lookupForExistingSolutions(), removeCurrentSolution(), assFormulaQuestion\removeExistingSolutions(), removeExistingSolutions(), removeResultRecord(), saveCurrentSolution(), assFormulaQuestion\saveWorkingData(), updateCurrentSolution(), and updateCurrentSolutionsAuthorization().
Here is the caller graph for this function:| assQuestion::getSuggestedSolution | ( | int | $subquestion_index = 0 | ) |
Definition at line 1551 of file class.assQuestion.php.
| assQuestion::getSuggestedSolutionOutput | ( | ) |
Definition at line 487 of file class.assQuestion.php.
References getInternalLinkHref(), getSuggestedSolutionPathWeb(), ILIAS\Repository\lng(), ilLegacyFormElementsUtil\prepareFormOutput(), ilWACSignedPath\setTokenMaxLifetimeInSeconds(), and ilWACSignedPath\signFile().
Here is the call graph for this function:| assQuestion::getSuggestedSolutionPath | ( | ) |
Definition at line 704 of file class.assQuestion.php.
References CLIENT_WEB_DIR.
Referenced by cloneSuggestedSolutionFiles(), deleteSuggestedSolutions(), and duplicateSuggestedSolutionFiles().
Here is the caller graph for this function:| assQuestion::getSuggestedSolutionPathWeb | ( | ) |
Definition at line 726 of file class.assQuestion.php.
References CLIENT_WEB_DIR, and ilFileUtils\removeTrailingPathSeparators().
Referenced by getSuggestedSolutionOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::getSuggestedSolutions | ( | ) |
Definition at line 530 of file class.assQuestion.php.
References $suggested_solutions.
Referenced by copySuggestedSolutions().
Here is the caller graph for this function:
|
protected |
Definition at line 2983 of file class.assQuestion.php.
References $suggestedsolution_repo.
Referenced by cloneSuggestedSolutions(), copySuggestedSolutions(), delete(), deleteSuggestedSolutions(), and loadSuggestedSolutions().
Here is the caller graph for this function:| assQuestion::getTestId | ( | ) |
Definition at line 388 of file class.assQuestion.php.
References $test_id.
Referenced by resetUsersAnswer().
Here is the caller graph for this function:| assQuestion::getTestOutputSolutions | ( | int | $activeId, |
| int | $pass | ||
| ) |
Definition at line 756 of file class.assQuestion.php.
References getSolutionValues(), getTestPresentationConfig(), and getUserSolutionPreferingIntermediate().
Referenced by assOrderingQuestion\getSolutionOrderingElementListForTestOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::getTestPresentationConfig | ( | ) |
Definition at line 2969 of file class.assQuestion.php.
References $test_question_config, and buildTestPresentationConfig().
Referenced by getTestOutputSolutions(), ilTestPlayerAbstractGUI\initTestQuestionConfig(), and assFileUpload\isFileReuseHandlingRequired().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::getThumbSize | ( | ) |
Definition at line 403 of file class.assQuestion.php.
References $thumb_size.
Referenced by assOrderingQuestion\generateThumbForFile(), assSingleChoice\saveAdditionalQuestionDataToDb(), assMultipleChoice\saveAdditionalQuestionDataToDb(), assOrderingQuestion\saveAdditionalQuestionDataToDb(), assOrderingQuestion\setContentType(), assMultipleChoice\setImageFile(), assSingleChoice\setImageFile(), assOrderingQuestion\storeImageFile(), assMultipleChoice\toJSON(), assSingleChoice\toJSON(), and assOrderingQuestion\updateImageFile().
Here is the caller graph for this function:| assQuestion::getTitle | ( | ) |
Definition at line 363 of file class.assQuestion.php.
References $title.
Referenced by getTitleFilenameCompliant(), assOrderingQuestion\isComplete(), assClozeTest\isComplete(), and saveQuestionDataToDb().
Here is the caller graph for this function:| assQuestion::getTitleFilenameCompliant | ( | ) |
Definition at line 373 of file class.assQuestion.php.
References ilFileUtils\getASCIIFilename(), and getTitle().
Here is the call graph for this function:| assQuestion::getTitleForHTMLOutput | ( | ) |
Definition at line 368 of file class.assQuestion.php.
References ILIAS\Repository\refinery().
Referenced by ilAssQuestionHintsTableGUI\__construct(), assOrderingHorizontal\toJSON(), assTextQuestion\toJSON(), assTextSubset\toJSON(), assMultipleChoice\toJSON(), assSingleChoice\toJSON(), assLongMenu\toJSON(), assKprimChoice\toJSON(), assErrorText\toJSON(), assOrderingQuestion\toJSON(), assMatchingQuestion\toJSON(), assClozeTest\toJSON(), assNumeric\toLog(), assOrderingHorizontal\toLog(), assTextSubset\toLog(), assLongMenu\toLog(), assTextQuestion\toLog(), assKprimChoice\toLog(), assMultipleChoice\toLog(), assSingleChoice\toLog(), assFileUpload\toLog(), assErrorText\toLog(), assOrderingQuestion\toLog(), assFormulaQuestion\toLog(), assMatchingQuestion\toLog(), and assClozeTest\toLog().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::getTotalAnswers | ( | ) |
Definition at line 1007 of file class.assQuestion.php.
| assQuestion::getUserSolutionPreferingIntermediate | ( | int | $active_id, |
| ?int | $pass = null |
||
| ) |
Definition at line 765 of file class.assQuestion.php.
References getSolutionValues().
Referenced by getTestOutputSolutions().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::getValidAdditionalContentEditingModes | ( | ) |
Definition at line 2442 of file class.assQuestion.php.
Referenced by isValidAdditionalContentEditingMode(), and setAdditionalContentEditingMode().
Here is the caller graph for this function:| assQuestion::getVariablesAsTextArray | ( | int | $active_id, |
| int | $pass | ||
| ) |
Definition at line 3087 of file class.assQuestion.php.
| assQuestion::hasSpecificFeedback | ( | ) |
Definition at line 2150 of file class.assQuestion.php.
| assQuestion::hasWritableOriginalInQuestionPool | ( | ) |
Definition at line 3013 of file class.assQuestion.php.
References instantiateQuestion().
Here is the call graph for this function:
|
static |
Definition at line 2666 of file class.assQuestion.php.
References KEY_VALUES_IMPLOSION_SEPARATOR.
Referenced by assImagemapQuestionGUI\buildSelectionParameter().
Here is the caller graph for this function:
|
private |
Definition at line 288 of file class.assQuestion.php.
References getAdditionalContentEditingMode().
Referenced by fromXML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| int | $question_id |
| InvalidArgumentException |
Definition at line 1775 of file class.assQuestion.php.
References $DIC, $ilDB, $question, and ILIAS\TestQuestionPool\Questions\GeneralQuestionPropertiesRepository\getForQuestionId().
Referenced by ilObjTest\_instanciateQuestion(), ILIAS\Test\ExportImport\ResultsExportExcel\addUserContent(), ilTestFixedQuestionSetConfig\cloneQuestionSetRelatedData(), ilObjTestGUI\copyAndLinkQuestionsToPoolObject(), ilPCQuestion\copyPoolQuestionIntoPage(), ilObjQuestionPool\deleteQuestion(), ilTestResultsToXML\exportTestResults(), ilAssLacQuestionProvider\getQuestion(), ilTestPlayerAbstractGUI\getQuestionInstance(), ILIAS\Test\ExportImport\Export\getQuestionQtiXml(), ilBulkEditQuestionsGUI\getQuestions(), ilTestRandomQuestionSetPoolDeriver\getQuestionsForPool(), ilTestSequence\getSequenceSummary(), ILIAS\Test\Questions\Presentation\QuestionsTableActions\handleCommand(), ilPCQuestion\handleCopiedContent(), hasWritableOriginalInQuestionPool(), ilObjTest\insertQuestion(), ilQuestionPageParser\processPagesToParse(), ilAssIncompleteQuestionPurger\purgeQuestionIds(), ilObjTest\removeQuestionWithResults(), ilTestRandomQuestionSetStagingPoolBuilder\removeStagedQuestions(), ilSoapTestAdministration\saveQuestion(), ilSoapTestAdministration\saveQuestionSolution(), ilTestRandomQuestionSetStagingPoolBuilder\stageQuestionsFromSourcePool(), and ilAssQuestionSkillAssignmentsGUI\syncOriginalCmd().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::intermediateSolutionExists | ( | int | $active_id, |
| int | $pass | ||
| ) |
Definition at line 2790 of file class.assQuestion.php.
References lookupForExistingSolutions().
Referenced by assFileUpload\saveWorkingData().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::isAddableAnswerOptionValue | ( | int | $qIndex, |
| string | $answerOptionValue | ||
| ) |
Definition at line 2866 of file class.assQuestion.php.
| assQuestion::isAdditionalContentEditingModePageObject | ( | ) |
Definition at line 2428 of file class.assQuestion.php.
References ADDITIONAL_CONTENT_EDITING_MODE_IPE, and getAdditionalContentEditingMode().
Referenced by delete(), duplicateQuestionHints(), assClozeTest\getClozeTextForHTMLOutput(), and purifyAndPrepareTextAreaOutput().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::isAnswered | ( | int | $active_id, |
| int | $pass | ||
| ) |
Definition at line 2382 of file class.assQuestion.php.
References getId(), and getNumExistingSolutionRecords().
Here is the call graph for this function:
|
abstract |
|
protected |
Definition at line 2685 of file class.assQuestion.php.
Referenced by assFileUpload\calculateReachedPoints().
Here is the caller graph for this function:
|
static |
Definition at line 1028 of file class.assQuestion.php.
|
static |
Definition at line 217 of file class.assQuestion.php.
|
protected |
Definition at line 227 of file class.assQuestion.php.
Referenced by assFileUpload\isFileDeletionSubmitAvailable(), and assFileUpload\isFileReuseSubmitAvailable().
Here is the caller graph for this function:| assQuestion::isPreviewSolutionCorrect | ( | ilAssQuestionPreviewSession | $preview_session | ) |
Definition at line 1862 of file class.assQuestion.php.
References calculateReachedPointsFromPreviewSession(), and getMaximumPoints().
Here is the call graph for this function:| assQuestion::isValidAdditionalContentEditingMode | ( | string | $additionalContentEditingMode | ) |
Definition at line 2433 of file class.assQuestion.php.
References getValidAdditionalContentEditingModes().
Here is the call graph for this function:| assQuestion::isWriteable | ( | ) |
Definition at line 1835 of file class.assQuestion.php.
References ilObjQuestionPool\_isWriteable(), getCurrentUser(), getId(), and getObjId().
Here is the call graph for this function:
|
protected |
Definition at line 2264 of file class.assQuestion.php.
References ilAssSelfAssessmentMigrator\migrateToLmContent(), and setQuestion().
Referenced by migrateContentForLearningModule().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 2269 of file class.assQuestion.php.
Referenced by migrateContentForLearningModule().
Here is the caller graph for this function:| assQuestion::loadFromDb | ( | int | $question_id | ) |
Definition at line 1146 of file class.assQuestion.php.
References $data, and loadSuggestedSolutions().
Here is the call graph for this function:
|
protected |
Definition at line 2988 of file class.assQuestion.php.
References getId(), and getSuggestedSolutionsRepo().
Referenced by loadFromDb().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::lookupForExistingSolutions | ( | int | $activeId, |
| int | $pass | ||
| ) |
Lookup if an authorized or intermediate solution exists.
Definition at line 2830 of file class.assQuestion.php.
References getId(), and getStep().
Referenced by authorizedOrIntermediateSolutionExists(), authorizedSolutionExists(), calculateResultsFromSolution(), and intermediateSolutionExists().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 2812 of file class.assQuestion.php.
References getId().
Referenced by assNumeric\getUserQuestionResult(), assOrderingHorizontal\getUserQuestionResult(), assTextSubset\getUserQuestionResult(), assSingleChoice\getUserQuestionResult(), assMultipleChoice\getUserQuestionResult(), assOrderingQuestion\getUserQuestionResult(), assFormulaQuestion\getUserQuestionResult(), assMatchingQuestion\getUserQuestionResult(), and assClozeTest\getUserQuestionResult().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2296 of file class.assQuestion.php.
References $DIC, $ilDB, and $res.
Referenced by ILIAS\Test\Questions\Presentation\QuestionsTableActions\checkQuestionParametersForCopyToPool(), and ilAssQuestionSkillAssignmentsGUI\isSyncOriginalPossibleAndAllowed().
Here is the caller graph for this function:| assQuestion::migrateContentForLearningModule | ( | ilAssSelfAssessmentMigrator | $migrator | ) |
Definition at line 2255 of file class.assQuestion.php.
References getId(), lmMigrateQuestionTypeGenericContent(), lmMigrateQuestionTypeSpecificContent(), and saveToDb().
Referenced by ilAssSelfAssessmentQuestionFormatter\prepareQuestionForLearningModule().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1465 of file class.assQuestion.php.
References copySuggestedSolutions(), duplicateComments(), duplicateQuestionHints(), duplicateSkillAssignments(), and duplicateSuggestedSolutionFiles().
Here is the call graph for this function:
|
protected |
Definition at line 1442 of file class.assQuestion.php.
References cloneSuggestedSolutionFiles(), copySuggestedSolutions(), duplicateComments(), duplicateQuestionHints(), and duplicateSkillAssignments().
Here is the call graph for this function:
|
final |
persists the preview state for current user and question
Definition at line 688 of file class.assQuestion.php.
References savePreviewData(), and validateSolutionSubmit().
Here is the call graph for this function:
|
final |
persists the working state for current testactive and testpass
Definition at line 658 of file class.assQuestion.php.
References ilObjTest\_getPass(), calculateResultsFromSolution(), getProcessLocker(), removeIntermediateSolution(), saveWorkingData(), and validateSolutionSubmit().
Referenced by ilTestPlayerAbstractGUI\save().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1996 of file class.assQuestion.php.
References getHtmlQuestionContentPurifier(), isAdditionalContentEditingModePageObject(), and ilLegacyFormElementsUtil\prepareTextareaOutput().
Referenced by getQuestionForHTMLOutput(), and assFormulaQuestion\substituteVariables().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::removeAllExistingSolutions | ( | ) |
Definition at line 2875 of file class.assQuestion.php.
References getId().
Here is the call graph for this function:
|
protected |
Definition at line 1401 of file class.assQuestion.php.
Referenced by assOrderingQuestion\cloneImages(), assMatchingQuestion\cloneImages(), and assImagemapQuestion\copyImagemapFiles().
Here is the caller graph for this function:| assQuestion::removeCurrentSolution | ( | int | $active_id, |
| int | $pass, | ||
| bool | $authorized = true |
||
| ) |
Definition at line 2562 of file class.assQuestion.php.
References getId(), and getStep().
Referenced by removeIntermediateSolution(), assOrderingHorizontal\saveWorkingData(), assErrorText\saveWorkingData(), assTextSubset\saveWorkingData(), assKprimChoice\saveWorkingData(), assTextQuestion\saveWorkingData(), assMultipleChoice\saveWorkingData(), assLongMenu\saveWorkingData(), assFileUpload\saveWorkingData(), assOrderingQuestion\saveWorkingData(), assMatchingQuestion\saveWorkingData(), and assClozeTest\saveWorkingData().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::removeExistingSolutions | ( | int | $activeId, |
| int | $pass | ||
| ) |
Definition at line 2881 of file class.assQuestion.php.
References getId(), and getStep().
Referenced by resetUsersAnswer().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::removeIntermediateSolution | ( | int | $active_id, |
| int | $pass | ||
| ) |
Definition at line 2552 of file class.assQuestion.php.
References getProcessLocker(), and removeCurrentSolution().
Referenced by persistWorkingState().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::removeResultRecord | ( | int | $activeId, |
| int | $pass | ||
| ) |
Definition at line 2918 of file class.assQuestion.php.
References getId(), and getStep().
Referenced by resetUsersAnswer().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 2524 of file class.assQuestion.php.
Referenced by deleteDummySolutionRecord(), assNumeric\saveWorkingData(), and assSingleChoice\saveWorkingData().
Here is the caller graph for this function:
|
static |
Definition at line 1428 of file class.assQuestion.php.
Referenced by ilTestRandomQuestionSetPoolDeriver\updateTestQuestionStage().
Here is the caller graph for this function:| assQuestion::resetUsersAnswer | ( | int | $activeId, |
| int | $pass | ||
| ) |
Definition at line 2901 of file class.assQuestion.php.
References getProcessLocker(), getTestId(), removeExistingSolutions(), and removeResultRecord().
Here is the call graph for this function:| assQuestion::resolveInternalLink | ( | string | $internal_link | ) |
Definition at line 1630 of file class.assQuestion.php.
References ilInternalLink\_getIdForImportId(), and ilLMObject\_getIdForImportId().
Referenced by resolveSuggestedSolutionLinks().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::resolveSuggestedSolutionLinks | ( | ) |
Definition at line 1661 of file class.assQuestion.php.
References ilInternalLink\_deleteAllLinksOfSource(), ilInternalLink\_saveLink(), getId(), and resolveInternalLink().
Here is the call graph for this function:| assQuestion::saveCurrentSolution | ( | int | $active_id, |
| int | $pass, | ||
| $value1, | |||
| $value2, | |||
| bool | $authorized = true, |
||
$tstamp = 0 |
|||
| ) |
Definition at line 2597 of file class.assQuestion.php.
References getId(), getStep(), and ILIAS\Repository\int().
Referenced by duplicateIntermediateSolutionAuthorized(), forceExistingIntermediateSolution(), assOrderingHorizontal\saveWorkingData(), assNumeric\saveWorkingData(), assErrorText\saveWorkingData(), assSingleChoice\saveWorkingData(), assTextSubset\saveWorkingData(), assKprimChoice\saveWorkingData(), assTextQuestion\saveWorkingData(), assMultipleChoice\saveWorkingData(), assFileUpload\saveWorkingData(), assLongMenu\saveWorkingData(), assOrderingQuestion\saveWorkingData(), assMatchingQuestion\saveWorkingData(), and assClozeTest\saveWorkingData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1415 of file class.assQuestion.php.
Referenced by ilObjTestGUI\copyAndLinkQuestionsToPoolObject(), ilObjTestGUI\executeAfterQuestionCreationTasks(), and ilTestRandomQuestionSetPoolDeriver\updateTestQuestionStage().
Here is the caller graph for this function:
|
protected |
Definition at line 699 of file class.assQuestion.php.
References ilAssQuestionPreviewSession\setParticipantsSolution().
Referenced by persistPreviewState().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::saveQuestionDataToDb | ( | ?int | $original_id = null | ) |
Definition at line 1224 of file class.assQuestion.php.
References ilRTE\_replaceMediaObjectImageSrc(), createPageObject(), getAdditionalContentEditingMode(), getAuthor(), getComment(), getExternalId(), getId(), getMaximumPoints(), getNrOfTries(), getObjId(), getOwner(), getQuestion(), getQuestionTypeID(), getTitle(), isComplete(), and setId().
Referenced by assNumeric\saveToDb(), assTextSubset\saveToDb(), assErrorText\saveToDb(), assOrderingHorizontal\saveToDb(), assSingleChoice\saveToDb(), assMultipleChoice\saveToDb(), assOrderingQuestion\saveToDb(), assTextQuestion\saveToDb(), assFileUpload\saveToDb(), assMatchingQuestion\saveToDb(), assImagemapQuestion\saveToDb(), assLongMenu\saveToDb(), assClozeTest\saveToDb(), assKprimChoice\saveToDb(), and assFormulaQuestion\saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::saveToDb | ( | ?int | $original_id = null | ) |
Definition at line 1375 of file class.assQuestion.php.
References ilObjQuestionPool\_updateQuestionCount(), cleanupMediaObjectUsage(), getId(), getLifecycle(), getObjId(), getOwner(), and isComplete().
Referenced by assOrderingQuestion\cloneQuestionTypeSpecificProperties(), and migrateContentForLearningModule().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstract |
| assQuestion::setAdditionalContentEditingMode | ( | ?string | $additionalContentEditingMode | ) |
Definition at line 2419 of file class.assQuestion.php.
References $additionalContentEditingMode, and getValidAdditionalContentEditingModes().
Referenced by assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), and assFormulaQuestion\loadFromDb().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::setAuthor | ( | string | $author = "" | ) |
Definition at line 350 of file class.assQuestion.php.
References $author.
Referenced by assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), and assFormulaQuestion\loadFromDb().
Here is the caller graph for this function:| assQuestion::setComment | ( | string | $comment = "" | ) |
Definition at line 340 of file class.assQuestion.php.
References $comment, and ILIAS\UI\examples\Symbol\Glyph\Comment\comment().
Referenced by assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), and assFormulaQuestion\loadFromDb().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::setDefaultNrOfTries | ( | int | $defaultnroftries | ) |
| assQuestion::setExportImagePath | ( | string | $path | ) |
| assQuestion::setExternalId | ( | ?string | $external_id | ) |
|
static |
Definition at line 212 of file class.assQuestion.php.
References $force_pass_results_update_enabled.
| assQuestion::setId | ( | int | $id = -1 | ) |
Definition at line 330 of file class.assQuestion.php.
References $id.
Referenced by createNewQuestion(), assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), and saveQuestionDataToDb().
Here is the caller graph for this function:| assQuestion::setLastChange | ( | int | $lastChange | ) |
Definition at line 2478 of file class.assQuestion.php.
References $lastChange.
Referenced by assKprimChoice\loadFromDb().
Here is the caller graph for this function:| assQuestion::setLifecycle | ( | ilAssQuestionLifecycle | $lifecycle | ) |
Definition at line 457 of file class.assQuestion.php.
References $lifecycle.
Referenced by assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), and assFormulaQuestion\loadFromDb().
Here is the caller graph for this function:| assQuestion::setNrOfTries | ( | int | $a_nr_of_tries | ) |
Definition at line 2206 of file class.assQuestion.php.
Referenced by assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), and assLongMenu\loadFromDb().
Here is the caller graph for this function:| assQuestion::setObjId | ( | int | $obj_id = 0 | ) |
Definition at line 447 of file class.assQuestion.php.
References $obj_id.
Referenced by assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), and assFormulaQuestion\loadFromDb().
Here is the caller graph for this function:| assQuestion::setOriginalId | ( | ?int | $original_id | ) |
Definition at line 1083 of file class.assQuestion.php.
References $original_id.
Referenced by assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), and assFormulaQuestion\loadFromDb().
Here is the caller graph for this function:| assQuestion::setOwner | ( | int | $owner = -1 | ) |
Definition at line 358 of file class.assQuestion.php.
References $owner.
Referenced by assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), and assFormulaQuestion\loadFromDb().
Here is the caller graph for this function:| assQuestion::setPoints | ( | float | $points | ) |
Definition at line 1801 of file class.assQuestion.php.
References $points.
Referenced by assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), assFormulaQuestion\loadFromDb(), and assLongMenu\saveAnswerSpecificDataToDb().
Here is the caller graph for this function:| assQuestion::setPreventRteUsage | ( | bool | $prevent_rte_usage | ) |
| assQuestion::setProcessLocker | ( | ilAssQuestionProcessLocker | $processLocker | ) |
Definition at line 247 of file class.assQuestion.php.
References $processLocker.
| assQuestion::setQuestion | ( | string | $question = "" | ) |
Definition at line 2010 of file class.assQuestion.php.
References $question.
Referenced by assClozeTest\__construct(), lmMigrateQuestionTypeGenericContent(), assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), and assFormulaQuestion\loadFromDb().
Here is the caller graph for this function:| assQuestion::setSelfAssessmentEditingMode | ( | bool | $selfassessmenteditingmode | ) |
Definition at line 2274 of file class.assQuestion.php.
References $selfassessmenteditingmode.
| assQuestion::setShuffle | ( | ?bool | $shuffle = true | ) |
Definition at line 345 of file class.assQuestion.php.
Referenced by assSingleChoice\loadFromDb(), assMultipleChoice\loadFromDb(), and assTextQuestion\loadFromDb().
Here is the caller graph for this function:| assQuestion::setShuffler | ( | Transformation | $shuffler | ) |
Definition at line 242 of file class.assQuestion.php.
References $shuffler.
Referenced by assMatchingQuestion\toJSON().
Here is the caller graph for this function:| assQuestion::setStep | ( | $step | ) |
| int | null | $step |
Definition at line 2759 of file class.assQuestion.php.
References $step.
Referenced by assFileUpload\getUploadedFilesForWeb().
Here is the caller graph for this function:| assQuestion::setTestId | ( | int | $id = -1 | ) |
| assQuestion::setThumbSize | ( | int | $a_size | ) |
Definition at line 408 of file class.assQuestion.php.
Referenced by assSingleChoice\loadFromDb(), assMultipleChoice\loadFromDb(), assOrderingQuestion\loadFromDb(), and assOrderingQuestion\setContentType().
Here is the caller graph for this function:| assQuestion::setTitle | ( | string | $title = "" | ) |
Definition at line 325 of file class.assQuestion.php.
References $title.
Referenced by assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), and assFormulaQuestion\loadFromDb().
Here is the caller graph for this function:
|
abstractprotected |
MUST convert the given solution values into an array or a string that can be stored in the log.
Language variables must be generated through the corresponding functions in the AdditionalInformationGenerator. If an array is returned it will be rendered into a line per array entry in the format "key: value". If the key exists as a language variable, it will be translated.
Referenced by answerToLog().
Here is the caller graph for this function:
|
abstractprotected |
MUST convert the given solution values into text.
If the text has multiple lines each line MUST be placed as an entry in an array.
Referenced by getCorrectSolutionForTextOutput(), and getSolutionForTextOutput().
Here is the caller graph for this function:| assQuestion::syncSkillAssignments | ( | int | $srcParentId, |
| int | $srcQuestionId, | ||
| int | $trgParentId, | ||
| int | $trgQuestionId | ||
| ) |
Definition at line 2349 of file class.assQuestion.php.
References duplicateSkillAssignments().
Here is the call graph for this function:| assQuestion::syncWithOriginal | ( | ) |
Definition at line 1740 of file class.assQuestion.php.
References afterSyncWithOriginal(), cloneHints(), cloneQuestionTypeSpecificProperties(), cloneSuggestedSolutions(), cloneXHTMLMediaObjectsOfQuestion(), getId(), getObjId(), and getOriginalId().
Here is the call graph for this function:| assQuestion::toJSON | ( | ) |
Definition at line 2784 of file class.assQuestion.php.
|
abstract |
MUST return an array of the question settings that can be stored in the log.
Language variables must be generated through the corresponding functions in the AdditionalInformationGenerator. If an array is returned it will be rendered into a line per array entry in the format "key: value". If the key exists as a language variable, it will be translated.
Implements ILIAS\TestQuestionPool\Questions\Question.
Referenced by toQuestionAdministrationInteraction().
Here is the caller graph for this function:| assQuestion::toQuestionAdministrationInteraction | ( | AdditionalInformationGenerator | $additional_info, |
| int | $test_ref_id, | ||
| TestQuestionAdministrationInteractionTypes | $interaction_type | ||
| ) |
Implements ILIAS\TestQuestionPool\Questions\Question.
Definition at line 3039 of file class.assQuestion.php.
References toLog().
Here is the call graph for this function:
|
final |
Returns a QTI xml representation of the question.
Definition at line 313 of file class.assQuestion.php.
References getQuestionType().
Here is the call graph for this function:| assQuestion::updateCurrentSolution | ( | int | $solutionId, |
| $value1, | |||
| $value2, | |||
| bool | $authorized = true |
||
| ) |
Definition at line 2620 of file class.assQuestion.php.
References getStep(), and ILIAS\Repository\int().
Referenced by assNumeric\saveWorkingData(), and assSingleChoice\saveWorkingData().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::updateCurrentSolutionsAuthorization | ( | int | $activeId, |
| int | $pass, | ||
| bool | $authorized, | ||
| bool | $keepTime = false |
||
| ) |
Definition at line 2639 of file class.assQuestion.php.
References getId(), getStep(), and ILIAS\Repository\int().
Referenced by forceExistingIntermediateSolution(), and assFileUpload\saveWorkingData().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::updateTimestamp | ( | ) |
Definition at line 2960 of file class.assQuestion.php.
References getId().
Here is the call graph for this function:| assQuestion::validateSolutionSubmit | ( | ) |
Implements ILIAS\TestQuestionPool\Questions\Question.
Definition at line 694 of file class.assQuestion.php.
Referenced by persistPreviewState(), and persistWorkingState().
Here is the caller graph for this function:
|
private |
Definition at line 104 of file class.assQuestion.php.
Referenced by getAdditionalContentEditingMode(), and setAdditionalContentEditingMode().
|
protected |
Definition at line 92 of file class.assQuestion.php.
Referenced by assFormulaQuestion\__construct(), assOrderingHorizontal\__construct(), assSingleChoice\__construct(), assErrorText\__construct(), assKprimChoice\__construct(), assOrderingQuestion\__construct(), assMultipleChoice\__construct(), assTextQuestion\__construct(), assClozeTest\__construct(), assImagemapQuestion\__construct(), assMatchingQuestion\__construct(), getAuthor(), and setAuthor().
|
protected |
Definition at line 90 of file class.assQuestion.php.
Referenced by assFormulaQuestion\__construct(), assOrderingHorizontal\__construct(), assSingleChoice\__construct(), assErrorText\__construct(), assKprimChoice\__construct(), assOrderingQuestion\__construct(), assMultipleChoice\__construct(), assTextQuestion\__construct(), assClozeTest\__construct(), assImagemapQuestion\__construct(), assMatchingQuestion\__construct(), getComment(), and setComment().
|
protected |
Definition at line 75 of file class.assQuestion.php.
Referenced by getCurrentUser().
|
protected |
Definition at line 74 of file class.assQuestion.php.
| int assQuestion::$defaultnroftries = 0 |
Definition at line 107 of file class.assQuestion.php.
Referenced by getDefaultNrOfTries(), and setDefaultNrOfTries().
|
protected |
Definition at line 81 of file class.assQuestion.php.
|
private |
Definition at line 102 of file class.assQuestion.php.
Referenced by getImagePathWeb().
|
protected |
Definition at line 103 of file class.assQuestion.php.
Referenced by getExternalId(), and setExternalId().
| ilAssQuestionFeedback assQuestion::$feedbackOBJ |
Definition at line 85 of file class.assQuestion.php.
|
staticprotected |
Definition at line 62 of file class.assQuestion.php.
Referenced by setForcePassResultUpdateEnabled().
|
protected |
Definition at line 77 of file class.assQuestion.php.
|
protected |
Definition at line 88 of file class.assQuestion.php.
Referenced by assFormulaQuestion\addResultUnits(), createNewOriginalFromThisDuplicate(), getId(), getImagePath(), setId(), assFormulaQuestion\setId(), setTestId(), assKprimChoice\solutionValuesToLog(), assMultipleChoice\solutionValuesToLog(), and assKprimChoice\solutionValuesToText().
|
protected |
Definition at line 71 of file class.assQuestion.php.
|
staticprotected |
Definition at line 1093 of file class.assQuestion.php.
|
protected |
Definition at line 101 of file class.assQuestion.php.
Referenced by getLastChange(), and setLastChange().
|
protected |
Definition at line 84 of file class.assQuestion.php.
Referenced by getLifecycle(), and setLifecycle().
|
protected |
Definition at line 73 of file class.assQuestion.php.
|
protected |
Definition at line 80 of file class.assQuestion.php.
|
private |
Definition at line 100 of file class.assQuestion.php.
Referenced by getNrOfTries().
|
protected |
Definition at line 98 of file class.assQuestion.php.
Referenced by getImagePath(), getObjId(), and setObjId().
|
protected |
Definition at line 99 of file class.assQuestion.php.
Referenced by assTextQuestion\duplicateAnswers(), getOriginalId(), assNumeric\saveToDb(), assTextSubset\saveToDb(), assErrorText\saveToDb(), assOrderingHorizontal\saveToDb(), assSingleChoice\saveToDb(), assMultipleChoice\saveToDb(), assOrderingQuestion\saveToDb(), assTextQuestion\saveToDb(), assFileUpload\saveToDb(), assMatchingQuestion\saveToDb(), assImagemapQuestion\saveToDb(), assLongMenu\saveToDb(), assClozeTest\saveToDb(), assKprimChoice\saveToDb(), assFormulaQuestion\saveToDb(), and setOriginalId().
|
protected |
Definition at line 91 of file class.assQuestion.php.
Referenced by assFormulaQuestion\__construct(), assOrderingHorizontal\__construct(), assSingleChoice\__construct(), assErrorText\__construct(), assKprimChoice\__construct(), assOrderingQuestion\__construct(), assMultipleChoice\__construct(), assTextQuestion\__construct(), assClozeTest\__construct(), assImagemapQuestion\__construct(), assMatchingQuestion\__construct(), getOwner(), and setOwner().
|
protected |
Definition at line 86 of file class.assQuestion.php.
|
protected |
Definition at line 95 of file class.assQuestion.php.
Referenced by _getReachedPoints(), assTextSubset\addAnswer(), assSingleChoice\addAnswer(), assMultipleChoice\addAnswer(), assTextQuestion\addAnswer(), assMatchingQuestion\addMatchingPair(), adjustReachedPointsByScoringOptions(), assClozeTest\calculateCombinationResult(), assOrderingHorizontal\calculateReachedPoints(), assNumeric\calculateReachedPoints(), assErrorText\calculateReachedPoints(), assSingleChoice\calculateReachedPoints(), assKprimChoice\calculateReachedPoints(), assMatchingQuestion\calculateReachedPoints(), assFormulaQuestion\calculateReachedPoints(), assTextQuestion\calculateReachedPointsForSolution(), assLongMenu\calculateReachedPointsForSolution(), assOrderingHorizontal\calculateReachedPointsForSolution(), assTextSubset\calculateReachedPointsForSolution(), assKprimChoice\calculateReachedPointsForSolution(), assMultipleChoice\calculateReachedPointsForSolution(), assMatchingQuestion\calculateReachedPointsForSolution(), assClozeTest\calculateReachedPointsForSolution(), assNumeric\calculateReachedPointsFromPreviewSession(), assSingleChoice\calculateReachedPointsFromPreviewSession(), assFormulaQuestion\calculateReachedPointsFromPreviewSession(), assLongMenu\checkQuestionCustomPart(), assMatchingQuestion\createMatchingPair(), ensureNonNegativePoints(), assClozeTest\getMaximumGapPoints(), assTextQuestion\getMaximumPoints(), assTextSubset\getMaximumPoints(), assLongMenu\getMaximumPoints(), assSingleChoice\getMaximumPoints(), getMaximumPoints(), assMatchingQuestion\getMaximumPoints(), assClozeTest\getMaximumPoints(), assFormulaQuestion\getMaximumPoints(), assTextQuestion\getMinimumPoints(), getPoints(), assLongMenu\getPointsForGap(), assErrorText\getPointsForSelectedPositions(), assNumeric\getUserQuestionResult(), assOrderingHorizontal\getUserQuestionResult(), assTextSubset\getUserQuestionResult(), assLongMenu\getUserQuestionResult(), assErrorText\getUserQuestionResult(), assSingleChoice\getUserQuestionResult(), assMultipleChoice\getUserQuestionResult(), assOrderingQuestion\getUserQuestionResult(), assFormulaQuestion\getUserQuestionResult(), assMatchingQuestion\getUserQuestionResult(), assClozeTest\getUserQuestionResult(), assMatchingQuestion\insertMatchingPair(), assLongMenu\saveAnswerSpecificDataToDb(), assTextQuestion\setAnswers(), assErrorText\setErrorsFromParsedErrorText(), assClozeTest\setGapAnswerPoints(), and setPoints().
| bool assQuestion::$prevent_rte_usage = false |
Definition at line 105 of file class.assQuestion.php.
Referenced by getPreventRteUsage(), and setPreventRteUsage().
|
protected |
Definition at line 67 of file class.assQuestion.php.
Referenced by getProcessLocker(), and setProcessLocker().
|
protected |
Definition at line 94 of file class.assQuestion.php.
Referenced by assFormulaQuestion\__construct(), assOrderingHorizontal\__construct(), assSingleChoice\__construct(), assErrorText\__construct(), assKprimChoice\__construct(), assOrderingQuestion\__construct(), assMultipleChoice\__construct(), assTextQuestion\__construct(), assClozeTest\__construct(), assImagemapQuestion\__construct(), assMatchingQuestion\__construct(), getQuestion(), instantiateQuestion(), and setQuestion().
|
protected |
Definition at line 66 of file class.assQuestion.php.
| string assQuestion::$questionActionCmd = 'handleQuestionAction' |
Definition at line 108 of file class.assQuestion.php.
|
protected |
Definition at line 65 of file class.assQuestion.php.
|
protected |
Definition at line 64 of file class.assQuestion.php.
|
protected |
Definition at line 78 of file class.assQuestion.php.
Referenced by assClozeTest\getTextgapPoints(), assTextSubset\isAnswerCorrect(), and assTextQuestion\isKeywordMatching().
| bool assQuestion::$selfassessmenteditingmode = false |
Definition at line 106 of file class.assQuestion.php.
Referenced by getSelfAssessmentEditingMode(), and setSelfAssessmentEditingMode().
|
protected |
Definition at line 96 of file class.assQuestion.php.
Referenced by getShuffle(), assSingleChoice\loadFromDb(), assMultipleChoice\loadFromDb(), assClozeTest\setGapShuffle(), assMatchingQuestion\setShuffle(), and assMatchingQuestion\setShuffleMode().
|
protected |
Definition at line 79 of file class.assQuestion.php.
Referenced by getShuffler(), and setShuffler().
|
protected |
Definition at line 76 of file class.assQuestion.php.
|
protected |
Definition at line 109 of file class.assQuestion.php.
Referenced by getStep(), assFileUpload\getUploadedFilesForWeb(), and setStep().
|
protected |
Definition at line 114 of file class.assQuestion.php.
Referenced by getSuggestedSolutions().
|
protected |
Definition at line 69 of file class.assQuestion.php.
Referenced by getSuggestedSolutionsRepo().
|
protected |
Definition at line 97 of file class.assQuestion.php.
Referenced by getTestId(), assFileUpload\getUploadedFilesForWeb(), assFileUpload\removeIntermediateSolution(), and assFileUpload\saveWorkingData().
|
private |
Definition at line 83 of file class.assQuestion.php.
Referenced by getTestPresentationConfig().
|
protected |
Definition at line 68 of file class.assQuestion.php.
|
protected |
Definition at line 93 of file class.assQuestion.php.
Referenced by getThumbSize().
|
protected |
Definition at line 89 of file class.assQuestion.php.
Referenced by assFormulaQuestion\__construct(), assOrderingHorizontal\__construct(), assSingleChoice\__construct(), assErrorText\__construct(), assKprimChoice\__construct(), assOrderingQuestion\__construct(), assMultipleChoice\__construct(), assTextQuestion\__construct(), assClozeTest\__construct(), assImagemapQuestion\__construct(), assMatchingQuestion\__construct(), getTitle(), and setTitle().
|
protected |
Definition at line 72 of file class.assQuestion.php.
| const assQuestion::ADDITIONAL_CONTENT_EDITING_MODE_IPE = 'pageobject' |
Definition at line 55 of file class.assQuestion.php.
Referenced by assQuestionGUI\addBasicQuestionFormProperties(), ilObjQuestionPoolGUI\buildInputEditingType(), ilObjTestGUI\buildInputEditingType(), ilPCQuestionGUI\insert(), isAdditionalContentEditingModePageObject(), and assClozeTestGUI\populateQuestionSpecificFormPart().
| const assQuestion::ADDITIONAL_CONTENT_EDITING_MODE_RTE = 'default' |
Definition at line 54 of file class.assQuestion.php.
Referenced by ilObjQuestionPoolGUI\buildInputEditingType(), ilObjTestGUI\buildInputEditingType(), ilPCQuestionGUI\edit(), assQuestionImport\fetchAdditionalContentEditingModeInformation(), ilPCQuestionGUI\insert(), and assLongMenuGUI\populateQuestionSpecificFormPart().
|
private |
Definition at line 57 of file class.assQuestion.php.
|
protected |
Definition at line 52 of file class.assQuestion.php.
| const assQuestion::KEY_VALUES_IMPLOSION_SEPARATOR = ':' |
Definition at line 2664 of file class.assQuestion.php.
Referenced by explodeKeyValues(), and implodeKeyValues().
|
private |
Definition at line 59 of file class.assQuestion.php.
|
private |
Definition at line 58 of file class.assQuestion.php.
| const assQuestion::TRIM_PATTERN = '/^[\p{C}\p{Z}]+|[\p{C}\p{Z}]+$/u' |
Definition at line 60 of file class.assQuestion.php.