ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilAssSelfAssessmentQuestionFormatter. More...
Public Member Functions | |
format ($string) | |
Original code copied from ::formatSAQuestion (author: akill) More... | |
migrateToLmContent ($string) | |
Static Public Member Functions | |
static | prepareQuestionForLearningModule (assQuestion $question) |
static | getSelfAssessmentTags () |
Get tags allowed in question tags in self assessment mode. More... | |
Protected Member Functions | |
handleLineBreaks ($string) | |
convertLatexSpanToTex ($string) | |
stripHtmlExceptSelfAssessmentTags ($string) | |
Class ilAssSelfAssessmentQuestionFormatter.
Definition at line 9 of file class.ilAssSelfAssessmentQuestionFormatter.php.
|
protected |
string | $string |
Definition at line 53 of file class.ilAssSelfAssessmentQuestionFormatter.php.
Referenced by migrateToLmContent().
ilAssSelfAssessmentQuestionFormatter::format | ( | $string | ) |
Original code copied from ::formatSAQuestion (author: akill)
$html | string |
Definition at line 16 of file class.ilAssSelfAssessmentQuestionFormatter.php.
References ilRTE\_replaceMediaObjectImageSrc(), ilMathJax\getInstance(), handleLineBreaks(), and string.
|
static |
Get tags allowed in question tags in self assessment mode.
BH 01-03-2018: added P tag to allowed tags due to missing newline problems
BH 01-03-2018: added P tag to allowed tags due to missing newline problems
Definition at line 121 of file class.ilAssSelfAssessmentQuestionFormatter.php.
References $s, $tags, array, and ilUtil\getSecureTags().
Referenced by assClozeTestGUI\addBasicQuestionFormProperties(), assQuestionGUI\addBasicQuestionFormProperties(), ilAssQuestionFeedback\buildFeedbackContentFormProperty(), assLongMenuGUI\populateQuestionSpecificFormPart(), and assClozeTestGUI\populateQuestionSpecificFormPart().
|
protected |
string | $string |
Definition at line 40 of file class.ilAssSelfAssessmentQuestionFormatter.php.
References ilUtil\isHTML().
Referenced by format().
ilAssSelfAssessmentQuestionFormatter::migrateToLmContent | ( | $string | ) |
string | $string |
Implements ilAssSelfAssessmentMigrator.
Definition at line 102 of file class.ilAssSelfAssessmentQuestionFormatter.php.
References convertLatexSpanToTex(), and stripHtmlExceptSelfAssessmentTags().
|
static |
assQuestion | $question |
Definition at line 112 of file class.ilAssSelfAssessmentQuestionFormatter.php.
References assQuestion\migrateContentForLearningModule().
Referenced by ilPCQuestion\copyPoolQuestionIntoPage().
|
protected |
string | $string |
Definition at line 83 of file class.ilAssSelfAssessmentQuestionFormatter.php.
References $t, $tags, and ilUtil\secureString().
Referenced by migrateToLmContent().