|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
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) | |
| toXML (bool $a_include_header=true, bool $a_include_binary=true, bool $a_shuffle=false, bool $test_output=false, bool $force_image_references=false) | |
| 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 () | |
| 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) | |
| updateOriginalId (?int $original_id=null) | |
| duplicate (bool $set_original_id=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 () | |
| 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 () | |
| 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) | |
| 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) | |
| toNormalized (Transformations $transformations, array $context=[]) | |
| fromNormalized (array $normalized, Transformations $transformations) | |
| validateSolutionSubmit () | |
| toLog (AdditionalInformationGenerator $additional_info) | |
| answerToParticipantInteraction (AdditionalInformationGenerator $additional_info, int $test_id, int $active_id, int $pass, string $source_ip, TestParticipantInteractionTypes $interaction_type) | |
| toQuestionAdministrationInteraction (AdditionalInformationGenerator $additional_info, int $test_id, TestQuestionAdministrationInteractionTypes $interaction_type) | |
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) | |
| 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 |
| TestResultRepository | $test_result_repository |
| 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 | |
| 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 54 of file class.assQuestion.php.
|
static |
Definition at line 517 of file class.assQuestion.php.
|
static |
Returns the maximum pass a users question solution.
Definition at line 1791 of file class.assQuestion.php.
Referenced by ilObjTest\getTextAnswer().
Here is the caller graph for this function:
|
static |
Definition at line 460 of file class.assQuestion.php.
|
static |
Definition at line 2129 of file class.assQuestion.php.
| assQuestion::addAnswerOptionValue | ( | int | $qIndex, |
| string | $answerOptionValue, | ||
| float | $points | ||
| ) |
Reimplemented in assClozeTest, and assTextSubset.
Definition at line 2755 of file class.assQuestion.php.
|
final |
Adjust the given reached points by checks for all special scoring options in the test container.
@final @access public
| integer | $points | |
| integer | $active_id | |
| integer | $pass |
Definition at line 1846 of file class.assQuestion.php.
References ilObjTest\_getCountSystem(), and ilObjTest\_getScoreCutting().
Here is the call graph for this function:
|
protected |
Reimplemented in assMatchingQuestion, and assSingleChoice.
Definition at line 1434 of file class.assQuestion.php.
|
protected |
Definition at line 2927 of file class.assQuestion.php.
| 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 2893 of file class.assQuestion.php.
Referenced by ilTestPlayerAbstractGUI\save().
Here is the caller graph for this function:| assQuestion::authorizedOrIntermediateSolutionExists | ( | int | $active_id, |
| int | $pass | ||
| ) |
Definition at line 2689 of file class.assQuestion.php.
| assQuestion::authorizedSolutionExists | ( | int | $active_id, |
| ?int | $pass | ||
| ) |
Definition at line 2680 of file class.assQuestion.php.
| assQuestion::buildHashedImageFilename | ( | string | $plain_image_filename, |
| bool | $unique = false |
||
| ) |
Definition at line 1862 of file class.assQuestion.php.
|
protected |
Definition at line 2350 of file class.assQuestion.php.
Referenced by assKprimChoice\loadFromDb().
Here is the caller graph for this function:
|
protected |
Reimplemented in assFileUpload, assMultipleChoice, assOrderingHorizontal, and assOrderingQuestion.
Definition at line 2852 of file class.assQuestion.php.
|
abstract |
| assQuestion::calculateReachedPointsFromPreviewSession | ( | ilAssQuestionPreviewSession | $preview_session | ) |
Reimplemented in assClozeTest, assErrorText, assImagemapQuestion, assOrderingQuestion, assSingleChoice, assFormulaQuestion, and assNumeric.
Definition at line 1817 of file class.assQuestion.php.
References ilAssQuestionPreviewSession\getParticipantsSolution().
Here is the call graph for this function:
|
final |
Calculates the question results from a previously saved question solution.
Definition at line 559 of file class.assQuestion.php.
References ilCourseObjectiveResult\_updateObjectiveResult(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::cleanupMediaObjectUsage | ( | ) |
Definition at line 1999 of file class.assQuestion.php.
References ilRTE\_cleanupMediaObjectUsage(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::clonePageOfQuestion | ( | int | $a_q_id | ) |
Definition at line 1025 of file class.assQuestion.php.
References $page.
|
protected |
Definition at line 1348 of file class.assQuestion.php.
|
protected |
Definition at line 1572 of file class.assQuestion.php.
|
protected |
Definition at line 1536 of file class.assQuestion.php.
| assQuestion::cloneXHTMLMediaObjectsOfQuestion | ( | int | $source_question_id | ) |
Definition at line 1005 of file class.assQuestion.php.
References ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_saveUsage(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
static |
Definition at line 2656 of file class.assQuestion.php.
References ILIAS\Repository\int().
Here is the call graph for this function:
|
final |
Definition at line 1291 of file class.assQuestion.php.
|
protected |
Definition at line 1597 of file class.assQuestion.php.
|
final |
Definition at line 1316 of file class.assQuestion.php.
| 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 1133 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::createPageObject | ( | ) |
Definition at line 1013 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::delete | ( | int | $question_id | ) |
Reimplemented in assLongMenu.
Definition at line 841 of file class.assQuestion.php.
References Vendor\Package\$e, ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilObjQuestionPool\_updateQuestionCount(), CLIENT_WEB_DIR, and ilFileUtils\delDir().
Here is the call graph for this function:| assQuestion::deleteAdditionalTableData | ( | int | $question_id | ) |
Definition at line 820 of file class.assQuestion.php.
References ilDBConstants\T_INTEGER.
| assQuestion::deleteAnswers | ( | int | $question_id | ) |
Reimplemented in assFormulaQuestion.
Definition at line 801 of file class.assQuestion.php.
|
protected |
Definition at line 1486 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
protected |
Definition at line 2560 of file class.assQuestion.php.
|
protected |
Definition at line 833 of file class.assQuestion.php.
References $page, and ilPageObject\_exists().
Here is the call graph for this function:
|
protected |
Definition at line 2574 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId(), and ILIAS\Repository\int().
Here is the call graph for this function:| assQuestion::deleteSuggestedSolutions | ( | ) |
Definition at line 1519 of file class.assQuestion.php.
References ilInternalLink\_deleteAllLinksOfSource(), ilFileUtils\delDir(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
private |
Definition at line 957 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId(), and ilObjTaxonomy\getUsageOfObject().
Here is the call graph for this function:| assQuestion::duplicate | ( | bool | $set_original_id = true, |
| string | $title = '', |
||
| string | $author = '', |
||
| int | $owner = -1, |
||
$test_obj_id = null |
|||
| ) |
Definition at line 1247 of file class.assQuestion.php.
|
protected |
Definition at line 1452 of file class.assQuestion.php.
|
protected |
Definition at line 2614 of file class.assQuestion.php.
|
protected |
Definition at line 2222 of file class.assQuestion.php.
|
protected |
Duplicates the files of a suggested solution if the question is duplicated.
Definition at line 1547 of file class.assQuestion.php.
References ILIAS\UI\examples\Symbol\Glyph\Copy\copy(), and ilFileUtils\makeDirParents().
Here is the call graph for this function:
|
protected |
Definition at line 1823 of file class.assQuestion.php.
Referenced by assNumeric\calculateReachedPointsFromPreviewSession().
Here is the caller graph for this function:
|
static |
Definition at line 2555 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 2881 of file class.assQuestion.php.
Referenced by assTextSubsetGUI\writeAnswerSpecificPostData().
Here is the caller graph for this function:| assQuestion::fetchIndexedValuesFromValuePairs | ( | array | $value_pairs | ) |
Reimplemented in assMatchingQuestion.
Definition at line 2823 of file class.assQuestion.php.
| assQuestion::fetchValuePairsFromIndexedValues | ( | array | $indexedValues | ) |
Definition at line 2812 of file class.assQuestion.php.
| assQuestion::fixSvgToPng | ( | string | $imageFilenameContainingString | ) |
Definition at line 1062 of file class.assQuestion.php.
| assQuestion::fixUnavailableSkinImageSources | ( | string | $html | ) |
Definition at line 1069 of file class.assQuestion.php.
References ilUtil\getImagePath(), and ilFileUtils\removeTrailingPathSeparators().
Here is the call graph for this function:
|
protected |
Definition at line 2621 of file class.assQuestion.php.
| assQuestion::formatSAQuestion | ( | $a_q | ) |
Definition at line 2146 of file class.assQuestion.php.
| assQuestion::fromNormalized | ( | array | $normalized, |
| Transformations | $transformations | ||
| ) |
| array<array-key,mixed> | $normalized |
Reimplemented in assClozeTest, assErrorText, assFileUpload, assFormulaQuestion, assImagemapQuestion, assKprimChoice, assLongMenu, assMatchingQuestion, assMultipleChoice, assNumeric, assOrderingHorizontal, assOrderingQuestion, assSingleChoice, assTextQuestion, and assTextSubset.
Definition at line 2999 of file class.assQuestion.php.
References ILIAS\TestQuestionPool\ExportImport\Foundation\Normalize\Transformations\bool(), ILIAS\TestQuestionPool\ExportImport\Foundation\Normalize\Transformations\denormalize(), ILIAS\TestQuestionPool\ExportImport\Foundation\Normalize\Transformations\float(), ILIAS\TestQuestionPool\ExportImport\Foundation\Normalize\Transformations\int(), ILIAS\TestQuestionPool\ExportImport\Foundation\Normalize\Transformations\nullableInt(), ILIAS\TestQuestionPool\ExportImport\Foundation\Normalize\Transformations\nullableString(), and ILIAS\TestQuestionPool\ExportImport\Foundation\Normalize\Transformations\string().
Here is the call graph for this function:
|
final |
Definition at line 267 of file class.assQuestion.php.
| 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 2049 of file class.assQuestion.php.
| assQuestion::getAdditionalContentEditingMode | ( | ) |
Definition at line 2298 of file class.assQuestion.php.
|
abstract |
|
final |
Definition at line 546 of file class.assQuestion.php.
|
abstract |
| assQuestion::getAuthor | ( | ) |
Definition at line 409 of file class.assQuestion.php.
Referenced by assClozeTest\isComplete(), and assOrderingQuestion\isComplete().
Here is the caller graph for this function:| assQuestion::getAuthorForHTMLOutput | ( | ) |
Definition at line 414 of file class.assQuestion.php.
References ILIAS\Repository\refinery().
Here is the call graph for this function:| assQuestion::getComment | ( | ) |
| assQuestion::getCorrectSolutionForTextOutput | ( | int | $active_id, |
| int | $pass | ||
| ) |
Reimplemented in assClozeTest, assErrorText, assFileUpload, assFormulaQuestion, assImagemapQuestion, assKprimChoice, assLongMenu, assMatchingQuestion, assMultipleChoice, assNumeric, assOrderingHorizontal, assOrderingQuestion, assSingleChoice, assTextQuestion, and assTextSubset.
Definition at line 2951 of file class.assQuestion.php.
|
protected |
Definition at line 2372 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::getCurrentUser | ( | ) |
Definition at line 239 of file class.assQuestion.php.
References $current_user.
| assQuestion::getDefaultNrOfTries | ( | ) |
Definition at line 2202 of file class.assQuestion.php.
| assQuestion::getDescriptionForHTMLOutput | ( | ) |
Definition at line 380 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 449 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId(), and IL_INST_ID.
Here is the call graph for this function:
|
static |
Definition at line 2069 of file class.assQuestion.php.
Referenced by assQuestionGUI\_getQuestionGUI().
Here is the caller graph for this function:| assQuestion::getHtmlQuestionContentPurifier | ( | ) |
Definition at line 2345 of file class.assQuestion.php.
References ilHtmlPurifierFactory\getInstanceByType().
Referenced by assKprimChoice\addAnswer(), 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 2337 of file class.assQuestion.php.
References ilHtmlPurifierFactory\getInstanceByType().
Here is the call graph for this function:| assQuestion::getId | ( | ) |
Definition at line 360 of file class.assQuestion.php.
References $id.
Referenced by ilQuestionCumulatedStatisticsTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), assLongMenu\buildFolderName(), assLongMenu\getCorrectAnswersAsJson(), ILIAS\TestQuestionPool\ExportImport\Export\getFeedback(), ILIAS\TestQuestionPool\ExportImport\Import\QuestionsImporter\importFeedback(), assTextQuestion\loadFromDb(), ILIAS\TestQuestionPool\ExportImport\Export\loadSpecificFeedback(), ilAssNestedOrderingElementsInputGUI\prepareReprintable(), ilAssOrderingQuestionAuthoringFormGUI\renewOrderingElementInput(), assErrorText\saveAdditionalQuestionDataToDb(), assFileUpload\saveAdditionalQuestionDataToDb(), assImagemapQuestion\saveAdditionalQuestionDataToDb(), assKprimChoice\saveAdditionalQuestionDataToDb(), assLongMenu\saveAdditionalQuestionDataToDb(), assMatchingQuestion\saveAdditionalQuestionDataToDb(), assErrorText\saveAnswerSpecificDataToDb(), assImagemapQuestion\saveAnswerSpecificDataToDb(), assKprimChoice\saveAnswerSpecificDataToDb(), assLongMenu\saveAnswerSpecificDataToDb(), assMatchingQuestion\saveAnswerSpecificDataToDb(), ilAssQuestionSkillAssignmentsGUI\syncOriginalCmd(), and ilLOTestQuestionAdapter\updateQuestionResult().
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 681 of file class.assQuestion.php.
References $id.
Referenced by assKprimChoice\loadAnswerData(), assMultipleChoice\loadFromDb(), and assSingleChoice\loadFromDb().
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 710 of file class.assQuestion.php.
References CLIENT_WEB_DIR, and ilFileUtils\removeTrailingPathSeparators().
Referenced by assKprimChoice\loadAnswerData().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::getInstances | ( | ) |
Definition at line 2005 of file class.assQuestion.php.
References ilObject\_getAllReferences(), ilObjTest\_lookupAuthor(), ilObject\_lookupTitle(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::getInternalLinkHref | ( | string | $target | ) |
Definition at line 1686 of file class.assQuestion.php.
References ILIAS\Scripts\PHPStan\$target.
| assQuestion::getLastChange | ( | ) |
Definition at line 2367 of file class.assQuestion.php.
| assQuestion::getLifecycle | ( | ) |
Definition at line 434 of file class.assQuestion.php.
References $lifecycle.
| assQuestion::getMaximumPoints | ( | ) |
Reimplemented in assClozeTest, assErrorText, assFileUpload, assFormulaQuestion, assImagemapQuestion, assLongMenu, assMatchingQuestion, assMultipleChoice, assNumeric, assOrderingHorizontal, assOrderingQuestion, assSingleChoice, assTextQuestion, and assTextSubset.
Definition at line 541 of file class.assQuestion.php.
| assQuestion::getMaximumThumbSize | ( | ) |
Definition at line 404 of file class.assQuestion.php.
| assQuestion::getMinimumThumbSize | ( | ) |
Definition at line 399 of file class.assQuestion.php.
Referenced by assOrderingQuestion\loadFromDb(), assMultipleChoice\loadFromDb(), and assSingleChoice\loadFromDb().
Here is the caller graph for this function:
|
protected |
Definition at line 1507 of file class.assQuestion.php.
References $service.
|
protected |
Definition at line 1501 of file class.assQuestion.php.
References $service.
|
protected |
Definition at line 1513 of file class.assQuestion.php.
References $service.
| assQuestion::getNrOfTries | ( | ) |
Definition at line 2114 of file class.assQuestion.php.
|
staticprotected |
Definition at line 2272 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 424 of file class.assQuestion.php.
Referenced by ilAssQuestionSkillAssignmentsGUI\syncOriginalCmd().
Here is the caller graph for this function:| assQuestion::getOriginalId | ( | ) |
Definition at line 1048 of file class.assQuestion.php.
Referenced by ilAssQuestionSkillAssignmentsGUI\syncOriginalCmd().
Here is the caller graph for this function:| assQuestion::getOwner | ( | ) |
Definition at line 419 of file class.assQuestion.php.
| assQuestion::getPageOfQuestion | ( | ) |
Definition at line 1037 of file class.assQuestion.php.
References $page.
| assQuestion::getPoints | ( | ) |
Definition at line 1773 of file class.assQuestion.php.
Referenced by assNumeric\calculateReachedPointsFromPreviewSession(), assFileUpload\getMaximumPoints(), assNumeric\getMaximumPoints(), assOrderingHorizontal\getMaximumPoints(), assTextSubset\isAnswerCorrect(), and assLongMenu\isComplete().
Here is the caller graph for this function:| assQuestion::getPreventRteUsage | ( | ) |
Definition at line 2163 of file class.assQuestion.php.
| assQuestion::getProcessLocker | ( | ) |
Definition at line 259 of file class.assQuestion.php.
References $processLocker.
| assQuestion::getQuestion | ( | ) |
Definition at line 1945 of file class.assQuestion.php.
Referenced by assOrderingQuestion\isComplete().
Here is the caller graph for this function:
|
protected |
Definition at line 229 of file class.assQuestion.php.
| assQuestion::getQuestionForHTMLOutput | ( | ) |
Definition at line 1950 of file class.assQuestion.php.
|
abstract |
| assQuestion::getQuestionTypeID | ( | ) |
Definition at line 1974 of file class.assQuestion.php.
| assQuestion::getReachedPoints | ( | int | $active_id, |
| int | $pass | ||
| ) |
Definition at line 536 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Referenced by ilLOTestQuestionAdapter\updateQuestionResult().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Reimplemented in assClozeTest, assFileUpload, assFormulaQuestion, assImagemapQuestion, assKprimChoice, assLongMenu, assMatchingQuestion, assMultipleChoice, assNumeric, assOrderingHorizontal, assOrderingQuestion, assSingleChoice, assTextQuestion, and assTextSubset.
Definition at line 1988 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::getSelfAssessmentEditingMode | ( | ) |
Definition at line 2192 of file class.assQuestion.php.
Referenced by ilAssQuestionAuthoringFormGUI\addGenericAssessmentQuestionCommandButtons().
Here is the caller graph for this function:
|
protected |
Definition at line 2151 of file class.assQuestion.php.
| assQuestion::getShuffle | ( | ) |
Definition at line 365 of file class.assQuestion.php.
| assQuestion::getShuffler | ( | ) |
Definition at line 244 of file class.assQuestion.php.
References $shuffler.
| assQuestion::getSolutionForTextOutput | ( | int | $active_id, |
| int | $pass | ||
| ) |
Definition at line 2942 of file class.assQuestion.php.
| assQuestion::getSolutionMaxPass | ( | int | $active_id | ) |
Definition at line 1783 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Referenced by assErrorText\calculateReachedPoints(), assLongMenu\calculateReachedPoints(), assNumeric\calculateReachedPoints(), assOrderingHorizontal\calculateReachedPoints(), assTextQuestion\calculateReachedPoints(), and assTextSubset\calculateReachedPoints().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 2421 of file class.assQuestion.php.
| 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 749 of file class.assQuestion.php.
Referenced by ilTestCorrectionsGUI\getSolutions(), and ilTestCorrectionsGUI\getSolutionsByParticipantResults().
Here is the caller graph for this function:| assQuestion::getStep | ( | ) |
| assQuestion::getSuggestedSolution | ( | int | $subquestion_index = 0 | ) |
Definition at line 1528 of file class.assQuestion.php.
| assQuestion::getSuggestedSolutionOutput | ( | ) |
Definition at line 469 of file class.assQuestion.php.
References ILIAS\Repository\lng(), ilLegacyFormElementsUtil\prepareFormOutput(), ilWACSignedPath\setTokenMaxLifetimeInSeconds(), and ilWACSignedPath\signFile().
Here is the call graph for this function:| assQuestion::getSuggestedSolutionPath | ( | ) |
Definition at line 672 of file class.assQuestion.php.
References CLIENT_WEB_DIR.
| assQuestion::getSuggestedSolutionPathWeb | ( | ) |
Definition at line 694 of file class.assQuestion.php.
References CLIENT_WEB_DIR, and ilFileUtils\removeTrailingPathSeparators().
Here is the call graph for this function:| assQuestion::getSuggestedSolutions | ( | ) |
Definition at line 512 of file class.assQuestion.php.
|
protected |
Definition at line 2857 of file class.assQuestion.php.
| assQuestion::getTestId | ( | ) |
Definition at line 370 of file class.assQuestion.php.
| assQuestion::getTestOutputSolutions | ( | int | $activeId, |
| int | $pass | ||
| ) |
Definition at line 724 of file class.assQuestion.php.
| assQuestion::getTestPresentationConfig | ( | ) |
Definition at line 2843 of file class.assQuestion.php.
Referenced by ilTestPlayerAbstractGUI\initTestQuestionConfig().
Here is the caller graph for this function:| assQuestion::getThumbSize | ( | ) |
Reimplemented in assKprimChoice, and assMatchingQuestion.
Definition at line 385 of file class.assQuestion.php.
| assQuestion::getTitle | ( | ) |
Definition at line 345 of file class.assQuestion.php.
Referenced by assClozeTest\isComplete(), and assOrderingQuestion\isComplete().
Here is the caller graph for this function:| assQuestion::getTitleFilenameCompliant | ( | ) |
Definition at line 355 of file class.assQuestion.php.
References ilFileUtils\getASCIIFilename(), and ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle().
Here is the call graph for this function:| assQuestion::getTitleForHTMLOutput | ( | ) |
Definition at line 350 of file class.assQuestion.php.
References ILIAS\Repository\refinery().
Here is the call graph for this function:| assQuestion::getTotalAnswers | ( | ) |
Definition at line 967 of file class.assQuestion.php.
| assQuestion::getUserSolutionPreferingIntermediate | ( | int | $active_id, |
| ?int | $pass = null |
||
| ) |
Reimplemented in assFileUpload.
Definition at line 733 of file class.assQuestion.php.
| assQuestion::getValidAdditionalContentEditingModes | ( | ) |
Definition at line 2326 of file class.assQuestion.php.
| assQuestion::getVariablesAsTextArray | ( | int | $active_id, |
| int | $pass | ||
| ) |
Reimplemented in assFormulaQuestion.
Definition at line 2960 of file class.assQuestion.php.
| assQuestion::hasSpecificFeedback | ( | ) |
Definition at line 2064 of file class.assQuestion.php.
| assQuestion::hasWritableOriginalInQuestionPool | ( | ) |
Definition at line 2886 of file class.assQuestion.php.
References instantiateQuestion().
Here is the call graph for this function:
|
static |
Definition at line 2550 of file class.assQuestion.php.
References KEY_VALUES_IMPLOSION_SEPARATOR.
Referenced by assImagemapQuestionGUI\buildSelectionParameter().
Here is the caller graph for this function:
|
static |
| int | $question_id |
| InvalidArgumentException |
Definition at line 1752 of file class.assQuestion.php.
References $DIC, $ilDB, $lng, and ILIAS\TestQuestionPool\Questions\GeneralQuestionPropertiesRepository\getForQuestionId().
Referenced by ilObjTest\_instanciateQuestion(), ilTestFixedQuestionSetConfig\cloneQuestionSetRelatedData(), ilObjTestGUI\copyAndLinkQuestionsToPoolObject(), ilObjQuestionPool\deleteQuestion(), ilTestResultsToXML\exportTestResults(), ILIAS\TestQuestionPool\Skills\EditSkillsOfQuestionTable\getComponents(), 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(), ilTestRandomQuestionSetStagingPoolBuilder\stageQuestionsFromSourcePoolCheap(), 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 2674 of file class.assQuestion.php.
| assQuestion::isAddableAnswerOptionValue | ( | int | $qIndex, |
| string | $answerOptionValue | ||
| ) |
Reimplemented in assClozeTest, and assTextSubset.
Definition at line 2750 of file class.assQuestion.php.
| assQuestion::isAdditionalContentEditingModePageObject | ( | ) |
Definition at line 2312 of file class.assQuestion.php.
References ADDITIONAL_CONTENT_EDITING_MODE_IPE.
| assQuestion::isAnswered | ( | int | $active_id, |
| int | $pass | ||
| ) |
Definition at line 2266 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId(), and getNumExistingSolutionRecords().
Here is the call graph for this function:
|
abstract |
|
protected |
Definition at line 2569 of file class.assQuestion.php.
|
static |
Definition at line 988 of file class.assQuestion.php.
|
static |
Definition at line 224 of file class.assQuestion.php.
References $force_pass_results_update_enabled.
|
protected |
Definition at line 234 of file class.assQuestion.php.
| assQuestion::isPreviewSolutionCorrect | ( | ilAssQuestionPreviewSession | $preview_session | ) |
Definition at line 1828 of file class.assQuestion.php.
| assQuestion::isValidAdditionalContentEditingMode | ( | string | $additionalContentEditingMode | ) |
Definition at line 2317 of file class.assQuestion.php.
| assQuestion::isWriteable | ( | ) |
Definition at line 1812 of file class.assQuestion.php.
References ilObjQuestionPool\_isWriteable(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
protected |
Definition at line 2177 of file class.assQuestion.php.
References ilAssSelfAssessmentMigrator\migrateToLmContent().
Here is the call graph for this function:
|
protected |
Reimplemented in assClozeTest, assKprimChoice, assLongMenu, assMultipleChoice, and assSingleChoice.
Definition at line 2182 of file class.assQuestion.php.
| assQuestion::loadFromDb | ( | int | $question_id | ) |
Reimplemented in assClozeTest, assFileUpload, assFormulaQuestion, assImagemapQuestion, assMultipleChoice, assNumeric, assSingleChoice, assTextQuestion, and assTextSubset.
Definition at line 1106 of file class.assQuestion.php.
References $data.
|
protected |
Definition at line 2862 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::lookupForExistingSolutions | ( | int | $activeId, |
| int | $pass | ||
| ) |
Lookup if an authorized or intermediate solution exists.
Reimplemented in assFormulaQuestion, and assLongMenu.
Definition at line 2714 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
protected |
Definition at line 2696 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
static |
Definition at line 2209 of file class.assQuestion.php.
References $DIC, $ilDB, and $res.
Referenced by ILIAS\Test\Questions\Presentation\QuestionsTableActions\checkQuestionParametersForCopyToPool(), ilAssQuestionSkillAssignmentsGUI\isSyncOriginalPossibleAndAllowed(), and ilAssQuestionSkillAssignmentsGUI\syncOriginalCmd().
Here is the caller graph for this function:| assQuestion::migrateContentForLearningModule | ( | ilAssSelfAssessmentMigrator | $migrator | ) |
Definition at line 2168 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Referenced by ilAssSelfAssessmentQuestionFormatter\prepareQuestionForLearningModule().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1443 of file class.assQuestion.php.
|
protected |
Definition at line 1421 of file class.assQuestion.php.
|
final |
persists the preview state for current user and question
Definition at line 656 of file class.assQuestion.php.
|
final |
persists the working state for current testactive and testpass
Definition at line 626 of file class.assQuestion.php.
References ilObjTest\_getPass().
Referenced by ilTestPlayerAbstractGUI\save().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1955 of file class.assQuestion.php.
References ILIAS\Questions\AnswerFormTypes\Cloze\Migration\getHtmlQuestionContentPurifier(), and ilLegacyFormElementsUtil\prepareTextareaOutput().
Here is the call graph for this function:| assQuestion::removeAllExistingSolutions | ( | ) |
Definition at line 2759 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
protected |
Definition at line 1380 of file class.assQuestion.php.
References ILIAS\Scripts\PHPStan\$target, and ILIAS\UI\examples\Symbol\Glyph\Copy\copy().
Here is the call graph for this function:| assQuestion::removeCurrentSolution | ( | int | $active_id, |
| int | $pass, | ||
| bool | $authorized = true |
||
| ) |
Definition at line 2446 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::removeExistingSolutions | ( | int | $activeId, |
| int | $pass | ||
| ) |
Reimplemented in assFormulaQuestion.
Definition at line 2765 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::removeIntermediateSolution | ( | int | $active_id, |
| int | $pass | ||
| ) |
Reimplemented in assFileUpload.
Definition at line 2436 of file class.assQuestion.php.
| assQuestion::removeResultRecord | ( | int | $activeId, |
| int | $pass | ||
| ) |
Definition at line 2792 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
protected |
Reimplemented in assFileUpload.
Definition at line 2408 of file class.assQuestion.php.
|
static |
Definition at line 1407 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 2785 of file class.assQuestion.php.
| assQuestion::resolveInternalLink | ( | string | $internal_link | ) |
Definition at line 1607 of file class.assQuestion.php.
References ilLMObject\_getIdForImportId(), and ilInternalLink\_getIdForImportId().
Here is the call graph for this function:| assQuestion::resolveSuggestedSolutionLinks | ( | ) |
Definition at line 1638 of file class.assQuestion.php.
References ilInternalLink\_deleteAllLinksOfSource(), ilInternalLink\_saveLink(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::saveCurrentSolution | ( | int | $active_id, |
| int | $pass, | ||
| $value1, | |||
| $value2, | |||
| bool | $authorized = true, |
||
$tstamp = 0 |
|||
| ) |
Reimplemented in assFormulaQuestion.
Definition at line 2481 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId(), and ILIAS\Repository\int().
Here is the call graph for this function:
|
static |
Definition at line 1394 of file class.assQuestion.php.
Referenced by ilObjTestGUI\copyAndLinkQuestionsToPoolObject(), ilObjTestGUI\executeAfterQuestionCreationTasks(), and ilTestRandomQuestionSetPoolDeriver\updateTestQuestionStage().
Here is the caller graph for this function:
|
protected |
Reimplemented in assLongMenu, assErrorText, assFileUpload, assFormulaQuestion, assImagemapQuestion, assMatchingQuestion, assNumeric, assOrderingQuestion, and assSingleChoice.
Definition at line 667 of file class.assQuestion.php.
References ilAssQuestionPreviewSession\setParticipantsSolution().
Here is the call graph for this function:| assQuestion::saveQuestionDataToDb | ( | ?int | $original_id = null | ) |
Definition at line 1184 of file class.assQuestion.php.
References ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Survey\Mode\getId(), and ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle().
Referenced by assErrorText\saveToDb(), assFileUpload\saveToDb(), assImagemapQuestion\saveToDb(), assKprimChoice\saveToDb(), assLongMenu\saveToDb(), assMatchingQuestion\saveToDb(), assMultipleChoice\saveToDb(), assNumeric\saveToDb(), assOrderingHorizontal\saveToDb(), assOrderingQuestion\saveToDb(), assSingleChoice\saveToDb(), assTextQuestion\saveToDb(), and assTextSubset\saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::saveToDb | ( | ?int | $original_id = null | ) |
Reimplemented in assClozeTest, assErrorText, assFileUpload, assFormulaQuestion, assImagemapQuestion, assKprimChoice, assLongMenu, assMatchingQuestion, assMultipleChoice, assNumeric, assOrderingHorizontal, assOrderingQuestion, assSingleChoice, assTextQuestion, and assTextSubset.
Definition at line 1354 of file class.assQuestion.php.
References ilObjQuestionPool\_updateQuestionCount(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
abstract |
| assQuestion::setAdditionalContentEditingMode | ( | ?string | $additionalContentEditingMode | ) |
Definition at line 2303 of file class.assQuestion.php.
Referenced by assErrorText\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assKprimChoice\loadFromDb(), assFileUpload\loadFromDb(), assMultipleChoice\loadFromDb(), assNumeric\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), and assTextSubset\loadFromDb().
Here is the caller graph for this function:| assQuestion::setAuthor | ( | string | $author = "" | ) |
Definition at line 332 of file class.assQuestion.php.
Referenced by assErrorText\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assKprimChoice\loadFromDb(), assFileUpload\loadFromDb(), assMultipleChoice\loadFromDb(), assNumeric\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), and assTextSubset\loadFromDb().
Here is the caller graph for this function:| assQuestion::setComment | ( | string | $comment = "" | ) |
Definition at line 322 of file class.assQuestion.php.
References $comment, and ILIAS\UI\examples\Symbol\Glyph\Comment\comment().
Referenced by assErrorText\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assKprimChoice\loadFromDb(), assFileUpload\loadFromDb(), assMultipleChoice\loadFromDb(), assNumeric\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), and assTextSubset\loadFromDb().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::setDefaultNrOfTries | ( | int | $defaultnroftries | ) |
Definition at line 2197 of file class.assQuestion.php.
| assQuestion::setExportImagePath | ( | string | $path | ) |
Definition at line 2124 of file class.assQuestion.php.
| assQuestion::setExternalId | ( | ?string | $external_id | ) |
Definition at line 444 of file class.assQuestion.php.
|
static |
Definition at line 219 of file class.assQuestion.php.
References $force_pass_results_update_enabled.
| assQuestion::setId | ( | int | $id = -1 | ) |
Reimplemented in assFormulaQuestion.
Definition at line 312 of file class.assQuestion.php.
References $id.
Referenced by assErrorText\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assKprimChoice\loadFromDb(), assFileUpload\loadFromDb(), assMultipleChoice\loadFromDb(), assNumeric\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), and assTextSubset\loadFromDb().
Here is the caller graph for this function:| assQuestion::setLastChange | ( | int | $lastChange | ) |
Definition at line 2362 of file class.assQuestion.php.
Referenced by assKprimChoice\loadFromDb().
Here is the caller graph for this function:| assQuestion::setLifecycle | ( | ilAssQuestionLifecycle | $lifecycle | ) |
Definition at line 439 of file class.assQuestion.php.
References $lifecycle.
Referenced by assErrorText\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assKprimChoice\loadFromDb(), assFileUpload\loadFromDb(), assMultipleChoice\loadFromDb(), assNumeric\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), and assTextSubset\loadFromDb().
Here is the caller graph for this function:| assQuestion::setNrOfTries | ( | int | $a_nr_of_tries | ) |
Definition at line 2119 of file class.assQuestion.php.
Referenced by assErrorText\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assKprimChoice\loadFromDb(), assFileUpload\loadFromDb(), assMultipleChoice\loadFromDb(), assNumeric\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), and assTextSubset\loadFromDb().
Here is the caller graph for this function:| assQuestion::setObjId | ( | int | $obj_id = 0 | ) |
Definition at line 429 of file class.assQuestion.php.
Referenced by assErrorText\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assKprimChoice\loadFromDb(), assFileUpload\loadFromDb(), assMultipleChoice\loadFromDb(), assNumeric\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), and assTextSubset\loadFromDb().
Here is the caller graph for this function:| assQuestion::setOriginalId | ( | ?int | $original_id | ) |
Definition at line 1043 of file class.assQuestion.php.
Referenced by assErrorText\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assKprimChoice\loadFromDb(), assFileUpload\loadFromDb(), assMultipleChoice\loadFromDb(), assNumeric\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), and assTextSubset\loadFromDb().
Here is the caller graph for this function:| assQuestion::setOwner | ( | int | $owner = -1 | ) |
Definition at line 340 of file class.assQuestion.php.
References ILIAS\UI\examples\Symbol\Glyph\Owner\owner().
Referenced by assErrorText\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assKprimChoice\loadFromDb(), assFileUpload\loadFromDb(), assMultipleChoice\loadFromDb(), assNumeric\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), and assTextSubset\loadFromDb().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::setPoints | ( | float | $points | ) |
Definition at line 1778 of file class.assQuestion.php.
Referenced by assErrorText\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assKprimChoice\loadFromDb(), assFileUpload\loadFromDb(), assMultipleChoice\loadFromDb(), assNumeric\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assTextSubset\loadFromDb(), and assLongMenu\saveAnswerSpecificDataToDb().
Here is the caller graph for this function:| assQuestion::setPreventRteUsage | ( | bool | $prevent_rte_usage | ) |
Definition at line 2158 of file class.assQuestion.php.
| assQuestion::setProcessLocker | ( | ilAssQuestionProcessLocker | $processLocker | ) |
Definition at line 254 of file class.assQuestion.php.
References $processLocker.
| assQuestion::setQuestion | ( | string | $question = "" | ) |
Definition at line 1969 of file class.assQuestion.php.
Referenced by assClozeTest\__construct(), assErrorText\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assKprimChoice\loadFromDb(), assFileUpload\loadFromDb(), assMultipleChoice\loadFromDb(), assNumeric\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), and assTextSubset\loadFromDb().
Here is the caller graph for this function:| assQuestion::setSelfAssessmentEditingMode | ( | bool | $selfassessmenteditingmode | ) |
Definition at line 2187 of file class.assQuestion.php.
| assQuestion::setShuffle | ( | ?bool | $shuffle = true | ) |
Definition at line 327 of file class.assQuestion.php.
Referenced by ilAssQuestionSkillAssignmentsGUI\buildQuestionPage(), assMultipleChoice\loadFromDb(), assSingleChoice\loadFromDb(), and assTextQuestion\loadFromDb().
Here is the caller graph for this function:| assQuestion::setShuffler | ( | Transformation | $shuffler | ) |
Definition at line 249 of file class.assQuestion.php.
References $shuffler.
| assQuestion::setStep | ( | $step | ) |
| int | null | $step |
Definition at line 2643 of file class.assQuestion.php.
| assQuestion::setTestId | ( | int | $id = -1 | ) |
Definition at line 317 of file class.assQuestion.php.
References $id.
| assQuestion::setThumbSize | ( | int | $a_size | ) |
Reimplemented in assKprimChoice.
Definition at line 390 of file class.assQuestion.php.
Referenced by assOrderingQuestion\loadFromDb(), assMultipleChoice\loadFromDb(), and assSingleChoice\loadFromDb().
Here is the caller graph for this function:| assQuestion::setTitle | ( | string | $title = "" | ) |
Definition at line 307 of file class.assQuestion.php.
Referenced by assErrorText\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assKprimChoice\loadFromDb(), assFileUpload\loadFromDb(), assMultipleChoice\loadFromDb(), assNumeric\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), and assTextSubset\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.
Reimplemented in assClozeTest, assErrorText, assFileUpload, assFormulaQuestion, assImagemapQuestion, assKprimChoice, assLongMenu, assMatchingQuestion, assMultipleChoice, assNumeric, assOrderingHorizontal, assOrderingQuestion, assSingleChoice, assTextQuestion, and assTextSubset.
|
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.
Reimplemented in assClozeTest, assErrorText, assFileUpload, assFormulaQuestion, assImagemapQuestion, assKprimChoice, assLongMenu, assMatchingQuestion, assMultipleChoice, assNumeric, assOrderingHorizontal, assOrderingQuestion, assSingleChoice, assTextQuestion, and assTextSubset.
| assQuestion::syncSkillAssignments | ( | int | $srcParentId, |
| int | $srcQuestionId, | ||
| int | $trgParentId, | ||
| int | $trgQuestionId | ||
| ) |
Definition at line 2243 of file class.assQuestion.php.
Referenced by ilAssQuestionSkillAssignmentsGUI\syncOriginalCmd().
Here is the caller graph for this function:| assQuestion::syncWithOriginal | ( | ) |
Definition at line 1717 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::toJSON | ( | ) |
Reimplemented in assClozeTest, assErrorText, assImagemapQuestion, assKprimChoice, assLongMenu, assMatchingQuestion, assMultipleChoice, assOrderingHorizontal, assOrderingQuestion, assSingleChoice, assTextQuestion, and assTextSubset.
Definition at line 2668 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.
Reimplemented in assClozeTest, assErrorText, assFileUpload, assFormulaQuestion, assImagemapQuestion, assKprimChoice, assLongMenu, assMatchingQuestion, assMultipleChoice, assNumeric, assOrderingHorizontal, assOrderingQuestion, assSingleChoice, assTextQuestion, and assTextSubset.
| assQuestion::toNormalized | ( | Transformations | $transformations, |
| array | $context = [] |
||
| ) |
| array<string,mixed> | $context |
Reimplemented in assClozeTest, assErrorText, assFileUpload, assFormulaQuestion, assImagemapQuestion, assKprimChoice, assLongMenu, assMatchingQuestion, assMultipleChoice, assNumeric, assOrderingHorizontal, assOrderingQuestion, assSingleChoice, assTextQuestion, and assTextSubset.
Definition at line 2971 of file class.assQuestion.php.
References $comment, and ILIAS\TestQuestionPool\ExportImport\Foundation\Normalize\Transformations\normalize().
Here is the call graph for this function:| assQuestion::toQuestionAdministrationInteraction | ( | AdditionalInformationGenerator | $additional_info, |
| int | $test_ref_id, | ||
| TestQuestionAdministrationInteractionTypes | $interaction_type | ||
| ) |
Implements ILIAS\TestQuestionPool\Questions\Question.
Definition at line 2912 of file class.assQuestion.php.
|
final |
Definition at line 295 of file class.assQuestion.php.
| assQuestion::updateCurrentSolution | ( | int | $solutionId, |
| $value1, | |||
| $value2, | |||
| bool | $authorized = true |
||
| ) |
Definition at line 2504 of file class.assQuestion.php.
References ILIAS\Repository\int().
Here is the call graph for this function:| assQuestion::updateCurrentSolutionsAuthorization | ( | int | $activeId, |
| int | $pass, | ||
| bool | $authorized, | ||
| bool | $keepTime = false |
||
| ) |
Definition at line 2523 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId(), and ILIAS\Repository\int().
Here is the call graph for this function:| assQuestion::updateOriginalId | ( | ?int | $original_id = null | ) |
Definition at line 1233 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId(), and ilDBConstants\T_INTEGER.
Here is the call graph for this function:| assQuestion::updateTimestamp | ( | ) |
Definition at line 2834 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::validateSolutionSubmit | ( | ) |
Implements ILIAS\TestQuestionPool\Questions\Question.
Reimplemented in assFormulaQuestion, assMultipleChoice, assNumeric, and assOrderingQuestion.
Definition at line 662 of file class.assQuestion.php.
|
private |
Definition at line 109 of file class.assQuestion.php.
|
protected |
Definition at line 97 of file class.assQuestion.php.
Referenced by assOrderingHorizontal\__construct(), assMatchingQuestion\__construct(), assImagemapQuestion\__construct(), assKprimChoice\__construct(), assClozeTest\__construct(), assFormulaQuestion\__construct(), assTextQuestion\__construct(), assSingleChoice\__construct(), assMultipleChoice\__construct(), assOrderingQuestion\__construct(), and assErrorText\__construct().
|
protected |
Definition at line 95 of file class.assQuestion.php.
Referenced by assOrderingHorizontal\__construct(), assMatchingQuestion\__construct(), assImagemapQuestion\__construct(), assKprimChoice\__construct(), assClozeTest\__construct(), assFormulaQuestion\__construct(), assTextQuestion\__construct(), assSingleChoice\__construct(), assMultipleChoice\__construct(), assOrderingQuestion\__construct(), and assErrorText\__construct().
|
protected |
Definition at line 79 of file class.assQuestion.php.
Referenced by getCurrentUser().
|
protected |
Definition at line 78 of file class.assQuestion.php.
| int assQuestion::$defaultnroftries = 0 |
Definition at line 112 of file class.assQuestion.php.
|
protected |
Definition at line 85 of file class.assQuestion.php.
|
private |
Definition at line 107 of file class.assQuestion.php.
|
protected |
Definition at line 108 of file class.assQuestion.php.
| ilAssQuestionFeedback assQuestion::$feedbackOBJ |
Definition at line 89 of file class.assQuestion.php.
|
staticprotected |
Definition at line 66 of file class.assQuestion.php.
Referenced by isForcePassResultUpdateEnabled(), and setForcePassResultUpdateEnabled().
|
protected |
Definition at line 81 of file class.assQuestion.php.
|
protected |
Definition at line 93 of file class.assQuestion.php.
|
protected |
Definition at line 75 of file class.assQuestion.php.
|
staticprotected |
Definition at line 1053 of file class.assQuestion.php.
|
protected |
Definition at line 106 of file class.assQuestion.php.
|
protected |
Definition at line 88 of file class.assQuestion.php.
|
protected |
Definition at line 77 of file class.assQuestion.php.
|
protected |
Definition at line 84 of file class.assQuestion.php.
|
private |
Definition at line 105 of file class.assQuestion.php.
|
protected |
Definition at line 103 of file class.assQuestion.php.
|
protected |
Definition at line 104 of file class.assQuestion.php.
Referenced by assErrorText\saveToDb(), assFileUpload\saveToDb(), assImagemapQuestion\saveToDb(), assKprimChoice\saveToDb(), assLongMenu\saveToDb(), assMatchingQuestion\saveToDb(), assMultipleChoice\saveToDb(), assNumeric\saveToDb(), assOrderingHorizontal\saveToDb(), assOrderingQuestion\saveToDb(), assSingleChoice\saveToDb(), assTextQuestion\saveToDb(), and assTextSubset\saveToDb().
|
protected |
Definition at line 96 of file class.assQuestion.php.
Referenced by assOrderingHorizontal\__construct(), assMatchingQuestion\__construct(), assImagemapQuestion\__construct(), assKprimChoice\__construct(), assClozeTest\__construct(), assFormulaQuestion\__construct(), assTextQuestion\__construct(), assSingleChoice\__construct(), assMultipleChoice\__construct(), assOrderingQuestion\__construct(), and assErrorText\__construct().
|
protected |
Definition at line 90 of file class.assQuestion.php.
|
protected |
Definition at line 100 of file class.assQuestion.php.
Referenced by assTextSubset\addAnswer(), assTextQuestion\calculateReachedPointsForSolution(), assNumeric\calculateReachedPointsFromPreviewSession(), assLongMenu\checkQuestionCustomPart(), assLongMenu\getMaximumPoints(), assTextQuestion\getMaximumPoints(), assTextSubset\getMaximumPoints(), assTextQuestion\getMinimumPoints(), assLongMenu\getPointsForGap(), and assLongMenu\saveAnswerSpecificDataToDb().
| bool assQuestion::$prevent_rte_usage = false |
Definition at line 110 of file class.assQuestion.php.
|
protected |
Definition at line 71 of file class.assQuestion.php.
Referenced by getProcessLocker(), and setProcessLocker().
|
protected |
Definition at line 99 of file class.assQuestion.php.
Referenced by assOrderingHorizontal\__construct(), assMatchingQuestion\__construct(), assImagemapQuestion\__construct(), assKprimChoice\__construct(), assClozeTest\__construct(), assFormulaQuestion\__construct(), assTextQuestion\__construct(), assSingleChoice\__construct(), assMultipleChoice\__construct(), assOrderingQuestion\__construct(), and assErrorText\__construct().
|
protected |
Definition at line 70 of file class.assQuestion.php.
| string assQuestion::$questionActionCmd = 'handleQuestionAction' |
Definition at line 113 of file class.assQuestion.php.
|
protected |
Definition at line 69 of file class.assQuestion.php.
|
protected |
Definition at line 68 of file class.assQuestion.php.
|
protected |
Definition at line 82 of file class.assQuestion.php.
Referenced by assTextSubset\isAnswerCorrect(), and assTextQuestion\isKeywordMatching().
| bool assQuestion::$selfassessmenteditingmode = false |
Definition at line 111 of file class.assQuestion.php.
|
protected |
Definition at line 101 of file class.assQuestion.php.
Referenced by assMultipleChoice\loadFromDb(), assSingleChoice\loadFromDb(), and assMatchingQuestion\setShuffleMode().
|
protected |
Definition at line 83 of file class.assQuestion.php.
Referenced by getShuffler(), and setShuffler().
|
protected |
Definition at line 80 of file class.assQuestion.php.
|
protected |
Definition at line 114 of file class.assQuestion.php.
|
protected |
Definition at line 119 of file class.assQuestion.php.
|
protected |
Definition at line 73 of file class.assQuestion.php.
|
protected |
Definition at line 102 of file class.assQuestion.php.
|
private |
Definition at line 87 of file class.assQuestion.php.
|
protected |
Definition at line 91 of file class.assQuestion.php.
|
protected |
Definition at line 72 of file class.assQuestion.php.
|
protected |
Definition at line 98 of file class.assQuestion.php.
|
protected |
Definition at line 94 of file class.assQuestion.php.
Referenced by assOrderingHorizontal\__construct(), assMatchingQuestion\__construct(), assImagemapQuestion\__construct(), assKprimChoice\__construct(), assClozeTest\__construct(), assFormulaQuestion\__construct(), assTextQuestion\__construct(), assSingleChoice\__construct(), assMultipleChoice\__construct(), assOrderingQuestion\__construct(), and assErrorText\__construct().
|
protected |
Definition at line 76 of file class.assQuestion.php.
| const assQuestion::ADDITIONAL_CONTENT_EDITING_MODE_IPE = 'pageobject' |
Definition at line 59 of file class.assQuestion.php.
Referenced by assQuestionGUI\addBasicQuestionFormProperties(), ilObjTestGUI\buildInputEditingType(), ilObjQuestionPoolGUI\buildInputEditingType(), ilPCQuestionGUI\insert(), isAdditionalContentEditingModePageObject(), assClozeTestGUI\populateQuestionSpecificFormPart(), and ilAssQuestionPage\retrieveLegacyPageElementContent().
| const assQuestion::ADDITIONAL_CONTENT_EDITING_MODE_RTE = 'default' |
Definition at line 58 of file class.assQuestion.php.
Referenced by ilObjTestGUI\buildInputEditingType(), ilObjQuestionPoolGUI\buildInputEditingType(), ilPCQuestionGUI\edit(), assQuestionImport\fetchAdditionalContentEditingModeInformation(), ilPCQuestionGUI\insert(), and assLongMenuGUI\populateQuestionSpecificFormPart().
|
private |
Definition at line 61 of file class.assQuestion.php.
|
protected |
Definition at line 56 of file class.assQuestion.php.
| const assQuestion::KEY_VALUES_IMPLOSION_SEPARATOR = ':' |
Definition at line 2548 of file class.assQuestion.php.
Referenced by explodeKeyValues(), and implodeKeyValues().
|
private |
Definition at line 63 of file class.assQuestion.php.
|
private |
Definition at line 62 of file class.assQuestion.php.
| const assQuestion::TRIM_PATTERN = '/^[\p{C}\p{Z}]+|[\p{C}\p{Z}]+$/u' |
Definition at line 64 of file class.assQuestion.php.