ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Test results to XML class. More...
Public Member Functions | |
__construct ($test_id, $anonymized=false) | |
isIncludeRandomTestQuestionsEnabled () | |
setIncludeRandomTestQuestionsEnabled ($includeRandomTestQuestionsEnabled) | |
getXML () | |
xmlDumpMem ($format=TRUE) | |
xmlDumpFile ($file, $format=TRUE) | |
Public Member Functions inherited from ilXmlWriter | |
__construct ($version="1.0", $outEnc="utf-8", $inEnc="utf-8") | |
constructor More... | |
_ilXmlWriter () | |
destructor public More... | |
xmlSetDtdDef ($dtdDef) | |
Sets dtd definition. More... | |
xmlSetStSheet ($stSheet) | |
Sets stylesheet. More... | |
xmlSetGenCmt ($genCmt) | |
Sets generated comment. More... | |
xmlEncodeData ($data) | |
Encodes text from input encoding into output encoding. More... | |
xmlFormatData ($data) | |
Indents text for better reading. More... | |
xmlFormatElement ($array) | |
Callback function for xmlFormatData; do not invoke directly. More... | |
xmlHeader () | |
Writes xml header public. More... | |
xmlStartTag ($tag, $attrs=NULL, $empty=FALSE, $encode=TRUE, $escape=TRUE) | |
Writes a starttag. More... | |
xmlEndTag ($tag) | |
Writes an endtag. More... | |
xmlComment ($comment) | |
Writes a comment. More... | |
xmlData ($data, $encode=TRUE, $escape=TRUE) | |
Writes data. More... | |
xmlElement ($tag, $attrs=NULL, $data=Null, $encode=TRUE, $escape=TRUE) | |
Writes a basic element (no children, just textual content) More... | |
xmlDumpFile ($file, $format=TRUE) | |
Dumps xml document from memory into a file. More... | |
xmlDumpMem ($format=TRUE) | |
Returns xml document from memory. More... | |
appendXML ($a_str) | |
append xml string to document More... | |
xmlClear () | |
clears xmlStr public More... | |
Protected Member Functions | |
exportActiveIDs () | |
exportPassResult () | |
exportResultCache () | |
exportTestSequence () | |
exportTestSolutions () | |
exportRandomTestQuestions () | |
exportTestResults () | |
exportTestTimes () | |
Protected Attributes | |
$includeRandomTestQuestionsEnabled = false | |
Private Attributes | |
$test_id = 0 | |
$anonymized = false | |
$active_ids | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilXmlWriter | |
static | _xmlEscapeData ($data) |
Escapes reserved characters. More... | |
Data Fields inherited from ilXmlWriter | |
$xmlStr | |
$version | |
$outEnc | |
$inEnc | |
$dtdDef = "" | |
$stSheet = "" | |
$genCmt = "Generated by ILIAS XmlWriter" | |
ilTestResultsToXML::__construct | ( | $test_id, | |
$anonymized = false |
|||
) |
|
protected |
Definition at line 44 of file class.ilTestResultsToXML.php.
References $ilDB, $ilSetting, $result, $row, ilObjTestAccess\_getParticipantData(), array, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 95 of file class.ilTestResultsToXML.php.
References $ilDB, $query, $result, $row, array, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 190 of file class.ilTestResultsToXML.php.
References $ilDB, $result, $row, array, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 119 of file class.ilTestResultsToXML.php.
References $ilDB, $query, $result, $row, array, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 216 of file class.ilTestResultsToXML.php.
References $ilDB, $query, $result, $row, array, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 144 of file class.ilTestResultsToXML.php.
References $ilDB, $query, $result, $row, array, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 166 of file class.ilTestResultsToXML.php.
References $ilDB, $query, $result, $row, array, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 239 of file class.ilTestResultsToXML.php.
References $ilDB, $query, $result, $row, array, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
ilTestResultsToXML::getXML | ( | ) |
Definition at line 261 of file class.ilTestResultsToXML.php.
References array, 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 31 of file class.ilTestResultsToXML.php.
References $includeRandomTestQuestionsEnabled.
Referenced by getXML().
ilTestResultsToXML::setIncludeRandomTestQuestionsEnabled | ( | $includeRandomTestQuestionsEnabled | ) |
boolean | $includeRandomTestQuestionsEnabled |
Definition at line 39 of file class.ilTestResultsToXML.php.
References $includeRandomTestQuestionsEnabled.
Referenced by ilTestExport\buildExportFileXML().
ilTestResultsToXML::xmlDumpFile | ( | $file, | |
$format = TRUE |
|||
) |
Definition at line 289 of file class.ilTestResultsToXML.php.
References $file, and getXML().
ilTestResultsToXML::xmlDumpMem | ( | $format = TRUE | ) |
Definition at line 283 of file class.ilTestResultsToXML.php.
References getXML().
|
private |
Definition at line 17 of file class.ilTestResultsToXML.php.
|
private |
Definition at line 16 of file class.ilTestResultsToXML.php.
Referenced by __construct().
|
protected |
Definition at line 19 of file class.ilTestResultsToXML.php.
Referenced by isIncludeRandomTestQuestionsEnabled(), and setIncludeRandomTestQuestionsEnabled().
|
private |
Definition at line 15 of file class.ilTestResultsToXML.php.
Referenced by __construct().