ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 54 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 130 of file class.ilAssSelfAssessmentQuestionFormatter.php.
References 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 111 of file class.ilAssSelfAssessmentQuestionFormatter.php.
References convertLatexSpanToTex(), and stripHtmlExceptSelfAssessmentTags().
|
static |
assQuestion | $question |
Definition at line 121 of file class.ilAssSelfAssessmentQuestionFormatter.php.
References assQuestion\migrateContentForLearningModule().
Referenced by ilPCQuestion\copyPoolQuestionIntoPage().
|
protected |
string | $string |
Definition at line 91 of file class.ilAssSelfAssessmentQuestionFormatter.php.
References $t, and ilUtil\secureString().
Referenced by migrateToLmContent().