ILIAS
trunk Revision v11.0_alpha-1861-g09f3d197f78
|
Public Member Functions | |
getQuestionType () | |
isComplete () | |
saveWorkingData (int $active_id, ?int $pass=null, bool $authorized=true) | |
calculateReachedPoints (int $active_id, ?int $pass=null, bool $authorized_solution=true) | |
getAdditionalTableName () | |
getAnswerTableName () | |
toLog (AdditionalInformationGenerator $additional_info) | |
MUST return an array of the question settings that can be stored in the log. More... | |
getCurrentUser () | |
getShuffler () | |
setShuffler (Transformation $shuffler) | |
setProcessLocker (ilAssQuestionProcessLocker $processLocker) | |
getProcessLocker () | |
fromXML (string $importdirectory, int $user_id, ilQTIItem $item, int $questionpool_id, ?int $tst_id, ?ilObject &$tst_object, int &$question_counter, array $import_mapping, array $solutionhints=[]) | |
toXML (bool $a_include_header=true, bool $a_include_binary=true, bool $a_shuffle=false, bool $test_output=false, bool $force_image_references=false) | |
Returns a QTI xml representation of the question. More... | |
setTitle (string $title="") | |
setId (int $id=-1) | |
setTestId (int $id=-1) | |
setComment (string $comment="") | |
setShuffle (?bool $shuffle=true) | |
setAuthor (string $author="") | |
setOwner (int $owner=-1) | |
getTitle () | |
getTitleForHTMLOutput () | |
getTitleFilenameCompliant () | |
getId () | |
getShuffle () | |
getTestId () | |
getComment () | |
getDescriptionForHTMLOutput () | |
getThumbSize () | |
setThumbSize (int $a_size) | |
getMinimumThumbSize () | |
getMaximumThumbSize () | |
getAuthor () | |
getAuthorForHTMLOutput () | |
getOwner () | |
getObjId () | |
setObjId (int $obj_id=0) | |
getLifecycle () | |
setLifecycle (ilAssQuestionLifecycle $lifecycle) | |
setExternalId (?string $external_id) | |
getExternalId () | |
getSuggestedSolutionOutput () | |
getSuggestedSolutions () | |
getReachedPoints (int $active_id, int $pass) | |
getMaximumPoints () | |
getAdjustedReachedPoints (int $active_id, int $pass, bool $authorized_solution=true) | |
calculateResultsFromSolution (int $active_id, int $pass) | |
Calculates the question results from a previously saved question solution. More... | |
persistWorkingState (int $active_id, $pass, bool $authorized=true) | |
persists the working state for current testactive and testpass More... | |
persistPreviewState (ilAssQuestionPreviewSession $preview_session) | |
persists the preview state for current user and question More... | |
validateSolutionSubmit () | |
getSuggestedSolutionPath () | |
getImagePath ($question_id=null, $object_id=null) | |
Returns the image path for web accessable images of a question. More... | |
getSuggestedSolutionPathWeb () | |
getImagePathWeb () | |
Returns the web image path for web accessable images of a question. More... | |
getTestOutputSolutions (int $activeId, int $pass) | |
getUserSolutionPreferingIntermediate (int $active_id, ?int $pass=null) | |
getSolutionValues (int $active_id, ?int $pass=null, bool $authorized=true) | |
Loads solutions of a given user from the database an returns it. More... | |
deleteAnswers (int $question_id) | |
deleteAdditionalTableData (int $question_id) | |
delete (int $question_id) | |
getTotalAnswers () | |
cloneXHTMLMediaObjectsOfQuestion (int $source_question_id) | |
createPageObject () | |
clonePageOfQuestion (int $a_q_id) | |
getPageOfQuestion () | |
setOriginalId (?int $original_id) | |
getOriginalId () | |
static | fixSvgToPng (string $imageFilenameContainingString) |
fixUnavailableSkinImageSources (string $html) | |
loadFromDb (int $question_id) | |
createNewQuestion (bool $a_create_page=true) | |
Creates a new question without an owner when a new question is created This assures that an ID is given to the question if a file upload or something else occurs. More... | |
saveQuestionDataToDb (?int $original_id=null) | |
duplicate (bool $for_test=true, string $title='', string $author='', int $owner=-1, $test_obj_id=null) | |
copyObject (int $target_parent_id, string $title='') | |
createNewOriginalFromThisDuplicate (int $target_parent_id, string $target_question_title='') | |
saveToDb (?int $original_id=null) | |
deleteSuggestedSolutions () | |
getSuggestedSolution (int $subquestion_index=0) | |
resolveInternalLink (string $internal_link) | |
resolveSuggestedSolutionLinks () | |
getInternalLinkHref (string $target) | |
syncWithOriginal () | |
getPoints () | |
setPoints (float $points) | |
getSolutionMaxPass (int $active_id) | |
isWriteable () | |
deductHintPointsFromReachedPoints (ilAssQuestionPreviewSession $preview_session, $reached_points) | |
calculateReachedPointsFromPreviewSession (ilAssQuestionPreviewSession $preview_session) | |
isPreviewSolutionCorrect (ilAssQuestionPreviewSession $preview_session) | |
adjustReachedPointsByScoringOptions (float $points, int $active_id) | |
Adjust the given reached points by checks for all special scoring options in the test container. More... | |
buildHashedImageFilename (string $plain_image_filename, bool $unique=false) | |
getQuestion () | |
getQuestionForHTMLOutput () | |
setQuestion (string $question="") | |
getQuestionTypeID () | |
cloneHints (int $source_question_id, int $target_question_id) | |
cleanupMediaObjectUsage () | |
getInstances () | |
getActiveUserData (int $active_id) | |
Returns the user id and the test id for a given active id. More... | |
hasSpecificFeedback () | |
getNrOfTries () | |
setNrOfTries (int $a_nr_of_tries) | |
setExportImagePath (string $path) | |
formatSAQuestion ($a_q) | |
setPreventRteUsage (bool $prevent_rte_usage) | |
getPreventRteUsage () | |
migrateContentForLearningModule (ilAssSelfAssessmentMigrator $migrator) | |
setSelfAssessmentEditingMode (bool $selfassessmenteditingmode) | |
getSelfAssessmentEditingMode () | |
setDefaultNrOfTries (int $defaultnroftries) | |
getDefaultNrOfTries () | |
syncSkillAssignments (int $srcParentId, int $srcQuestionId, int $trgParentId, int $trgQuestionId) | |
ensureHintPageObjectExists ($pageObjectId) | |
isAnswered (int $active_id, int $pass) | |
getAdditionalContentEditingMode () | |
setAdditionalContentEditingMode (?string $additionalContentEditingMode) | |
isAdditionalContentEditingModePageObject () | |
isValidAdditionalContentEditingMode (string $additionalContentEditingMode) | |
getValidAdditionalContentEditingModes () | |
getHtmlUserSolutionPurifier () | |
getHtmlQuestionContentPurifier () | |
setLastChange (int $lastChange) | |
getLastChange () | |
removeIntermediateSolution (int $active_id, int $pass) | |
removeCurrentSolution (int $active_id, int $pass, bool $authorized=true) | |
saveCurrentSolution (int $active_id, int $pass, $value1, $value2, bool $authorized=true, $tstamp=0) | |
updateCurrentSolution (int $solutionId, $value1, $value2, bool $authorized=true) | |
updateCurrentSolutionsAuthorization (int $activeId, int $pass, bool $authorized, bool $keepTime=false) | |
setStep ($step) | |
getStep () | |
toJSON () | |
intermediateSolutionExists (int $active_id, int $pass) | |
authorizedSolutionExists (int $active_id, ?int $pass) | |
authorizedOrIntermediateSolutionExists (int $active_id, int $pass) | |
lookupForExistingSolutions (int $activeId, int $pass) | |
Lookup if an authorized or intermediate solution exists. More... | |
isAddableAnswerOptionValue (int $qIndex, string $answerOptionValue) | |
addAnswerOptionValue (int $qIndex, string $answerOptionValue, float $points) | |
removeAllExistingSolutions () | |
removeExistingSolutions (int $activeId, int $pass) | |
resetUsersAnswer (int $activeId, int $pass) | |
removeResultRecord (int $activeId, int $pass) | |
fetchValuePairsFromIndexedValues (array $indexedValues) | |
fetchIndexedValuesFromValuePairs (array $value_pairs) | |
updateTimestamp () | |
getTestPresentationConfig () | |
hasWritableOriginalInQuestionPool () | |
answerToParticipantInteraction (AdditionalInformationGenerator $additional_info, int $test_ref_id, int $active_id, int $pass, string $source_ip, TestParticipantInteractionTypes $interaction_type) | |
toQuestionAdministrationInteraction (AdditionalInformationGenerator $additional_info, int $test_ref_id, TestQuestionAdministrationInteractionTypes $interaction_type) | |
getSolutionForTextOutput (int $active_id, int $pass) | |
getCorrectSolutionForTextOutput (int $active_id, int $pass) | |
getVariablesAsTextArray (int $active_id, int $pass) | |
Static Public Member Functions | |
static | setForcePassResultUpdateEnabled (bool $force_pass_results_update_enabled) |
static | isForcePassResultUpdateEnabled () |
static | _getSuggestedSolutionOutput (int $question_id) |
static | _getReachedPoints (int $active_id, int $question_id, int $pass) |
static | isFileAvailable (string $file) |
static | saveOriginalId (int $questionId, int $originalId) |
static | resetOriginalId (int $questionId) |
static | instantiateQuestion (int $question_id) |
static | _getSolutionMaxPass (int $question_id, int $active_id) |
Returns the maximum pass a users question solution. More... | |
static | _setReachedPoints (int $active_id, int $question_id, float $points, float $maxpoints, int $pass, bool $manualscoring) |
Sets the points, a learner has reached answering the question Additionally objective results are updated. More... | |
static | getFeedbackClassNameByQuestionType (string $questionType) |
static | _questionExistsInTest (int $question_id, int $test_id) |
static | lookupParentObjId (int $question_id) |
static | implodeKeyValues (array $keyValues) |
static | explodeKeyValues (string $keyValues) |
static | convertISO8601FormatH_i_s_ExtendedToSeconds (string $time) |
static | extendedTrim (string $value) |
Trim non-printable characters from the beginning and end of a string. More... | |
Data Fields | |
const | ADDITIONAL_CONTENT_EDITING_MODE_RTE = 'default' |
const | ADDITIONAL_CONTENT_EDITING_MODE_IPE = 'pageobject' |
const | TRIM_PATTERN = '/^[\p{C}\p{Z}]+|[\p{C}\p{Z}]+$/u' |
ilAssQuestionFeedback | $feedbackOBJ |
bool | $prevent_rte_usage = false |
bool | $selfassessmenteditingmode = false |
int | $defaultnroftries = 0 |
string | $questionActionCmd = 'handleQuestionAction' |
const | KEY_VALUES_IMPLOSION_SEPARATOR = ':' |
Protected Member Functions | |
solutionValuesToLog (AdditionalInformationGenerator $additional_info, array $solution_values) | |
MUST convert the given solution values into an array or a string that can be stored in the log. More... | |
solutionValuesToText (array $solution_values) | |
MUST convert the given solution values into text. More... | |
getQuestionAction () | |
isNonEmptyItemListPostSubmission (string $post_submission_field_name) | |
savePreviewData (ilAssQuestionPreviewSession $preview_session) | |
deletePageOfQuestion (int $question_id) | |
cloneQuestionTypeSpecificProperties (self $target) | |
removeAllImageFiles (string $image_target_path) | |
onDuplicate (int $original_parent_id, int $original_question_id, int $duplicate_parent_id, int $duplicate_question_id) | |
afterSyncWithOriginal (int $original_question_id, int $clone_question_id, int $original_parent_id, int $clone_parent_id) | |
onCopy (int $sourceParentId, int $sourceQuestionId, int $targetParentId, int $targetQuestionId) | |
duplicateComments (int $parent_source_id, int $source_id, int $parent_target_id, int $target_id) | |
deleteComments () | |
getNotesManager () | |
getNotesDataService () | |
getNotesRepo () | |
cloneSuggestedSolutions (int $source_question_id, int $target_question_id) | |
duplicateSuggestedSolutionFiles (int $parent_id, int $question_id) | |
Duplicates the files of a suggested solution if the question is duplicated. More... | |
cloneSuggestedSolutionFiles (int $source_question_id, int $target_question_id) | |
copySuggestedSolutions (int $target_question_id) | |
ensureNonNegativePoints (float $points) | |
purifyAndPrepareTextAreaOutput (string $content) | |
getRTETextWithMediaObjects () | |
getSelfAssessmentFormatter () | |
lmMigrateQuestionTypeGenericContent (ilAssSelfAssessmentMigrator $migrator) | |
lmMigrateQuestionTypeSpecificContent (ilAssSelfAssessmentMigrator $migrator) | |
duplicateQuestionHints (int $original_question_id, int $duplicate_question_id) | |
duplicateSkillAssignments (int $srcParentId, int $srcQuestionId, int $trgParentId, int $trgQuestionId) | |
buildQuestionDataQuery () | |
getCurrentSolutionResultSet (int $active_id, int $pass, bool $authorized=true) | |
removeSolutionRecordById (int $solutionId) | |
getSolutionRecordById (int $solutionId) | |
deleteDummySolutionRecord (int $activeId, int $passIndex) | |
isDummySolutionRecord (array $solutionRecord) | |
deleteSolutionRecordByValues (int $activeId, int $passIndex, bool $authorized, array $matchValues) | |
duplicateIntermediateSolutionAuthorized (int $activeId, int $passIndex) | |
forceExistingIntermediateSolution (int $activeId, int $passIndex, bool $considerDummyRecordCreation) | |
lookupMaxStep (int $active_id, int $pass) | |
buildTestPresentationConfig () | |
getSuggestedSolutionsRepo () | |
loadSuggestedSolutions () | |
answerToLog (AdditionalInformationGenerator $additional_info, int $active_id, int $pass) | |
Static Protected Member Functions | |
static | getNumExistingSolutionRecords (int $activeId, int $pass, int $questionId) |
Protected Attributes | |
const | HAS_SPECIFIC_FEEDBACK = true |
GeneralQuestionPropertiesRepository | $questionrepository |
RequestDataCollector | $questionpool_request |
QuestionFiles | $question_files |
ilAssQuestionProcessLocker | $processLocker |
ilTestQuestionConfig | $testQuestionConfig |
SuggestedSolutionsDatabaseRepository | $suggestedsolution_repo |
ILIAS | $ilias |
ilGlobalPageTemplate | $tpl |
ilLanguage | $lng |
ilDBInterface | $db |
ilObjUser | $current_user |
SkillUsageService | $skillUsageService |
HTTPServices | $http |
Refinery | $refinery |
Transformation | $shuffler |
LoggingServices | $log |
Container | $dic |
ilAssQuestionLifecycle | $lifecycle |
ilAssQuestionPage | $page |
int | $id |
string | $title |
string | $comment |
int | $owner |
string | $author |
int | $thumb_size |
string | $question |
float | $points = 0.0 |
bool | $shuffle = true |
int | $test_id |
int | $obj_id = 0 |
int | $original_id = null |
int | $lastChange = null |
string | $external_id = null |
int | $step = null |
array | $suggested_solutions |
Static Protected Attributes | |
static | $force_pass_results_update_enabled = false |
static | $imageSourceFixReplaceMap |
Private Member Functions | |
importHint (int $question_id, array $hint_array) | |
deleteTaxonomyAssignments () | |
Private Attributes | |
const | DEFAULT_THUMB_SIZE = 150 |
const | MINIMUM_THUMB_SIZE = 20 |
const | MAXIMUM_THUMB_SIZE = 8192 |
ilTestQuestionConfig | $test_question_config = null |
int | $nr_of_tries |
string | $export_image_path |
string | $additionalContentEditingMode = '' |
Definition at line 50 of file class.assQuestion.php.
|
static |
Definition at line 533 of file class.assQuestion.php.
References $DIC, $ilDB, and $points.
Referenced by ILIAS\Test\Scoring\Manual\TestScoringByParticipantGUI\buildManScoringParticipantForm(), and ILIAS\Test\Scoring\Manual\TestScoringByParticipantGUI\saveManScoringParticipantScreen().
|
static |
Returns the maximum pass a users question solution.
Definition at line 1812 of file class.assQuestion.php.
References $DIC, $ilDB, and null.
Referenced by _setReachedPoints(), and ilObjTest\getTextAnswer().
|
static |
Definition at line 478 of file class.assQuestion.php.
Referenced by ILIAS\Test\Scoring\Manual\TestScoringByQuestionGUI\buildFeedbackModal(), and ilObjTest\getTestResult().
|
static |
Definition at line 2211 of file class.assQuestion.php.
|
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 1919 of file class.assQuestion.php.
References $DIC, $ilDB, _getSolutionMaxPass(), ilObjTest\_getUserIdFromActiveId(), ilObjTest\_lookupTestObjIdForQuestionId(), ilCourseObjectiveResult\_updateObjectiveResult(), and null.
Referenced by ILIAS\Test\Scoring\Manual\TestScoringByQuestionGUI\saveManScoringByQuestion(), and ILIAS\Test\Scoring\Manual\TestScoringByParticipantGUI\saveManScoringParticipantScreen().
assQuestion::addAnswerOptionValue | ( | int | $qIndex, |
string | $answerOptionValue, | ||
float | $points | ||
) |
Definition at line 2866 of file class.assQuestion.php.
|
final |
Adjust the given reached points by checks for all special scoring options in the test container.
public
integer | $points | |
integer | $active_id | |
integer | $pass |
Definition at line 1878 of file class.assQuestion.php.
References $points, ilObjTest\_getCountSystem(), ilObjTest\_getScoreCutting(), and getMaximumPoints().
Referenced by calculateResultsFromSolution(), and getAdjustedReachedPoints().
|
protected |
Definition at line 1454 of file class.assQuestion.php.
Referenced by syncWithOriginal().
|
protected |
Definition at line 3049 of file class.assQuestion.php.
References getReachedPoints(), getSolutionValues(), and solutionValuesToLog().
Referenced by answerToParticipantInteraction().
assQuestion::answerToParticipantInteraction | ( | AdditionalInformationGenerator | $additional_info, |
int | $test_ref_id, | ||
int | $active_id, | ||
int | $pass, | ||
string | $source_ip, | ||
TestParticipantInteractionTypes | $interaction_type | ||
) |
Implements ILIAS\TestQuestionPool\Questions\Question.
Definition at line 3015 of file class.assQuestion.php.
References answerToLog().
Referenced by ilTestPlayerAbstractGUI\save().
assQuestion::authorizedOrIntermediateSolutionExists | ( | int | $active_id, |
int | $pass | ||
) |
Definition at line 2800 of file class.assQuestion.php.
References lookupForExistingSolutions().
assQuestion::authorizedSolutionExists | ( | int | $active_id, |
?int | $pass | ||
) |
Definition at line 2791 of file class.assQuestion.php.
References lookupForExistingSolutions(), and null.
assQuestion::buildHashedImageFilename | ( | string | $plain_image_filename, |
bool | $unique = false |
||
) |
Definition at line 1894 of file class.assQuestion.php.
Referenced by assKprimChoice\handleFileUpload(), assMatchingQuestion\rebuildThumbnails(), assOrderingQuestion\storeImageFile(), and assOrderingQuestion\updateImageFile().
|
protected |
Definition at line 2461 of file class.assQuestion.php.
Referenced by assKprimChoice\loadFromDb().
|
protected |
Definition at line 2973 of file class.assQuestion.php.
Referenced by getTestPresentationConfig().
|
abstract |
Referenced by calculateResultsFromSolution(), and getAdjustedReachedPoints().
assQuestion::calculateReachedPointsFromPreviewSession | ( | ilAssQuestionPreviewSession | $preview_session | ) |
Definition at line 1845 of file class.assQuestion.php.
References deductHintPointsFromReachedPoints(), ensureNonNegativePoints(), and ilAssQuestionPreviewSession\getParticipantsSolution().
Referenced by isPreviewSolutionCorrect().
|
final |
Calculates the question results from a previously saved question solution.
Definition at line 579 of file class.assQuestion.php.
References ilCourseObjectiveResult\_updateObjectiveResult(), adjustReachedPointsByScoringOptions(), calculateReachedPoints(), getId(), getObjId(), getProcessLocker(), getStep(), lookupForExistingSolutions(), and null.
Referenced by persistWorkingState().
assQuestion::cleanupMediaObjectUsage | ( | ) |
Definition at line 2080 of file class.assQuestion.php.
References ilRTE\_cleanupMediaObjectUsage(), getId(), and getRTETextWithMediaObjects().
Referenced by saveToDb().
assQuestion::cloneHints | ( | int | $source_question_id, |
int | $target_question_id | ||
) |
Definition at line 2024 of file class.assQuestion.php.
Referenced by syncWithOriginal().
assQuestion::clonePageOfQuestion | ( | int | $a_q_id | ) |
Definition at line 1063 of file class.assQuestion.php.
|
protected |
Definition at line 1367 of file class.assQuestion.php.
Referenced by copyObject(), createNewOriginalFromThisDuplicate(), duplicate(), and syncWithOriginal().
|
protected |
Definition at line 1593 of file class.assQuestion.php.
References ilFileUtils\delDir(), getSuggestedSolutionPath(), and ilFileUtils\makeDirParents().
Referenced by cloneSuggestedSolutions(), and onDuplicate().
|
protected |
Definition at line 1557 of file class.assQuestion.php.
References cloneSuggestedSolutionFiles(), and getSuggestedSolutionsRepo().
Referenced by syncWithOriginal().
assQuestion::cloneXHTMLMediaObjectsOfQuestion | ( | int | $source_question_id | ) |
Definition at line 1043 of file class.assQuestion.php.
References ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_saveUsage(), and getId().
Referenced by syncWithOriginal().
|
static |
Definition at line 2767 of file class.assQuestion.php.
References ILIAS\Repository\int().
|
final |
Definition at line 1310 of file class.assQuestion.php.
References cloneQuestionTypeSpecificProperties(), getId(), and getObjId().
|
protected |
Definition at line 1618 of file class.assQuestion.php.
References getSuggestedSolutions(), and getSuggestedSolutionsRepo().
Referenced by onCopy(), and onDuplicate().
|
final |
Definition at line 1335 of file class.assQuestion.php.
References $id, cloneQuestionTypeSpecificProperties(), getId(), and getObjId().
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 1171 of file class.assQuestion.php.
References createPageObject(), getAdditionalContentEditingMode(), getAuthor(), getDefaultNrOfTries(), getExternalId(), getId(), getObjId(), getQuestionTypeID(), null, and setId().
assQuestion::createPageObject | ( | ) |
Definition at line 1051 of file class.assQuestion.php.
References getId(), and getObjId().
Referenced by createNewQuestion(), and saveQuestionDataToDb().
assQuestion::deductHintPointsFromReachedPoints | ( | ilAssQuestionPreviewSession | $preview_session, |
$reached_points | |||
) |
Definition at line 1838 of file class.assQuestion.php.
Referenced by assNumeric\calculateReachedPointsFromPreviewSession(), assErrorText\calculateReachedPointsFromPreviewSession(), assSingleChoice\calculateReachedPointsFromPreviewSession(), assOrderingQuestion\calculateReachedPointsFromPreviewSession(), assFormulaQuestion\calculateReachedPointsFromPreviewSession(), assClozeTest\calculateReachedPointsFromPreviewSession(), and calculateReachedPointsFromPreviewSession().
assQuestion::delete | ( | int | $question_id | ) |
Definition at line 877 of file class.assQuestion.php.
References Vendor\Package\$e, ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), ilObjQuestionPool\_updateQuestionCount(), CLIENT_WEB_DIR, ilFileUtils\delDir(), deleteAdditionalTableData(), deleteAnswers(), deleteComments(), ilAssQuestionHintList\deleteHintsByQuestionIds(), deletePageOfQuestion(), deleteTaxonomyAssignments(), getObjId(), getSuggestedSolutionsRepo(), and isAdditionalContentEditingModePageObject().
assQuestion::deleteAdditionalTableData | ( | int | $question_id | ) |
Definition at line 850 of file class.assQuestion.php.
References getAdditionalTableName().
Referenced by delete().
assQuestion::deleteAnswers | ( | int | $question_id | ) |
Definition at line 831 of file class.assQuestion.php.
References getAnswerTableName().
Referenced by delete().
|
protected |
Definition at line 1507 of file class.assQuestion.php.
References getId(), getNotesManager(), getNotesRepo(), and getObjId().
Referenced by delete().
|
protected |
Definition at line 2671 of file class.assQuestion.php.
References getSolutionValues(), and removeSolutionRecordById().
Referenced by assFileUpload\saveWorkingData().
|
protected |
Definition at line 869 of file class.assQuestion.php.
References ilPageObject\_exists().
Referenced by delete().
|
protected |
Definition at line 2685 of file class.assQuestion.php.
References getId(), getStep(), ILIAS\Repository\int(), and null.
assQuestion::deleteSuggestedSolutions | ( | ) |
Definition at line 1540 of file class.assQuestion.php.
References ilInternalLink\_deleteAllLinksOfSource(), ilFileUtils\delDir(), getId(), getSuggestedSolutionPath(), and getSuggestedSolutionsRepo().
|
private |
Definition at line 995 of file class.assQuestion.php.
References getId(), getObjId(), and ilObjTaxonomy\getUsageOfObject().
Referenced by delete().
assQuestion::duplicate | ( | bool | $for_test = true , |
string | $title = '' , |
||
string | $author = '' , |
||
int | $owner = -1 , |
||
$test_obj_id = null |
|||
) |
Definition at line 1266 of file class.assQuestion.php.
References cloneQuestionTypeSpecificProperties(), getId(), and getObjId().
|
protected |
Definition at line 1473 of file class.assQuestion.php.
References getNotesDataService(), and getNotesManager().
Referenced by onCopy(), and onDuplicate().
|
protected |
Definition at line 2725 of file class.assQuestion.php.
References getSolutionValues(), and saveCurrentSolution().
Referenced by forceExistingIntermediateSolution().
|
protected |
Definition at line 2304 of file class.assQuestion.php.
References ilAssQuestionHintList\duplicateListForQuestion(), ensureHintPageObjectExists(), getId(), and isAdditionalContentEditingModePageObject().
Referenced by onCopy(), and onDuplicate().
|
protected |
Definition at line 2323 of file class.assQuestion.php.
Referenced by onCopy(), onDuplicate(), and syncSkillAssignments().
|
protected |
Duplicates the files of a suggested solution if the question is duplicated.
Definition at line 1568 of file class.assQuestion.php.
References getSuggestedSolutionPath(), and ilFileUtils\makeDirParents().
Referenced by onCopy().
assQuestion::ensureHintPageObjectExists | ( | $pageObjectId | ) |
Definition at line 2367 of file class.assQuestion.php.
References ilPageObject\_exists(), and getId().
Referenced by duplicateQuestionHints().
|
protected |
Definition at line 1855 of file class.assQuestion.php.
References $points.
Referenced by assNumeric\calculateReachedPointsFromPreviewSession(), assErrorText\calculateReachedPointsFromPreviewSession(), assSingleChoice\calculateReachedPointsFromPreviewSession(), assOrderingQuestion\calculateReachedPointsFromPreviewSession(), assFormulaQuestion\calculateReachedPointsFromPreviewSession(), assClozeTest\calculateReachedPointsFromPreviewSession(), and calculateReachedPointsFromPreviewSession().
|
static |
Definition at line 2666 of file class.assQuestion.php.
References KEY_VALUES_IMPLOSION_SEPARATOR.
|
static |
Trim non-printable characters from the beginning and end of a string.
Note: The PHP trim() function is not fully Unicode-compatible and may not handle non-printable characters effectively. As a result, it may not trim certain Unicode characters, such as control characters, zero width characters or ideographic space as expected.
This method provides a workaround for trimming non-printable characters until PHP 8.4, where the mb_trim() function is introduced. Users are encouraged to migrate to mb_trim() for proper Unicode and non-printable character handling.
string | $value | The string to trim. |
Definition at line 3003 of file class.assQuestion.php.
Referenced by assTextSubset\getSolutionSubmit(), and assTextSubsetGUI\writeAnswerSpecificPostData().
assQuestion::fetchIndexedValuesFromValuePairs | ( | array | $value_pairs | ) |
Definition at line 2944 of file class.assQuestion.php.
Referenced by assOrderingQuestion\calculateReachedPoints(), assOrderingQuestion\getOrderingElementListForSolutionOutput(), assOrderingQuestion\getSolutionOrderingElementListForTestOutput(), assOrderingQuestion\solutionValuesToLog(), and assOrderingQuestion\solutionValuesToText().
assQuestion::fetchValuePairsFromIndexedValues | ( | array | $indexedValues | ) |
Definition at line 2933 of file class.assQuestion.php.
static assQuestion::fixSvgToPng | ( | string | $imageFilenameContainingString | ) |
Definition at line 1100 of file class.assQuestion.php.
assQuestion::fixUnavailableSkinImageSources | ( | string | $html | ) |
Definition at line 1107 of file class.assQuestion.php.
References ilUtil\getImagePath(), null, and ilFileUtils\removeTrailingPathSeparators().
|
protected |
Definition at line 2732 of file class.assQuestion.php.
References duplicateIntermediateSolutionAuthorized(), getSolutionValues(), null, saveCurrentSolution(), and updateCurrentSolutionsAuthorization().
Referenced by assFileUpload\saveWorkingData().
assQuestion::formatSAQuestion | ( | $a_q | ) |
Definition at line 2228 of file class.assQuestion.php.
References getSelfAssessmentFormatter().
Referenced by assOrderingHorizontal\toJSON(), assTextQuestion\toJSON(), assTextSubset\toJSON(), assMultipleChoice\toJSON(), assSingleChoice\toJSON(), assLongMenu\toJSON(), assKprimChoice\toJSON(), assErrorText\toJSON(), assOrderingQuestion\toJSON(), assMatchingQuestion\toJSON(), assClozeTest\toJSON(), assNumeric\toLog(), assOrderingHorizontal\toLog(), assTextSubset\toLog(), assLongMenu\toLog(), assTextQuestion\toLog(), assKprimChoice\toLog(), assMultipleChoice\toLog(), assSingleChoice\toLog(), assFileUpload\toLog(), assErrorText\toLog(), assOrderingQuestion\toLog(), assFormulaQuestion\toLog(), assMatchingQuestion\toLog(), and assClozeTest\toLog().
|
final |
Definition at line 257 of file class.assQuestion.php.
References getQuestionType(), and importHint().
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 2130 of file class.assQuestion.php.
assQuestion::getAdditionalContentEditingMode | ( | ) |
Definition at line 2409 of file class.assQuestion.php.
References $additionalContentEditingMode.
Referenced by createNewQuestion(), importHint(), isAdditionalContentEditingModePageObject(), assSingleChoice\saveAdditionalQuestionDataToDb(), assMultipleChoice\saveAnswerSpecificDataToDb(), and saveQuestionDataToDb().
|
abstract |
|
final |
Definition at line 562 of file class.assQuestion.php.
References adjustReachedPointsByScoringOptions(), calculateReachedPoints(), and getId().
|
abstract |
assQuestion::getAuthor | ( | ) |
Definition at line 427 of file class.assQuestion.php.
References $author.
Referenced by createNewQuestion(), assOrderingQuestion\isComplete(), assClozeTest\isComplete(), and saveQuestionDataToDb().
assQuestion::getAuthorForHTMLOutput | ( | ) |
Definition at line 432 of file class.assQuestion.php.
References ILIAS\Repository\refinery().
assQuestion::getComment | ( | ) |
Definition at line 393 of file class.assQuestion.php.
References $comment.
Referenced by saveQuestionDataToDb().
assQuestion::getCorrectSolutionForTextOutput | ( | int | $active_id, |
int | $pass | ||
) |
Definition at line 3073 of file class.assQuestion.php.
References getSolutionValues(), and solutionValuesToText().
|
protected |
Definition at line 2483 of file class.assQuestion.php.
References getId(), getStep(), and null.
Referenced by assOrderingHorizontal\calculateReachedPoints(), assNumeric\calculateReachedPoints(), assFileUpload\calculateReachedPoints(), assErrorText\calculateReachedPoints(), assSingleChoice\calculateReachedPoints(), assTextSubset\calculateReachedPoints(), assMultipleChoice\calculateReachedPoints(), assTextQuestion\calculateReachedPoints(), assKprimChoice\calculateReachedPoints(), assLongMenu\calculateReachedPoints(), assMatchingQuestion\calculateReachedPoints(), assClozeTest\fetchUserResult(), assNumeric\saveWorkingData(), and assSingleChoice\saveWorkingData().
assQuestion::getCurrentUser | ( | ) |
Definition at line 232 of file class.assQuestion.php.
References $current_user.
Referenced by isWriteable().
assQuestion::getDefaultNrOfTries | ( | ) |
Definition at line 2284 of file class.assQuestion.php.
References $defaultnroftries.
Referenced by createNewQuestion().
assQuestion::getDescriptionForHTMLOutput | ( | ) |
Definition at line 398 of file class.assQuestion.php.
References ILIAS\UI\examples\Symbol\Glyph\Comment\comment(), and ILIAS\Repository\refinery().
assQuestion::getExternalId | ( | ) |
Definition at line 467 of file class.assQuestion.php.
References $external_id, getId(), IL_INST_ID, and null.
Referenced by createNewQuestion(), and saveQuestionDataToDb().
|
static |
Definition at line 2150 of file class.assQuestion.php.
References $DIC, $ilDB, ILIAS\TestQuestionPool\Questions\GeneralQuestionPropertiesRepository\getForQuestionId(), and null.
Referenced by assQuestionGUI\_getQuestionGUI().
assQuestion::getHtmlQuestionContentPurifier | ( | ) |
Definition at line 2456 of file class.assQuestion.php.
References ilHtmlPurifierFactory\getInstanceByType().
Referenced by assSingleChoice\addAnswer(), assKprimChoice\addAnswer(), assMultipleChoice\addAnswer(), assClozeTest\getClozeTextForHTMLOutput(), purifyAndPrepareTextAreaOutput(), assKprimChoice\setAnswers(), and assLongMenu\setLongMenuTextValue().
assQuestion::getHtmlUserSolutionPurifier | ( | ) |
Definition at line 2448 of file class.assQuestion.php.
References ilHtmlPurifierFactory\getInstanceByType().
Referenced by assTextQuestion\getSolutionSubmit(), and assTextSubset\getSolutionSubmit().
assQuestion::getId | ( | ) |
Definition at line 378 of file class.assQuestion.php.
References $id.
Referenced by ilQuestionUsagesTableGUI\__construct(), ilQuestionCumulatedStatisticsTableGUI\__construct(), ilAssQuestionHintsOrderingClipboard\__construct(), assLongMenu\buildFolderName(), assOrderingQuestion\buildNestedOrderingElementInputGui(), assClozeTest\calculateCombinationResult(), calculateResultsFromSolution(), cleanupMediaObjectUsage(), assOrderingQuestion\cloneQuestionTypeSpecificProperties(), assSingleChoice\cloneQuestionTypeSpecificProperties(), assMultipleChoice\cloneQuestionTypeSpecificProperties(), assImagemapQuestion\cloneQuestionTypeSpecificProperties(), assMatchingQuestion\cloneQuestionTypeSpecificProperties(), assKprimChoice\cloneQuestionTypeSpecificProperties(), assFormulaQuestion\cloneQuestionTypeSpecificProperties(), assClozeTest\cloneQuestionTypeSpecificProperties(), cloneXHTMLMediaObjectsOfQuestion(), copyObject(), createNewOriginalFromThisDuplicate(), createNewQuestion(), createPageObject(), deleteComments(), deleteSolutionRecordByValues(), deleteSuggestedSolutions(), deleteTaxonomyAssignments(), duplicate(), assTextQuestion\duplicateAnswers(), duplicateQuestionHints(), ensureHintPageObjectExists(), assOrderingQuestion\fetchSolutionListFromFormSubmissionData(), getAdjustedReachedPoints(), assFormulaQuestion\getBestSolution(), assLongMenu\getCorrectAnswersAsJson(), getCurrentSolutionResultSet(), assErrorText\getErrorDataAsArrayForJS(), getExternalId(), assFileUpload\getFileUploadPath(), assFileUpload\getFileUploadPathWeb(), getInstances(), assTextQuestion\getLatestAutosaveContent(), assClozeTest\getMaximumPoints(), assOrderingQuestion\getOrderingElementList(), assErrorText\getParsedErrorTextForJS(), getReachedPoints(), assMultipleChoice\getRTETextWithMediaObjects(), assSingleChoice\getRTETextWithMediaObjects(), getRTETextWithMediaObjects(), getSolutionMaxPass(), assOrderingQuestion\getSolutionOrderingElementList(), getSolutionValues(), assFileUpload\getUploadedFiles(), assNumeric\getUserQuestionResult(), assOrderingHorizontal\getUserQuestionResult(), assTextSubset\getUserQuestionResult(), assErrorText\getUserQuestionResult(), assSingleChoice\getUserQuestionResult(), assMultipleChoice\getUserQuestionResult(), assOrderingQuestion\getUserQuestionResult(), assFormulaQuestion\getUserQuestionResult(), assMatchingQuestion\getUserQuestionResult(), assClozeTest\getUserQuestionResult(), assFormulaQuestion\getVariableSolutionValuesForPass(), assFileUpload\hasFileUploads(), isAnswered(), isWriteable(), assTextQuestion\loadFromDb(), loadSuggestedSolutions(), assLongMenu\lookupForExistingSolutions(), assFormulaQuestion\lookupForExistingSolutions(), lookupForExistingSolutions(), lookupMaxStep(), migrateContentForLearningModule(), ilAssNestedOrderingElementsInputGUI\prepareReprintable(), removeAllExistingSolutions(), removeCurrentSolution(), assFormulaQuestion\removeExistingSolutions(), removeExistingSolutions(), removeResultRecord(), ilAssOrderingQuestionAuthoringFormGUI\renewOrderingElementInput(), resolveSuggestedSolutionLinks(), assFileUpload\saveAdditionalQuestionDataToDb(), assErrorText\saveAdditionalQuestionDataToDb(), assImagemapQuestion\saveAdditionalQuestionDataToDb(), assMatchingQuestion\saveAdditionalQuestionDataToDb(), assOrderingHorizontal\saveAdditionalQuestionDataToDb(), assLongMenu\saveAdditionalQuestionDataToDb(), assClozeTest\saveAdditionalQuestionDataToDb(), assNumeric\saveAdditionalQuestionDataToDb(), assKprimChoice\saveAdditionalQuestionDataToDb(), assTextSubset\saveAdditionalQuestionDataToDb(), assSingleChoice\saveAdditionalQuestionDataToDb(), assMultipleChoice\saveAdditionalQuestionDataToDb(), assTextQuestion\saveAdditionalQuestionDataToDb(), assOrderingQuestion\saveAdditionalQuestionDataToDb(), assErrorText\saveAnswerSpecificDataToDb(), assMatchingQuestion\saveAnswerSpecificDataToDb(), assImagemapQuestion\saveAnswerSpecificDataToDb(), assClozeTest\saveAnswerSpecificDataToDb(), assLongMenu\saveAnswerSpecificDataToDb(), assNumeric\saveAnswerSpecificDataToDb(), assKprimChoice\saveAnswerSpecificDataToDb(), assTextSubset\saveAnswerSpecificDataToDb(), assMultipleChoice\saveAnswerSpecificDataToDb(), assClozeTest\saveClozeNumericGapRecordToDb(), assClozeTest\saveClozeSelectGapRecordToDb(), assClozeTest\saveClozeTextGapRecordToDb(), assFormulaQuestion\saveCurrentSolution(), saveCurrentSolution(), assSingleChoice\savePreviewData(), saveQuestionDataToDb(), assFormulaQuestion\saveToDb(), saveToDb(), assFormulaQuestion\saveWorkingData(), assFormulaQuestion\setId(), assOrderingQuestion\setOrderingElementList(), syncWithOriginal(), assOrderingHorizontal\toJSON(), assTextQuestion\toJSON(), assTextSubset\toJSON(), assMultipleChoice\toJSON(), assSingleChoice\toJSON(), assLongMenu\toJSON(), assKprimChoice\toJSON(), assErrorText\toJSON(), assOrderingQuestion\toJSON(), assMatchingQuestion\toJSON(), assClozeTest\toJSON(), updateCurrentSolutionsAuthorization(), ilLOTestQuestionAdapter\updateQuestionResult(), and updateTimestamp().
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 711 of file class.assQuestion.php.
References $id, $obj_id, and null.
Referenced by assOrderingQuestion\buildOrderingImagesFormDataConverter(), assOrderingQuestion\cleanImagefiles(), assOrderingQuestion\cloneImages(), assMatchingQuestion\cloneImages(), assImagemapQuestion\copyImagemapFiles(), assMatchingQuestion\deleteImagefile(), assOrderingQuestion\dropImageFile(), assOrderingQuestion\ensureImagePathExists(), assKprimChoice\handleFileUpload(), assOrderingQuestion\isImageFileStored(), assKprimChoice\loadAnswerData(), assSingleChoice\loadFromDb(), assMultipleChoice\loadFromDb(), assOrderingQuestion\rebuildThumbnails(), assMatchingQuestion\rebuildThumbnails(), assSingleChoice\saveAdditionalQuestionDataToDb(), assMultipleChoice\saveAdditionalQuestionDataToDb(), assMultipleChoice\setImageFile(), assSingleChoice\setImageFile(), assMatchingQuestion\setImageFile(), assImagemapQuestion\setImageFilename(), assOrderingQuestion\storeImageFile(), and assOrderingQuestion\updateImageFile().
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 740 of file class.assQuestion.php.
References $export_image_path, CLIENT_WEB_DIR, and ilFileUtils\removeTrailingPathSeparators().
Referenced by assOrderingQuestion\buildNestedOrderingElementInputGui(), assOrderingQuestion\buildNestedOrderingFormDataConverter(), assOrderingQuestion\buildOrderingImagesFormDataConverter(), assKprimChoice\loadAnswerData(), assMultipleChoice\toJSON(), assSingleChoice\toJSON(), assKprimChoice\toJSON(), and assOrderingQuestion\toJSON().
assQuestion::getInstances | ( | ) |
Definition at line 2086 of file class.assQuestion.php.
References ilObject\_getAllReferences(), ilObjTest\_lookupAuthor(), ilObject\_lookupTitle(), and getId().
assQuestion::getInternalLinkHref | ( | string | $target | ) |
Definition at line 1707 of file class.assQuestion.php.
Referenced by getSuggestedSolutionOutput().
assQuestion::getLastChange | ( | ) |
assQuestion::getLifecycle | ( | ) |
Definition at line 452 of file class.assQuestion.php.
References $lifecycle.
Referenced by saveToDb().
assQuestion::getMaximumPoints | ( | ) |
Definition at line 557 of file class.assQuestion.php.
References $points.
Referenced by adjustReachedPointsByScoringOptions(), isPreviewSolutionCorrect(), and saveQuestionDataToDb().
assQuestion::getMaximumThumbSize | ( | ) |
Definition at line 422 of file class.assQuestion.php.
assQuestion::getMinimumThumbSize | ( | ) |
Definition at line 417 of file class.assQuestion.php.
Referenced by assSingleChoice\loadFromDb(), assMultipleChoice\loadFromDb(), and assOrderingQuestion\loadFromDb().
|
protected |
Definition at line 1528 of file class.assQuestion.php.
References $service.
Referenced by duplicateComments().
|
protected |
Definition at line 1522 of file class.assQuestion.php.
References $service.
Referenced by deleteComments(), and duplicateComments().
|
protected |
Definition at line 1534 of file class.assQuestion.php.
References $service.
Referenced by deleteComments().
assQuestion::getNrOfTries | ( | ) |
Definition at line 2196 of file class.assQuestion.php.
References $nr_of_tries.
Referenced by saveQuestionDataToDb(), assOrderingHorizontal\toJSON(), assTextQuestion\toJSON(), assTextSubset\toJSON(), assMultipleChoice\toJSON(), assSingleChoice\toJSON(), assLongMenu\toJSON(), assKprimChoice\toJSON(), assErrorText\toJSON(), assOrderingQuestion\toJSON(), assMatchingQuestion\toJSON(), and assClozeTest\toJSON().
|
staticprotected |
Definition at line 2383 of file class.assQuestion.php.
References $DIC, $ilDB, and $res.
Referenced by isAnswered().
assQuestion::getObjId | ( | ) |
Definition at line 442 of file class.assQuestion.php.
References $obj_id.
Referenced by calculateResultsFromSolution(), assOrderingQuestion\cloneQuestionTypeSpecificProperties(), assSingleChoice\cloneQuestionTypeSpecificProperties(), assMultipleChoice\cloneQuestionTypeSpecificProperties(), assImagemapQuestion\cloneQuestionTypeSpecificProperties(), assMatchingQuestion\cloneQuestionTypeSpecificProperties(), assKprimChoice\cloneQuestionTypeSpecificProperties(), copyObject(), createNewOriginalFromThisDuplicate(), createNewQuestion(), createPageObject(), delete(), deleteComments(), deleteTaxonomyAssignments(), duplicate(), isWriteable(), saveQuestionDataToDb(), saveToDb(), and syncWithOriginal().
assQuestion::getOriginalId | ( | ) |
Definition at line 1086 of file class.assQuestion.php.
References $original_id.
Referenced by syncWithOriginal().
assQuestion::getOwner | ( | ) |
Definition at line 437 of file class.assQuestion.php.
References $owner.
Referenced by saveQuestionDataToDb(), and saveToDb().
assQuestion::getPageOfQuestion | ( | ) |
Definition at line 1075 of file class.assQuestion.php.
assQuestion::getPoints | ( | ) |
Definition at line 1794 of file class.assQuestion.php.
References $points.
Referenced by assNumeric\calculateReachedPoints(), assFileUpload\calculateReachedPoints(), assFileUpload\calculateReachedPointsForSolution(), assOrderingHorizontal\calculateReachedPointsForSolution(), assKprimChoice\calculateReachedPointsForSolution(), assOrderingQuestion\calculateReachedPointsForSolution(), assNumeric\calculateReachedPointsFromPreviewSession(), assNumeric\getMaximumPoints(), assOrderingHorizontal\getMaximumPoints(), assFileUpload\getMaximumPoints(), assOrderingQuestion\getMaximumPoints(), assTextSubset\isAnswerCorrect(), assLongMenu\isComplete(), assNumeric\saveAnswerSpecificDataToDb(), assOrderingHorizontal\toJSON(), assOrderingQuestion\toJSON(), assNumeric\toLog(), assOrderingHorizontal\toLog(), assFileUpload\toLog(), and assOrderingQuestion\toLog().
assQuestion::getPreventRteUsage | ( | ) |
assQuestion::getProcessLocker | ( | ) |
Definition at line 252 of file class.assQuestion.php.
References $processLocker.
Referenced by calculateResultsFromSolution(), persistWorkingState(), removeIntermediateSolution(), resetUsersAnswer(), assOrderingHorizontal\saveWorkingData(), assNumeric\saveWorkingData(), assErrorText\saveWorkingData(), assSingleChoice\saveWorkingData(), assTextSubset\saveWorkingData(), assKprimChoice\saveWorkingData(), assTextQuestion\saveWorkingData(), assMultipleChoice\saveWorkingData(), assFileUpload\saveWorkingData(), assLongMenu\saveWorkingData(), assOrderingQuestion\saveWorkingData(), assFormulaQuestion\saveWorkingData(), assMatchingQuestion\saveWorkingData(), and assClozeTest\saveWorkingData().
assQuestion::getQuestion | ( | ) |
Definition at line 1981 of file class.assQuestion.php.
References $question.
Referenced by assFormulaQuestion\checkForDuplicateResults(), assFormulaQuestion\checkForDuplicateVariables(), assFormulaQuestion\getInitialVariableSolutionValues(), getRTETextWithMediaObjects(), assFormulaQuestion\hasRequiredVariableSolutionValues(), assOrderingQuestion\isComplete(), assFormulaQuestion\parseQuestionText(), saveQuestionDataToDb(), assFormulaQuestion\substituteVariables(), assOrderingHorizontal\toJSON(), assTextQuestion\toJSON(), assTextSubset\toJSON(), assMultipleChoice\toJSON(), assSingleChoice\toJSON(), assLongMenu\toJSON(), assKprimChoice\toJSON(), assErrorText\toJSON(), assOrderingQuestion\toJSON(), assMatchingQuestion\toJSON(), assClozeTest\toJSON(), assNumeric\toLog(), assOrderingHorizontal\toLog(), assTextSubset\toLog(), assLongMenu\toLog(), assTextQuestion\toLog(), assKprimChoice\toLog(), assMultipleChoice\toLog(), assSingleChoice\toLog(), assFileUpload\toLog(), assErrorText\toLog(), assOrderingQuestion\toLog(), assFormulaQuestion\toLog(), assMatchingQuestion\toLog(), and assClozeTest\toLog().
|
protected |
Definition at line 222 of file class.assQuestion.php.
Referenced by assFileUpload\isFileDeletionAction().
assQuestion::getQuestionForHTMLOutput | ( | ) |
Definition at line 1986 of file class.assQuestion.php.
References purifyAndPrepareTextAreaOutput().
|
abstract |
Referenced by fromXML(), getQuestionTypeID(), and toXML().
assQuestion::getQuestionTypeID | ( | ) |
Definition at line 2010 of file class.assQuestion.php.
References getQuestionType().
Referenced by createNewQuestion(), and saveQuestionDataToDb().
assQuestion::getReachedPoints | ( | int | $active_id, |
int | $pass | ||
) |
Definition at line 552 of file class.assQuestion.php.
References getId().
Referenced by answerToLog(), and ilLOTestQuestionAdapter\updateQuestionResult().
|
protected |
Definition at line 2062 of file class.assQuestion.php.
References getId(), ilAssQuestionHintList\getListByQuestionId(), and getQuestion().
Referenced by cleanupMediaObjectUsage().
assQuestion::getSelfAssessmentEditingMode | ( | ) |
Definition at line 2274 of file class.assQuestion.php.
References $selfassessmenteditingmode.
Referenced by ilAssQuestionAuthoringFormGUI\addGenericAssessmentQuestionCommandButtons().
|
protected |
Definition at line 2233 of file class.assQuestion.php.
Referenced by formatSAQuestion().
assQuestion::getShuffle | ( | ) |
Definition at line 383 of file class.assQuestion.php.
References $shuffle.
Referenced by assSingleChoice\saveAdditionalQuestionDataToDb(), assMultipleChoice\saveAdditionalQuestionDataToDb(), assTextQuestion\toJSON(), assMultipleChoice\toJSON(), assSingleChoice\toJSON(), assLongMenu\toJSON(), assErrorText\toJSON(), assClozeTest\toJSON(), assNumeric\toLog(), assLongMenu\toLog(), assKprimChoice\toLog(), assMultipleChoice\toLog(), assSingleChoice\toLog(), assErrorText\toLog(), assMatchingQuestion\toLog(), and assClozeTest\toLog().
assQuestion::getShuffler | ( | ) |
Definition at line 237 of file class.assQuestion.php.
References $shuffler.
Referenced by assOrderingHorizontal\getRandomOrderingElements(), assOrderingQuestion\getShuffledOrderingElementList(), assOrderingQuestion\toJSON(), and assMatchingQuestion\toJSON().
assQuestion::getSolutionForTextOutput | ( | int | $active_id, |
int | $pass | ||
) |
Definition at line 3064 of file class.assQuestion.php.
References getSolutionValues(), and solutionValuesToText().
assQuestion::getSolutionMaxPass | ( | int | $active_id | ) |
Definition at line 1804 of file class.assQuestion.php.
References getId().
Referenced by assOrderingHorizontal\calculateReachedPoints(), assNumeric\calculateReachedPoints(), assFileUpload\calculateReachedPoints(), assErrorText\calculateReachedPoints(), assSingleChoice\calculateReachedPoints(), assTextSubset\calculateReachedPoints(), assMultipleChoice\calculateReachedPoints(), assTextQuestion\calculateReachedPoints(), assKprimChoice\calculateReachedPoints(), assOrderingQuestion\calculateReachedPoints(), assLongMenu\calculateReachedPoints(), assMatchingQuestion\calculateReachedPoints(), assFormulaQuestion\calculateReachedPoints(), assClozeTest\fetchUserResult(), getSolutionValues(), and assFileUpload\getUploadedFiles().
|
protected |
Definition at line 2532 of file class.assQuestion.php.
Referenced by assFileUpload\saveWorkingData().
assQuestion::getSolutionValues | ( | int | $active_id, |
?int | $pass = null , |
||
bool | $authorized = true |
||
) |
Loads solutions of a given user from the database an returns it.
Definition at line 779 of file class.assQuestion.php.
References getId(), getSolutionMaxPass(), getStep(), and null.
Referenced by answerToLog(), assOrderingQuestion\calculateReachedPoints(), assFormulaQuestion\calculateReachedPoints(), deleteDummySolutionRecord(), duplicateIntermediateSolutionAuthorized(), forceExistingIntermediateSolution(), assFormulaQuestion\getCorrectSolutionForTextOutput(), getCorrectSolutionForTextOutput(), assOrderingQuestion\getOrderingElementListForSolutionOutput(), getSolutionForTextOutput(), ilTestCorrectionsGUI\getSolutions(), ilTestCorrectionsGUI\getSolutionsByParticipantResults(), getTestOutputSolutions(), assFileUpload\getUploadedFilesForWeb(), assFileUpload\getUserSolutionPreferingIntermediate(), and getUserSolutionPreferingIntermediate().
assQuestion::getStep | ( | ) |
Definition at line 2762 of file class.assQuestion.php.
References $step.
Referenced by calculateResultsFromSolution(), deleteSolutionRecordByValues(), getCurrentSolutionResultSet(), getSolutionValues(), assFileUpload\getUploadedFilesForWeb(), assLongMenu\lookupForExistingSolutions(), assFormulaQuestion\lookupForExistingSolutions(), lookupForExistingSolutions(), removeCurrentSolution(), assFormulaQuestion\removeExistingSolutions(), removeExistingSolutions(), removeResultRecord(), saveCurrentSolution(), assFormulaQuestion\saveWorkingData(), updateCurrentSolution(), and updateCurrentSolutionsAuthorization().
assQuestion::getSuggestedSolution | ( | int | $subquestion_index = 0 | ) |
Definition at line 1549 of file class.assQuestion.php.
References null.
assQuestion::getSuggestedSolutionOutput | ( | ) |
Definition at line 487 of file class.assQuestion.php.
References getInternalLinkHref(), getSuggestedSolutionPathWeb(), ILIAS\Repository\lng(), ilLegacyFormElementsUtil\prepareFormOutput(), ilWACSignedPath\setTokenMaxLifetimeInSeconds(), and ilWACSignedPath\signFile().
assQuestion::getSuggestedSolutionPath | ( | ) |
Definition at line 702 of file class.assQuestion.php.
References CLIENT_WEB_DIR.
Referenced by cloneSuggestedSolutionFiles(), deleteSuggestedSolutions(), and duplicateSuggestedSolutionFiles().
assQuestion::getSuggestedSolutionPathWeb | ( | ) |
Definition at line 724 of file class.assQuestion.php.
References CLIENT_WEB_DIR, and ilFileUtils\removeTrailingPathSeparators().
Referenced by getSuggestedSolutionOutput().
assQuestion::getSuggestedSolutions | ( | ) |
Definition at line 528 of file class.assQuestion.php.
References $suggested_solutions.
Referenced by copySuggestedSolutions().
|
protected |
Definition at line 2978 of file class.assQuestion.php.
References $suggestedsolution_repo.
Referenced by cloneSuggestedSolutions(), copySuggestedSolutions(), delete(), deleteSuggestedSolutions(), and loadSuggestedSolutions().
assQuestion::getTestId | ( | ) |
Definition at line 388 of file class.assQuestion.php.
References $test_id.
Referenced by resetUsersAnswer().
assQuestion::getTestOutputSolutions | ( | int | $activeId, |
int | $pass | ||
) |
Definition at line 754 of file class.assQuestion.php.
References getSolutionValues(), getTestPresentationConfig(), and getUserSolutionPreferingIntermediate().
Referenced by assOrderingQuestion\getSolutionOrderingElementListForTestOutput().
assQuestion::getTestPresentationConfig | ( | ) |
Definition at line 2964 of file class.assQuestion.php.
References $test_question_config, buildTestPresentationConfig(), and null.
Referenced by getTestOutputSolutions(), ilTestPlayerAbstractGUI\initTestQuestionConfig(), and assFileUpload\isFileReuseHandlingRequired().
assQuestion::getThumbSize | ( | ) |
Definition at line 403 of file class.assQuestion.php.
References $thumb_size.
Referenced by assOrderingQuestion\generateThumbForFile(), assSingleChoice\saveAdditionalQuestionDataToDb(), assMultipleChoice\saveAdditionalQuestionDataToDb(), assOrderingQuestion\saveAdditionalQuestionDataToDb(), assOrderingQuestion\setContentType(), assMultipleChoice\setImageFile(), assSingleChoice\setImageFile(), assOrderingQuestion\storeImageFile(), assMultipleChoice\toJSON(), assSingleChoice\toJSON(), and assOrderingQuestion\updateImageFile().
assQuestion::getTitle | ( | ) |
Definition at line 363 of file class.assQuestion.php.
References $title.
Referenced by getTitleFilenameCompliant(), assOrderingQuestion\isComplete(), assClozeTest\isComplete(), and saveQuestionDataToDb().
assQuestion::getTitleFilenameCompliant | ( | ) |
Definition at line 373 of file class.assQuestion.php.
References ilFileUtils\getASCIIFilename(), and getTitle().
assQuestion::getTitleForHTMLOutput | ( | ) |
Definition at line 368 of file class.assQuestion.php.
References ILIAS\Repository\refinery().
Referenced by ilAssQuestionHintsTableGUI\__construct(), assOrderingHorizontal\toJSON(), assTextQuestion\toJSON(), assTextSubset\toJSON(), assMultipleChoice\toJSON(), assSingleChoice\toJSON(), assLongMenu\toJSON(), assKprimChoice\toJSON(), assErrorText\toJSON(), assOrderingQuestion\toJSON(), assMatchingQuestion\toJSON(), assClozeTest\toJSON(), assNumeric\toLog(), assOrderingHorizontal\toLog(), assTextSubset\toLog(), assLongMenu\toLog(), assTextQuestion\toLog(), assKprimChoice\toLog(), assMultipleChoice\toLog(), assSingleChoice\toLog(), assFileUpload\toLog(), assErrorText\toLog(), assOrderingQuestion\toLog(), assFormulaQuestion\toLog(), assMatchingQuestion\toLog(), and assClozeTest\toLog().
assQuestion::getTotalAnswers | ( | ) |
Definition at line 1005 of file class.assQuestion.php.
assQuestion::getUserSolutionPreferingIntermediate | ( | int | $active_id, |
?int | $pass = null |
||
) |
Definition at line 763 of file class.assQuestion.php.
References getSolutionValues().
Referenced by getTestOutputSolutions().
assQuestion::getValidAdditionalContentEditingModes | ( | ) |
Definition at line 2437 of file class.assQuestion.php.
Referenced by isValidAdditionalContentEditingMode(), and setAdditionalContentEditingMode().
assQuestion::getVariablesAsTextArray | ( | int | $active_id, |
int | $pass | ||
) |
Definition at line 3082 of file class.assQuestion.php.
assQuestion::hasSpecificFeedback | ( | ) |
Definition at line 2145 of file class.assQuestion.php.
assQuestion::hasWritableOriginalInQuestionPool | ( | ) |
Definition at line 3008 of file class.assQuestion.php.
References instantiateQuestion().
|
static |
Definition at line 2661 of file class.assQuestion.php.
References KEY_VALUES_IMPLOSION_SEPARATOR.
Referenced by assImagemapQuestionGUI\buildSelectionParameter().
|
private |
Definition at line 288 of file class.assQuestion.php.
References getAdditionalContentEditingMode().
Referenced by fromXML().
|
static |
int | $question_id |
InvalidArgumentException |
Definition at line 1773 of file class.assQuestion.php.
References $DIC, $ilDB, $question, and ILIAS\TestQuestionPool\Questions\GeneralQuestionPropertiesRepository\getForQuestionId().
Referenced by ilObjTest\_instanciateQuestion(), ILIAS\Test\ExportImport\ResultsExportExcel\addUserContent(), ilTestFixedQuestionSetConfig\cloneQuestionSetRelatedData(), ilObjTestGUI\copyAndLinkQuestionsToPoolObject(), ilPCQuestion\copyPoolQuestionIntoPage(), ilObjQuestionPool\deleteQuestion(), ilAssLacQuestionProvider\getQuestion(), ilTestPlayerAbstractGUI\getQuestionInstance(), ILIAS\Test\ExportImport\Export\getQuestionQtiXml(), ilBulkEditQuestionsGUI\getQuestions(), ilTestRandomQuestionSetPoolDeriver\getQuestionsForPool(), ilTestSequence\getSequenceSummary(), ILIAS\Test\Questions\Presentation\QuestionsTableActions\handleCommand(), ilPCQuestion\handleCopiedContent(), hasWritableOriginalInQuestionPool(), ilObjTest\insertQuestion(), ilQuestionPageParser\processPagesToParse(), ilAssIncompleteQuestionPurger\purgeQuestionIds(), ilObjTest\removeQuestionWithResults(), ilTestRandomQuestionSetStagingPoolBuilder\removeStagedQuestions(), ilSoapTestAdministration\saveQuestion(), ilSoapTestAdministration\saveQuestionSolution(), ilTestRandomQuestionSetStagingPoolBuilder\stageQuestionsFromSourcePool(), ilTestRandomQuestionSetStagingPoolBuilder\stageQuestionsFromSourcePoolCheap(), and ilAssQuestionSkillAssignmentsGUI\syncOriginalCmd().
assQuestion::intermediateSolutionExists | ( | int | $active_id, |
int | $pass | ||
) |
Definition at line 2785 of file class.assQuestion.php.
References lookupForExistingSolutions().
Referenced by assFileUpload\saveWorkingData().
assQuestion::isAddableAnswerOptionValue | ( | int | $qIndex, |
string | $answerOptionValue | ||
) |
Definition at line 2861 of file class.assQuestion.php.
assQuestion::isAdditionalContentEditingModePageObject | ( | ) |
Definition at line 2423 of file class.assQuestion.php.
References ADDITIONAL_CONTENT_EDITING_MODE_IPE, and getAdditionalContentEditingMode().
Referenced by delete(), duplicateQuestionHints(), assClozeTest\getClozeTextForHTMLOutput(), and purifyAndPrepareTextAreaOutput().
assQuestion::isAnswered | ( | int | $active_id, |
int | $pass | ||
) |
Definition at line 2377 of file class.assQuestion.php.
References getId(), and getNumExistingSolutionRecords().
|
abstract |
|
protected |
Definition at line 2680 of file class.assQuestion.php.
Referenced by assFileUpload\calculateReachedPoints().
|
static |
Definition at line 1026 of file class.assQuestion.php.
|
static |
Definition at line 217 of file class.assQuestion.php.
|
protected |
Definition at line 227 of file class.assQuestion.php.
Referenced by assFileUpload\isFileDeletionSubmitAvailable(), and assFileUpload\isFileReuseSubmitAvailable().
assQuestion::isPreviewSolutionCorrect | ( | ilAssQuestionPreviewSession | $preview_session | ) |
Definition at line 1860 of file class.assQuestion.php.
References calculateReachedPointsFromPreviewSession(), and getMaximumPoints().
assQuestion::isValidAdditionalContentEditingMode | ( | string | $additionalContentEditingMode | ) |
Definition at line 2428 of file class.assQuestion.php.
References getValidAdditionalContentEditingModes().
assQuestion::isWriteable | ( | ) |
Definition at line 1833 of file class.assQuestion.php.
References ilObjQuestionPool\_isWriteable(), getCurrentUser(), getId(), and getObjId().
|
protected |
Definition at line 2259 of file class.assQuestion.php.
References ilAssSelfAssessmentMigrator\migrateToLmContent(), and setQuestion().
Referenced by migrateContentForLearningModule().
|
protected |
Definition at line 2264 of file class.assQuestion.php.
Referenced by migrateContentForLearningModule().
assQuestion::loadFromDb | ( | int | $question_id | ) |
Definition at line 1144 of file class.assQuestion.php.
References $data, and loadSuggestedSolutions().
|
protected |
Definition at line 2983 of file class.assQuestion.php.
References getId(), and getSuggestedSolutionsRepo().
Referenced by loadFromDb().
assQuestion::lookupForExistingSolutions | ( | int | $activeId, |
int | $pass | ||
) |
Lookup if an authorized or intermediate solution exists.
Definition at line 2825 of file class.assQuestion.php.
References getId(), getStep(), and null.
Referenced by authorizedOrIntermediateSolutionExists(), authorizedSolutionExists(), calculateResultsFromSolution(), and intermediateSolutionExists().
|
protected |
Definition at line 2807 of file class.assQuestion.php.
References getId().
Referenced by assNumeric\getUserQuestionResult(), assOrderingHorizontal\getUserQuestionResult(), assTextSubset\getUserQuestionResult(), assSingleChoice\getUserQuestionResult(), assMultipleChoice\getUserQuestionResult(), assOrderingQuestion\getUserQuestionResult(), assFormulaQuestion\getUserQuestionResult(), assMatchingQuestion\getUserQuestionResult(), and assClozeTest\getUserQuestionResult().
|
static |
Definition at line 2291 of file class.assQuestion.php.
References $DIC, $ilDB, $res, and null.
Referenced by ILIAS\Test\Questions\Presentation\QuestionsTableActions\checkQuestionParametersForCopyToPool(), and ilAssQuestionSkillAssignmentsGUI\isSyncOriginalPossibleAndAllowed().
assQuestion::migrateContentForLearningModule | ( | ilAssSelfAssessmentMigrator | $migrator | ) |
Definition at line 2250 of file class.assQuestion.php.
References getId(), lmMigrateQuestionTypeGenericContent(), lmMigrateQuestionTypeSpecificContent(), and saveToDb().
Referenced by ilAssSelfAssessmentQuestionFormatter\prepareQuestionForLearningModule().
|
protected |
Definition at line 1463 of file class.assQuestion.php.
References copySuggestedSolutions(), duplicateComments(), duplicateQuestionHints(), duplicateSkillAssignments(), and duplicateSuggestedSolutionFiles().
|
protected |
Definition at line 1440 of file class.assQuestion.php.
References cloneSuggestedSolutionFiles(), copySuggestedSolutions(), duplicateComments(), duplicateQuestionHints(), and duplicateSkillAssignments().
|
final |
persists the preview state for current user and question
Definition at line 686 of file class.assQuestion.php.
References savePreviewData(), and validateSolutionSubmit().
|
final |
persists the working state for current testactive and testpass
Definition at line 656 of file class.assQuestion.php.
References ilObjTest\_getPass(), calculateResultsFromSolution(), getProcessLocker(), null, removeIntermediateSolution(), saveWorkingData(), and validateSolutionSubmit().
Referenced by ilTestPlayerAbstractGUI\save().
|
protected |
Definition at line 1991 of file class.assQuestion.php.
References getHtmlQuestionContentPurifier(), isAdditionalContentEditingModePageObject(), and ilLegacyFormElementsUtil\prepareTextareaOutput().
Referenced by getQuestionForHTMLOutput(), and assFormulaQuestion\substituteVariables().
assQuestion::removeAllExistingSolutions | ( | ) |
Definition at line 2870 of file class.assQuestion.php.
References getId().
|
protected |
Definition at line 1399 of file class.assQuestion.php.
Referenced by assOrderingQuestion\cloneImages(), assMatchingQuestion\cloneImages(), and assImagemapQuestion\copyImagemapFiles().
assQuestion::removeCurrentSolution | ( | int | $active_id, |
int | $pass, | ||
bool | $authorized = true |
||
) |
Definition at line 2557 of file class.assQuestion.php.
References getId(), getStep(), and null.
Referenced by removeIntermediateSolution(), assOrderingHorizontal\saveWorkingData(), assErrorText\saveWorkingData(), assTextSubset\saveWorkingData(), assKprimChoice\saveWorkingData(), assTextQuestion\saveWorkingData(), assMultipleChoice\saveWorkingData(), assLongMenu\saveWorkingData(), assFileUpload\saveWorkingData(), assOrderingQuestion\saveWorkingData(), assMatchingQuestion\saveWorkingData(), and assClozeTest\saveWorkingData().
assQuestion::removeExistingSolutions | ( | int | $activeId, |
int | $pass | ||
) |
Definition at line 2876 of file class.assQuestion.php.
References getId(), getStep(), and null.
Referenced by resetUsersAnswer().
assQuestion::removeIntermediateSolution | ( | int | $active_id, |
int | $pass | ||
) |
Definition at line 2547 of file class.assQuestion.php.
References getProcessLocker(), and removeCurrentSolution().
Referenced by persistWorkingState().
assQuestion::removeResultRecord | ( | int | $activeId, |
int | $pass | ||
) |
Definition at line 2913 of file class.assQuestion.php.
References getId(), getStep(), and null.
Referenced by resetUsersAnswer().
|
protected |
Definition at line 2519 of file class.assQuestion.php.
Referenced by deleteDummySolutionRecord(), assNumeric\saveWorkingData(), and assSingleChoice\saveWorkingData().
|
static |
Definition at line 1426 of file class.assQuestion.php.
Referenced by ilTestRandomQuestionSetPoolDeriver\updateTestQuestionStage().
assQuestion::resetUsersAnswer | ( | int | $activeId, |
int | $pass | ||
) |
Definition at line 2896 of file class.assQuestion.php.
References getProcessLocker(), getTestId(), removeExistingSolutions(), and removeResultRecord().
assQuestion::resolveInternalLink | ( | string | $internal_link | ) |
Definition at line 1628 of file class.assQuestion.php.
References ilInternalLink\_getIdForImportId(), ilLMObject\_getIdForImportId(), and null.
Referenced by resolveSuggestedSolutionLinks().
assQuestion::resolveSuggestedSolutionLinks | ( | ) |
Definition at line 1659 of file class.assQuestion.php.
References ilInternalLink\_deleteAllLinksOfSource(), ilInternalLink\_saveLink(), getId(), and resolveInternalLink().
assQuestion::saveCurrentSolution | ( | int | $active_id, |
int | $pass, | ||
$value1, | |||
$value2, | |||
bool | $authorized = true , |
||
$tstamp = 0 |
|||
) |
Definition at line 2592 of file class.assQuestion.php.
References getId(), getStep(), ILIAS\Repository\int(), and null.
Referenced by duplicateIntermediateSolutionAuthorized(), forceExistingIntermediateSolution(), assOrderingHorizontal\saveWorkingData(), assNumeric\saveWorkingData(), assErrorText\saveWorkingData(), assSingleChoice\saveWorkingData(), assTextSubset\saveWorkingData(), assKprimChoice\saveWorkingData(), assTextQuestion\saveWorkingData(), assMultipleChoice\saveWorkingData(), assFileUpload\saveWorkingData(), assLongMenu\saveWorkingData(), assOrderingQuestion\saveWorkingData(), assMatchingQuestion\saveWorkingData(), and assClozeTest\saveWorkingData().
|
static |
Definition at line 1413 of file class.assQuestion.php.
Referenced by ilObjTestGUI\copyAndLinkQuestionsToPoolObject(), ilObjTestGUI\executeAfterQuestionCreationTasks(), and ilTestRandomQuestionSetPoolDeriver\updateTestQuestionStage().
|
protected |
Definition at line 697 of file class.assQuestion.php.
References ilAssQuestionPreviewSession\setParticipantsSolution().
Referenced by persistPreviewState().
assQuestion::saveQuestionDataToDb | ( | ?int | $original_id = null | ) |
Definition at line 1222 of file class.assQuestion.php.
References ilRTE\_replaceMediaObjectImageSrc(), createPageObject(), getAdditionalContentEditingMode(), getAuthor(), getComment(), getExternalId(), getId(), getMaximumPoints(), getNrOfTries(), getObjId(), getOwner(), getQuestion(), getQuestionTypeID(), getTitle(), isComplete(), and setId().
Referenced by assNumeric\saveToDb(), assTextSubset\saveToDb(), assErrorText\saveToDb(), assOrderingHorizontal\saveToDb(), assSingleChoice\saveToDb(), assMultipleChoice\saveToDb(), assOrderingQuestion\saveToDb(), assTextQuestion\saveToDb(), assFileUpload\saveToDb(), assMatchingQuestion\saveToDb(), assImagemapQuestion\saveToDb(), assLongMenu\saveToDb(), assClozeTest\saveToDb(), assKprimChoice\saveToDb(), and assFormulaQuestion\saveToDb().
assQuestion::saveToDb | ( | ?int | $original_id = null | ) |
Definition at line 1373 of file class.assQuestion.php.
References ilObjQuestionPool\_updateQuestionCount(), cleanupMediaObjectUsage(), getId(), getLifecycle(), getObjId(), getOwner(), and isComplete().
Referenced by migrateContentForLearningModule().
|
abstract |
assQuestion::setAdditionalContentEditingMode | ( | ?string | $additionalContentEditingMode | ) |
Definition at line 2414 of file class.assQuestion.php.
References $additionalContentEditingMode, and getValidAdditionalContentEditingModes().
Referenced by assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), and assFormulaQuestion\loadFromDb().
assQuestion::setAuthor | ( | string | $author = "" | ) |
Definition at line 350 of file class.assQuestion.php.
References $author.
Referenced by assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), and assFormulaQuestion\loadFromDb().
assQuestion::setComment | ( | string | $comment = "" | ) |
Definition at line 340 of file class.assQuestion.php.
References $comment, and ILIAS\UI\examples\Symbol\Glyph\Comment\comment().
Referenced by assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), and assFormulaQuestion\loadFromDb().
assQuestion::setDefaultNrOfTries | ( | int | $defaultnroftries | ) |
assQuestion::setExportImagePath | ( | string | $path | ) |
assQuestion::setExternalId | ( | ?string | $external_id | ) |
|
static |
Definition at line 212 of file class.assQuestion.php.
References $force_pass_results_update_enabled.
assQuestion::setId | ( | int | $id = -1 | ) |
Definition at line 330 of file class.assQuestion.php.
References $id.
Referenced by createNewQuestion(), assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), and saveQuestionDataToDb().
assQuestion::setLastChange | ( | int | $lastChange | ) |
Definition at line 2473 of file class.assQuestion.php.
References $lastChange.
Referenced by assKprimChoice\loadFromDb().
assQuestion::setLifecycle | ( | ilAssQuestionLifecycle | $lifecycle | ) |
Definition at line 457 of file class.assQuestion.php.
References $lifecycle.
Referenced by assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), and assFormulaQuestion\loadFromDb().
assQuestion::setNrOfTries | ( | int | $a_nr_of_tries | ) |
Definition at line 2201 of file class.assQuestion.php.
Referenced by assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), and assLongMenu\loadFromDb().
assQuestion::setObjId | ( | int | $obj_id = 0 | ) |
Definition at line 447 of file class.assQuestion.php.
References $obj_id.
Referenced by assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), and assFormulaQuestion\loadFromDb().
assQuestion::setOriginalId | ( | ?int | $original_id | ) |
Definition at line 1081 of file class.assQuestion.php.
References $original_id.
Referenced by assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), and assFormulaQuestion\loadFromDb().
assQuestion::setOwner | ( | int | $owner = -1 | ) |
Definition at line 358 of file class.assQuestion.php.
References $owner.
Referenced by assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), and assFormulaQuestion\loadFromDb().
assQuestion::setPoints | ( | float | $points | ) |
Definition at line 1799 of file class.assQuestion.php.
References $points.
Referenced by assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), assFormulaQuestion\loadFromDb(), and assLongMenu\saveAnswerSpecificDataToDb().
assQuestion::setPreventRteUsage | ( | bool | $prevent_rte_usage | ) |
assQuestion::setProcessLocker | ( | ilAssQuestionProcessLocker | $processLocker | ) |
Definition at line 247 of file class.assQuestion.php.
References $processLocker.
assQuestion::setQuestion | ( | string | $question = "" | ) |
Definition at line 2005 of file class.assQuestion.php.
References $question.
Referenced by assClozeTest\__construct(), lmMigrateQuestionTypeGenericContent(), assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), and assFormulaQuestion\loadFromDb().
assQuestion::setSelfAssessmentEditingMode | ( | bool | $selfassessmenteditingmode | ) |
Definition at line 2269 of file class.assQuestion.php.
References $selfassessmenteditingmode.
assQuestion::setShuffle | ( | ?bool | $shuffle = true | ) |
Definition at line 345 of file class.assQuestion.php.
Referenced by assSingleChoice\loadFromDb(), assMultipleChoice\loadFromDb(), and assTextQuestion\loadFromDb().
assQuestion::setShuffler | ( | Transformation | $shuffler | ) |
Definition at line 242 of file class.assQuestion.php.
References $shuffler.
Referenced by assMatchingQuestion\toJSON().
assQuestion::setStep | ( | $step | ) |
int | null | $step |
Definition at line 2754 of file class.assQuestion.php.
References $step.
Referenced by assFileUpload\getUploadedFilesForWeb().
assQuestion::setTestId | ( | int | $id = -1 | ) |
assQuestion::setThumbSize | ( | int | $a_size | ) |
Definition at line 408 of file class.assQuestion.php.
Referenced by assSingleChoice\loadFromDb(), assMultipleChoice\loadFromDb(), assOrderingQuestion\loadFromDb(), and assOrderingQuestion\setContentType().
assQuestion::setTitle | ( | string | $title = "" | ) |
Definition at line 325 of file class.assQuestion.php.
References $title.
Referenced by assNumeric\loadFromDb(), assTextSubset\loadFromDb(), assSingleChoice\loadFromDb(), assOrderingHorizontal\loadFromDb(), assMultipleChoice\loadFromDb(), assTextQuestion\loadFromDb(), assOrderingQuestion\loadFromDb(), assFileUpload\loadFromDb(), assClozeTest\loadFromDb(), assErrorText\loadFromDb(), assKprimChoice\loadFromDb(), assImagemapQuestion\loadFromDb(), assMatchingQuestion\loadFromDb(), assLongMenu\loadFromDb(), and assFormulaQuestion\loadFromDb().
|
abstractprotected |
MUST convert the given solution values into an array or a string that can be stored in the log.
Language variables must be generated through the corresponding functions in the AdditionalInformationGenerator. If an array is returned it will be rendered into a line per array entry in the format "key: value". If the key exists as a language variable, it will be translated.
Referenced by answerToLog().
|
abstractprotected |
MUST convert the given solution values into text.
If the text has multiple lines each line MUST be placed as an entry in an array.
Referenced by getCorrectSolutionForTextOutput(), and getSolutionForTextOutput().
assQuestion::syncSkillAssignments | ( | int | $srcParentId, |
int | $srcQuestionId, | ||
int | $trgParentId, | ||
int | $trgQuestionId | ||
) |
Definition at line 2344 of file class.assQuestion.php.
References duplicateSkillAssignments().
assQuestion::syncWithOriginal | ( | ) |
Definition at line 1738 of file class.assQuestion.php.
References afterSyncWithOriginal(), cloneHints(), cloneQuestionTypeSpecificProperties(), cloneSuggestedSolutions(), cloneXHTMLMediaObjectsOfQuestion(), getId(), getObjId(), getOriginalId(), and null.
assQuestion::toJSON | ( | ) |
Definition at line 2779 of file class.assQuestion.php.
|
abstract |
MUST return an array of the question settings that can be stored in the log.
Language variables must be generated through the corresponding functions in the AdditionalInformationGenerator. If an array is returned it will be rendered into a line per array entry in the format "key: value". If the key exists as a language variable, it will be translated.
Implements ILIAS\TestQuestionPool\Questions\Question.
Referenced by toQuestionAdministrationInteraction().
assQuestion::toQuestionAdministrationInteraction | ( | AdditionalInformationGenerator | $additional_info, |
int | $test_ref_id, | ||
TestQuestionAdministrationInteractionTypes | $interaction_type | ||
) |
Implements ILIAS\TestQuestionPool\Questions\Question.
Definition at line 3034 of file class.assQuestion.php.
References toLog().
|
final |
Returns a QTI xml representation of the question.
Definition at line 313 of file class.assQuestion.php.
References getQuestionType().
assQuestion::updateCurrentSolution | ( | int | $solutionId, |
$value1, | |||
$value2, | |||
bool | $authorized = true |
||
) |
Definition at line 2615 of file class.assQuestion.php.
References getStep(), ILIAS\Repository\int(), and null.
Referenced by assNumeric\saveWorkingData(), and assSingleChoice\saveWorkingData().
assQuestion::updateCurrentSolutionsAuthorization | ( | int | $activeId, |
int | $pass, | ||
bool | $authorized, | ||
bool | $keepTime = false |
||
) |
Definition at line 2634 of file class.assQuestion.php.
References getId(), getStep(), ILIAS\Repository\int(), and null.
Referenced by forceExistingIntermediateSolution(), and assFileUpload\saveWorkingData().
assQuestion::updateTimestamp | ( | ) |
Definition at line 2955 of file class.assQuestion.php.
References getId().
assQuestion::validateSolutionSubmit | ( | ) |
Implements ILIAS\TestQuestionPool\Questions\Question.
Definition at line 692 of file class.assQuestion.php.
Referenced by persistPreviewState(), and persistWorkingState().
|
private |
Definition at line 104 of file class.assQuestion.php.
Referenced by getAdditionalContentEditingMode(), and setAdditionalContentEditingMode().
|
protected |
Definition at line 92 of file class.assQuestion.php.
Referenced by assFormulaQuestion\__construct(), assOrderingHorizontal\__construct(), assSingleChoice\__construct(), assErrorText\__construct(), assKprimChoice\__construct(), assOrderingQuestion\__construct(), assMultipleChoice\__construct(), assTextQuestion\__construct(), assClozeTest\__construct(), assImagemapQuestion\__construct(), assMatchingQuestion\__construct(), getAuthor(), and setAuthor().
|
protected |
Definition at line 90 of file class.assQuestion.php.
Referenced by assFormulaQuestion\__construct(), assOrderingHorizontal\__construct(), assSingleChoice\__construct(), assErrorText\__construct(), assKprimChoice\__construct(), assOrderingQuestion\__construct(), assMultipleChoice\__construct(), assTextQuestion\__construct(), assClozeTest\__construct(), assImagemapQuestion\__construct(), assMatchingQuestion\__construct(), getComment(), and setComment().
|
protected |
Definition at line 75 of file class.assQuestion.php.
Referenced by getCurrentUser().
|
protected |
Definition at line 74 of file class.assQuestion.php.
int assQuestion::$defaultnroftries = 0 |
Definition at line 107 of file class.assQuestion.php.
Referenced by getDefaultNrOfTries(), and setDefaultNrOfTries().
|
protected |
Definition at line 81 of file class.assQuestion.php.
|
private |
Definition at line 102 of file class.assQuestion.php.
Referenced by getImagePathWeb().
|
protected |
Definition at line 103 of file class.assQuestion.php.
Referenced by getExternalId(), and setExternalId().
ilAssQuestionFeedback assQuestion::$feedbackOBJ |
Definition at line 85 of file class.assQuestion.php.
|
staticprotected |
Definition at line 62 of file class.assQuestion.php.
Referenced by setForcePassResultUpdateEnabled().
|
protected |
Definition at line 77 of file class.assQuestion.php.
|
protected |
Definition at line 88 of file class.assQuestion.php.
Referenced by assFormulaQuestion\addResultUnits(), createNewOriginalFromThisDuplicate(), getId(), getImagePath(), setId(), assFormulaQuestion\setId(), setTestId(), assKprimChoice\solutionValuesToLog(), assMultipleChoice\solutionValuesToLog(), and assKprimChoice\solutionValuesToText().
|
protected |
Definition at line 71 of file class.assQuestion.php.
|
staticprotected |
Definition at line 1091 of file class.assQuestion.php.
|
protected |
Definition at line 101 of file class.assQuestion.php.
Referenced by getLastChange(), and setLastChange().
|
protected |
Definition at line 84 of file class.assQuestion.php.
Referenced by getLifecycle(), and setLifecycle().
|
protected |
Definition at line 73 of file class.assQuestion.php.
|
protected |
Definition at line 80 of file class.assQuestion.php.
|
private |
Definition at line 100 of file class.assQuestion.php.
Referenced by getNrOfTries().
|
protected |
Definition at line 98 of file class.assQuestion.php.
Referenced by getImagePath(), getObjId(), and setObjId().
|
protected |
Definition at line 99 of file class.assQuestion.php.
Referenced by assTextQuestion\duplicateAnswers(), getOriginalId(), assNumeric\saveToDb(), assTextSubset\saveToDb(), assErrorText\saveToDb(), assOrderingHorizontal\saveToDb(), assSingleChoice\saveToDb(), assMultipleChoice\saveToDb(), assOrderingQuestion\saveToDb(), assTextQuestion\saveToDb(), assFileUpload\saveToDb(), assMatchingQuestion\saveToDb(), assImagemapQuestion\saveToDb(), assLongMenu\saveToDb(), assClozeTest\saveToDb(), assKprimChoice\saveToDb(), assFormulaQuestion\saveToDb(), and setOriginalId().
|
protected |
Definition at line 91 of file class.assQuestion.php.
Referenced by assFormulaQuestion\__construct(), assOrderingHorizontal\__construct(), assSingleChoice\__construct(), assErrorText\__construct(), assKprimChoice\__construct(), assOrderingQuestion\__construct(), assMultipleChoice\__construct(), assTextQuestion\__construct(), assClozeTest\__construct(), assImagemapQuestion\__construct(), assMatchingQuestion\__construct(), getOwner(), and setOwner().
|
protected |
Definition at line 86 of file class.assQuestion.php.
|
protected |
Definition at line 95 of file class.assQuestion.php.
Referenced by _getReachedPoints(), assTextSubset\addAnswer(), assSingleChoice\addAnswer(), assMultipleChoice\addAnswer(), assTextQuestion\addAnswer(), assMatchingQuestion\addMatchingPair(), adjustReachedPointsByScoringOptions(), assClozeTest\calculateCombinationResult(), assOrderingHorizontal\calculateReachedPoints(), assNumeric\calculateReachedPoints(), assErrorText\calculateReachedPoints(), assSingleChoice\calculateReachedPoints(), assKprimChoice\calculateReachedPoints(), assMatchingQuestion\calculateReachedPoints(), assFormulaQuestion\calculateReachedPoints(), assTextQuestion\calculateReachedPointsForSolution(), assLongMenu\calculateReachedPointsForSolution(), assOrderingHorizontal\calculateReachedPointsForSolution(), assTextSubset\calculateReachedPointsForSolution(), assKprimChoice\calculateReachedPointsForSolution(), assMultipleChoice\calculateReachedPointsForSolution(), assMatchingQuestion\calculateReachedPointsForSolution(), assClozeTest\calculateReachedPointsForSolution(), assNumeric\calculateReachedPointsFromPreviewSession(), assSingleChoice\calculateReachedPointsFromPreviewSession(), assFormulaQuestion\calculateReachedPointsFromPreviewSession(), assLongMenu\checkQuestionCustomPart(), assMatchingQuestion\createMatchingPair(), ensureNonNegativePoints(), assClozeTest\getMaximumGapPoints(), assTextQuestion\getMaximumPoints(), assTextSubset\getMaximumPoints(), assLongMenu\getMaximumPoints(), assSingleChoice\getMaximumPoints(), getMaximumPoints(), assMatchingQuestion\getMaximumPoints(), assClozeTest\getMaximumPoints(), assFormulaQuestion\getMaximumPoints(), assTextQuestion\getMinimumPoints(), getPoints(), assLongMenu\getPointsForGap(), assErrorText\getPointsForSelectedPositions(), assNumeric\getUserQuestionResult(), assOrderingHorizontal\getUserQuestionResult(), assTextSubset\getUserQuestionResult(), assLongMenu\getUserQuestionResult(), assErrorText\getUserQuestionResult(), assSingleChoice\getUserQuestionResult(), assMultipleChoice\getUserQuestionResult(), assOrderingQuestion\getUserQuestionResult(), assFormulaQuestion\getUserQuestionResult(), assMatchingQuestion\getUserQuestionResult(), assClozeTest\getUserQuestionResult(), assMatchingQuestion\insertMatchingPair(), assLongMenu\saveAnswerSpecificDataToDb(), assErrorText\setErrorsFromParsedErrorText(), assClozeTest\setGapAnswerPoints(), and setPoints().
bool assQuestion::$prevent_rte_usage = false |
Definition at line 105 of file class.assQuestion.php.
Referenced by getPreventRteUsage(), and setPreventRteUsage().
|
protected |
Definition at line 67 of file class.assQuestion.php.
Referenced by getProcessLocker(), and setProcessLocker().
|
protected |
Definition at line 94 of file class.assQuestion.php.
Referenced by assFormulaQuestion\__construct(), assOrderingHorizontal\__construct(), assSingleChoice\__construct(), assErrorText\__construct(), assKprimChoice\__construct(), assOrderingQuestion\__construct(), assMultipleChoice\__construct(), assTextQuestion\__construct(), assClozeTest\__construct(), assImagemapQuestion\__construct(), assMatchingQuestion\__construct(), getQuestion(), instantiateQuestion(), and setQuestion().
|
protected |
Definition at line 66 of file class.assQuestion.php.
string assQuestion::$questionActionCmd = 'handleQuestionAction' |
Definition at line 108 of file class.assQuestion.php.
|
protected |
Definition at line 65 of file class.assQuestion.php.
|
protected |
Definition at line 64 of file class.assQuestion.php.
|
protected |
Definition at line 78 of file class.assQuestion.php.
Referenced by assClozeTest\getTextgapPoints(), assTextSubset\isAnswerCorrect(), and assTextQuestion\isKeywordMatching().
bool assQuestion::$selfassessmenteditingmode = false |
Definition at line 106 of file class.assQuestion.php.
Referenced by getSelfAssessmentEditingMode(), and setSelfAssessmentEditingMode().
|
protected |
Definition at line 96 of file class.assQuestion.php.
Referenced by getShuffle(), assSingleChoice\loadFromDb(), assMultipleChoice\loadFromDb(), assClozeTest\setGapShuffle(), assMatchingQuestion\setShuffle(), and assMatchingQuestion\setShuffleMode().
|
protected |
Definition at line 79 of file class.assQuestion.php.
Referenced by getShuffler(), and setShuffler().
|
protected |
Definition at line 76 of file class.assQuestion.php.
|
protected |
Definition at line 109 of file class.assQuestion.php.
Referenced by getStep(), assFileUpload\getUploadedFilesForWeb(), and setStep().
|
protected |
Definition at line 114 of file class.assQuestion.php.
Referenced by getSuggestedSolutions().
|
protected |
Definition at line 69 of file class.assQuestion.php.
Referenced by getSuggestedSolutionsRepo().
|
protected |
Definition at line 97 of file class.assQuestion.php.
Referenced by getTestId(), assFileUpload\getUploadedFilesForWeb(), assFileUpload\removeIntermediateSolution(), and assFileUpload\saveWorkingData().
|
private |
Definition at line 83 of file class.assQuestion.php.
Referenced by getTestPresentationConfig().
|
protected |
Definition at line 68 of file class.assQuestion.php.
|
protected |
Definition at line 93 of file class.assQuestion.php.
Referenced by getThumbSize().
|
protected |
Definition at line 89 of file class.assQuestion.php.
Referenced by assFormulaQuestion\__construct(), assOrderingHorizontal\__construct(), assSingleChoice\__construct(), assErrorText\__construct(), assKprimChoice\__construct(), assOrderingQuestion\__construct(), assMultipleChoice\__construct(), assTextQuestion\__construct(), assClozeTest\__construct(), assImagemapQuestion\__construct(), assMatchingQuestion\__construct(), getTitle(), and setTitle().
|
protected |
Definition at line 72 of file class.assQuestion.php.
const assQuestion::ADDITIONAL_CONTENT_EDITING_MODE_IPE = 'pageobject' |
Definition at line 55 of file class.assQuestion.php.
Referenced by assQuestionGUI\addBasicQuestionFormProperties(), ilObjQuestionPoolGUI\buildInputEditingType(), ilObjTestGUI\buildInputEditingType(), ilPCQuestionGUI\insert(), isAdditionalContentEditingModePageObject(), and assClozeTestGUI\populateQuestionSpecificFormPart().
const assQuestion::ADDITIONAL_CONTENT_EDITING_MODE_RTE = 'default' |
Definition at line 54 of file class.assQuestion.php.
Referenced by ilObjQuestionPoolGUI\buildInputEditingType(), ilObjTestGUI\buildInputEditingType(), ilPCQuestionGUI\edit(), assQuestionImport\fetchAdditionalContentEditingModeInformation(), ilPCQuestionGUI\insert(), and assLongMenuGUI\populateQuestionSpecificFormPart().
|
private |
Definition at line 57 of file class.assQuestion.php.
|
protected |
Definition at line 52 of file class.assQuestion.php.
const assQuestion::KEY_VALUES_IMPLOSION_SEPARATOR = ':' |
Definition at line 2659 of file class.assQuestion.php.
Referenced by explodeKeyValues(), and implodeKeyValues().
|
private |
Definition at line 59 of file class.assQuestion.php.
|
private |
Definition at line 58 of file class.assQuestion.php.
const assQuestion::TRIM_PATTERN = '/^[\p{C}\p{Z}]+|[\p{C}\p{Z}]+$/u' |
Definition at line 60 of file class.assQuestion.php.