ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
|
Public Member Functions | |
__construct (private int $test_id, private ilDBInterface $db, private ResourceStorage $irss, private string $objects_export_directory, 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 () | |
exportParticipantUploadedFiles (array $uploaded_files) | |
exportTestTimes () | |
Protected Attributes | |
bool | $include_random_test_questions_enabled = false |
Private Attributes | |
$active_ids | |
Definition at line 23 of file class.ilTestResultsToXML.php.
ilTestResultsToXML::__construct | ( | private int | $test_id, |
private ilDBInterface | $db, | ||
private ResourceStorage | $irss, | ||
private string | $objects_export_directory, | ||
private bool | $anonymized = false |
||
) |
Definition at line 29 of file class.ilTestResultsToXML.php.
References ILIAS\GlobalScreen\Provider\__construct().
|
protected |
Definition at line 49 of file class.ilTestResultsToXML.php.
References ilObjTestAccess\_getParticipantData(), null, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
array{value1 | string, value2: string} $uploaded_files |
Definition at line 231 of file class.ilTestResultsToXML.php.
References ilFileUtils\makeDirParents(), and null.
Referenced by exportTestResults().
|
protected |
Definition at line 96 of file class.ilTestResultsToXML.php.
References null, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 179 of file class.ilTestResultsToXML.php.
References null, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 117 of file class.ilTestResultsToXML.php.
References null, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 201 of file class.ilTestResultsToXML.php.
References exportParticipantUploadedFiles(), assQuestion\instantiateQuestion(), null, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 139 of file class.ilTestResultsToXML.php.
References null, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 158 of file class.ilTestResultsToXML.php.
References null, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 253 of file class.ilTestResultsToXML.php.
References null, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
ilTestResultsToXML::getXML | ( | ) |
Definition at line 272 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 39 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 44 of file class.ilTestResultsToXML.php.
References $include_random_test_questions_enabled.
ilTestResultsToXML::xmlDumpFile | ( | string | $file, |
bool | $format = true |
||
) |
Definition at line 299 of file class.ilTestResultsToXML.php.
References getXML().
ilTestResultsToXML::xmlDumpMem | ( | bool | $format = true | ) |
Definition at line 293 of file class.ilTestResultsToXML.php.
References getXML().
|
private |
Definition at line 25 of file class.ilTestResultsToXML.php.
|
protected |
Definition at line 27 of file class.ilTestResultsToXML.php.
Referenced by isIncludeRandomTestQuestionsEnabled(), and setIncludeRandomTestQuestionsEnabled().