ILIAS
Release_5_0_x_branch Revision 61816
|
Test results to XML class. More...
Public Member Functions | |
__construct ($test_id, $anonymized=false) | |
getXML () | |
xmlDumpMem ($format=TRUE) | |
Returns xml document from memory. | |
xmlDumpFile ($file, $format=TRUE) | |
Dumps xml document from memory into a file. | |
Public Member Functions inherited from ilXmlWriter | |
ilXmlWriter ($version="1.0", $outEnc="utf-8", $inEnc="utf-8") | |
constructor | |
_ilXmlWriter () | |
destructor public | |
xmlSetDtdDef ($dtdDef) | |
Sets dtd definition. | |
xmlSetStSheet ($stSheet) | |
Sets stylesheet. | |
xmlSetGenCmt ($genCmt) | |
Sets generated comment. | |
_xmlEscapeData ($data) | |
Escapes reserved characters. | |
xmlEncodeData ($data) | |
Encodes text from input encoding into output encoding. | |
xmlFormatData ($data) | |
Indents text for better reading. | |
xmlFormatElement ($array) | |
Callback function for xmlFormatData; do not invoke directly. | |
xmlHeader () | |
Writes xml header public. | |
xmlStartTag ($tag, $attrs=NULL, $empty=FALSE, $encode=TRUE, $escape=TRUE) | |
Writes a starttag. | |
xmlEndTag ($tag) | |
Writes an endtag. | |
xmlComment ($comment) | |
Writes a comment. | |
xmlData ($data, $encode=TRUE, $escape=TRUE) | |
Writes data. | |
xmlElement ($tag, $attrs=NULL, $data=Null, $encode=TRUE, $escape=TRUE) | |
Writes a basic element (no children, just textual content) | |
appendXML ($a_str) | |
append xml string to document | |
xmlClear () | |
clears xmlStr public |
Protected Member Functions | |
exportActiveIDs () | |
exportPassResult () | |
exportResultCache () | |
exportTestSequence () | |
exportTestSolutions () | |
exportTestQuestions () | |
exportTestResults () | |
exportTestTimes () |
Private Attributes | |
$test_id = 0 | |
$anonymized = false | |
$active_ids |
Additional Inherited Members | |
Data Fields inherited from ilXmlWriter | |
$xmlStr | |
$version | |
$outEnc | |
$inEnc | |
$dtdDef = "" | |
$stSheet = "" | |
$genCmt = "Generated by ILIAS XmlWriter" |
Test results to XML class.
Definition at line 13 of file class.ilTestResultsToXML.php.
ilTestResultsToXML::__construct | ( | $test_id, | |
$anonymized = false |
|||
) |
Definition at line 19 of file class.ilTestResultsToXML.php.
References $anonymized, and $test_id.
|
protected |
Definition at line 26 of file class.ilTestResultsToXML.php.
References $ilDB, $ilSetting, $result, $row, ilObjTestAccess\_getParticipantData(), ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 75 of file class.ilTestResultsToXML.php.
References $ilDB, $query, $result, $row, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 99 of file class.ilTestResultsToXML.php.
References $ilDB, $query, $result, $row, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 170 of file class.ilTestResultsToXML.php.
References $ilDB, $result, $row, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 194 of file class.ilTestResultsToXML.php.
References $ilDB, $query, $result, $row, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 124 of file class.ilTestResultsToXML.php.
References $ilDB, $query, $result, $row, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 146 of file class.ilTestResultsToXML.php.
References $ilDB, $query, $result, $row, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
|
protected |
Definition at line 217 of file class.ilTestResultsToXML.php.
References $ilDB, $query, $result, $row, ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by getXML().
ilTestResultsToXML::getXML | ( | ) |
Definition at line 239 of file class.ilTestResultsToXML.php.
References exportActiveIDs(), exportPassResult(), exportResultCache(), exportTestQuestions(), exportTestResults(), exportTestSequence(), exportTestSolutions(), exportTestTimes(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
Referenced by xmlDumpFile(), and xmlDumpMem().
ilTestResultsToXML::xmlDumpFile | ( | $file, | |
$format = TRUE |
|||
) |
Dumps xml document from memory into a file.
string | file name (full path) |
boolean | indent text (TRUE) or not (FALSE) public |
Reimplemented from ilXmlWriter.
Definition at line 262 of file class.ilTestResultsToXML.php.
References $file, and getXML().
Referenced by ilTestExport\buildExportFileXML().
ilTestResultsToXML::xmlDumpMem | ( | $format = TRUE | ) |
Returns xml document from memory.
boolean | indent text (TRUE) or not (FALSE) |
Reimplemented from ilXmlWriter.
Definition at line 256 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().
|
private |
Definition at line 15 of file class.ilTestResultsToXML.php.
Referenced by __construct().