ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct ($test_id, $anonymized=false) | |
isIncludeRandomTestQuestionsEnabled () | |
setIncludeRandomTestQuestionsEnabled (bool $includeRandomTestQuestionsEnabled) | |
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 | $includeRandomTestQuestionsEnabled = false |
Private Attributes | |
int | $test_id = 0 |
bool | $anonymized = false |
$active_ids | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 19 of file class.ilTestResultsToXML.php.
ilTestResultsToXML::__construct | ( | $test_id, | |
$anonymized = false |
|||
) |
Definition at line 27 of file class.ilTestResultsToXML.php.
References $anonymized, $test_id, and ILIAS\GlobalScreen\Provider\__construct().
|
protected |
Definition at line 44 of file class.ilTestResultsToXML.php.
References $DIC, $ilDB, $ilSetting, ilObjTestAccess\_getParticipantData(), ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 94 of file class.ilTestResultsToXML.php.
References $DIC, $ilDB, $query, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 189 of file class.ilTestResultsToXML.php.
References $DIC, $ilDB, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 118 of file class.ilTestResultsToXML.php.
References $DIC, $ilDB, $query, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 214 of file class.ilTestResultsToXML.php.
References $DIC, $ilDB, $query, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 143 of file class.ilTestResultsToXML.php.
References $DIC, $ilDB, $query, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 165 of file class.ilTestResultsToXML.php.
References $DIC, $ilDB, $query, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 237 of file class.ilTestResultsToXML.php.
References $DIC, $ilDB, $query, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
ilTestResultsToXML::getXML | ( | ) |
Definition at line 259 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 34 of file class.ilTestResultsToXML.php.
References $includeRandomTestQuestionsEnabled.
Referenced by getXML().
ilTestResultsToXML::setIncludeRandomTestQuestionsEnabled | ( | bool | $includeRandomTestQuestionsEnabled | ) |
Definition at line 39 of file class.ilTestResultsToXML.php.
References $includeRandomTestQuestionsEnabled.
Referenced by ilTestExport\buildExportFileXML().
ilTestResultsToXML::xmlDumpFile | ( | string | $file, |
bool | $format = true |
||
) |
Definition at line 286 of file class.ilTestResultsToXML.php.
References $format, and getXML().
ilTestResultsToXML::xmlDumpMem | ( | bool | $format = true | ) |
Definition at line 280 of file class.ilTestResultsToXML.php.
References $format, and getXML().
|
private |
Definition at line 23 of file class.ilTestResultsToXML.php.
|
private |
Definition at line 22 of file class.ilTestResultsToXML.php.
Referenced by __construct().
|
protected |
Definition at line 25 of file class.ilTestResultsToXML.php.
Referenced by isIncludeRandomTestQuestionsEnabled(), and setIncludeRandomTestQuestionsEnabled().
|
private |
Definition at line 21 of file class.ilTestResultsToXML.php.
Referenced by __construct().