ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
Public Member Functions | |
__construct (private int $test_id, private ilDBInterface $db, private bool $anonymized=false) | |
isIncludeRandomTestQuestionsEnabled () | |
setIncludeRandomTestQuestionsEnabled (bool $include_random_test_questions_enabled) | |
getXML () | |
xmlDumpMem (bool $format=true) | |
xmlDumpFile (string $file, bool $format=true) | |
![]() | |
__construct (string $version="1.0", string $outEnc="utf-8", string $inEnc="utf-8") | |
xmlSetDtdDef (string $dtdDef) | |
Sets dtd definition. More... | |
xmlSetGenCmt (string $genCmt) | |
Sets generated comment. More... | |
xmlFormatData (string $data) | |
Indents text for better reading. More... | |
xmlHeader () | |
Writes xml header. More... | |
xmlStartTag (string $tag, ?array $attrs=null, bool $empty=false, bool $encode=true, bool $escape=true) | |
Writes a starttag. More... | |
xmlEndTag (string $tag) | |
Writes an endtag. More... | |
xmlData (string $data, bool $encode=true, bool $escape=true) | |
Writes data. More... | |
xmlElement (string $tag, $attrs=null, $data=null, $encode=true, $escape=true) | |
Writes a basic element (no children, just textual content) More... | |
xmlDumpFile (string $file, bool $format=true) | |
Dumps xml document from memory into a file. More... | |
xmlDumpMem (bool $format=true) | |
Returns xml document from memory. More... | |
appendXML (string $a_str) | |
append xml string to document More... | |
xmlClear () | |
clears xmlStr More... | |
Protected Member Functions | |
exportActiveIDs () | |
exportPassResult () | |
exportResultCache () | |
exportTestSequence () | |
exportTestSolutions () | |
exportRandomTestQuestions () | |
exportTestResults () | |
exportTestTimes () | |
Protected Attributes | |
bool | $include_random_test_questions_enabled = false |
Private Attributes | |
$active_ids | |
Definition at line 21 of file class.ilTestResultsToXML.php.
ilTestResultsToXML::__construct | ( | private int | $test_id, |
private ilDBInterface | $db, | ||
private bool | $anonymized = false |
||
) |
Definition at line 27 of file class.ilTestResultsToXML.php.
References ILIAS\GlobalScreen\Provider\__construct().
|
protected |
Definition at line 45 of file class.ilTestResultsToXML.php.
References ilObjTestAccess\_getParticipantData(), null, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 92 of file class.ilTestResultsToXML.php.
References null, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 175 of file class.ilTestResultsToXML.php.
References null, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 113 of file class.ilTestResultsToXML.php.
References null, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 197 of file class.ilTestResultsToXML.php.
References null, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 135 of file class.ilTestResultsToXML.php.
References null, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 154 of file class.ilTestResultsToXML.php.
References null, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 217 of file class.ilTestResultsToXML.php.
References null, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
ilTestResultsToXML::getXML | ( | ) |
Definition at line 236 of file class.ilTestResultsToXML.php.
References exportActiveIDs(), exportPassResult(), exportRandomTestQuestions(), exportResultCache(), exportTestResults(), exportTestSequence(), exportTestSolutions(), exportTestTimes(), isIncludeRandomTestQuestionsEnabled(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
Referenced by xmlDumpFile(), and xmlDumpMem().
ilTestResultsToXML::isIncludeRandomTestQuestionsEnabled | ( | ) |
Definition at line 35 of file class.ilTestResultsToXML.php.
References $include_random_test_questions_enabled.
Referenced by getXML().
ilTestResultsToXML::setIncludeRandomTestQuestionsEnabled | ( | bool | $include_random_test_questions_enabled | ) |
Definition at line 40 of file class.ilTestResultsToXML.php.
References $include_random_test_questions_enabled.
ilTestResultsToXML::xmlDumpFile | ( | string | $file, |
bool | $format = true |
||
) |
Definition at line 263 of file class.ilTestResultsToXML.php.
References getXML().
ilTestResultsToXML::xmlDumpMem | ( | bool | $format = true | ) |
Definition at line 257 of file class.ilTestResultsToXML.php.
References getXML().
|
private |
Definition at line 23 of file class.ilTestResultsToXML.php.
|
protected |
Definition at line 25 of file class.ilTestResultsToXML.php.
Referenced by isIncludeRandomTestQuestionsEnabled(), and setIncludeRandomTestQuestionsEnabled().