|
ILIAS
release_8 Revision v8.24
|
Abstract basic class which is to be extended by the concrete assessment question type classes. More...
Inheritance diagram for assQuestion:
Collaboration diagram for assQuestion:Public Member Functions | |
| __construct (string $title="", string $comment="", string $author="", int $owner=-1, string $question="") | |
| assQuestion constructor More... | |
| getShuffler () | |
| setShuffler (Transformation $shuffler) | |
| setProcessLocker (ilAssQuestionProcessLocker $processLocker) | |
| getProcessLocker () | |
| fromXML ($item, int $questionpool_id, ?int $tst_id, &$tst_object, int &$question_counter, array $import_mapping, array &$solutionhints=[]) | |
| Receives parameters from a QTI parser and creates a valid ILIAS question object. More... | |
| 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... | |
| isComplete () | |
| Returns true, if a question is complete for use. More... | |
| questionTitleExists (int $questionpool_id, string $title) | |
| Returns TRUE if the question title exists in a question pool in the database. More... | |
| setTitle (string $title="") | |
| setId (int $id=-1) | |
| setTestId (int $id=-1) | |
| setComment (string $comment="") | |
| setOutputType (int $outputType=OUTPUT_HTML) | |
| 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 () | |
| getOutputType () | |
| supportsJavascriptOutput () | |
| supportsNonJsOutput () | |
| requiresJsSwitch () | |
| getAuthor () | |
| getAuthorForHTMLOutput () | |
| getOwner () | |
| getObjId () | |
| setObjId (int $obj_id=0) | |
| getLifecycle () | |
| setLifecycle (ilAssQuestionLifecycle $lifecycle) | |
| setExternalId (?string $external_id) | |
| getExternalId () | |
| getSuggestedSolutionOutput () | |
| _getSuggestedSolution (int $question_id, int $subquestion_index=0) | |
| loadSuggestedSolution (int $question_id, int $subquestion_index=0) | |
| Returns a suggested solution for a given subquestion index. More... | |
| getSuggestedSolutions () | |
| getReachedPoints (int $active_id, int $pass) | |
| getMaximumPoints () | |
| getAdjustedReachedPoints (int $active_id, int $pass, bool $authorizedSolution=true) | |
| returns the reached points ... More... | |
| calculateResultsFromSolution (int $active_id, int $pass, bool $obligationsEnabled=false) | |
| Calculates the question results from a previously saved question solution. More... | |
| persistWorkingState (int $active_id, $pass, bool $obligationsEnabled=false, bool $authorized=true) | |
| persists the working state for current testactive and testpass More... | |
| persistPreviewState (ilAssQuestionPreviewSession $previewSession) | |
| persists the preview state for current user and question More... | |
| validateSolutionSubmit () | |
| saveWorkingData (int $active_id, int $pass, bool $authorized=true) | |
| Saves the learners input of the question to the database. More... | |
| moveUploadedMediaFile (string $file, string $name) | |
| Move an uploaded media file to an public accessible temp dir to present it. More... | |
| getSuggestedSolutionPath () | |
| getImagePath ($question_id=null, $object_id=null) | |
| Returns the image path for web accessable images of a question. More... | |
| buildImagePath ($questionId, $parentObjectId) | |
| getFlashPath () | |
| Returns the image path for web accessable flash files 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, $pass=null) | |
| getSolutionValues ($active_id, $pass=null, bool $authorized=true) | |
| Loads solutions of a given user from the database an returns it. More... | |
| isInUse (int $question_id=0) | |
| Checks whether the question is in use or not in pools or tests. More... | |
| usageNumber (int $question_id=0) | |
| Returns the number of place the question is in use in pools or tests. More... | |
| isClone (int $question_id=0) | |
| Checks whether the question is a clone of another question or not. More... | |
| getAdditionalTableName () | |
| getAnswerTableName () | |
| deleteAnswers (int $question_id) | |
| deleteAdditionalTableData (int $question_id) | |
| delete (int $question_id) | |
| getTotalAnswers () | |
| copyXHTMLMediaObjectsOfQuestion (int $a_q_id) | |
| syncXHTMLMediaObjectsOfQuestion () | |
| createPageObject () | |
| copyPageOfQuestion (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=-1) | |
| saveToDb () | |
| setNewOriginalId (int $newId) | |
| deleteSuggestedSolutions () | |
| getSuggestedSolution (int $subquestion_index=0) | |
| Returns a suggested solution for a given subquestion index. More... | |
| getSuggestedSolutionTitle (int $subquestion_index=0) | |
| Returns the title of a suggested solution at a given subquestion_index. More... | |
| setSuggestedSolution (string $solution_id="", int $subquestion_index=0, bool $is_import=false) | |
| Sets a suggested solution for the question. More... | |
| updateSuggestedSolutions (int $original_id=-1, int $original_obj_id=-1) | |
| _resolveInternalLink (string $internal_link) | |
| _resolveIntLinks (int $question_id) | |
| syncWithOriginal () | |
| _questionExists ($question_id) | |
| Returns true if the question already exists in the database. More... | |
| _questionExistsInPool (int $question_id) | |
| getPoints () | |
| setPoints (float $points) | |
| getSolutionMaxPass (int $active_id) | |
| calculateReachedPoints ($active_id, $pass=null, $authorizedSolution=true, $returndetails=false) | |
| Returns the points, a learner has reached answering the question. More... | |
| deductHintPointsFromReachedPoints (ilAssQuestionPreviewSession $previewSession, $reachedPoints) | |
| calculateReachedPointsFromPreviewSession (ilAssQuestionPreviewSession $previewSession) | |
| isPreviewSolutionCorrect (ilAssQuestionPreviewSession $previewSession) | |
| adjustReachedPointsByScoringOptions ($points, $active_id, $pass=null) | |
| Adjust the given reached points by checks for all special scoring options in the test container. More... | |
| isHTML ($a_text) | |
| Checks if a given string contains HTML or not. More... | |
| prepareTextareaOutput (string $txt_output, bool $prepare_for_latex_output=false, bool $omitNl2BrWhenTextArea=false) | |
| QTIMaterialToString (ilQTIMaterial $a_material) | |
| Reads an QTI material tag and creates a text or XHTML string. More... | |
| addQTIMaterial (ilXmlWriter $a_xml_writer, string $a_material, bool $close_material_tag=true, bool $add_mobs=true) | |
| buildHashedImageFilename (string $plain_image_filename, bool $unique=false) | |
| getQuestion () | |
| getQuestionForHTMLOutput () | |
| setQuestion (string $question="") | |
| getQuestionType () | |
| Returns the question type of the question. More... | |
| getQuestionTypeID () | |
| syncHints () | |
| cleanupMediaObjectUsage () | |
| getInstances () | |
| getActiveUserData (int $active_id) | |
| Returns the user id and the test id for a given active id. More... | |
| hasSpecificFeedback () | |
| setExportDetailsXLS (ilAssExcelFormatHelper $worksheet, int $startrow, int $active_id, int $pass) | |
| __get ($value) | |
| Object getter. More... | |
| __set ($key, $value) | |
| Object setter. More... | |
| __isset ($key) | |
| Object issetter. More... | |
| 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) | |
| isAutosaveable () | |
| getAdditionalContentEditingMode () | |
| setAdditionalContentEditingMode (?string $additionalContentEditingMode) | |
| isAdditionalContentEditingModePageObject () | |
| isValidAdditionalContentEditingMode (string $additionalContentEditingMode) | |
| getValidAdditionalContentEditingModes () | |
| getHtmlUserSolutionPurifier () | |
| getHtmlQuestionContentPurifier () | |
| setLastChange ($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 () | |
| duplicate (bool $for_test=true, string $title="", string $author="", string $owner="", $testObjId=null) | |
| 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 $valuePairs) | |
| areObligationsToBeConsidered () | |
| setObligationsToBeConsidered (bool $obligationsToBeConsidered) | |
| updateTimestamp () | |
| getTestPresentationConfig () | |
| savePartial () | |
| isInActiveTest () | |
Static Public Member Functions | |
| static | setForcePassResultUpdateEnabled (bool $forcePassResultsUpdateEnabled) |
| static | isForcePassResultUpdateEnabled () |
| static | isAllowedImageMimeType ($mimeType) |
| static | fetchMimeTypeIdentifier (string $contentType) |
| static | getAllowedFileExtensionsForMimeType (string $mimeType) |
| static | isAllowedImageFileExtension (string $mimeType, string $fileExtension) |
| static | getAllowedImageMaterialFileExtensions () |
| static | _getMaximumPoints (int $question_id) |
| Returns the maximum points, a learner can reach answering the question. More... | |
| static | _getQuestionInfo (int $question_id) |
| static | _getSuggestedSolutionCount (int $question_id) |
| static | _getSuggestedSolutionOutput (int $question_id) |
| static | _getReachedPoints (int $active_id, int $question_id, int $pass) |
| static | _updateTestResultCache (int $active_id, ilAssQuestionProcessLocker $processLocker=null) |
| @TODO Move this to a proper place. More... | |
| static | logAction (string $logtext, int $active_id, int $question_id) |
| static | getQuestionTypeFromDb (int $question_id) |
| static | _getTotalRightAnswers (int $a_q_id) |
| static | _getTitle (int $a_q_id) |
| static | _getQuestionText (int $a_q_id) |
| static | isFileAvailable (string $file) |
| static | _getQuestionType (int $question_id) |
| static | _getQuestionTitle (int $question_id) |
| static | saveOriginalId (int $questionId, int $originalId) |
| static | resetOriginalId (int $questionId) |
| static | _getInternalLinkHref (string $target="") |
| static | _getOriginalId (int $question_id) |
| static | originalQuestionExists (int $questionId) |
| static | _instanciateQuestion (int $question_id) |
| static | _instantiateQuestion (int $question_id) |
| static | instantiateQuestion (int $question_id) |
| static | _getSolutionMaxPass (int $question_id, int $active_id) |
| Returns the maximum pass a users question solution. More... | |
| static | _isWriteable (int $question_id, int $user_id) |
| static | _isUsedInRandomTest (int $question_id) |
| static | _isWorkedThrough (int $active_id, int $question_id, int $pass) |
| Returns true if the question was worked through in the given pass Worked through means that the user entered at least one value. More... | |
| static | _areAnswered (int $a_user_id, array $a_question_ids) |
| Checks if an array of question ids is answered by a user or not. More... | |
| static | _setReachedPoints (int $active_id, int $question_id, float $points, float $maxpoints, int $pass, bool $manualscoring, bool $obligationsEnabled) |
| Sets the points, a learner has reached answering the question Additionally objective results are updated. More... | |
| static | _needsManualScoring (int $question_id) |
| static | _includeClass (string $question_type, int $gui=0) |
| static | getFeedbackClassNameByQuestionType (string $questionType) |
| static | isCoreQuestionType (string $questionType) |
| static | includeCoreClass ($questionType, $withGuiClass) |
| static | _getQuestionTypeName ($type_tag) |
| static | _instanciateQuestionGUI (int $question_id) |
| static | instantiateQuestionGUI (int $a_question_id) |
| static | _questionExistsInTest (int $question_id, int $test_id) |
| static | lookupParentObjId (int $questionId) |
| static | lookupOriginalParentObjId (int $originalQuestionId) |
| returns the parent object id for given original question id (should be a qpl id, but theoretically it can be a tst id, too) More... | |
| static | isObligationPossible (int $questionId) |
| static | implodeKeyValues (array $keyValues) |
| static | explodeKeyValues (string $keyValues) |
| static | convertISO8601FormatH_i_s_ExtendedToSeconds (string $time) |
| static | missingResultRecordExists (int $activeId, int $pass, array $questionIds) |
| static | getQuestionsMissingResultRecord (int $activeId, int $pass, array $questionIds) |
| static | lookupResultRecordExist (int $activeId, int $questionId, int $pass) |
| static | extendedTrim (string $value) |
| Trim non-printable characters from the beginning and end of a string. More... | |
Data Fields | |
| const | IMG_MIME_TYPE_JPG = 'image/jpeg' |
| const | IMG_MIME_TYPE_PNG = 'image/png' |
| const | IMG_MIME_TYPE_GIF = 'image/gif' |
| const | TRIM_PATTERN = '/^[\p{C}\p{Z}]+|[\p{C}\p{Z}]+$/u' |
| const | ADDITIONAL_CONTENT_EDITING_MODE_RTE = 'default' |
| const | ADDITIONAL_CONTENT_EDITING_MODE_IPE = 'pageobject' |
| ilAssQuestionFeedback | $feedbackOBJ |
| bool | $prevent_rte_usage = false |
| bool | $selfassessmenteditingmode = false |
| int | $defaultnroftries = 0 |
| string | $questionActionCmd = 'handleQuestionAction' |
| const | KEY_VALUES_IMPLOSION_SEPARATOR = ':' |
Protected Member Functions | |
| getQuestionAction () | |
| isNonEmptyItemListPostSubmission (string $postSubmissionFieldname) | |
| ensureCurrentTestPass (int $active_id, int $pass) | |
| lookupCurrentTestPass (int $active_id, int $pass) | |
| lookupTestId (int $active_id) | |
| @refactor Move to ilObjTest or similar More... | |
| log (int $active_id, string $langVar) | |
| savePreviewData (ilAssQuestionPreviewSession $previewSession) | |
| deletePageOfQuestion (int $question_id) | |
| onDuplicate (int $originalParentId, int $originalQuestionId, int $duplicateParentId, int $duplicateQuestionId) | |
| beforeSyncWithOriginal (int $origQuestionId, int $dupQuestionId, int $origParentObjId, int $dupParentObjId) | |
| afterSyncWithOriginal (int $origQuestionId, int $dupQuestionId, int $origParentObjId, int $dupParentObjId) | |
| onCopy (int $sourceParentId, int $sourceQuestionId, int $targetParentId, int $targetQuestionId) | |
| duplicateSuggestedSolutionFiles (int $parent_id, int $question_id) | |
| Duplicates the files of a suggested solution if the question is duplicated. More... | |
| syncSuggestedSolutionFiles (int $target_question_id, int $target_obj_id) | |
| copySuggestedSolutionFiles (int $source_questionpool_id, int $source_question_id) | |
| ensureNonNegativePoints ($points) | |
| purifyAndPrepareTextAreaOutput (string $content) | |
| getRTETextWithMediaObjects () | |
| getSelfAssessmentFormatter () | |
| lmMigrateQuestionTypeGenericContent (ilAssSelfAssessmentMigrator $migrator) | |
| lmMigrateQuestionTypeSpecificContent (ilAssSelfAssessmentMigrator $migrator) | |
| duplicateQuestionHints (int $originalQuestionId, int $duplicateQuestionId) | |
| 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 () | |
| build basic test question configuration instance More... | |
Static Protected Member Functions | |
| static | getNumExistingSolutionRecords (int $activeId, int $pass, int $questionId) |
Protected Attributes | |
| const | HAS_SPECIFIC_FEEDBACK = true |
| ILIAS HTTP Services | $http |
| ILIAS Refinery Factory | $refinery |
| ILIAS DI LoggingServices | $ilLog |
| int | $id |
| string | $title |
| string | $comment |
| string | $owner |
| string | $author |
| int | $thumb_size |
| string | $question |
| The question text. More... | |
| float | $points |
| The maximum available points for the question. More... | |
| bool | $shuffle |
| Indicates whether the answers will be shuffled or not. More... | |
| int | $test_id |
| The database id of a test in which the question is contained. More... | |
| int | $obj_id = 0 |
| Object id of the container object. More... | |
| $ilias | |
| ilGlobalPageTemplate | $tpl |
| ilLanguage | $lng |
| ilDBInterface | $db |
| Container | $dic |
| int | $outputType = OUTPUT_JAVASCRIPT |
| Contains the output type of a question. More... | |
| array | $suggested_solutions |
| int | $original_id = null |
| $page | |
| string | $external_id = null |
| ilAssQuestionProcessLocker | $processLocker |
| $step | |
| $lastChange | |
| Transformation | $shuffler |
| ilTestQuestionConfig | $testQuestionConfig |
| ilAssQuestionLifecycle | $lifecycle |
| ilObjUser | $current_user |
Static Protected Attributes | |
| static | $allowedFileExtensionsByMimeType |
| static | $allowedCharsetsByMimeType |
| static | $allowedImageMaterialFileExtensionsByMimeType |
| static | $forcePassResultsUpdateEnabled = false |
| static | $imageSourceFixReplaceMap |
Private Member Functions | |
| generateExternalId (int $question_id) | |
| deleteTaxonomyAssignments () | |
Private Attributes | |
| const | DEFAULT_THUMB_SIZE = 150 |
| const | MINIMUM_THUMB_SIZE = 20 |
| const | MAXIMUM_THUMB_SIZE = 8192 |
| int | $nr_of_tries |
| string | $export_image_path |
| (Web) Path to images More... | |
| string | $additionalContentEditingMode = '' |
| bool | $obligationsToBeConsidered = false |
| ilTestQuestionConfig | $testQuestionConfigInstance = null |
Abstract basic class which is to be extended by the concrete assessment question type classes.
The assQuestion class defines and encapsulates basic/common methods and attributes as well as it provides abstract methods that are to be implemented by concrete question type classes.
@abstract
Definition at line 41 of file class.assQuestion.php.
| assQuestion::__construct | ( | string | $title = "", |
| string | $comment = "", |
||
| string | $author = "", |
||
| int | $owner = -1, |
||
| string | $question = "" |
||
| ) |
assQuestion constructor
Reimplemented in assFormulaQuestion.
Definition at line 192 of file class.assQuestion.php.
References $comment, $DIC, $ilDB, $ilLog, $lng, $title, $tpl, ILIAS\UI\examples\Symbol\Glyph\Comment\comment(), DEFAULT_THUMB_SIZE, ilAssQuestionLifecycle\getDraftInstance(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), setAuthor(), setExternalId(), setOwner(), and setQuestion().
Here is the call graph for this function:| assQuestion::__get | ( | $value | ) |
Object getter.
Definition at line 3287 of file class.assQuestion.php.
| assQuestion::__isset | ( | $key | ) |
Object issetter.
Definition at line 3307 of file class.assQuestion.php.
References ILIAS\LTI\ToolProvider\$key.
| assQuestion::__set | ( | $key, | |
| $value | |||
| ) |
Object setter.
Definition at line 3297 of file class.assQuestion.php.
References ILIAS\LTI\ToolProvider\$key.
|
static |
Checks if an array of question ids is answered by a user or not.
| int | user_id | |
| array | $question_ids | user id array |
Definition at line 2798 of file class.assQuestion.php.
References $DIC, $ilDB, $res, and true.
Referenced by ilCourseObjectiveResult\getStatus().
Here is the caller graph for this function:
|
static |
Definition at line 2438 of file class.assQuestion.php.
References $DIC, $target_id, and $type.
Referenced by getSuggestedSolutionOutput(), and assQuestionGUI\suggestedsolution().
Here is the caller graph for this function:
|
static |
Returns the maximum points, a learner can reach answering the question.
Definition at line 650 of file class.assQuestion.php.
Referenced by ilCourseObjectiveQuestion\_lookupMaximumPointsOfQuestion(), ilTestScoringGUI\buildManScoringParticipantForm(), assFileUpload\handleSubmission(), ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\initFilter(), ilCourseObjectiveQuestionAssignmentTableGUI\parse(), ilTestScoringGUI\saveManScoringParticipantScreen(), and ilTestScoringByQuestionsGUI\showManScoringByQuestionParticipantsTable().
Here is the caller graph for this function:
|
static |
Definition at line 2470 of file class.assQuestion.php.
Referenced by ilTestFixedQuestionSetConfig\cloneQuestionSetRelatedData(), ilObjTestGUI\copyAndLinkToQuestionpoolObject(), assClozeTest\copyObject(), assErrorText\copyObject(), assFileUpload\copyObject(), assFlashQuestion\copyObject(), assFormulaQuestion\copyObject(), assImagemapQuestion\copyObject(), assKprimChoice\copyObject(), assLongMenu\copyObject(), assMatchingQuestion\copyObject(), assMultipleChoice\copyObject(), assNumeric\copyObject(), assOrderingHorizontal\copyObject(), assOrderingQuestion\copyObject(), assSingleChoice\copyObject(), assTextQuestion\copyObject(), assTextSubset\copyObject(), assClozeTest\duplicate(), assErrorText\duplicate(), assFileUpload\duplicate(), assFlashQuestion\duplicate(), assFormulaQuestion\duplicate(), assImagemapQuestion\duplicate(), assKprimChoice\duplicate(), assLongMenu\duplicate(), assMatchingQuestion\duplicate(), assMultipleChoice\duplicate(), assNumeric\duplicate(), assOrderingHorizontal\duplicate(), assSingleChoice\duplicate(), assTextQuestion\duplicate(), assTextSubset\duplicate(), and ilObjTest\logAction().
Here is the caller graph for this function:
|
static |
Definition at line 671 of file class.assQuestion.php.
Referenced by ilTestManScoringParticipantsBySelectedQuestionAndPassTableGUI\initFilter(), and ilTestScoringByQuestionsGUI\showManScoringByQuestionParticipantsTable().
Here is the caller graph for this function:
|
static |
Definition at line 1722 of file class.assQuestion.php.
Referenced by ilLMQuestionListTableGUI\fillRow().
Here is the caller graph for this function:
|
static |
Definition at line 1824 of file class.assQuestion.php.
References $data, $DIC, and $ilDB.
Referenced by ilObjAssessmentFolderGUI\exportLogObject(), ilAssessmentFolderLogTableGUI\fillRow(), and ilObjTest\logManualFeedback().
Here is the caller graph for this function:
|
static |
Definition at line 1803 of file class.assQuestion.php.
References $data, $DIC, and $ilDB.
Referenced by _needsManualScoring(), ilPageObjectGUI\executeCommand(), instantiateQuestion(), instantiateQuestionGUI(), ilObjTest\isQuestionObligationPossible(), and ilPCQuestionGUI\setTabs().
Here is the caller graph for this function:
|
static |
Definition at line 3211 of file class.assQuestion.php.
Referenced by ilObjQuestionPoolGUI\addLocatorItems(), ilTestRandomQuestionSelectionTableGUI\build(), ilTestQuestionBrowserTableGUI\fillRow(), ilTestQuestionsTableGUI\fillRow(), ilQuestionBrowserTableGUI\fillRow(), ilCopySelfAssQuestionTableGUI\fillRow(), assQuestionGUI\outQuestionType(), ilObjTestGUI\removeQuestionsForm(), and ilObjQuestionPoolGUI\setTitleAndDescription().
Here is the caller graph for this function:
|
static |
Definition at line 788 of file class.assQuestion.php.
Referenced by ilTestScoringByQuestionsGUI\appendFormToModal(), ilTestScoringGUI\buildManScoringParticipantForm(), ilTestServiceGUI\getPassListOfAnswersWithScoring(), ilTestScoringGUI\saveManScoringParticipantScreen(), and ilTestScoringByQuestionsGUI\showManScoringByQuestionParticipantsTable().
Here is the caller graph for this function:
|
static |
Returns the maximum pass a users question solution.
Definition at line 2650 of file class.assQuestion.php.
Referenced by _setReachedPoints(), and ilObjTest\getTextAnswer().
Here is the caller graph for this function:| assQuestion::_getSuggestedSolution | ( | int | $question_id, |
| int | $subquestion_index = 0 |
||
| ) |
Definition at line 753 of file class.assQuestion.php.
|
static |
Definition at line 688 of file class.assQuestion.php.
|
static |
| ilWACException |
Definition at line 705 of file class.assQuestion.php.
Referenced by ilTestScoringByQuestionsGUI\getAnswerDetail().
Here is the caller graph for this function:
|
static |
Definition at line 1704 of file class.assQuestion.php.
Referenced by ilLMMailNotification\send().
Here is the caller graph for this function:
|
static |
Definition at line 1666 of file class.assQuestion.php.
References $DIC, $ilDB, and ILIAS\LTI\ToolProvider\$key.
Referenced by ilQuestionCumulatedStatisticsTableGUI\initData().
Here is the caller graph for this function:
|
static |
Definition at line 3184 of file class.assQuestion.php.
Referenced by assQuestionGUI\_getQuestionGUI(), ilObjQuestionPool\createQuestion(), ilObjTest\createQuestionGUI(), ilQTIParser\handlerParseEndTag(), instantiateQuestion(), instantiateQuestionGUI(), and ilObjTest\isQuestionObligationPossible().
Here is the caller graph for this function:
|
static |
Definition at line 2588 of file class.assQuestion.php.
Referenced by ilFixMissingQuestionDuplicationMigration\step().
Here is the caller graph for this function:
|
static |
Definition at line 3232 of file class.assQuestion.php.
|
static |
Definition at line 2596 of file class.assQuestion.php.
Referenced by ilTestExport\exportToExcel(), ilAssLacQuestionProvider\getQuestion(), ilTestPlayerAbstractGUI\getQuestionInstance(), ilTestExport\getQuestionQtiXml(), ilTestRandomQuestionSetPoolDeriver\getQuestionsForPool(), ilPageObject\newQuestionCopies(), ilAssIncompleteQuestionPurger\purgeQuestionIds(), ilTestRandomQuestionSetStagingPoolBuilder\stageQuestionsFromSourcePoolCheap(), and ilAssQuestionSkillAssignmentsGUI\syncOriginalCmd().
Here is the caller graph for this function:
|
static |
Definition at line 2698 of file class.assQuestion.php.
Referenced by ilObjQuestionPool\getDeleteableQuestionDetails().
Here is the caller graph for this function:
|
static |
Returns true if the question was worked through in the given pass Worked through means that the user entered at least one value.
Definition at line 2787 of file class.assQuestion.php.
Referenced by ilObjTest\getAnsweredQuestionCount(), ilTestOutputGUI\handleQuestionPostponing(), and ilTestOutputGUI\showQuestionCmd().
Here is the caller graph for this function:
|
static |
Definition at line 2675 of file class.assQuestion.php.
References $DIC, $ilDB, ilObjQuestionPool\_isWriteable(), and ILIAS\Repository\int().
Referenced by ilAssQuestionFeedbackEditingGUI\isSyncAfterSaveRequired(), ilAssQuestionHintsGUI\performDeleteCmd(), assQuestionGUI\save(), assQuestionGUI\saveEdit(), ilAssQuestionHintGUI\saveFormCmd(), ilAssQuestionHintsGUI\saveListOrderCmd(), assQuestionGUI\saveReturn(), assFormulaQuestionGUI\saveReturnFQ(), and assQuestionGUI\suggestedsolution().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 3147 of file class.assQuestion.php.
References ilObjAssessmentFolder\_getManualScoringTypes(), and _getQuestionType().
Referenced by ilTestExpressPageObjectGUI\insertQuestions(), ilTestQuestionBrowserTableGUI\insertQuestionsCmd(), and ilObjTestGUI\insertQuestionsObject().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::_questionExists | ( | $question_id | ) |
Returns true if the question already exists in the database.
| integer | $question_id | The database id of the question |
Definition at line 2556 of file class.assQuestion.php.
| assQuestion::_questionExistsInPool | ( | int | $question_id | ) |
Definition at line 2570 of file class.assQuestion.php.
|
static |
Definition at line 3327 of file class.assQuestion.php.
Referenced by assQuestionGUI\save(), assQuestionGUI\saveReturn(), and assFormulaQuestionGUI\saveReturnFQ().
Here is the caller graph for this function:| assQuestion::_resolveInternalLink | ( | string | $internal_link | ) |
Definition at line 2368 of file class.assQuestion.php.
References ilLMObject\_getIdForImportId(), and ilInternalLink\_getIdForImportId().
Here is the call graph for this function:| assQuestion::_resolveIntLinks | ( | int | $question_id | ) |
Definition at line 2397 of file class.assQuestion.php.
References ilInternalLink\_deleteAllLinksOfSource(), and ilInternalLink\_saveLink().
Referenced by ilQuestionPageParser\processPagesToParse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Sets the points, a learner has reached answering the question Additionally objective results are updated.
| integer | $user_id | The database ID of the learner |
| integer | $test_id | The database Id of the test containing the question |
| integer | $points | The points the user has reached answering the question |
Definition at line 2919 of file class.assQuestion.php.
References $DIC, Vendor\Package\$e, $ilDB, $ilUser, $lng, ILIAS\Repository\$refinery, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), ilObjTestAccess\_getParticipantData(), _getSolutionMaxPass(), ilObjTest\_getUserIdFromActiveId(), ilCourseObjectiveResult\_updateObjectiveResult(), and logAction().
Referenced by assFileUpload\handleSubmission(), and ilTestScoringGUI\saveManScoringParticipantScreen().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
@TODO Move this to a proper place.
Definition at line 994 of file class.assQuestion.php.
References $DIC, $ilDB, $query, $res, ilObjTest\_getResultPass(), and ILIAS\Repository\int().
Referenced by ilObjTestAccess\_getPassedUsers(), ilObjTestAccess\_isPassed(), ilObjTest\getResultsForActiveId(), ilTestScoring\recalculateSolution(), ilTestScoring\recalculateSolutions(), ilTestScoring\updatePassAndTestResults(), and ilObjTestAccess\updateTestResultCache().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::addAnswerOptionValue | ( | int | $qIndex, |
| string | $answerOptionValue, | ||
| float | $points | ||
| ) |
Reimplemented in assClozeTest, and assTextSubset.
Definition at line 4009 of file class.assQuestion.php.
| assQuestion::addQTIMaterial | ( | ilXmlWriter | $a_xml_writer, |
| string | $a_material, | ||
| bool | $close_material_tag = true, |
||
| bool | $add_mobs = true |
||
| ) |
Definition at line 2863 of file class.assQuestion.php.
References $mobs, ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilRTE\_replaceMediaObjectImageSrc(), ILIAS\Survey\Mode\getId(), IL_INST_ID, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Here is the call graph for this function:
|
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 2766 of file class.assQuestion.php.
References ilObjTest\_getCountSystem(), and ilObjTest\_getScoreCutting().
Here is the call graph for this function:
|
protected |
Definition at line 2118 of file class.assQuestion.php.
| assQuestion::areObligationsToBeConsidered | ( | ) |
Definition at line 4174 of file class.assQuestion.php.
| assQuestion::authorizedOrIntermediateSolutionExists | ( | int | $active_id, |
| int | $pass | ||
| ) |
Definition at line 3943 of file class.assQuestion.php.
| assQuestion::authorizedSolutionExists | ( | int | $active_id, |
| ?int | $pass | ||
| ) |
Definition at line 3934 of file class.assQuestion.php.
|
protected |
Definition at line 2114 of file class.assQuestion.php.
| assQuestion::buildHashedImageFilename | ( | string | $plain_image_filename, |
| bool | $unique = false |
||
| ) |
Definition at line 2894 of file class.assQuestion.php.
Referenced by assKprimChoice\handleFileUpload().
Here is the caller graph for this function:| assQuestion::buildImagePath | ( | $questionId, | |
| $parentObjectId | |||
| ) |
Definition at line 1257 of file class.assQuestion.php.
References CLIENT_WEB_DIR.
Referenced by assMatchingQuestion\afterSyncWithOriginal().
Here is the caller graph for this function:
|
protected |
Definition at line 3598 of file class.assQuestion.php.
Referenced by assKprimChoice\loadFromDb().
Here is the caller graph for this function:
|
protected |
build basic test question configuration instance
method can be overwritten to configure an instance use parent call for building when possible
Reimplemented in assFileUpload, assFlashQuestion, assMultipleChoice, assOrderingHorizontal, and assOrderingQuestion.
Definition at line 4216 of file class.assQuestion.php.
|
abstract |
Returns the points, a learner has reached answering the question.
The points are calculated from the given answers.
@abstract @access public
| integer | $active_id | |
| integer | $pass | |
| boolean | $returndetails | (deprecated !!) |
Reimplemented in assClozeTest, assErrorText, assFileUpload, assFlashQuestion, assFormulaQuestion, assImagemapQuestion, assKprimChoice, assLongMenu, assMatchingQuestion, assMultipleChoice, assOrderingHorizontal, assOrderingQuestion, assSingleChoice, assTextQuestion, and assTextSubset.
| assQuestion::calculateReachedPointsFromPreviewSession | ( | ilAssQuestionPreviewSession | $previewSession | ) |
Reimplemented in assClozeTest, assErrorText, assFlashQuestion, assFormulaQuestion, assImagemapQuestion, assNumeric, assOrderingQuestion, and assSingleChoice.
Definition at line 2735 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 841 of file class.assQuestion.php.
References $DIC, $ilDB, $ilUser, $query, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), ilCourseObjectiveResult\_updateObjectiveResult(), ILIAS\Survey\Mode\getId(), ilObjTest\isQuestionObligatory(), ILIAS\Repository\lng(), and logAction().
Here is the call graph for this function:| assQuestion::cleanupMediaObjectUsage | ( | ) |
Definition at line 3103 of file class.assQuestion.php.
References ilRTE\_cleanupMediaObjectUsage(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
static |
Definition at line 3908 of file class.assQuestion.php.
References ILIAS\Repository\int().
Here is the call graph for this function:| assQuestion::copyPageOfQuestion | ( | int | $a_q_id | ) |
Definition at line 1786 of file class.assQuestion.php.
References $xml.
|
protected |
Definition at line 2261 of file class.assQuestion.php.
References $filename, $index, and ilFileUtils\makeDirParents().
Here is the call graph for this function:| assQuestion::copyXHTMLMediaObjectsOfQuestion | ( | int | $a_q_id | ) |
Definition at line 1758 of file class.assQuestion.php.
References $mobs, ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_saveUsage(), and ILIAS\Survey\Mode\getId().
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 1961 of file class.assQuestion.php.
References $ilUser, ilObject\_lookupObjId(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::createPageObject | ( | ) |
Definition at line 1774 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::deductHintPointsFromReachedPoints | ( | ilAssQuestionPreviewSession | $previewSession, |
| $reachedPoints | |||
| ) |
Definition at line 2724 of file class.assQuestion.php.
References $DIC.
Referenced by assClozeTest\calculateReachedPointsFromPreviewSession(), assErrorText\calculateReachedPointsFromPreviewSession(), assFlashQuestion\calculateReachedPointsFromPreviewSession(), assFormulaQuestion\calculateReachedPointsFromPreviewSession(), and assNumeric\calculateReachedPointsFromPreviewSession().
Here is the caller graph for this function:| assQuestion::delete | ( | int | $question_id | ) |
Reimplemented in assLongMenu.
Definition at line 1510 of file class.assQuestion.php.
References Vendor\Package\$e, $mobs, ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilObjQuestionPool\_updateQuestionCount(), CLIENT_WEB_DIR, ilFileUtils\delDir(), ilAssQuestionHintList\deleteHintsByQuestionIds(), and ilSkillUsage\setUsage().
Here is the call graph for this function:| assQuestion::deleteAdditionalTableData | ( | int | $question_id | ) |
Definition at line 1483 of file class.assQuestion.php.
| assQuestion::deleteAnswers | ( | int | $question_id | ) |
Definition at line 1464 of file class.assQuestion.php.
|
protected |
Definition at line 3808 of file class.assQuestion.php.
Referenced by assFileUpload\saveWorkingData().
Here is the caller graph for this function:
|
protected |
Definition at line 1502 of file class.assQuestion.php.
References ilPageObject\_exists().
Here is the call graph for this function:
|
protected |
Definition at line 3822 of file class.assQuestion.php.
References $query, and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::deleteSuggestedSolutions | ( | ) |
Definition at line 2137 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 1635 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId(), and ilObjTaxonomy\getUsageOfObject().
Here is the call graph for this function:
|
abstract |
|
protected |
Definition at line 3862 of file class.assQuestion.php.
|
protected |
Definition at line 3431 of file class.assQuestion.php.
References ilAssQuestionHintList\duplicateListForQuestion(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
protected |
Definition at line 3450 of file class.assQuestion.php.
References ilSkillUsage\setUsage().
Here is the call graph for this function:
|
protected |
Duplicates the files of a suggested solution if the question is duplicated.
Definition at line 2206 of file class.assQuestion.php.
References $filename, $index, and ilFileUtils\makeDirParents().
Here is the call graph for this function:
|
protected |
Definition at line 321 of file class.assQuestion.php.
References lookupCurrentTestPass().
Referenced by assFileUpload\saveWorkingData().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::ensureHintPageObjectExists | ( | $pageObjectId | ) |
Definition at line 3495 of file class.assQuestion.php.
References ilPageObject\_exists(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
protected |
Definition at line 2743 of file class.assQuestion.php.
Referenced by assClozeTest\calculateReachedPointsFromPreviewSession(), assErrorText\calculateReachedPointsFromPreviewSession(), assFlashQuestion\calculateReachedPointsFromPreviewSession(), assFormulaQuestion\calculateReachedPointsFromPreviewSession(), and assNumeric\calculateReachedPointsFromPreviewSession().
Here is the caller graph for this function:
|
static |
Definition at line 3803 of file class.assQuestion.php.
References KEY_VALUES_IMPLOSION_SEPARATOR.
Referenced by assImagemapQuestion\getReuseSolutionSelectionParameter().
Here is the caller graph for this function:
|
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 4254 of file class.assQuestion.php.
Referenced by assTextSubset\getSolutionSubmit(), and assTextSubsetGUI\writeAnswerSpecificPostData().
Here is the caller graph for this function:| assQuestion::fetchIndexedValuesFromValuePairs | ( | array | $valuePairs | ) |
Reimplemented in assMatchingQuestion.
Definition at line 4163 of file class.assQuestion.php.
|
static |
Definition at line 253 of file class.assQuestion.php.
Referenced by ilQtiMatImageSecurity\validateContent().
Here is the caller graph for this function:| assQuestion::fetchValuePairsFromIndexedValues | ( | array | $indexedValues | ) |
Definition at line 4152 of file class.assQuestion.php.
| assQuestion::fixSvgToPng | ( | string | $imageFilenameContainingString | ) |
Definition at line 1865 of file class.assQuestion.php.
| assQuestion::fixUnavailableSkinImageSources | ( | string | $html | ) |
Definition at line 1872 of file class.assQuestion.php.
References ilUtil\getImagePath(), and ilFileUtils\removeTrailingPathSeparators().
Here is the call graph for this function:
|
protected |
Definition at line 3869 of file class.assQuestion.php.
Referenced by assFileUpload\saveWorkingData().
Here is the caller graph for this function:| assQuestion::formatSAQuestion | ( | $a_q | ) |
Definition at line 3344 of file class.assQuestion.php.
Referenced by assClozeTest\toJSON(), assKprimChoice\toJSON(), assLongMenu\toJSON(), assMatchingQuestion\toJSON(), assOrderingHorizontal\toJSON(), assTextQuestion\toJSON(), and assTextSubset\toJSON().
Here is the caller graph for this function:| assQuestion::fromXML | ( | $item, | |
| int | $questionpool_id, | ||
| ?int | $tst_id, | ||
| & | $tst_object, | ||
| int & | $question_counter, | ||
| array | $import_mapping, | ||
| array & | $solutionhints = [] |
||
| ) |
Receives parameters from a QTI parser and creates a valid ILIAS question object.
| object | $item | The QTI item object |
| integer | $questionpool_id | The id of the parent questionpool |
| integer | $tst_id | The id of the parent test if the question is part of a test |
| object | $tst_object | A reference to the parent test object |
| integer | $question_counter | A reference to a question counter to count the questions of an imported question pool |
| array | $import_mapping | An array containing references to included ILIAS objects |
Reimplemented in assErrorText, assFileUpload, assFlashQuestion, and assOrderingHorizontal.
Definition at line 410 of file class.assQuestion.php.
References getQuestionType().
Here is the call graph for this function:
|
private |
Definition at line 282 of file class.assQuestion.php.
References IL_INST_ID.
| 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 3164 of file class.assQuestion.php.
| assQuestion::getAdditionalContentEditingMode | ( | ) |
Definition at line 3546 of file class.assQuestion.php.
| assQuestion::getAdditionalTableName | ( | ) |
Reimplemented in assClozeTest, assErrorText, assFileUpload, assFlashQuestion, assFormulaQuestion, assImagemapQuestion, assKprimChoice, assLongMenu, assMatchingQuestion, assMultipleChoice, assNumeric, assOrderingHorizontal, assOrderingQuestion, assSingleChoice, assTextQuestion, and assTextSubset.
Definition at line 1451 of file class.assQuestion.php.
|
final |
returns the reached points ...
Definition at line 824 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
static |
Definition at line 258 of file class.assQuestion.php.
|
static |
@noinspection SlowArrayOperationsInLoopInspection
Definition at line 369 of file class.assQuestion.php.
Referenced by ilImageWizardInputGUI\__construct().
Here is the caller graph for this function:| assQuestion::getAnswerTableName | ( | ) |
Reimplemented in assClozeTest, assErrorText, assFileUpload, assFlashQuestion, assFormulaQuestion, assImagemapQuestion, assKprimChoice, assLongMenu, assMatchingQuestion, assMultipleChoice, assOrderingHorizontal, assOrderingQuestion, assSingleChoice, assTextQuestion, and assTextSubset.
Definition at line 1459 of file class.assQuestion.php.
| assQuestion::getAuthor | ( | ) |
Definition at line 598 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 603 of file class.assQuestion.php.
References ILIAS\Repository\refinery().
Here is the call graph for this function:| assQuestion::getComment | ( | ) |
Definition at line 543 of file class.assQuestion.php.
References $comment.
|
protected |
Definition at line 3620 of file class.assQuestion.php.
References $query, and ILIAS\Survey\Mode\getId().
Referenced by assClozeTest\calculateReachedPoints(), assErrorText\calculateReachedPoints(), assFileUpload\calculateReachedPoints(), assFlashQuestion\calculateReachedPoints(), assKprimChoice\calculateReachedPoints(), assLongMenu\calculateReachedPoints(), assMatchingQuestion\calculateReachedPoints(), assOrderingHorizontal\calculateReachedPoints(), assTextQuestion\calculateReachedPoints(), and assTextSubset\calculateReachedPoints().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::getDefaultNrOfTries | ( | ) |
Definition at line 3400 of file class.assQuestion.php.
| assQuestion::getDescriptionForHTMLOutput | ( | ) |
Definition at line 548 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 638 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
static |
Definition at line 3191 of file class.assQuestion.php.
Referenced by assQuestionGUI\_getQuestionGUI(), and ilObjTest\createQuestionGUI().
Here is the caller graph for this function:| assQuestion::getFlashPath | ( | ) |
Returns the image path for web accessable flash files of a question.
The image path is under the CLIENT_WEB_DIR in assessment/REFERENCE_ID_OF_QUESTION_POOL/ID_OF_QUESTION/flash
Definition at line 1268 of file class.assQuestion.php.
References CLIENT_WEB_DIR.
Referenced by assFlashQuestion\copyApplet(), assFlashQuestion\deleteApplet(), assFlashQuestion\duplicateApplet(), assFlashQuestion\moveAppletIfExists(), and assFlashQuestion\moveUploadedFile().
Here is the caller graph for this function:| assQuestion::getHtmlQuestionContentPurifier | ( | ) |
Definition at line 3593 of file class.assQuestion.php.
References ilHtmlPurifierFactory\getInstanceByType().
Referenced by assKprimChoice\addAnswer(), assClozeTest\getClozeTextForHTMLOutput(), 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 3585 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 528 of file class.assQuestion.php.
References $id.
Referenced by ilQuestionCumulatedStatisticsTableGUI\__construct(), ilQuestionUsagesTableGUI\__construct(), ilAssQuestionHintsOrderingClipboard\__construct(), assLongMenu\buildFolderName(), assClozeTest\calculateCombinationResult(), assClozeTest\copyObject(), assErrorText\copyObject(), assFileUpload\copyObject(), assFlashQuestion\copyObject(), assFormulaQuestion\copyObject(), assImagemapQuestion\copyObject(), assKprimChoice\copyObject(), assLongMenu\copyObject(), assMatchingQuestion\copyObject(), assMultipleChoice\copyObject(), assOrderingHorizontal\copyObject(), assSingleChoice\copyObject(), assTextQuestion\copyObject(), assTextSubset\copyObject(), assClozeTest\createNewOriginalFromThisDuplicate(), assErrorText\createNewOriginalFromThisDuplicate(), assFileUpload\createNewOriginalFromThisDuplicate(), assFlashQuestion\createNewOriginalFromThisDuplicate(), assFormulaQuestion\createNewOriginalFromThisDuplicate(), assImagemapQuestion\createNewOriginalFromThisDuplicate(), assKprimChoice\createNewOriginalFromThisDuplicate(), assLongMenu\createNewOriginalFromThisDuplicate(), assMatchingQuestion\createNewOriginalFromThisDuplicate(), assMultipleChoice\createNewOriginalFromThisDuplicate(), assNumeric\createNewOriginalFromThisDuplicate(), assOrderingHorizontal\createNewOriginalFromThisDuplicate(), assSingleChoice\createNewOriginalFromThisDuplicate(), assTextQuestion\createNewOriginalFromThisDuplicate(), assTextSubset\createNewOriginalFromThisDuplicate(), assClozeTest\duplicate(), assErrorText\duplicate(), assFileUpload\duplicate(), assFlashQuestion\duplicate(), assFormulaQuestion\duplicate(), assImagemapQuestion\duplicate(), assKprimChoice\duplicate(), assLongMenu\duplicate(), assMatchingQuestion\duplicate(), assMultipleChoice\duplicate(), assNumeric\duplicate(), assOrderingHorizontal\duplicate(), assSingleChoice\duplicate(), assTextQuestion\duplicate(), assTextSubset\duplicate(), assMatchingQuestion\fetchSubmittedMatchingsFromPost(), assErrorText\getAnswersFromRequest(), assLongMenu\getCorrectAnswersAsJson(), assFileUpload\getFileUploadPath(), assFileUpload\getFileUploadPathWeb(), assClozeTest\getMaximumPoints(), assFileUpload\getUploadedFiles(), assFileUpload\handleSubmission(), assFileUpload\hasFileUploads(), assFileUpload\isAnswered(), assKprimChoice\isAnswered(), assTextQuestion\loadFromDb(), log(), assErrorText\logUserAction(), assFormulaQuestion\lookupForExistingSolutions(), assLongMenu\lookupForExistingSolutions(), ilAssNestedOrderingElementsInputGUI\prepareReprintable(), assFormulaQuestion\removeExistingSolutions(), ilAssOrderingQuestionAuthoringFormGUI\renewOrderingElementInput(), assClozeTest\saveAdditionalQuestionDataToDb(), assErrorText\saveAdditionalQuestionDataToDb(), assFileUpload\saveAdditionalQuestionDataToDb(), assFlashQuestion\saveAdditionalQuestionDataToDb(), assImagemapQuestion\saveAdditionalQuestionDataToDb(), assKprimChoice\saveAdditionalQuestionDataToDb(), assLongMenu\saveAdditionalQuestionDataToDb(), assMatchingQuestion\saveAdditionalQuestionDataToDb(), assOrderingHorizontal\saveAdditionalQuestionDataToDb(), assClozeTest\saveAnswerSpecificDataToDb(), assErrorText\saveAnswerSpecificDataToDb(), assImagemapQuestion\saveAnswerSpecificDataToDb(), assKprimChoice\saveAnswerSpecificDataToDb(), assLongMenu\saveAnswerSpecificDataToDb(), assMatchingQuestion\saveAnswerSpecificDataToDb(), assClozeTest\saveClozeNumericGapRecordToDb(), assClozeTest\saveClozeSelectGapRecordToDb(), assClozeTest\saveClozeTextGapRecordToDb(), assFormulaQuestion\saveToDb(), assMultipleChoice\saveToDb(), assFormulaQuestion\saveWorkingData(), assFormulaQuestion\setId(), assTextQuestion\setReachedPoints(), assClozeTest\toJSON(), assKprimChoice\toJSON(), assLongMenu\toJSON(), assMatchingQuestion\toJSON(), assOrderingHorizontal\toJSON(), assTextQuestion\toJSON(), assTextSubset\toJSON(), 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 1244 of file class.assQuestion.php.
References $id.
Referenced by assImagemapQuestion\copyImage(), assMatchingQuestion\copyImages(), assMatchingQuestion\deleteImagefile(), assImagemapQuestion\duplicateImage(), assMatchingQuestion\duplicateImages(), assKprimChoice\handleFileUpload(), assKprimChoice\loadAnswerData(), assMultipleChoice\loadFromDb(), assSingleChoice\loadFromDb(), assMatchingQuestion\rebuildThumbnails(), assMultipleChoice\rebuildThumbnails(), assSingleChoice\rebuildThumbnails(), assMatchingQuestion\setExportDetailsXLS(), assMatchingQuestion\setImageFile(), and assImagemapQuestion\setImageFilename().
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 1288 of file class.assQuestion.php.
References CLIENT_WEB_DIR, and ilFileUtils\removeTrailingPathSeparators().
Referenced by assKprimChoice\loadAnswerData(), and assKprimChoice\toJSON().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::getInstances | ( | ) |
Definition at line 3109 of file class.assQuestion.php.
References ILIAS\LTI\ToolProvider\$key, ilObject\_getAllReferences(), ilObjTest\_lookupAuthor(), ilObject\_lookupTitle(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::getLastChange | ( | ) |
Definition at line 3615 of file class.assQuestion.php.
| assQuestion::getLifecycle | ( | ) |
Definition at line 623 of file class.assQuestion.php.
| assQuestion::getMaximumPoints | ( | ) |
Reimplemented in assClozeTest, assErrorText, assFileUpload, assFlashQuestion, assFormulaQuestion, assImagemapQuestion, assLongMenu, assMatchingQuestion, assMultipleChoice, assNumeric, assOrderingHorizontal, assOrderingQuestion, assSingleChoice, assTextQuestion, and assTextSubset.
Definition at line 812 of file class.assQuestion.php.
| assQuestion::getMaximumThumbSize | ( | ) |
Definition at line 572 of file class.assQuestion.php.
| assQuestion::getMinimumThumbSize | ( | ) |
Definition at line 567 of file class.assQuestion.php.
Referenced by assMultipleChoice\loadFromDb(), assOrderingQuestion\loadFromDb(), and assSingleChoice\loadFromDb().
Here is the caller graph for this function:| assQuestion::getNrOfTries | ( | ) |
Definition at line 3312 of file class.assQuestion.php.
Referenced by assClozeTest\toJSON(), assKprimChoice\toJSON(), assLongMenu\toJSON(), assMatchingQuestion\toJSON(), assOrderingHorizontal\toJSON(), assTextQuestion\toJSON(), and assTextSubset\toJSON().
Here is the caller graph for this function:
|
staticprotected |
Definition at line 3520 of file class.assQuestion.php.
References $DIC, $ilDB, $query, and $res.
Referenced by assFileUpload\isAnswered(), assKprimChoice\isAnswered(), assMultipleChoice\isAnswered(), assSingleChoice\isAnswered(), and assTextQuestion\isAnswered().
Here is the caller graph for this function:| assQuestion::getObjId | ( | ) |
Definition at line 613 of file class.assQuestion.php.
Referenced by assClozeTest\copyObject(), assErrorText\copyObject(), assFileUpload\copyObject(), assFlashQuestion\copyObject(), assFormulaQuestion\copyObject(), assImagemapQuestion\copyObject(), assKprimChoice\copyObject(), assLongMenu\copyObject(), assMatchingQuestion\copyObject(), assMultipleChoice\copyObject(), assNumeric\copyObject(), assOrderingHorizontal\copyObject(), assSingleChoice\copyObject(), assTextQuestion\copyObject(), assTextSubset\copyObject(), assClozeTest\createNewOriginalFromThisDuplicate(), assErrorText\createNewOriginalFromThisDuplicate(), assFileUpload\createNewOriginalFromThisDuplicate(), assFlashQuestion\createNewOriginalFromThisDuplicate(), assFormulaQuestion\createNewOriginalFromThisDuplicate(), assImagemapQuestion\createNewOriginalFromThisDuplicate(), assKprimChoice\createNewOriginalFromThisDuplicate(), assLongMenu\createNewOriginalFromThisDuplicate(), assMatchingQuestion\createNewOriginalFromThisDuplicate(), assMultipleChoice\createNewOriginalFromThisDuplicate(), assNumeric\createNewOriginalFromThisDuplicate(), assOrderingHorizontal\createNewOriginalFromThisDuplicate(), assSingleChoice\createNewOriginalFromThisDuplicate(), assTextQuestion\createNewOriginalFromThisDuplicate(), assTextSubset\createNewOriginalFromThisDuplicate(), assClozeTest\duplicate(), assErrorText\duplicate(), assFileUpload\duplicate(), assFlashQuestion\duplicate(), assFormulaQuestion\duplicate(), assImagemapQuestion\duplicate(), assKprimChoice\duplicate(), assLongMenu\duplicate(), assMatchingQuestion\duplicate(), assMultipleChoice\duplicate(), assNumeric\duplicate(), assOrderingHorizontal\duplicate(), assSingleChoice\duplicate(), assTextQuestion\duplicate(), and assTextSubset\duplicate().
Here is the caller graph for this function:| assQuestion::getOriginalId | ( | ) |
Definition at line 1851 of file class.assQuestion.php.
| assQuestion::getOutputType | ( | ) |
Reimplemented in assMultipleChoice, and assSingleChoice.
Definition at line 578 of file class.assQuestion.php.
| assQuestion::getOwner | ( | ) |
Definition at line 608 of file class.assQuestion.php.
| assQuestion::getPageOfQuestion | ( | ) |
Definition at line 1797 of file class.assQuestion.php.
| assQuestion::getPoints | ( | ) |
Definition at line 2628 of file class.assQuestion.php.
Referenced by assFileUpload\calculateReachedPoints(), assKprimChoice\calculateReachedPointsForSolution(), assFileUpload\calculateReachedPointsForSolution(), assOrderingHorizontal\calculateReachedPointsForSolution(), assNumeric\calculateReachedPointsFromPreviewSession(), assFileUpload\getMaximumPoints(), assNumeric\getMaximumPoints(), assOrderingHorizontal\getMaximumPoints(), assTextSubset\isAnswerCorrect(), assLongMenu\isComplete(), assTextQuestion\setReachedPoints(), and assOrderingHorizontal\toJSON().
Here is the caller graph for this function:| assQuestion::getPreventRteUsage | ( | ) |
Definition at line 3361 of file class.assQuestion.php.
| assQuestion::getProcessLocker | ( | ) |
Definition at line 395 of file class.assQuestion.php.
References $processLocker.
Referenced by assClozeTest\saveWorkingData(), assErrorText\saveWorkingData(), assFileUpload\saveWorkingData(), assFormulaQuestion\saveWorkingData(), assMatchingQuestion\saveWorkingData(), assOrderingHorizontal\saveWorkingData(), assTextQuestion\saveWorkingData(), assTextSubset\saveWorkingData(), and assLongMenu\saveWorkingData().
Here is the caller graph for this function:| assQuestion::getQuestion | ( | ) |
Definition at line 2996 of file class.assQuestion.php.
Referenced by assFormulaQuestion\checkForDuplicateResults(), assFormulaQuestion\checkForDuplicateVariables(), assFormulaQuestion\getInitialVariableSolutionValues(), assFormulaQuestion\hasRequiredVariableSolutionValues(), assOrderingQuestion\isComplete(), assFormulaQuestion\parseQuestionText(), assFormulaQuestion\substituteVariables(), assClozeTest\toJSON(), assKprimChoice\toJSON(), assLongMenu\toJSON(), assMatchingQuestion\toJSON(), assOrderingHorizontal\toJSON(), assTextQuestion\toJSON(), and assTextSubset\toJSON().
Here is the caller graph for this function:
|
protected |
Definition at line 291 of file class.assQuestion.php.
Referenced by assFileUpload\isFileDeletionAction().
Here is the caller graph for this function:| assQuestion::getQuestionForHTMLOutput | ( | ) |
Definition at line 3001 of file class.assQuestion.php.
|
static |
Definition at line 4099 of file class.assQuestion.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilTestOutputGUI\handlePrimaryButton().
Here is the caller graph for this function:
|
abstract |
Returns the question type of the question.
Reimplemented in assClozeTest, assErrorText, assFileUpload, assFlashQuestion, assFormulaQuestion, assImagemapQuestion, assKprimChoice, assLongMenu, assMatchingQuestion, assMultipleChoice, assNumeric, assOrderingHorizontal, assOrderingQuestion, assSingleChoice, assTextQuestion, and assTextSubset.
Referenced by fromXML().
Here is the caller graph for this function:
|
static |
Definition at line 1434 of file class.assQuestion.php.
References $data, $DIC, and $ilDB.
Referenced by assQuestionGUI\_getGUIClassNameForId(), and assQuestionGUI\_getQuestionGUI().
Here is the caller graph for this function:| assQuestion::getQuestionTypeID | ( | ) |
Definition at line 3032 of file class.assQuestion.php.
| assQuestion::getReachedPoints | ( | int | $active_id, |
| int | $pass | ||
| ) |
Definition at line 807 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, assFlashQuestion, assFormulaQuestion, assImagemapQuestion, assKprimChoice, assLongMenu, assMatchingQuestion, assMultipleChoice, assNumeric, assOrderingHorizontal, assOrderingQuestion, assSingleChoice, assTextQuestion, and assTextSubset.
Definition at line 3080 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId(), and ilAssQuestionHintList\getListByQuestionId().
Here is the call graph for this function:| assQuestion::getSelfAssessmentEditingMode | ( | ) |
Definition at line 3390 of file class.assQuestion.php.
Referenced by ilAssQuestionAuthoringFormGUI\addGenericAssessmentQuestionCommandButtons().
Here is the caller graph for this function:
|
protected |
Definition at line 3349 of file class.assQuestion.php.
| assQuestion::getShuffle | ( | ) |
Definition at line 533 of file class.assQuestion.php.
Referenced by assClozeTest\toJSON(), assLongMenu\toJSON(), and assTextQuestion\toJSON().
Here is the caller graph for this function:| assQuestion::getShuffler | ( | ) |
Definition at line 380 of file class.assQuestion.php.
References $shuffler.
Referenced by assOrderingHorizontal\getRandomOrderingElements(), and assMatchingQuestion\toJSON().
Here is the caller graph for this function:| assQuestion::getSolutionMaxPass | ( | int | $active_id | ) |
Definition at line 2642 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Referenced by assClozeTest\calculateReachedPoints(), assErrorText\calculateReachedPoints(), assFileUpload\calculateReachedPoints(), assFlashQuestion\calculateReachedPoints(), assFormulaQuestion\calculateReachedPoints(), assKprimChoice\calculateReachedPoints(), assLongMenu\calculateReachedPoints(), assMatchingQuestion\calculateReachedPoints(), assOrderingHorizontal\calculateReachedPoints(), assTextQuestion\calculateReachedPoints(), assTextSubset\calculateReachedPoints(), assFileUpload\getUploadedFiles(), and assTextQuestion\setReachedPoints().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 3669 of file class.assQuestion.php.
Referenced by assFileUpload\saveWorkingData().
Here is the caller graph for this function:| assQuestion::getSolutionValues | ( | $active_id, | |
$pass = null, |
|||
| bool | $authorized = true |
||
| ) |
Loads solutions of a given user from the database an returns it.
| int | string | $active_id |
Definition at line 1327 of file class.assQuestion.php.
References $query, and ILIAS\Survey\Mode\getId().
Referenced by assFormulaQuestion\calculateReachedPoints(), ilTestCorrectionsGUI\getSolutions(), assFileUpload\getUserSolutionPreferingIntermediate(), assClozeTest\setExportDetailsXLS(), assErrorText\setExportDetailsXLS(), assFileUpload\setExportDetailsXLS(), assFormulaQuestion\setExportDetailsXLS(), assKprimChoice\setExportDetailsXLS(), assLongMenu\setExportDetailsXLS(), assMatchingQuestion\setExportDetailsXLS(), assNumeric\setExportDetailsXLS(), assOrderingHorizontal\setExportDetailsXLS(), assTextQuestion\setExportDetailsXLS(), and assTextSubset\setExportDetailsXLS().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::getStep | ( | ) |
Definition at line 3903 of file class.assQuestion.php.
Referenced by assFormulaQuestion\lookupForExistingSolutions(), assLongMenu\lookupForExistingSolutions(), assFormulaQuestion\removeExistingSolutions(), and assFormulaQuestion\saveWorkingData().
Here is the caller graph for this function:| assQuestion::getSuggestedSolution | ( | int | $subquestion_index = 0 | ) |
Returns a suggested solution for a given subquestion index.
Definition at line 2153 of file class.assQuestion.php.
| assQuestion::getSuggestedSolutionOutput | ( | ) |
| ilWACException |
Definition at line 718 of file class.assQuestion.php.
References _getInternalLinkHref(), ILIAS\Repository\lng(), ilLegacyFormElementsUtil\prepareFormOutput(), ilWACSignedPath\setTokenMaxLifetimeInSeconds(), and ilWACSignedPath\signFile().
Here is the call graph for this function:| assQuestion::getSuggestedSolutionPath | ( | ) |
Definition at line 1234 of file class.assQuestion.php.
References CLIENT_WEB_DIR.
| assQuestion::getSuggestedSolutionPathWeb | ( | ) |
Definition at line 1273 of file class.assQuestion.php.
References CLIENT_WEB_DIR, and ilFileUtils\removeTrailingPathSeparators().
Here is the call graph for this function:| assQuestion::getSuggestedSolutions | ( | ) |
| assQuestion::getSuggestedSolutionTitle | ( | int | $subquestion_index = 0 | ) |
Returns the title of a suggested solution at a given subquestion_index.
This can be usable for displaying suggested solutions
| integer | $subquestion_index | The index of a subquestion (i.e. a close test gap). Usually 0 |
Definition at line 2168 of file class.assQuestion.php.
| assQuestion::getTestId | ( | ) |
Definition at line 538 of file class.assQuestion.php.
| assQuestion::getTestOutputSolutions | ( | int | $activeId, |
| int | $pass | ||
| ) |
Definition at line 1302 of file class.assQuestion.php.
| assQuestion::getTestPresentationConfig | ( | ) |
Definition at line 4201 of file class.assQuestion.php.
Referenced by ilTestPlayerAbstractGUI\initTestQuestionConfig(), and assFileUpload\isFileReuseHandlingRequired().
Here is the caller graph for this function:| assQuestion::getThumbSize | ( | ) |
Reimplemented in assKprimChoice, and assMatchingQuestion.
Definition at line 553 of file class.assQuestion.php.
Referenced by assMultipleChoice\generateThumbForFile(), assSingleChoice\generateThumbForFile(), assMultipleChoice\rebuildThumbnails(), and assSingleChoice\rebuildThumbnails().
Here is the caller graph for this function:| assQuestion::getTitle | ( | ) |
Definition at line 513 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 523 of file class.assQuestion.php.
References ilFileUtils\getASCIIFilename().
Here is the call graph for this function:| assQuestion::getTitleForHTMLOutput | ( | ) |
Definition at line 518 of file class.assQuestion.php.
References ILIAS\Repository\refinery().
Referenced by assClozeTest\toJSON(), assKprimChoice\toJSON(), assLongMenu\toJSON(), assMatchingQuestion\toJSON(), assOrderingHorizontal\toJSON(), assTextQuestion\toJSON(), and assTextSubset\toJSON().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::getTotalAnswers | ( | ) |
Definition at line 1645 of file class.assQuestion.php.
| assQuestion::getUserSolutionPreferingIntermediate | ( | int | $active_id, |
$pass = null |
|||
| ) |
Definition at line 1311 of file class.assQuestion.php.
| assQuestion::getValidAdditionalContentEditingModes | ( | ) |
Definition at line 3574 of file class.assQuestion.php.
| assQuestion::hasSpecificFeedback | ( | ) |
Definition at line 3179 of file class.assQuestion.php.
|
static |
Definition at line 3798 of file class.assQuestion.php.
References KEY_VALUES_IMPLOSION_SEPARATOR.
Referenced by assImagemapQuestionGUI\buildSelectionParameter().
Here is the caller graph for this function:
|
static |
Definition at line 3201 of file class.assQuestion.php.
|
static |
| int | $question_id |
| InvalidArgumentException |
Definition at line 2606 of file class.assQuestion.php.
References $DIC, $ilDB, $lng, _getQuestionType(), and _includeClass().
Referenced by ilObjTest\_instanciateQuestion(), assKprimChoice\beforeSyncWithOriginal(), ilTestFixedQuestionSetConfig\cloneQuestionSetRelatedData(), ilObjTestGUI\copyAndLinkQuestionsToPoolObject(), ilObjQuestionPool\deleteQuestion(), ilTestEvaluationGUI\exportFileUploadsForAllParticipants(), ilTestExport\exportToExcel(), ilTestRandomQuestionSetStagingPoolBuilder\removeStagedQuestions(), ilSoapTestAdministration\saveQuestion(), ilSoapTestAdministration\saveQuestionSolution(), ilTestEvaluationGUI\singleResults(), and ilTestRandomQuestionSetStagingPoolBuilder\stageQuestionsFromSourcePool().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 3237 of file class.assQuestion.php.
References $DIC, $ilDB, $ilUser, $lng, ilObjAssessmentFolder\_enabledAssessmentLogging(), _getQuestionType(), and _includeClass().
Referenced by ilObjTestGUI\copyQuestionObject(), ilObjTestGUI\copyQuestionToPool(), ilObjQuestionPool\createQuestion(), ilQuestionPoolPrintViewTableGUI\fillRow(), ilTestCorrectionsGUI\getQuestion(), and ilAssQuestionPreviewGUI\initQuestion().
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 3928 of file class.assQuestion.php.
Referenced by assFileUpload\saveWorkingData().
Here is the caller graph for this function:| assQuestion::isAddableAnswerOptionValue | ( | int | $qIndex, |
| string | $answerOptionValue | ||
| ) |
Reimplemented in assClozeTest, and assTextSubset.
Definition at line 4004 of file class.assQuestion.php.
| assQuestion::isAdditionalContentEditingModePageObject | ( | ) |
Definition at line 3560 of file class.assQuestion.php.
References ADDITIONAL_CONTENT_EDITING_MODE_IPE.
Referenced by assClozeTest\getClozeTextForHTMLOutput().
Here is the caller graph for this function:
|
static |
Definition at line 276 of file class.assQuestion.php.
Referenced by ilQtiMatImageSecurity\validateLabel().
Here is the caller graph for this function:
|
static |
Definition at line 248 of file class.assQuestion.php.
Referenced by ilQtiMatImageSecurity\validateContent().
Here is the caller graph for this function:| assQuestion::isAnswered | ( | int | $active_id, |
| int | $pass | ||
| ) |
Reimplemented in assFileUpload, assKprimChoice, assMultipleChoice, assSingleChoice, and assTextQuestion.
Definition at line 3505 of file class.assQuestion.php.
| assQuestion::isAutosaveable | ( | ) |
Reimplemented in assFileUpload, assFlashQuestion, and assImagemapQuestion.
Definition at line 3515 of file class.assQuestion.php.
| assQuestion::isClone | ( | int | $question_id = 0 | ) |
Checks whether the question is a clone of another question or not.
Definition at line 1420 of file class.assQuestion.php.
References $id.
| assQuestion::isComplete | ( | ) |
Returns true, if a question is complete for use.
Reimplemented in assClozeTest, assErrorText, assFileUpload, assFlashQuestion, assFormulaQuestion, assImagemapQuestion, assKprimChoice, assLongMenu, assMatchingQuestion, assMultipleChoice, assNumeric, assOrderingHorizontal, assOrderingQuestion, assSingleChoice, assTextQuestion, and assTextSubset.
Definition at line 449 of file class.assQuestion.php.
|
static |
Definition at line 3196 of file class.assQuestion.php.
|
protected |
Definition at line 3817 of file class.assQuestion.php.
Referenced by assFileUpload\calculateReachedPoints().
Here is the caller graph for this function:
|
static |
Definition at line 1741 of file class.assQuestion.php.
Referenced by assMatchingQuestion\copyImages().
Here is the caller graph for this function:
|
static |
Definition at line 243 of file class.assQuestion.php.
References $forcePassResultsUpdateEnabled.
| assQuestion::isHTML | ( | $a_text | ) |
Checks if a given string contains HTML or not.
Definition at line 2819 of file class.assQuestion.php.
References ilUtil\isHTML().
Here is the call graph for this function:| assQuestion::isInActiveTest | ( | ) |
Definition at line 4229 of file class.assQuestion.php.
| assQuestion::isInUse | ( | int | $question_id = 0 | ) |
Checks whether the question is in use or not in pools or tests.
Definition at line 1379 of file class.assQuestion.php.
|
protected |
Definition at line 304 of file class.assQuestion.php.
Referenced by assFileUpload\isFileDeletionSubmitAvailable(), and assFileUpload\isFileReuseSubmitAvailable().
Here is the caller graph for this function:
|
static |
Reimplemented in assFileUpload, assKprimChoice, assSingleChoice, and assTextQuestion.
Definition at line 3510 of file class.assQuestion.php.
| assQuestion::isPreviewSolutionCorrect | ( | ilAssQuestionPreviewSession | $previewSession | ) |
Definition at line 2748 of file class.assQuestion.php.
| assQuestion::isValidAdditionalContentEditingMode | ( | string | $additionalContentEditingMode | ) |
Definition at line 3565 of file class.assQuestion.php.
|
protected |
Definition at line 3375 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 3380 of file class.assQuestion.php.
| assQuestion::loadFromDb | ( | int | $question_id | ) |
Definition at line 1909 of file class.assQuestion.php.
References $data, ilRTE\_replaceMediaObjectImageSrc(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::loadSuggestedSolution | ( | int | $question_id, |
| int | $subquestion_index = 0 |
||
| ) |
Returns a suggested solution for a given subquestion index.
Definition at line 763 of file class.assQuestion.php.
|
protected |
Definition at line 358 of file class.assQuestion.php.
References $message, ilObjAssessmentFolder\_enabledAssessmentLogging(), ilObjAssessmentFolder\_getLogLanguage(), getId(), ILIAS\Repository\lng(), and logAction().
Here is the call graph for this function:
|
static |
Definition at line 1199 of file class.assQuestion.php.
References $GLOBALS, ilObjAssessmentFolder\_addLog(), ilObjTest\_getObjectIDFromActiveID(), and ILIAS\Survey\Mode\getId().
Referenced by _setReachedPoints(), calculateResultsFromSolution(), log(), assErrorText\logUserAction(), assClozeTest\saveWorkingData(), assFileUpload\saveWorkingData(), assFormulaQuestion\saveWorkingData(), assImagemapQuestion\saveWorkingData(), assMatchingQuestion\saveWorkingData(), assOrderingHorizontal\saveWorkingData(), assSingleChoice\saveWorkingData(), assTextQuestion\saveWorkingData(), assTextSubset\saveWorkingData(), and assLongMenu\saveWorkingData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 334 of file class.assQuestion.php.
Referenced by ensureCurrentTestPass().
Here is the caller 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 3968 of file class.assQuestion.php.
References $query, and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
protected |
Definition at line 3950 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
static |
returns the parent object id for given original question id (should be a qpl id, but theoretically it can be a tst id, too)
Definition at line 3426 of file class.assQuestion.php.
|
static |
Definition at line 3407 of file class.assQuestion.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilObjTestGUI\copyAndLinkToQuestionpoolObject(), and ilAssQuestionSkillAssignmentsGUI\isSyncOriginalPossibleAndAllowed().
Here is the caller graph for this function:
|
static |
Definition at line 4134 of file class.assQuestion.php.
|
protected |
@refactor Move to ilObjTest or similar
Definition at line 342 of file class.assQuestion.php.
References $test_id, and ILIAS\Repository\int().
Referenced by assFileUpload\removeIntermediateSolution(), and assFileUpload\saveWorkingData().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::migrateContentForLearningModule | ( | ilAssSelfAssessmentMigrator | $migrator | ) |
Definition at line 3366 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:
|
static |
Definition at line 4075 of file class.assQuestion.php.
| assQuestion::moveUploadedMediaFile | ( | string | $file, |
| string | $name | ||
| ) |
Move an uploaded media file to an public accessible temp dir to present it.
| string | $file | File path |
| string | $name | Name of the file |
Definition at line 1219 of file class.assQuestion.php.
References $name, CLIENT_WEB_DIR, ilFileUtils\createDirectory(), and ilFileUtils\moveUploadedFile().
Here is the call graph for this function:
|
protected |
Definition at line 2123 of file class.assQuestion.php.
|
protected |
Definition at line 2106 of file class.assQuestion.php.
|
static |
Definition at line 2491 of file class.assQuestion.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilObjTestGUI\copyAndLinkQuestionsToPoolObject(), and ilObjTestGUI\copyAndLinkToQuestionpoolObject().
Here is the caller graph for this function:
|
final |
persists the preview state for current user and question
Definition at line 967 of file class.assQuestion.php.
|
final |
persists the working state for current testactive and testpass
Definition at line 937 of file class.assQuestion.php.
References ilObjTest\_getPass().
Here is the call graph for this function:| assQuestion::prepareTextareaOutput | ( | string | $txt_output, |
| bool | $prepare_for_latex_output = false, |
||
| bool | $omitNl2BrWhenTextArea = false |
||
| ) |
Definition at line 2827 of file class.assQuestion.php.
References ilLegacyFormElementsUtil\prepareTextareaOutput().
Referenced by assClozeTest\getClozeTextForHTMLOutput(), and assClozeTest\updateClozeTextFromGaps().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 3006 of file class.assQuestion.php.
Referenced by assFormulaQuestion\substituteVariables().
Here is the caller graph for this function:| assQuestion::QTIMaterialToString | ( | ilQTIMaterial | $a_material | ) |
Reads an QTI material tag and creates a text or XHTML string.
Definition at line 2840 of file class.assQuestion.php.
References $i, $mobs, ilSession\get(), ilQTIMaterial\getMaterial(), ilQTIMaterial\getMaterialCount(), and ilSession\set().
Here is the call graph for this function:| assQuestion::questionTitleExists | ( | int | $questionpool_id, |
| string | $title | ||
| ) |
Returns TRUE if the question title exists in a question pool in the database.
Definition at line 457 of file class.assQuestion.php.
| assQuestion::removeAllExistingSolutions | ( | ) |
Definition at line 4013 of file class.assQuestion.php.
References $query, and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::removeCurrentSolution | ( | int | $active_id, |
| int | $pass, | ||
| bool | $authorized = true |
||
| ) |
Definition at line 3694 of file class.assQuestion.php.
References $query, and ILIAS\Survey\Mode\getId().
Referenced by assClozeTest\saveWorkingData(), assErrorText\saveWorkingData(), assFileUpload\saveWorkingData(), assMatchingQuestion\saveWorkingData(), assOrderingHorizontal\saveWorkingData(), assTextQuestion\saveWorkingData(), assTextSubset\saveWorkingData(), and assLongMenu\saveWorkingData().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::removeExistingSolutions | ( | int | $activeId, |
| int | $pass | ||
| ) |
Reimplemented in assFormulaQuestion.
Definition at line 4019 of file class.assQuestion.php.
References $query, and 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 3684 of file class.assQuestion.php.
| assQuestion::removeResultRecord | ( | int | $activeId, |
| int | $pass | ||
| ) |
Definition at line 4055 of file class.assQuestion.php.
References $query, and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
protected |
Definition at line 3656 of file class.assQuestion.php.
Referenced by assFileUpload\saveWorkingData().
Here is the caller graph for this function:| assQuestion::requiresJsSwitch | ( | ) |
Definition at line 593 of file class.assQuestion.php.
|
static |
Definition at line 2092 of file class.assQuestion.php.
References $DIC, $ilDB, and $query.
Referenced by ilTestRandomQuestionSetPoolDeriver\updateTestQuestionStage().
Here is the caller graph for this function:| assQuestion::resetUsersAnswer | ( | int | $activeId, |
| int | $pass | ||
| ) |
Definition at line 4039 of file class.assQuestion.php.
| assQuestion::saveCurrentSolution | ( | int | $active_id, |
| int | $pass, | ||
| $value1, | |||
| $value2, | |||
| bool | $authorized = true, |
||
$tstamp = 0 |
|||
| ) |
Definition at line 3729 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Referenced by assClozeTest\saveWorkingData(), assErrorText\saveWorkingData(), assFileUpload\saveWorkingData(), assFormulaQuestion\saveWorkingData(), assMatchingQuestion\saveWorkingData(), assOrderingHorizontal\saveWorkingData(), assTextQuestion\saveWorkingData(), assTextSubset\saveWorkingData(), and assLongMenu\saveWorkingData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2079 of file class.assQuestion.php.
References $DIC, $ilDB, and $query.
Referenced by ilTestRandomQuestionSetPoolDeriver\updateTestQuestionStage().
Here is the caller graph for this function:| assQuestion::savePartial | ( | ) |
Reimplemented in assClozeTest.
Definition at line 4223 of file class.assQuestion.php.
|
protected |
Reimplemented in assErrorText, assFileUpload, assFlashQuestion, assFormulaQuestion, assImagemapQuestion, assLongMenu, assMatchingQuestion, assNumeric, assOrderingQuestion, and assSingleChoice.
Definition at line 988 of file class.assQuestion.php.
References ilAssQuestionPreviewSession\setParticipantsSolution().
Here is the call graph for this function:| assQuestion::saveQuestionDataToDb | ( | int | $original_id = -1 | ) |
Definition at line 2005 of file class.assQuestion.php.
References ilRTE\_replaceMediaObjectImageSrc(), and ILIAS\Survey\Mode\getId().
Referenced by assClozeTest\saveToDb(), assErrorText\saveToDb(), assFileUpload\saveToDb(), assFlashQuestion\saveToDb(), assFormulaQuestion\saveToDb(), assImagemapQuestion\saveToDb(), assMatchingQuestion\saveToDb(), assMultipleChoice\saveToDb(), assNumeric\saveToDb(), assOrderingHorizontal\saveToDb(), assOrderingQuestion\saveToDb(), assTextQuestion\saveToDb(), assTextSubset\saveToDb(), assKprimChoice\saveToDb(), and assLongMenu\saveToDb().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::saveToDb | ( | ) |
Definition at line 2048 of file class.assQuestion.php.
References ilObjQuestionPool\_updateQuestionCount(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:
|
abstract |
Saves the learners input of the question to the database.
| int | $active_id | Active id of the user |
| int | $pass | Test pass |
| bool | $authorized |
Reimplemented in assLongMenu.
| assQuestion::setAdditionalContentEditingMode | ( | ?string | $additionalContentEditingMode | ) |
Definition at line 3551 of file class.assQuestion.php.
Referenced by assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assFileUpload\loadFromDb(), assFlashQuestion\loadFromDb(), assFormulaQuestion\loadFromDb(), assImagemapQuestion\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assMultipleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assTextSubset\loadFromDb(), and assKprimChoice\loadFromDb().
Here is the caller graph for this function:| assQuestion::setAuthor | ( | string | $author = "" | ) |
Definition at line 500 of file class.assQuestion.php.
Referenced by __construct(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assFileUpload\loadFromDb(), assFlashQuestion\loadFromDb(), assFormulaQuestion\loadFromDb(), assImagemapQuestion\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assMultipleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assTextSubset\loadFromDb(), and assKprimChoice\loadFromDb().
Here is the caller graph for this function:| assQuestion::setComment | ( | string | $comment = "" | ) |
Definition at line 485 of file class.assQuestion.php.
References $comment, and ILIAS\UI\examples\Symbol\Glyph\Comment\comment().
Referenced by assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assFileUpload\loadFromDb(), assFlashQuestion\loadFromDb(), assFormulaQuestion\loadFromDb(), assImagemapQuestion\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assMultipleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assTextSubset\loadFromDb(), and assKprimChoice\loadFromDb().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::setDefaultNrOfTries | ( | int | $defaultnroftries | ) |
Definition at line 3395 of file class.assQuestion.php.
| assQuestion::setExportDetailsXLS | ( | ilAssExcelFormatHelper | $worksheet, |
| int | $startrow, | ||
| int | $active_id, | ||
| int | $pass | ||
| ) |
Reimplemented in assClozeTest, assErrorText, assFileUpload, assFlashQuestion, assFormulaQuestion, assImagemapQuestion, assKprimChoice, assLongMenu, assMatchingQuestion, assMultipleChoice, assNumeric, assOrderingHorizontal, assOrderingQuestion, assSingleChoice, assTextQuestion, and assTextSubset.
Definition at line 3274 of file class.assQuestion.php.
References ilExcel\getColumnCoord(), and ilAssExcelFormatHelper\setFormattedExcelTitle().
Here is the call graph for this function:| assQuestion::setExportImagePath | ( | string | $path | ) |
Definition at line 3322 of file class.assQuestion.php.
References $path.
| assQuestion::setExternalId | ( | ?string | $external_id | ) |
Definition at line 633 of file class.assQuestion.php.
Referenced by __construct().
Here is the caller graph for this function:
|
static |
Definition at line 238 of file class.assQuestion.php.
References $forcePassResultsUpdateEnabled.
| assQuestion::setId | ( | int | $id = -1 | ) |
Definition at line 475 of file class.assQuestion.php.
References $id.
Referenced by assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assFileUpload\loadFromDb(), assFlashQuestion\loadFromDb(), assImagemapQuestion\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assMultipleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assTextSubset\loadFromDb(), and assKprimChoice\loadFromDb().
Here is the caller graph for this function:| assQuestion::setLastChange | ( | $lastChange | ) |
Definition at line 3610 of file class.assQuestion.php.
Referenced by assKprimChoice\loadFromDb().
Here is the caller graph for this function:| assQuestion::setLifecycle | ( | ilAssQuestionLifecycle | $lifecycle | ) |
Definition at line 628 of file class.assQuestion.php.
Referenced by assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assFileUpload\loadFromDb(), assFlashQuestion\loadFromDb(), assFormulaQuestion\loadFromDb(), assImagemapQuestion\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assMultipleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assTextSubset\loadFromDb(), and assKprimChoice\loadFromDb().
Here is the caller graph for this function:| assQuestion::setNewOriginalId | ( | int | $newId | ) |
Definition at line 2074 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::setNrOfTries | ( | int | $a_nr_of_tries | ) |
Definition at line 3317 of file class.assQuestion.php.
Referenced by assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assFileUpload\loadFromDb(), assFlashQuestion\loadFromDb(), assImagemapQuestion\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assMultipleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assTextSubset\loadFromDb(), and assKprimChoice\loadFromDb().
Here is the caller graph for this function:| assQuestion::setObjId | ( | int | $obj_id = 0 | ) |
Definition at line 618 of file class.assQuestion.php.
Referenced by assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assFileUpload\loadFromDb(), assFlashQuestion\loadFromDb(), assFormulaQuestion\loadFromDb(), assImagemapQuestion\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assMultipleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assTextSubset\loadFromDb(), and assKprimChoice\loadFromDb().
Here is the caller graph for this function:| assQuestion::setObligationsToBeConsidered | ( | bool | $obligationsToBeConsidered | ) |
Definition at line 4179 of file class.assQuestion.php.
| assQuestion::setOriginalId | ( | ?int | $original_id | ) |
Definition at line 1846 of file class.assQuestion.php.
Referenced by assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assFileUpload\loadFromDb(), assFlashQuestion\loadFromDb(), assFormulaQuestion\loadFromDb(), assImagemapQuestion\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assMultipleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assTextSubset\loadFromDb(), and assKprimChoice\loadFromDb().
Here is the caller graph for this function:| assQuestion::setOutputType | ( | int | $outputType = OUTPUT_HTML | ) |
Definition at line 490 of file class.assQuestion.php.
| assQuestion::setOwner | ( | int | $owner = -1 | ) |
Definition at line 508 of file class.assQuestion.php.
Referenced by __construct(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assFileUpload\loadFromDb(), assFlashQuestion\loadFromDb(), assFormulaQuestion\loadFromDb(), assImagemapQuestion\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assMultipleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assTextSubset\loadFromDb(), and assKprimChoice\loadFromDb().
Here is the caller graph for this function:| assQuestion::setPoints | ( | float | $points | ) |
Definition at line 2637 of file class.assQuestion.php.
Referenced by assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assFileUpload\loadFromDb(), assFlashQuestion\loadFromDb(), assFormulaQuestion\loadFromDb(), assImagemapQuestion\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assMultipleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assTextSubset\loadFromDb(), assKprimChoice\loadFromDb(), and assLongMenu\saveAnswerSpecificDataToDb().
Here is the caller graph for this function:| assQuestion::setPreventRteUsage | ( | bool | $prevent_rte_usage | ) |
Definition at line 3356 of file class.assQuestion.php.
| assQuestion::setProcessLocker | ( | ilAssQuestionProcessLocker | $processLocker | ) |
Definition at line 390 of file class.assQuestion.php.
References $processLocker.
| assQuestion::setQuestion | ( | string | $question = "" | ) |
Definition at line 3020 of file class.assQuestion.php.
Referenced by assClozeTest\__construct(), __construct(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assFileUpload\loadFromDb(), assFlashQuestion\loadFromDb(), assFormulaQuestion\loadFromDb(), assImagemapQuestion\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assMultipleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assTextSubset\loadFromDb(), and assKprimChoice\loadFromDb().
Here is the caller graph for this function:| assQuestion::setSelfAssessmentEditingMode | ( | bool | $selfassessmenteditingmode | ) |
Definition at line 3385 of file class.assQuestion.php.
| assQuestion::setShuffle | ( | ?bool | $shuffle = true | ) |
Definition at line 495 of file class.assQuestion.php.
Referenced by assMultipleChoice\loadFromDb(), assSingleChoice\loadFromDb(), and assTextQuestion\loadFromDb().
Here is the caller graph for this function:| assQuestion::setShuffler | ( | Transformation | $shuffler | ) |
Definition at line 385 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 3895 of file class.assQuestion.php.
| assQuestion::setSuggestedSolution | ( | string | $solution_id = "", |
| int | $subquestion_index = 0, |
||
| bool | $is_import = false |
||
| ) |
Sets a suggested solution for the question.
If there is more than one subquestion (i.e. close questions) may enter a subquestion index.
| string | $solution_id | An internal link pointing to the suggested solution |
| int | $subquestion_index | The index of a subquestion (i.e. a close test gap). Usually 0 |
| bool | $is_import | A boolean indication that the internal link was imported from another ILIAS installation @access public |
Definition at line 2188 of file class.assQuestion.php.
Referenced by assFlashQuestion\loadFromDb().
Here is the caller graph for this function:| assQuestion::setTestId | ( | int | $id = -1 | ) |
Definition at line 480 of file class.assQuestion.php.
References $id.
| assQuestion::setThumbSize | ( | int | $a_size | ) |
Reimplemented in assKprimChoice.
Definition at line 558 of file class.assQuestion.php.
Referenced by assMultipleChoice\loadFromDb(), assOrderingQuestion\loadFromDb(), and assSingleChoice\loadFromDb().
Here is the caller graph for this function:| assQuestion::setTitle | ( | string | $title = "" | ) |
Definition at line 470 of file class.assQuestion.php.
Referenced by assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assFileUpload\loadFromDb(), assFlashQuestion\loadFromDb(), assFormulaQuestion\loadFromDb(), assImagemapQuestion\loadFromDb(), assLongMenu\loadFromDb(), assMatchingQuestion\loadFromDb(), assMultipleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assOrderingQuestion\loadFromDb(), assSingleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assTextSubset\loadFromDb(), and assKprimChoice\loadFromDb().
Here is the caller graph for this function:| assQuestion::supportsJavascriptOutput | ( | ) |
Reimplemented in assMatchingQuestion, assOrderingHorizontal, and assOrderingQuestion.
Definition at line 583 of file class.assQuestion.php.
| assQuestion::supportsNonJsOutput | ( | ) |
Reimplemented in assMatchingQuestion, assOrderingHorizontal, and assOrderingQuestion.
Definition at line 588 of file class.assQuestion.php.
| assQuestion::syncHints | ( | ) |
Definition at line 3046 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::syncSkillAssignments | ( | int | $srcParentId, |
| int | $srcQuestionId, | ||
| int | $trgParentId, | ||
| int | $trgQuestionId | ||
| ) |
Definition at line 3471 of file class.assQuestion.php.
References ilSkillUsage\setUsage().
Here is the call graph for this function:
|
protected |
Definition at line 2234 of file class.assQuestion.php.
| assQuestion::syncWithOriginal | ( | ) |
Reimplemented in assImagemapQuestion, and assMultipleChoice.
Definition at line 2510 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::syncXHTMLMediaObjectsOfQuestion | ( | ) |
Definition at line 1766 of file class.assQuestion.php.
References $mobs, ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_saveUsage(), and 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 3920 of file class.assQuestion.php.
| assQuestion::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.
Definition at line 432 of file class.assQuestion.php.
| assQuestion::updateCurrentSolution | ( | int | $solutionId, |
| $value1, | |||
| $value2, | |||
| bool | $authorized = true |
||
| ) |
Definition at line 3752 of file class.assQuestion.php.
| assQuestion::updateCurrentSolutionsAuthorization | ( | int | $activeId, |
| int | $pass, | ||
| bool | $authorized, | ||
| bool | $keepTime = false |
||
| ) |
Definition at line 3771 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Referenced by assFileUpload\saveWorkingData().
Here is the call graph for this function:
Here is the caller graph for this function:| assQuestion::updateSuggestedSolutions | ( | int | $original_id = -1, |
| int | $original_obj_id = -1 |
||
| ) |
Definition at line 2281 of file class.assQuestion.php.
References $id, $index, ilInternalLink\_deleteAllLinksOfSource(), ilRTE\_replaceMediaObjectImageSrc(), ilInternalLink\_saveLink(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::updateTimestamp | ( | ) |
Definition at line 4184 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| assQuestion::usageNumber | ( | int | $question_id = 0 | ) |
Returns the number of place the question is in use in pools or tests.
Definition at line 1387 of file class.assQuestion.php.
References ILIAS\Survey\Mode\getId(), and ILIAS\Repository\int().
Here is the call graph for this function:| assQuestion::validateSolutionSubmit | ( | ) |
Reimplemented in assClozeTest, assFormulaQuestion, assMultipleChoice, assNumeric, and assOrderingQuestion.
Definition at line 973 of file class.assQuestion.php.
|
private |
Definition at line 152 of file class.assQuestion.php.
|
staticprotected |
Definition at line 55 of file class.assQuestion.php.
|
staticprotected |
Definition at line 49 of file class.assQuestion.php.
|
staticprotected |
Definition at line 181 of file class.assQuestion.php.
|
protected |
Definition at line 76 of file class.assQuestion.php.
Referenced by assClozeTest\__construct(), assFlashQuestion\__construct(), assLongMenu\__construct(), assNumeric\__construct(), assOrderingHorizontal\__construct(), assTextQuestion\__construct(), assTextSubset\__construct(), assImagemapQuestion\__construct(), assMatchingQuestion\__construct(), assOrderingQuestion\__construct(), assMultipleChoice\__construct(), assSingleChoice\__construct(), assErrorText\__construct(), assKprimChoice\__construct(), assFormulaQuestion\__construct(), assClozeTest\duplicate(), assErrorText\duplicate(), assFileUpload\duplicate(), assFlashQuestion\duplicate(), assFormulaQuestion\duplicate(), assImagemapQuestion\duplicate(), assKprimChoice\duplicate(), assLongMenu\duplicate(), assMatchingQuestion\duplicate(), assMultipleChoice\duplicate(), assNumeric\duplicate(), assOrderingHorizontal\duplicate(), assSingleChoice\duplicate(), assTextQuestion\duplicate(), and assTextSubset\duplicate().
|
protected |
Definition at line 74 of file class.assQuestion.php.
Referenced by assClozeTest\__construct(), assFlashQuestion\__construct(), assLongMenu\__construct(), assNumeric\__construct(), assOrderingHorizontal\__construct(), assTextQuestion\__construct(), assTextSubset\__construct(), assImagemapQuestion\__construct(), assMatchingQuestion\__construct(), assOrderingQuestion\__construct(), assMultipleChoice\__construct(), assSingleChoice\__construct(), assErrorText\__construct(), assKprimChoice\__construct(), assFormulaQuestion\__construct(), and __construct().
|
protected |
Definition at line 187 of file class.assQuestion.php.
|
protected |
Definition at line 115 of file class.assQuestion.php.
Referenced by assClozeTest\calculateReachedPoints().
| int assQuestion::$defaultnroftries = 0 |
Definition at line 160 of file class.assQuestion.php.
|
protected |
Definition at line 117 of file class.assQuestion.php.
|
private |
(Web) Path to images
Definition at line 145 of file class.assQuestion.php.
|
protected |
Definition at line 147 of file class.assQuestion.php.
| ilAssQuestionFeedback assQuestion::$feedbackOBJ |
Definition at line 154 of file class.assQuestion.php.
|
staticprotected |
Definition at line 236 of file class.assQuestion.php.
Referenced by isForcePassResultUpdateEnabled(), and setForcePassResultUpdateEnabled().
|
protected |
Definition at line 67 of file class.assQuestion.php.
|
protected |
Definition at line 72 of file class.assQuestion.php.
Referenced by assFormulaQuestion\addResultUnits(), assClozeTest\createNewOriginalFromThisDuplicate(), assErrorText\createNewOriginalFromThisDuplicate(), assFileUpload\createNewOriginalFromThisDuplicate(), assFlashQuestion\createNewOriginalFromThisDuplicate(), assFormulaQuestion\createNewOriginalFromThisDuplicate(), assImagemapQuestion\createNewOriginalFromThisDuplicate(), assKprimChoice\createNewOriginalFromThisDuplicate(), assLongMenu\createNewOriginalFromThisDuplicate(), assMatchingQuestion\createNewOriginalFromThisDuplicate(), assMultipleChoice\createNewOriginalFromThisDuplicate(), assNumeric\createNewOriginalFromThisDuplicate(), assOrderingHorizontal\createNewOriginalFromThisDuplicate(), assSingleChoice\createNewOriginalFromThisDuplicate(), assTextQuestion\createNewOriginalFromThisDuplicate(), assTextSubset\createNewOriginalFromThisDuplicate(), assKprimChoice\setExportDetailsXLS(), and assFormulaQuestion\setId().
|
protected |
Definition at line 109 of file class.assQuestion.php.
|
protected |
Definition at line 70 of file class.assQuestion.php.
Referenced by __construct(), assMatchingQuestion\copyImages(), assImagemapQuestion\duplicateImage(), assMatchingQuestion\duplicateImages(), and assImagemapQuestion\setImageFilename().
|
staticprotected |
Definition at line 1856 of file class.assQuestion.php.
|
protected |
Definition at line 171 of file class.assQuestion.php.
|
protected |
Definition at line 179 of file class.assQuestion.php.
|
protected |
Definition at line 113 of file class.assQuestion.php.
Referenced by __construct(), assFileUpload\deliverFileUploadZIPFile(), assKprimChoice\getAnswerTypeSelectOptions(), assKprimChoice\getFalseOptionLabelTranslation(), assKprimChoice\getInstructionTextTranslation(), assKprimChoice\getTrueOptionLabelTranslation(), and assKprimChoice\getValidOptionLabelsTranslated().
|
private |
Definition at line 140 of file class.assQuestion.php.
|
protected |
Object id of the container object.
Definition at line 102 of file class.assQuestion.php.
|
private |
Definition at line 175 of file class.assQuestion.php.
|
protected |
Definition at line 131 of file class.assQuestion.php.
Referenced by assClozeTest\copyObject(), assErrorText\copyObject(), assFileUpload\copyObject(), assFlashQuestion\copyObject(), assFormulaQuestion\copyObject(), assImagemapQuestion\copyObject(), assKprimChoice\copyObject(), assLongMenu\copyObject(), assMatchingQuestion\copyObject(), assMultipleChoice\copyObject(), assNumeric\copyObject(), assOrderingHorizontal\copyObject(), assSingleChoice\copyObject(), assTextQuestion\copyObject(), assTextSubset\copyObject(), assClozeTest\duplicate(), assErrorText\duplicate(), assFileUpload\duplicate(), assFlashQuestion\duplicate(), assFormulaQuestion\duplicate(), assImagemapQuestion\duplicate(), assKprimChoice\duplicate(), assLongMenu\duplicate(), assMatchingQuestion\duplicate(), assMultipleChoice\duplicate(), assNumeric\duplicate(), assOrderingHorizontal\duplicate(), assSingleChoice\duplicate(), assTextQuestion\duplicate(), assTextSubset\duplicate(), assClozeTest\saveToDb(), assErrorText\saveToDb(), assFileUpload\saveToDb(), assFlashQuestion\saveToDb(), assFormulaQuestion\saveToDb(), assImagemapQuestion\saveToDb(), assMatchingQuestion\saveToDb(), assMultipleChoice\saveToDb(), assNumeric\saveToDb(), assOrderingHorizontal\saveToDb(), assOrderingQuestion\saveToDb(), assTextQuestion\saveToDb(), assTextSubset\saveToDb(), and assLongMenu\saveToDb().
|
protected |
Contains the output type of a question.
Definition at line 122 of file class.assQuestion.php.
|
protected |
Definition at line 75 of file class.assQuestion.php.
Referenced by assClozeTest\__construct(), assFlashQuestion\__construct(), assLongMenu\__construct(), assNumeric\__construct(), assOrderingHorizontal\__construct(), assTextQuestion\__construct(), assTextSubset\__construct(), assImagemapQuestion\__construct(), assMatchingQuestion\__construct(), assOrderingQuestion\__construct(), assMultipleChoice\__construct(), assSingleChoice\__construct(), assErrorText\__construct(), assKprimChoice\__construct(), assFormulaQuestion\__construct(), assClozeTest\duplicate(), assErrorText\duplicate(), assFileUpload\duplicate(), assFlashQuestion\duplicate(), assFormulaQuestion\duplicate(), assImagemapQuestion\duplicate(), assKprimChoice\duplicate(), assLongMenu\duplicate(), assMatchingQuestion\duplicate(), assMultipleChoice\duplicate(), assNumeric\duplicate(), assOrderingHorizontal\duplicate(), assSingleChoice\duplicate(), assTextQuestion\duplicate(), and assTextSubset\duplicate().
|
protected |
Definition at line 138 of file class.assQuestion.php.
|
protected |
The maximum available points for the question.
Definition at line 87 of file class.assQuestion.php.
Referenced by assSingleChoice\addAnswer(), assImagemapQuestion\addAnswer(), assMultipleChoice\addAnswer(), assTextSubset\addAnswer(), assClozeTest\addAnswerOptionValue(), assTextSubset\addAnswerOptionValue(), assMatchingQuestion\addMatchingPair(), assClozeTest\calculateCombinationResult(), assErrorText\calculateReachedPoints(), assFlashQuestion\calculateReachedPoints(), assFormulaQuestion\calculateReachedPoints(), assKprimChoice\calculateReachedPoints(), assMatchingQuestion\calculateReachedPoints(), assOrderingHorizontal\calculateReachedPoints(), assTextSubset\calculateReachedPointsForSolution(), assMatchingQuestion\calculateReachedPointsForSolution(), assKprimChoice\calculateReachedPointsForSolution(), assLongMenu\calculateReachedPointsForSolution(), assTextQuestion\calculateReachedPointsForSolution(), assClozeTest\calculateReachedPointsForSolution(), assOrderingHorizontal\calculateReachedPointsForSolution(), assFlashQuestion\calculateReachedPointsFromPreviewSession(), assFormulaQuestion\calculateReachedPointsFromPreviewSession(), assNumeric\calculateReachedPointsFromPreviewSession(), assLongMenu\checkQuestionCustomPart(), assClozeTest\getMaximumGapPoints(), assClozeTest\getMaximumPoints(), assFlashQuestion\getMaximumPoints(), assFormulaQuestion\getMaximumPoints(), assLongMenu\getMaximumPoints(), assMatchingQuestion\getMaximumPoints(), assTextQuestion\getMaximumPoints(), assTextSubset\getMaximumPoints(), assTextQuestion\getMinimumPoints(), assLongMenu\getPointsForGap(), assLongMenu\getUserQuestionResult(), assFileUpload\handleSubmission(), assMatchingQuestion\insertMatchingPair(), assLongMenu\saveAnswerSpecificDataToDb(), assErrorText\setErrorsFromParsedErrorText(), assClozeTest\setGapAnswerPoints(), and assTextQuestion\setReachedPoints().
| bool assQuestion::$prevent_rte_usage = false |
Definition at line 156 of file class.assQuestion.php.
|
protected |
Definition at line 162 of file class.assQuestion.php.
Referenced by getProcessLocker(), and setProcessLocker().
|
protected |
The question text.
Definition at line 82 of file class.assQuestion.php.
Referenced by assClozeTest\__construct(), assFlashQuestion\__construct(), assLongMenu\__construct(), assNumeric\__construct(), assOrderingHorizontal\__construct(), assTextQuestion\__construct(), assTextSubset\__construct(), assImagemapQuestion\__construct(), assMatchingQuestion\__construct(), assOrderingQuestion\__construct(), assMultipleChoice\__construct(), assSingleChoice\__construct(), assErrorText\__construct(), assKprimChoice\__construct(), assFormulaQuestion\__construct(), and assKprimChoice\beforeSyncWithOriginal().
| string assQuestion::$questionActionCmd = 'handleQuestionAction' |
Definition at line 164 of file class.assQuestion.php.
|
protected |
Definition at line 68 of file class.assQuestion.php.
Referenced by assClozeTest\getTextgapPoints(), assTextSubset\isAnswerCorrect(), and assTextQuestion\isKeywordMatching().
| bool assQuestion::$selfassessmenteditingmode = false |
Definition at line 158 of file class.assQuestion.php.
|
protected |
Indicates whether the answers will be shuffled or not.
Definition at line 92 of file class.assQuestion.php.
Referenced by assMultipleChoice\loadFromDb(), assSingleChoice\loadFromDb(), assClozeTest\setGapShuffle(), assMatchingQuestion\setShuffle(), and assMatchingQuestion\setShuffleMode().
|
protected |
Definition at line 173 of file class.assQuestion.php.
Referenced by getShuffler(), and setShuffler().
|
protected |
Definition at line 169 of file class.assQuestion.php.
|
protected |
Definition at line 129 of file class.assQuestion.php.
|
protected |
The database id of a test in which the question is contained.
Definition at line 97 of file class.assQuestion.php.
Referenced by assFileUpload\deleteUploadedFiles(), assFileUpload\deliverFileUploadZIPFile(), assFileUpload\getUploadedFilesForWeb(), assFileUpload\hasFileUploads(), lookupTestId(), assFileUpload\removeIntermediateSolution(), and assFileUpload\saveWorkingData().
|
protected |
Definition at line 177 of file class.assQuestion.php.
|
private |
Definition at line 4199 of file class.assQuestion.php.
|
protected |
Definition at line 77 of file class.assQuestion.php.
|
protected |
Definition at line 73 of file class.assQuestion.php.
Referenced by assClozeTest\__construct(), assFlashQuestion\__construct(), assLongMenu\__construct(), assNumeric\__construct(), assOrderingHorizontal\__construct(), assTextQuestion\__construct(), assTextSubset\__construct(), assImagemapQuestion\__construct(), assMatchingQuestion\__construct(), assOrderingQuestion\__construct(), assMultipleChoice\__construct(), assSingleChoice\__construct(), assErrorText\__construct(), assKprimChoice\__construct(), assFormulaQuestion\__construct(), __construct(), assClozeTest\copyObject(), assErrorText\copyObject(), assFileUpload\copyObject(), assFlashQuestion\copyObject(), assFormulaQuestion\copyObject(), assImagemapQuestion\copyObject(), assKprimChoice\copyObject(), assLongMenu\copyObject(), assMatchingQuestion\copyObject(), assMultipleChoice\copyObject(), assNumeric\copyObject(), assOrderingHorizontal\copyObject(), assSingleChoice\copyObject(), assTextQuestion\copyObject(), assTextSubset\copyObject(), assClozeTest\duplicate(), assErrorText\duplicate(), assFileUpload\duplicate(), assFlashQuestion\duplicate(), assFormulaQuestion\duplicate(), assImagemapQuestion\duplicate(), assKprimChoice\duplicate(), assLongMenu\duplicate(), assMatchingQuestion\duplicate(), assMultipleChoice\duplicate(), assNumeric\duplicate(), assOrderingHorizontal\duplicate(), assSingleChoice\duplicate(), assTextQuestion\duplicate(), and assTextSubset\duplicate().
|
protected |
Definition at line 111 of file class.assQuestion.php.
Referenced by __construct().
| const assQuestion::ADDITIONAL_CONTENT_EDITING_MODE_IPE = 'pageobject' |
Definition at line 150 of file class.assQuestion.php.
Referenced by assQuestionGUI\addBasicQuestionFormProperties(), ilTestExpressPageObjectGUI\addQuestion(), ilObjTestGUI\addQuestionObject(), ilObjQuestionPoolGUI\buildCreateQuestionForm(), ilObjTestGUI\createQuestionObject(), ilPCQuestionGUI\insert(), and isAdditionalContentEditingModePageObject().
| const assQuestion::ADDITIONAL_CONTENT_EDITING_MODE_RTE = 'default' |
Definition at line 149 of file class.assQuestion.php.
Referenced by assClozeTestGUI\addBasicQuestionFormProperties(), ilTestExpressPageObjectGUI\addQuestion(), ilObjTestGUI\addQuestionObject(), ilObjQuestionPoolGUI\buildCreateQuestionForm(), ilObjQuestionPoolGUI\createQuestionForTestObject(), ilObjTestGUI\createQuestionObject(), ilObjQuestionPoolGUI\createQuestionObject(), ilPCQuestionGUI\edit(), assQuestionImport\fetchAdditionalContentEditingModeInformation(), ilTestExpressPageObjectGUI\handleToolbarCommand(), ilPCQuestionGUI\insert(), assClozeTestGUI\populateQuestionSpecificFormPart(), and assLongMenuGUI\populateQuestionSpecificFormPart().
|
private |
Definition at line 61 of file class.assQuestion.php.
Referenced by __construct().
|
protected |
Definition at line 47 of file class.assQuestion.php.
| const assQuestion::IMG_MIME_TYPE_GIF = 'image/gif' |
Definition at line 45 of file class.assQuestion.php.
| const assQuestion::IMG_MIME_TYPE_JPG = 'image/jpeg' |
Definition at line 43 of file class.assQuestion.php.
| const assQuestion::IMG_MIME_TYPE_PNG = 'image/png' |
Definition at line 44 of file class.assQuestion.php.
| const assQuestion::KEY_VALUES_IMPLOSION_SEPARATOR = ':' |
Definition at line 3796 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 65 of file class.assQuestion.php.